Application note

AN5489

6 - September 2025

Introduction

This application note shows how to use the STM32MP23/25xx lines (MPUs). It describes the minimum hardware resources required to develop an application based on these products.

This document provides an overview of the hardware implementation of the development board, with focus on features like:
  • Power supply
  • Package selection
  • Clock management
  • Reset control
  • Boot mode settings
  • Debug management

Reference design schematics are also included in this application note. They show a description of the main components, interfaces, and modes.

Table 1. Applicable products
TypeProducts
Microprocessor

STM32MP257F, STM32MP257D, STM32MP257C, STM32MP257A

STM32MP255F, STM32MP255D, STM32MP255C, STM32MP255A

STM32MP253F, STM32MP253D, STM32MP253C, STM32MP253A

STM32MP251F, STM32MP251D,STM32MP251C, STM32MP251A

STM32MP235F, STM32MP235D, STM32MP235C, STM32MP235A

STM32MP233F, STM32MP233D, STM32MP233C, STM32MP233A

STM32MP231F, STM32MP231D, STM32MP231C, STM32MP231A

General information

This document applies to the STM32MP23/25xx lines, Arm®-based MPUs.
Note: Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.


Table 2. Reference documents
ReferenceTitle
[1]AN2867Oscillator design guide for STMicroelectronics microcontrollers
[2]AN1709EMC design guide for STMicroelectronics microcontrollers
[3]AN5275USB DFU/USART protocols used in STM32MP1 series bootloaders
[4]AN5723Guidelines for DDR configuration on STM32MP2 MPUs
[5]AN5725How to use STPMIC2x for hardware and software integration on STM32MP2 MPUs
[6]AN5724Guidelines for DDR memory routing on STM32MP2 MPUs
[7]AN5727How to use STPMIC2x for a wall adapter powered application on STM32MP25 MPUs
[8]UM3359Evaluation board with STM32MP257F MPU
[9]UM3385Discovery kit with STM32MP257F MPU
[10]RM0457STM32MP23/25xx advanced Arm®‑based 64/32‑bit MPUs
[11]DS14285STM32MP25xA/D datasheet
[12]DS14284STM32MP25xC/F datasheet
[13]DS14634STM32MP23xC/F datasheet
[14]DS14635STM32MP23xA/D datasheet
[15]AN4879Introduction to USB hardware and PCB guidelines using STM32 MCUs
[16]AN5728How to use STPMIC2x for a battery powered application on STM32MP25 MPUs
Table 3. Glossary
TermMeaning
ADCAnalog-to-digital converter
AHBAdvanced high-performance bus
AXIAdvanced extensible interface bus. By extension, the interconnect matrix based on AXI
AXIMAXI matrix. AXI based interconnect
BKPSRAMBackup SRAM
BSECBoot and security controller. OTP interface
CA35Cortex-A35
CM33Cortex-M33
CNTGeneric timer (inside Cortex-A)
CRYPCryptographic IP. Supporting DES, Triple-DES and AES
CSICamera serial interface
CTICross-trigger interface
DAPDebug access port
DCMIDigital camera interface. Parallel interface
DDRCTRLDouble data rate SDRAM controller
DDRPERFMDDR performance monitor, linked to DDRCTRL
DLYBQSDelay block for QUASDPI. Compensate external signals timings to reach highest data rates
DLYBSDDelay block for SDMMC. Compensate external signals timings to reach highest data rates
DMADirect memory access. Bus master able to autonomously transfer data between peripheral and memory or between memories
DMAMUXDMA request multiplexor
DSIDisplay serial interface master
ETHEthernet controller
ETMEmbedded trace module
EXTIExtended interrupt and event controller
FDCANController area network with flexible data-rate. Could also support time triggered CAN (TT)
FMCFlexible memory controller
GICGeneric interrupt controller
GMACGigabit Ethernet media access controller
GPIOGeneral-purpose input/output
GPUGraphic processing unit
HASHCryptographic hash block. Supporting secure hash algorithm (SHA),
HDMIHigh definition multimedia interface
HDPHardware debug port
HSEHigh-speed external crystal oscillator
HSEMHardware semaphore. Helps multiprocessor resources sharing
HSIHigh-speed internal oscillator
I²CInter IC bus
I3CImproved I²C
I2SInter IC sound
IPCCInter-processor communication controller
IWDGIndependent watchdog
JTAGJoint test action group. A debug interface
LCDLiquid crystal display
LPTIMLow-power timer
LSELow-speed external crystal oscillator
LSILow-speed internal oscillator
LVDSLow voltage differential signaling, by extension a display interface based on this.
MSIMultispeed internal oscillator
OCTOSPIOctal data serial peripheral interface
OCTOSPIMOCTOSPI IO manager
LTDCLDC TFT display controller
MDMAMaster direct memory access
MLAHBMultilayer AHB. AHB based interconnect
NVICNested vectored interrupt controller (inside Cortex-M4)
OTPOne time program memory
PCBPrinted circuit board
PCIEPeripheral component interconnect express
PHYA mixed-signal physical interface. Generally, it enables adapting the internal logical level to a specific interface standard
PMBProcess monitor block
PMICPower management integrated circuit. It is an external circuit that provides various platform power supplies with large controllability through signals and serial interface
PTHPlated through hole. It is a drilled hole with conductive wall using, for example, a layer of deposited copper.
PWRPower control
RCCReset and clock control
RETRAMRetention SRAM
RNGRandom number generator
ROMRead only memory
RTCReal-time clock
SAISerial audio interface
SDMMCSecure digital and multimedia card interface. Supports SD, MMC, eMMC, and SDIO protocols
SMPSSwitched-mode power supply
SPDIFSony/Philips digital interface format
SPISerial peripheral interface
SRAMStatic random access memory
STGENSystem timing generation. Used for Cortex-A7 timers
STGENCSTGEN control. Secure part of STGEN
STGENRSTGEN read. Read-only part of STGEN
STMSystem trace macrocell
SWSoftware
SWDSerial wire debug
SWOSingle wire output. A trace port
SYSCFGSystem configuration
SYSRAMSystem SRAM
SYSTICKSystem tick timer (inside Cortex-M4)
TAMPTamper detection IP
TFTThin film transistor. An LCD technology process
TIMTimer
TSGENDebug time stamp generator. Used to ensure multiple core trace synchronizations
UARTUniversal asynchronous receiver transmitter
UCPDUSB Type-C® power delivery controller
USARTUniversal synchronous/asynchronous receiver/transmitter
USBUniversal serial bus
USB3DRUSB 3.0 dual role controller
USBHUSB host controller
USB hi-speedUSB 2.0 at 480 Mbit/s half-duplex
USB SuperSpeedUSB 3.0 at 5 Gbit/s full-duplex
USBPHYCUSB physical interface control
VREFBUFADC voltage reference buffer
WWDGWindow watchDog

Overview

Note: See details and guaranteed operating points in the product datasheets.

Values in this section are for information only.

  • The main I/Os voltage supply (VDD) range is either 1.8 V or 3.3 V typ. There are as well dedicated independent I/Os supplies for some interfaces (VDDIO1, VDDIO2, VDDIO3, and VDDIO4).
  • There are multiple analog and digital logic voltage supplies, see Power supply schemes for details.
  • The real-time clock (RTC) and backup registers can be powered from the VBAT voltage when the main VDD supply is powered off. This internal supply with automatic switch between VBAT and VDD is named VSW domain and is also used to supply PI8, PC13, PZ0 to PZ5 pins, and, only for TAMP_IN usage, the PC3, PC4, PC5, PF6, PF7, PG1, PG3, and PZ6 pins.

    VBAT voltage is typically 3 V when used with a coin-cell battery.

Independent ADC supply and reference voltage

To make sure that the conversion of signals is more accurate and can cover a wider range of values, the ADC (analog-to-digital converter) and reference have their own power supply that can be filtered separately. This helps to protect them from any interference or noise that may be present on the printed circuit board (PCB).

The analog operating voltage supply (VDDA18ADC) is 1.8 V typ.

  • The ADC/VREFBUF voltage supply input is available on a separate VDDA18ADC pin.
  • An isolated supply ground connection is provided on the VSSA pin.

    In all cases, the VSSA pin must be externally connected to the same supply ground as the VSS.

Warning: The ADC_INx I/Os must not exceed VDDA18ADC + 0.3 V as specified in the product datasheet.
External VREF

The user can connect a separate external reference voltage ADC input on VREF+. The voltage on VREF+ may range from 1.10 V to VDDA18ADC.

Internal VREF

The user can enable in the VREFBUF block an internal reference voltage on VREF+.

The voltage on VREF+ can be either 1.21 V or 1.5 V.

The VREF+ pin has an internal reference voltage (VREF) that can be used externally, such as for an analog comparator reference. However, it is important to make sure that the amount of electrical current being used stays within the values specified in the datasheet.

CAUTION: When available (depending on package), VREF- must be externally tied to VSSA.

Battery backup

To retain the content of the backup registers, BKPSRAM and RETRAM, when VDD is turned off, the VBAT pin can be connected to an optional standby voltage supplied by a battery or another source.

The VBAT pin also powers the RTC unit, allowing the RTC to operate even when the main digital supply (VDD) is turned off. The switch to the VBAT supply is controlled by the power down reset (PDR) circuitry embedded in the PWR.

If no external battery is used in the application, it is recommended to connect VBAT externally to VDD.

Power supply schemes

Note:

See details and guaranteed operating points in product datasheets. Values in this section are for information only.

The circuit is powered by multiple power supplies. Those supplies must be connected to external decoupling capacitors (see Table 4 Amount of decoupling recommendation by package).

I/Os supplies

  • The VDD is the main supply for I/Os and an internal part, kept powered during the standby mode.
    • The voltage range is either 1.8 V or 3.3 V typ.
    • VDD should be present whenever other I/Os supplies are present (except VBAT, which is independent and VDDA18AON, which is always present).
  • VDDIO1, VDDIO2, VDDIO3, and VDDIO4 are separate/dedicated I/Os supplies.
    • Voltage ranges are either 1.8 V, 3.0 V, or 3.3 V typ.
    • Each of those supply could have different voltage or be shut down independently.
  • The VBAT pin can be connected to the external battery.
    • The voltage range is 2.3 V to 3.6 V (except when connected to VDD).
    • If the application does not support backup battery, it is recommended to connect this pin to VDD.
    • If the application is supporting a backup battery, it is required to add a 2.2 μF capacitor and a resistor (to limit the voltage slew rate when a backup battery is plugged, as explain in Table 4 Amount of decoupling recommendation by package note 2).
  • VDDQDDR is the DDR I/O supply.
    • The voltage range is 1.283 V to 1.45 V for interfacing DDR3L memories (1.35 V typ.).
    • The voltage range is 1.14 V to 1.26 V for interfacing DDR4 memories (1.2 V typ.).
    • The voltage range is 1.06 V to 1.17 V for interfacing LPDDR4 memories (1.1 V typ.).

Digital logic supplies

  • VDDCPU digital CPU domain supply (Cortex-A35)
    • Could be shut down during the Run2, Stop2, LP-Stop2, LPLV-Stop2, Standby1, or Standby2 mode (using a PWR_CPU_ON signal).
    • The voltage range during run mode is 0.8 V typ. (0.91 V typ. in overdrive1)
    • Dependent on VDD supply, VDD shall be present before VDDCPU.
    • VDDCPU could be reduced further in specific stop modes (LP-Stop1 or LPLV-Stop1). This involves either PWR_ON (for example with STPMIC25, external power management IC) or PWR_LP signal.
  • The VDDCORE is the main digital voltage.
    • VDDCSI, VDDDSI, VDDLVDS, VDDCOMBOPHY, VDDCOMBOPHYTX, and VDDPCIECLK should usually be connected to VDDCORE.
    • Could be shut down during the Standby1 or Standby2 mode (using a PWR_ON signal).
    • The voltage range during run mode is 0.82 V typical.
    • Dependent on VDD supply. VDD shall be present before VDDCORE.
    • VDDCORE could be reduced further in a specific stop mode (LPLV-Stop1 or LPLV-Stop2). This involves either PWR_ON (for example with STPMIC25, external power management IC) or PWR_LP signal.
  • VDDGPU digital GPU domain supply:
    • Could be shut down or reduced when a GPU is not used during run mode (for example, under SW control using I²C message to STPMIC25 or any other ways) or shutdown during any low power mode (for example, using PWR_ON signal to follow VDDCPU control).
    • The voltage range during run mode is 0.8 V typ. (0.9 V typ. in overdrive1).
    • Dependent on VDD supply, VDD shall be present before VDDGPU.

1.8 V analog supplies

  • VDDA18AON power supply input for system analog such as reset, power management, oscillators, and OTP, kept powered during the standby mode
    • The voltage range is 1.8 V typ.
  • The VDDA18ADC pin is the analog (ADC/VREFBUF) supply.
    • The voltage range is 1.8 V typ.
    • Additional precautions can be taken to filter analog noise. VDDA18ADC could be connected to a shared 1.8 V supply through an inductor based filter.
    • The VREF+ pin can be connected to the VDDA18ADC external power supply. If a separate, internal, or external, reference voltage is applied on VREF+, a decoupling capacitor must be connected between this pin and VREF- (see Table 4 Amount of decoupling recommendation by package).

      Refer to Independent ADC supply and reference voltage.

Following supplies could be connected on a same source with independent decoupling whenever possible.

  • The voltage range is 1.8 V typ.
  • The VDDA18PLL1, VDDA18PLL2, and VDDA18PLL3 pins are the analog supply for PLLs.
  • The VDDA18DDR pin is the analog supply for DDR PHY.
  • The VDDA18DSI pin is the analog supply for DSI.
  • The VDDA18CSI pin is the analog supply for CSI.
  • The VDDA18LVDS pin is the analog supply for LVDS.
  • The VDDA18COMBOPHY pin is the analog supply for COMBOPHY.
  • The VDDA18USB pin is the analog supply for USB HS PHY.

3.3 V USB supplies

Should be connected on a same source with independent decoupling whenever possible.

  • The voltage range is 3.3 V typ.
  • VDD33USB is the USB high-speed PHY supply.
  • VDD33UCPD is the USB Type-C® power delivery Common Criteria lines PHY supply.
    CAUTION: All supply grounds (VSS, VSSA, VSSAON, and VREF-) should be all connected to power planes.

The following table must be used as a guideline only. Real count and values of capacitors could be adapted depending on various parameters: such as capacitor size and dielectric, PCB technology, product power integrity simulations.

Information in this table does not include capacitors on supplies sources (such as LDO or SMPS) or external devices (such as DDR memory, SD-Card, e.MMC, flash memories.)

Table 4. Amount of decoupling recommendation by package
Supplies pinsDecoupling point2ValueVFBGA361

TFBGA361

VFBGA424TFBGA436Comments
VBATVSS2.2 μF34111Decoupling could be skipped if VBAT = VDD
V08CAPVSS4.7 μF3111Internal backup regulator decoupling
VDDCOREVSS1 μF3686-
VDDDSI, VDDLVDS, VDDCSI, VDDCOMBOPHY, VDDCOMBOPHYTX, VDDPCIECLKVSS100 nF666Supplies must be connected altogether and as well to VDDCORE.
VDDCPUVSS1 μF3787-
VDDGPUVSS1 μF3786-
VDDQDDRVSS1 μF3558-
VDDA18AONVSSAON100 nF111-
VDDA18PLL1/2/3, VDDA18DDR, VDDA18USB, VDDA18DSI, VDDA18LVDS, VDDA18CSI, VDDA18COMBOPHYVSS100 nF777Supplies must be connected altogether.
VDDVSS1 μF3555-
VDDIO15VSS100 nF111Usually for SD-Card
VDDIO25VSS100 nF111Usually for e.MMC
VDDIO35VSS100 nF111usually for OCTOSPIM_P1
VDDIO45VSS100 nF111usually for OCTOSPIM_P2
VDD33USB, VDD33UCPDVSS100 nF111Supplies must be connected altogether.
VDDA18ADCVSSA2.2 μF3111VSSA must be connected to VSS plane
100 nF111
VREF+VREF- & VSSA1 μF3111VREF- must be connected to VSSA then VSS plane (chained connection)
100 nF111
Note: See package feature details in Package selection. Not all I/Os are supplied by VDD. See below the summary of related supplies.
Table 5. I/O power domains
Supply pinPin names
VDDNRSTC1MS, PA0, PA1, PA10, PA11, PA12, PA13, PA14, PA15, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PB12, PB13, PB14, PB15, PC0, PC1, PC10, PC11, PC12, PC2, PC6, PC7, PC8, PC9, PD12, PD13, PD14, PD15, PF0, PF1, PF10, PF11, PF12, PF13, PF14, PF15, PF2, PF3, PF4, PF5, PF8, PF9, PG0, PG10, PG11, PG12, PG13, PG14, PG15, PG2, PG4, PG5, PG6, PG7, PG8, PG9, PH10, PH11, PH12, PH13, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PI0, PI1, PI10, PI11, PI12, PI13, PI14, PI15, PI2, PI3, PI4, PI5, PI6, PI7, PI9, PJ0, PJ1, PJ10, PJ11, PJ12, PJ13, PJ14, PJ15, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PWR_CPU_ON, PWR_LP, PWR_ON, PZ7, PZ8, PZ9
VDDIO16PE0, PE1, PE2, PE3, PE4, PE5
VDDIO27PE10, PE11, PE12, PE13, PE14, PE15, PE6, PE7, PE8, PE9
VDDIO3 8PD0, PD1, PD10, PD11, PD2, PD3, PD4, PD5, PD6, PD7, PD8, PD9
VDDIO49PB0, PB1, PB10, PB11, PB2, PB3, PB4, PB5, PB6, PB7, PB8, PB9
VDDA18AONOSC_IN, OSC_OUT, PDR_ON
VSW 10OSC32_IN, OSC32_OUT, PC13, PI8, PZ0, PZ1, PZ2, PZ3, PZ4, PZ5, PZ6
VDD/VSW10 11PC3, PC4, PC5, PF6, PF7, PG1, PG3
Note: I/O power domain table does not include analog cells, which have one or more dedicated supplies (such as PHYs).
Table 6. Supply usage for unused features
Supply pinUsual connectionSupply option if not used12Pins or functionsSignals connection if not usedRelated block
VDDDSIVDDCOREVSSDSI_xxx pinsAll open or all VSSDSI
VDDA18DSIGlobal 1.8V analog supplyVSS
VDDLVDSVDDCOREVSSLVDS_xxx pinsAll openLVDS
VDDA18LVDSGlobal 1.8V analog supplyVSS
VDDCSIVDDCOREVSSCSI_xxx pinsAll open or all VSSCSI
VDDA18CSIGlobal 1.8V analog supplyVSS
VDDCOMBOPHYTX VDDCOREVSSCOMBOPHY_xx pinsCOMBOPHY_RXxP/N to VSS. COMBOPHY_TXxP/N and COMBOPHY_REXT openUSB3DR SuperSpeed or PCIE
VDDCOMBOPHYVDDCORE
VDDA18COMBOPHYGlobal 1.8V analog supplyVSS
VDDPCIECLKVDDCOREVSSPCIE_CLKxx pinsPCIE_CLKINP/N to VSS. PCIE_CLKOUTP/N openPCIE
VDDGPUDedicated supplyVSSGPU/NPU usage-GPU or NPU
VDDA18USBGlobal 1.8V analog supplyVSSUSBH_HS_DP/DM pins and USB3DR_DP/DM pinsAll DP/DM to VSS. All TXRTUNE openUSBH or USB3DR
VDD33USBDedicated 3.3V supplyVSS
VDD33UCPDDedicated 3.3V supplyVSSUCPD_CC1/CC2 pinsUCPD_CC1/CC2 openUCPD
VDDA18ADCDedicated 1.8V supply or filtered global 1.8V analog supplyVSSAADC (internal and external channels)-ADC1 or ADC2 or ADC3
--ANA0/ANA1VSSA-
VREF+ pinVSSA
VREFBUF usage-VREFBUF
1 Overdrive is only available on some part references. Overdrive affects maximum Tj and reliability data.
2 All VSSx and VSSA must be connected to a common VSS plane.
3 Multilayer ceramic capacitor type (MLCC)
4 Fulfilling a minimum rise time defined in a datasheet might require a few ohms to be inserted in series. Total RC should be at least equal to Tr * battery voltage (for example, RC = 60µs for Tr = 20µs/V and 3V battery, which could be ensured by a 20 ohms series for a CR2032 battery type having 8-9 ohms minimum internal resistance). Rise time limitation could be as well ensured by a ferrite bead and a capacitor.
5 Must be connected to VDD if not used for dedicated interface supply.
6 Usually used for SD-Card using SDMMC1
7 Usually used for eMMC or SD-Card using SDMMC2
8 Usually used for OCTOSPIM_P1
9 Usually used for OCTOSPIM_P2
10 VSW is supplied by VBAT in the absence of VDD.
11 Pins with two supplies; VSW supply for enabled TAMP_INx additional function, VDD supply for GPIO and other alternate function
12 Possible connection only when all related pins/functions are not used.

Specific I/O constrains related to voltage settings

VDDIO1, VDDIO2, VDDIO3, and VDDIO4 have specific register settings and control sequences to be respected when used at 3 V/3.3 V or 1.8 V typ. Refer to the PWR section in the product reference manual for details.

See also I/O speed settings for constrains on I/O speed settings for VDD, VDDIO1, VDDIO2, VDDIO3, and VDDIO4 domains.

Power-on reset (POR)/power-down reset (PDR)

The device has an integrated POR/PDR circuitry that allows proper operation starting from 1.71 V.

The device remains in the Reset mode as long as VDD and VDD18AON are below a specified threshold, and VPOR/PDR is without the need for an external reset circuit. For more details concerning the power on/power down reset threshold, refer to the electrical characteristics in the product datasheets.

vddcore_ok reset

The system has an integrated circuitry that allows proper startup operation of the VDDCORE (D2) domain.

The VDDCORE domain remains in Reset mode when VDDCORE is below the operation threshold vddcore_ok. Once the VDDCORE supply level is above the operation threshold vddcore_ok, the VDDCORE domain is taken out of reset. When the LVDS_D2 bit is set, the VDDCORE supply level can be lowered in LPLV-Stop1 or LPLV-Stop2 modes.

For more details concerning the vddcore_ok reset threshold, refer to the electrical characteristics of the datasheet.

VDDCORE monitoring

The system has a detection circuitry, which detects if the VDDCORE supply voltage is below or above the operating range. Detection is done by comparing the VDDCORE with two thresholds (high and low thresholds).

VCOREH and VCOREL flags are available in the PWR control register 5 (PWR_CR5) to indicate if VDDCORE is higher or lower than the thresholds. The VCOREH and VCOREL are available on tamper signals but also connected to the EXTI2 and can generate an interrupt if enabled through the EXTI2 registers.

The detection is enabled by setting the VCOREMONEN bit in PWR control register 5 (PWR_CR5).

The VDDCORE voltage thresholds, when enabled, are not available in LPLV-Stop1, LPLV-Stop2, Standby1, Standby2, and VBAT modes.

For more details concerning the vcore_thr_high and vcore_thr_low threshold, refer to the electrical characteristics of the datasheet.

vddcpu_ok reset

The system has an integrated circuitry that allows proper startup operation of the VDDCPU (D1) domain.

The VDDCPU domain remains in Reset mode when VDDCPU is below the operation threshold vddcpu_ok. Once the VDDCPU supply level is above the operation threshold vddcpu_ok, the VDDCPU domain is taken out of reset. When the LVDS_D1 bit is set, the VDDCPU supply level can be lowered in LPLV-Stop1 or LPLV-Stop2 mode. For more details concerning the vddcpu_ok reset threshold, refer to the electrical characteristics of the datasheet.

VDDCPU monitoring

The system has a detection circuitry, which detects if the VDDCPU supply voltage is below or above the operating range. Detection is done by comparing the VDDCPU with two thresholds (high and low thresholds). The level of the low threshold can be selected by the VCPULS bits in the PWR control Register 6 (PWR_CR6). The high level is fixed.

VCPUH and VCPUL flags are available, in the PWR control register 6 (PWR_CR6), to indicate if VDDCPU is higher or lower than the thresholds. The VCPUH and VCPUL are available on tamper signals but also connected to the EXTI2 and can generate an interrupt if enabled through the EXTI2 registers.

The detection is enabled by setting the VCPUMONEN bit in PWR control register 6 (PWR_CR6). The VDDCPU voltage thresholds, when enabled, are not available in Run2, LPLV-Stop1, LPLV-Stop2, Standby1, Standby2, and VBAT modes.

For more details concerning the vcpu_thr_high and vcpu_thr_low threshold, refer to the electrical characteristics of the datasheet.

VDDGPU monitoring (GPUVM)

The system has an integrated circuitry (GPUVM) that enables monitoring the independent GPU supply VDDGPU. VDDGPURDY indicates if the VDDGPU independent power supply is higher or lower than the VDDGPUVM threshold.

The independent VDDGPU supply is not considered as present by default, and logical and electrical isolation is applied to ignore any information coming from the VDDGPU domain. The voltage monitor is disabled by default.

The output of the VDDGPU monitor is connected to an EXTI line and can generate an interrupt if enabled through the EXTI registers. The GPUVMO output interrupt is generated when the independent power supply drops below the VDDGPUVM threshold and/or when it rises above the VDDGPUVM threshold, depending on the EXTI line rising/falling edge configuration.

When the GPU is not used (VDDGPU OFF) or on hold (VDDGPU voltage reduced), a specific sequence should be used. Refer to the PWR section in the reference manual for details.

Programmable voltage detector (PVD)

The user can monitor the voltage level of the PVD_IN pin using the PVD (Programmable voltage detector). This can be achieved by comparing the voltage of the PVD_IN pin to the internal VREFINT (Internal voltage reference) level.

The PVD is enabled by setting the PVDE bit in the PWR_CR3 register.

A PVDO flag is available to indicate whether the PVD_IN pin is higher or lower than the threshold. This event is internally connected to EXTI1 and can generate an interrupt if enabled through the EXTI1 registers. The PVD output interrupt can be generated when PVD_IN drops below the PVD threshold. It can also happen when PVD_IN rises above the PVD threshold depending on the EXTI line rising or falling edge configuration. As an example, the service routine can perform emergency shutdown tasks.

Peripheral voltage monitoring (PVM)

Only VDD and VDDA18AON are monitored by default, as it is the only supplies required for all system-related functions. The other I/O supplies (VDDIO1, VDDIO2, VDDIO3, VDDIO4, VDD33UCPD, VDD33USB, and VDDA18ADC) can be independent from VDD and can be monitored with peripheral voltage monitoring (PVM).

A GPVMO flag is available, in the PWR control register 1 (PWR_CR1), to indicate if all enabled independent power supplies are higher or lower than the PVM threshold. This event is internally connected to the EXTI1 and can generate an interrupt if enabled through the EXTI1 registers. The GPVMO interrupt can be generated when all enabled independent power supplies rise above the PVM threshold or when at least one enabled independent power supply drops below the PVM threshold, depending on the EXTI1 line rising/falling edge configuration. The PVM is not available in Standby1 and Standby2 mode.

The independent supplies (VDDIO1, VDDIO2, VDDIO3, VDDIO4, VDD33UCPD, VDD33USB, and VDDA18ADC) are not considered as present by default, and logical and electrical isolation is applied to ignore any information coming from the peripherals supplied by these dedicated supplies.

  • If these supplies are shorted externally to VDD, the application should assume they are available without enabling any peripheral voltage monitoring and the power isolation can be removed by setting the corresponding supply valid bits.
  • If these supplies are independent from VDD, the peripheral voltage monitoring (PVM) can be enabled to confirm whether the supply is present or not.

Backup regulator voltage thresholds

The backup regulator voltage (V08CAP) can be monitored by comparing it with two threshold levels.

Two flags are available in the PWR control register 2 (PWR_CR2), to indicate if V08CAP is higher or lower than the threshold. The monitoring can be enabled/disabled with a MONEN bit in PWR control register 2 (PWR_CR2). As an example, the levels could be used to trigger a routine to perform emergency saving tasks. The monitoring, when enabled, is also available in Standby1, Standby2, and VBAT modes. The flags are available on tamper signals.

Application and system resets

An application reset (app_rst) is generated from one of the following sources:

  • A reset from NRST pad
  • A reset from a POR/PDR signal (generally called power-on reset)
  • A reset from BOR signal (generally called brownout)
  • A reset from one of the independent watchdogs (IWDG)
  • A software reset from the RCC
  • A failure on HSE, when the clock security system feature is activated
  • A RETRAM CRC error reset
  • A RETRAM ECC failure reset

A system reset (sys_rstn) is generated from one of the following sources:

  • A reset from app_rstn signal (application reset)
  • A reset from vcore_rstn signal
  • A reset from vcpu_rstn signal when the D1 domain does not exit from Standby1/2
Note:

When the system is in Standby1 or Standby2, the VDDCORE and VDDCPU are switched off, but VDD and VDD18AON are still present. So when the system exits from Standby1 or Standby2, the vcore_rst signal is activated, generating a nreset reset.

NRST pin is also activated when app_rstn is internally generated and low-level duration could be adapted using RPCTL.

The NRSTC1MS pin is activated when sys_rstn is generated. NRSTC1MS pin could be used to control supplies of external flash memory required for the first-level boot of CPU1 and which need a power cycle to ensure a platform reboot (for example, SD card). Low-level duration could be adapted using RPCTL.

Refer to the RCC section in the product reference manual for more details on reset coverage and configuration.

Figure 2. Simplified reset pin circuit


  1. This is a very simplified view, only to give an overview of resets flows, it does not include all details. Details and specific behaviors are described in the product reference manual.
Note: In the case of internal reset generation, for example, IWDG reset, the pulse duration can discharge the NRST to a correct low level if the capacitor value is below the maximum specified in the datasheet. A larger capacitor value up to one uF is supported using RPCTL by changing the RCC_RDCR.MDR[4:0] field to 1.

Package selection

The package must be selected by considering the constraints that are strongly dependent upon the application.

The list below summarizes the more frequent constraints:

  • Number of interfaces required

    Some interfaces might not be available on some packages.

    Some interfaces combinations might not be possible on some packages.

    Refer to product datasheets for details.

  • PCB technology constraints

    Small pitch and high ball density could require more PCB layers and higher PCB class requiring stack-up with microvia (laser via) technology.

  • Package height
  • PCB available area
  • Thermal constraints

    Larger packages have better thermal dissipation capabilities.

Table 7. Package availability summary
Size (mm)116 x 1610 x 1014 x 1418 x 18
Pitch (mm)0.80.50.50.8
Thickness (mm)1.2111.2
Sales numberTFBGA361VFBGA361VFBGA424TFBGA436
STM32MP231xAJALAK-
STM32MP233xAJALAK-
STM32MP235xAJALAK-
STM32MP251xAJALAKAI
STM32MP253xAJALAKAI
STM32MP255xAJALAKAI
STM32MP257xAJALAKAI
Note: Refer to the product datasheets on www.st.com for up-to-date reference availability.
Table 8. STM32MP25xx differences per package
FeaturesSTM32MP25xxAJSTM32MP25xxALSTM32MP25xxAKSTM32MP25xxAI
TFBGA361VFBGA361VFBGA424TFBGA436
PackageBody size (mm)16 x 1610 x 1014 x 1418 x 18
Pitch (mm)0.80.50.50.8
Thickness (mm)1.2111.2
Ball count361361424436
SDRAM-Up to 2 x 4.8 Gbytes internal buses. AES-128 Encryption/Decryption
DDR3L16 bits, 1066MHzUp to 1 Gbyte, single rank
32 bits, 1066MHz-Up to 2 Gbytes, single rank
DDR416 bits, 1200MHzUp to 4 Gbytes, single rank
32 bits, 1200MHz-Up to 4 Gbytes, single rank
LPDDR416 bits, 1200MHzUp to 2 Gbytes, single rank
32 bits, 1200MHz-Up to 4 Gbytes, single rank, two channels in parallel (lockstep)
LVDS display interface (LVDS)Single-link of 4 x data lanes 1.1 Gbps each (up to 1050p60)2Dual-link of 4 x data lanes 1.1 Gbps each (up to 1536p60)2
GPIOwith interrupt (total count)144144144172
Wake-up pins6666
Tamper input/active output pins8 + 88 + 88 + 88 + 8
ADCADC channels in total (differential)23 (11)323 (11)321 (10)23 (11)3
Table 9. STM32MP23xx differences per package
FeaturesSTM32MP23xxAJSTM32MP23xxALSTM32MP23xxAK
TFBGA361VFBGA361VFBGA424
PackageBody size (mm)16 x 1610 x 1014 x 14
Pitch (mm)0.80.50.5
Thickness (mm)1.211
Ball count361361424
SDRAM-Up to 2 x 4.8 Gbytes internal buses. AES-128 Encryption/Decryption
DDR3L16 bits, 1066MHzUp to 1 Gbyte, single rank
DDR416 bits, 1200MHzUp to 4 Gbytes, single rank
LPDDR416 bits, 1200MHzUp to 2 Gbytes, single rank
LVDS display interface (LVDS)4 x data lanes 1.1 Gbps each (up to 1050p60)4
GPIOwith interrupt (total count)144144144
Wake-up pins666
Tamper input/active output pins8 + 88 + 88 + 8
ADCADC channels in total (differential)23 (11)523 (11)521 (10)
1 Typical body size
2 Availability depends on the device.
3 Including two (or one differential) low noise inputs on dedicated ANA0/ANA1 pins.
4 Availability depends on the device.
5 Including two (or one differential) low noise inputs on dedicated ANA0/ANA1 pins.

Alternate function mapping to pins

As a general rule, for each used interface, it is recommended to keep ball choices together as close as possible to ease PCB routing and to avoid potential timing issues.

In addition, to fulfill timings, I3C signals like SDA/SCL pairs must be chosen thanks to Table 10 I3C pins possible combinations.

Table 10. I3C pins possible combinations
SCL signalsSDA signals
I3C1
-PJ10PI1PA2
PJ1Yes--
PG13-Yes-
PA3--Yes
I3C2
-PF0PB4PJ13
PF2Yes--
PB5-Yes-
PJ12--Yes
I3C3
-PH2PG0PG2
PH6Yes--
PC12-YesYes
PG1-YesYes
I3C4
-PZ0PZ3PZ9
PZ1YesYesYes
PZ2YesYesYes
PZ4YesYesYes

In order to explore easily peripheral alternate functions mapping to pins, it is recommended to use the STM32CubeMX tool available on www.st.com.

Note:

STM32CubeMX might not support all features or options that are described in the product reference manual or datasheet. This is usually due to reduced features in software deliveries such as OpenSTLinux or STM32CubeMP2. This can evolve in future releases of the ecosystem.

Figure 3. STM32CubeMX example screenshot
  1. This is a screenshot example. It is not specific to STM32MP25xx lines. The appearance can also differ with future STM32CubeMX versions.

Clocks

Different clock sources can be used to drive the subsystems clocks:

  • HSI oscillator clock (high-speed internal clock signal): 64 MHz typical
  • MSI oscillator clock (multispeed internal clock signal): 16 or 4 MHz typical
  • HSE oscillator clock (high-speed external clock signal): 40 MHz typical
  • PLL1 dedicated to Cortex-A35 core
  • PLL2 dedicated to DDR subsystem
  • PLL3 dedicated to GPU1
  • PLL4/5/6/7/8 clocks
  • PLL_DSI to generate the DSI clock (up to 2.5 GHz) 1
  • PLL_USB to generate the USB clock (480 MHz)
  • PLL_COMBOPHY to generate the USB3DR (for SuperSpeed) or PCIE clocks (up to 5GHz)1
  • PLL_LVDS to generate the LVDS clock (up to 1.1 GHz)1

The devices have two secondary clock sources:

  • 32 kHz low-speed internal RC (LSI RC) that drives the independent watchdog and, optionally, the RTC used for automatic wake-up from the Stop/Standby modes.
  • 32.768 kHz low-speed external crystal (LSE crystal) that optionally drives the real-time clock (RTCCLK)

Each clock source can be switched on or off independently when it is not used, to optimize the power consumption.

Refer to the reference manual and datasheet for the description of the clock tree, and for details of the possible clock frequencies.

1 Availability depends on the STM32MP23/25xx lines devices.

External source (HSE bypass)

In this mode, an external clock source must be provided. It can have a frequency from 16 to 48 MHz (refer to the corresponding datasheets for actual max value).

The external digital (VIL/VIH) or analog (amplitude of 200 mV pk-pk minimum) clock signal with a duty cycle of about 50%, has to drive the OSC_IN pin.

Note:

To allow USB boot, the boot ROM automatically selects the HSE mode by checking the OSC_OUT connection during the startup phase (that is on the NRST rising edge):

  • OSC_OUT is tied to GND (max 1 kΩ): HSE digital bypass
  • OSC_OUT is tied to VDDA18AON (max 1 kΩ): HSE analog bypass
  • OSC_OUT high-Z or connected to a crystal: HSE crystal mode.

When utilizing a bypass, the activation of the external clock generator can be achieved through the PWR_ON feature for the purpose of power conservation (that is to say deactivated during Standby). In that case, the OSC_IN clock input must be stable within 10 ms after the PWR_ON rising edge occurs.

External crystal (HSE crystal)

The external oscillator frequency ranges from 16 to 48 MHz.

The external oscillator has the advantage of producing a very accurate rate on the main clock. The associated hardware configuration is shown in Figure 5 HSE crystal. Using a 40 MHz crystal frequency is a good choice to get accurate USB high-speed clocks.

The crystal and the load capacitors have to be connected as close as possible to the oscillator pins in order to minimize output distortion and startup stabilization time. The load capacitance values must be adjusted according to the selected crystal.

For CL1 and CL2 it is recommended to use NP0/C0G capacitors selected to meet the load requirements of the crystal. CL1 and CL2, have usually the same value. The crystal manufacturer typically specifies a load capacitance that is the series combination of CL1 and CL2. The PCB and pin capacitances must be included when sizing CL1 and CL2.

Refer to the application note AN5489_General_information.html and electrical characteristics sections in the product datasheet for more details.

LSE OSC clock

The LSE can be generated from two possible clock sources (see Figure 6 LSE external clock and Figure 7 LSE crystal resonators below):
Figure 6. LSE external clock
Figure 7. LSE crystal resonators
  1. Figure 7 LSE crystal resonators: It is strongly recommended to use a crystal with a load capacitance CL≤12.5 pF.

External source (LSE bypass)

In this mode, an external clock source must be provided. It can have a frequency of up to 1 MHz. The external digital (VIL/VIH) or analog (amplitude of 200 mV pk-pk minimum) clock signal with a duty cycle of about 50% has to drive the OSC32_IN pin while the OSC32_OUT pin must be left high-Z (see Figure 6 LSE external clock). The configuration of the bypass mode as well as the selection between the digital and analog is done within the RCC registers.

External crystal (LSE crystal)

The LSE crystal is a 32.768 kHz low-speed external crystal. It has the advantage of providing a low-power, but highly accurate clock source to the real-time clock peripheral (RTC) for clock/calendar or other timing functions.

The resonator and the load capacitors have to be connected as close as possible to the oscillator pins. The goal is to minimize output distortion and startup stabilization time. The load capacitance values CL1 and CL2 must be adjusted according to the selected oscillator. It is recommended to use medium-high or high drive on the LSE oscillator.

Refer to the application note AN5489_General_information.html and the electrical characteristics sections in the product datasheet for more details.

CSS on HSE

The clock security system can be activated by software. In this case, the clock detector is enabled after the HSE oscillator startup delay, and disabled when this oscillator is stopped. If a failure is detected on the HSE oscillator clock, an application reset can be generated.

CSS on LSE

The clock security system can be turned on using software. When this happens, the clock detector is turned on after a delay in the LSE oscillator startup. The detector is turned off when the oscillator stops. If there is a problem with the LSE oscillator clock, the RTC/TAMP clock source is stopped and the TAMP block is notified for security protection and system wake-up.

Boot mode selection

In the STM32MP23/25xx lines, different boot modes can be selected by means of the BOOT[3:0] pins and OTP settings.

Table 11. Boot sources
BOOT[3:0] pinsAlternate boot pins OTP value
0b00 (default)0b010b100b11
Cortex-A35 masterCortex-M33 masterCortex-M33 master 1Cortex-A35 masterCortex-M33 masterCortex-M33 master 1
Cortex-A35 Cortex-M33Cortex-A35 Cortex-M33
0UART and USB2 3
1SD-Card---SD-CardSD-CardSerial NANDSerial NOR
2e•MMC---e•MMCe•MMCe•MMCSerial NOR
3Development boot2
4Serial NOR-Serial NORSerial NORSLC NANDSerial NOR
5Serial NAND-e•MMC4Serial NOR
6SLC NAND-e•MMC4HyperFlash™
7-SD-Card--HyperFlash™HyperFlash™Serial NANDHyperFlash™
8-e•MMC--Serial NANDSerial NANDe•MMCHyperFlash™
9-Serial NANDSerial NOR-SD-Card5Serial NOR
10-SLC NANDSerial NOR-SD-Card5HyperFlash™
11-Serial NOR--SLC NANDSLC NANDSLC NAND6HyperFlash™
12Development boot2
13--e•MMCSerial NORSD-Card5SD-Card5SD-CardSerial NOR
14--SD-CardSerial NORe•MMC4e•MMC4SD-CardHyperFlash™
15UART and USB3

The values on the BOOT pins are sampled by boot ROM after a reset. It is up to the user to set the BOOT[3:0] pins before reset exit to select the required boot mode. The BOOT pins could also be resampled later by software (for example by reading SYSCFG_BOOTCR.BOOT[3:0] field) or by the boot ROM when exiting the Standby mode. Consequently, they must be kept in the required boot mode configuration all the time.

1 Two flash memory config. Indirect Cortex-A35 boot (from Cortex-M33) or used during Cortex-A35 D1Standby exit
2 Cannot be override by OTP.
3 Wait incoming connection on USART2/6 or UART5/8/9 on default pins and USB high-speed device on USB3DR_DP/DM.
4 e•MMC on SDMMC1
5 SD-Card on SDMMC2
6 Only 8-bit memory is supported as some FMC and OCTOSPIM port2 pins are shared (usage of FMC in 16-bit mode is exclusive of usage of OCTOSPIM port2).

Boot pin connection

Figure 8 Boot mode selection example shows an example of the external connection required to select the boot memory of the STM32MP23/25xx lines devices.

Figure 8. Boot mode selection example

Despite all the recovery cases in software, there is a risk that with wrong or corrupted flash memory content (such as: user mistake, bad flash memory content programmed, power lost), the system might not start (also known as ‘bricked’).

Note that on empty flash memory, the boot code automatically switches to UART/USB connection.

It might be required to have a way to force use of UART/USB connection in order to enable board flash memory reprogramming (for example: after sale services, firmware update).

There are also cases of where initial boot is done on a different flash memory than regular boot (for example the initial boot from SD-Card, which copies binary data in another flash memory like serial NOR, serial NAND, eMMC, or SLC NAND). This is possible as the initial boot code could set relevant OTP bits to force future boot from the programmed flash memory (see Figure 10 Simplified boot flow). This allows a simplified and flexible mass production without intervention on BOOT pins. The typical connections examples for a final board are described in Figure 9 BOOT pins typical connection schematics.

The switches could be done by various ways: pushbutton, solder bridges, connector contacts, test points, and so on, but assumed ‘open’ by default during normal product boot to avoid current flow in external resistors.

Note that OTP configuration could force or forbid any of the boot sources in order to satisfy product security requirements.

Figure 9. BOOT pins typical connection schematics


Embedded bootloader mode

This embedded bootloader is located in the boot ROM memory. During boot, the OCTOSPI, FMC, SDMMC, and USART peripherals operate with the internal 64 MHz oscillator (HSI).

The USB3DR high-speed device, however, can function only if an external clock (HSE) is present with a recommended frequency of 40 MHz (alternatively, 16, 19.2, 20, 24, 25, 26, 28, 32, 36, 40 or 48 MHz could be used with OTP settings and/or automatic frequency detection).

For additional information, refer to the USB DFU/USART protocols used in STM32MP1 series bootloaders AN5489_General_information.html.

Figure 10. Simplified boot flow


Introduction

The host/target interface is the hardware equipment that connects the host to the application board. This interface is made of three components: a hardware debug tool, a JTAG, or SWD connector and a cable connecting the host to the debug tool.

Figure 11 Host-to-board connection shows the connection of the host to the evaluation board.

Figure 11. Host-to-board connection


SWJ debug port (serial wire and JTAG)

The STM32MP25xx lines core integrates the serial Wire/JTAG debug port (SWJ-DP). It is an Arm® standard CoreSight™ debug port that combines a JTAG-DP (5-pin) interface and an SW-DP (2-pin) interface.

  • The JTAG debug port (JTAG-DP) provides a 5-pin standard JTAG interface to the AHP-AP port
  • The serial wire debug port (SW-DP) provides a 2-pin (clock + data) interface to the AHB-AP port

The two pins of the SW-DP are multiplexed with two of the five JTAG pins of the JTAG-DP.

Internal pull-up and pull-down resistors on JTAG pins

To avoid any uncontrolled I/O levels, the STM32MP25xx lines embed internal pull-up and pull-down resistors on JTAG pins:

  • NJTRST: Internal pull-up
  • JTDI: Internal pull-up
  • JTDO-TRACESWO: Internal pull-up
  • JTMS-SWDIO: Internal pull-up
  • JTCK-SWCLK: Internal pull-down
Note:
  • The JTAG IEEE standard recommends adding pull-up resistors on TDI, TMS, and nTRST but there is no special recommendation for TCK. However, for the STM32MP25xx lines, an integrated pull-down resistor is used for JTCK.
  • Having embedded pull-up and pull-down resistors removes the need to add external resistors.
  • In order to use the RMA (return material acceptance), the JTAG pins (JTDI, JTCK, JTMS) must be accessible. The JTDO pin might be needed too, depending on the tool that is used.

Debug port connection with standard JTAG connector

Figure 12 JTAG/SWD using Arm® JTAG 20 connector implementation example shows the connection between the STM32MP23/25xx lines and a standard JTAG/SWD connector.

Figure 12. JTAG/SWD using Arm® JTAG 20 connector implementation example


Note:

The single wire trace on the TRACESWO pin is only available for Cortex®‑M core. To trace all cores activity, a parallel trace port must be used (see Parallel trace and HDP).

Debug port and UART connection with STDC14 connector

Figure 13 JTAG/SWD/UART VCP using STDC14 connector implementation example shows the connection between the STM32MP23/25xx lines and an STDC14 connector including UART virtual com port connection.

Reference example for the STDC14 header is FTSH-107-01-L-DV-K-A.

Figure 13. JTAG/SWD/UART VCP using STDC14 connector implementation example


Note:
  • The single wire trace on the TRACESWO pin is only available for Cortex®-M33 core. To trace all core activities, a parallel trace port must be used (see Parallel trace and HDP).
  • STDC14 connector is respecting (from pin 3 to pin 12) the Arm10 pinout (Arm® Cortex® debug connector).

Parallel trace and HDP

Parallel trace

TRACED[15:0] and TRACECLK signals are available as alternate functions on I/Os pins. The user could select the number of trace data N = 1, 2, 4, 8 or 16 pins. Less trace data mean lower available trace bandwidth, so less information could be traced (such as the number of trace sources, code and/or data tracing) without trace overrun. For each product, a trade-off between available features and the trace bus could lead to have reduced feature while using trace during product development.

The trace is compliant to Arm® CoreSight™ trace. It needs a dedicated tracing tool in order to be interpreted and correlated with debugging done through SWD or JTAG.

For more information on the Trace Port interface CoreSight™ component, refer to the product reference manual and the Arm® CoreSight™ technical reference manual.

Note that for efficient tracing bandwidth, TRACECLK should run as fast as possible while maintaining good signal integrity on all parallel trace signals. This is dependent on board and connector choices, GPIO strength settings (GPIO_OSPEEDR registers), and VDD voltage.

Figure 14. Parallel trace port with JTAG/SWD on Mictor-38 implementation example


Hardware debug port (HDP)

Some internal signals are available for deep debugging. Internal knowledge and an oscilloscope or logic analyzer are needed. For more information, refer to the product reference manual and datasheet.

Debug triggers and LEDs

The CoreSight™ cross-trigger interface (CTI) is available on pins as DBTRGI and DBTRGO.

DBTRGI could be generated by the external user signal. It could be programmed also inside CoreSight™ components to start/stop traces or enter specific cores in debug mode (break).

DBTRGO could be generated by CTI to see externally that a trigger condition is reached by one of the CoreSight™ components (core break, trace started, and so on.).

DBTRGO could be made available on PZ3, PZ4, and PZ6.

DBTRGI could be made available on PZ3, PZ4, and PZ6.

Debug LED

The PH4 pin has a specific BOOTFAILN behavior (see boot documentation for details):

  • During the boot phase, in case of boot failure, the PH4 pin is set to low open-drain. The debug LED lights bright. Note that in most cases, without secure boot enabled, this fail is not visible as it immediately falls back to an UART/USB boot.
  • During UART/USB boot, the PH4 pin toggles open-drain at a rate of few Hz until a connection is started. The debug LED blinks fast.
  • With BOOT[3:0] = 0b0011 (development boot), PH4 is set to low open-drain. The debug LED lights bright.
  • In all other cases, like normal boot, the PH4 pin is kept in its reset value. It means in high-Z until further software setting.

It is a good idea to put a red LED on PH4 as shown in Figure 15 PH4 LED connection (valid for VDD = 3.3V). In case of VDD= 1.8V, additional circuitry might be needed.

LEDs are useful for quick visual signaling of system activity. So, it is a good choice to use at least PH4 for quick low level boot error signaling. In most cases, the LED circuitry does not conflict with usage for other purposes (such as USBH_HS_OVRCUR, USB3DR_OVRCUR).

Figure 15. PH4 LED connection (valid for VDD = 3.3V)


PCB

For technical reasons, it is mandatory to use a multilayer PCB with a separate layer dedicated to the ground (VSS), and another layer dedicated to power supplies like VDD, VDDCPU, and VDDCORE. This provides good decoupling and a good shielding effect.

Component position

A preliminary layout of the PCB must separate the different circuits according to their EMI contribution. The aim is to reduce cross‑coupling on the PCB that is noisy high-current circuits, low-voltage circuits, and digital components.

Ground and power supplies (VSSx,VDDx)

Due to a large power and high frequencies involved in the STM32MP25xx devices, it is mandatory to use PCB with at least four layers and with dedicated power planes for VSSx and VDDx.

GPIO advance configuration

To utilize ETH RGMII, DCMIPP parallel inputs, LTDC parallel outputs, or parallel TRACE outputs (TPIU), it is necessary to configure certain settings within the GPIOx_ADVCFG and GPIOx_DELAY registers. Refer to Table 14 GPIO advance configuration recommended settings below for recommended values.
Table 12. GPIO advance configuration recommended settings

Interface

Mode

Signals

GPIOx_ADVCFGR bits

GPIOx_DELAY field

RET

INVCLK

DE

DLYPATH

DLY[3:0]

ETH1, ETH2, ETH32

RGMII

ETHx_RGMII_RX_CTL

1

0

1

0

0b0000

ETHx_RGMII_RXD[3:0]

ETHx_RGMII_TX_CTL

ETHx_RGMII_TXD[3:0]

others ETHx_

0

0

0

0

0b0000

RGMII_ID (GMAC side internal delays)1

ETHx_RGMII_RX_CLK

0

0

0

1

0b1101

ETH1_RGMII_GTX_CLK

0

0

0

0

0b1100

ETH2_RGMII_GTX_CLK

0

0

0

0

0b1011

ETH3_RGMII_GTX_CLK

0

0

0

0

0b1011 or 0b1100

ETHx_RGMII_RX_CTL

1

0

1

0

0b0000

ETHx_RGMII_RXD[3:0]

ETHx_RGMII_TX_CTL

ETHx_RGMII_TXD[3:0]

others ETHx_

0

0

0

0

0b0000

DCMIPP parallel

PIXCLK rising edge sampling

DCMIPP_PIXCLK

0

1

0

0

0b0000

others DCMIPP_

1

1

0

0

0b0000

PIXCLK falling edge sampling

DCMIPP_PIXCLK

0

0

0

0

0b0000

others DCMIPP_

1

1

0

0

0b0000

LTDC parallel

Signals change on CLK rising edge

LCD_CLK

0

0

0

0

0b0000

others LCD_

1

0

0

0

0b0000

Signals change on CLK falling edge

LCD_CLK

0

1

0

0

0b0000

others LCD_

1

0

0

0

0b0000

TRACE (TPIU) parallel

Edge align data

TRACECLK

1

0

0

0

0b0000

others TRACEx

1

0

0

0

0b0000

Center align data

TRACECLK

1

0

0

0

0b0000

others TRACEx

1

1

0

0

0b0000

1 Use these settings only if 2ns internal delay is needed for RGMII timings. Delay values could be slightly tuned if required.
2 ETH3 could use same settings than ETH1 or ETH2, except that values are specified by design and not evaluated by characterization nor tested in production.
3 Use these settings only if 2ns internal delay is needed for RGMII timings. Delay values could be slightly tuned if required.
4 ETH3 could use same settings than ETH1 or ETH2, except that values are specified by design and not evaluated by characterization nor tested in production.

I/O speed settings

It is important to set the right output drive on I/Os to have sufficient rise and fall time. Moreover, it helps avoid any additional ringing and noise.

When there are no specific requirements for I/O speed, it is mandatory to set OSPEEDR to 0.

As a first approximation, the following drawing and tables could be used to choose quickly the right setting to apply according to signal frequency and capacitive load. This setting might need to be tailored in case of signal integrity issue.

Whenever one OSPEEDR value of two or three is used, related I/O compensation needs to be enabled in SYSCFG. There are five independent I/O compensations for each of the five independent I/O supplies: VDD, VDDIO1, VDDIO2, VDDIO3, and VDDIO4. Refer to the product datasheet and reference manual for more details.

Note that there are five independent I/Os voltage sections (VDD, VDDIO1, VDDIO2, VDDIO3, or VDDIO3), which, in some AFMUX settings cases, could be shared between different interfaces.

When VDD, VDDIO1, VDDIO2, VDDIO3, or VDDIO4 are working at 1.8 V, settings must be done in PWR_CR1.VDDIOxVRSEL (for VDD, VDDIO3 and VDDIO4) or PWR_CR7.VDDIO2VRSEL (for VDDIO2) or PWR_CR8.VDDIO1VRSEL (for VDDIO1). Without these settings, the I/Os are working in degraded mode.

Note:

To avoid I/O damage due to mis-settings, in addition to PWR settings, there are OTP bits (HSLV_VDDIOx) which must be programmed when a specific domain (VDD, VDDIO1, VDDIO2, VDDIO3, or VDDIO4) may be used below 2.5 V on a product. See related sections in the product reference manual for details.

Note: In case of asynchronous or single edge clocked data lanes (such as SDR), the maximum data frequency toggle is effectively half the data rate.

For example, an SPI running at 10 Mbit/s/s has a maximum frequency of 5 MHz on the data signal, like output serial data 01010101..., but 10 MHz on the clock signal.

On dual-edge clocked data lanes (such as DDR), the clock, and data have the same maximum toggling frequency.

Figure 16. I/O speed summary with various loads and voltages


Table 13. OSPEEDR setting example for VDD = 3.3 V typ.

1PeripheralSignalsToggling rate (MHz)OSPEEDR CL=30 pFOSPEEDR CL=10 pF
FMC asyncData/Controls-1Medium speed0Low speed
FMC syncCLK663Very high speed 23Very high speed 2
Data/Controls331Medium speed0Low speed
OCTOSPIM (SDR)CLK13323High speed1Medium speed
Data/Controls66.51Medium speed0Low speed
OCTOSPIM (DDR)All66.51Medium speed0Low speed
LTDCCLK1503 3Very high speed1Medium speed
Data/Controls752High speed0Low speed
LTDCCLK832High speed0Low speed
Data/Controls41.50Low speed0Low speed
TIM/LPTIMAll50Low speed0Low speed
I2CAll10Low speed0Low speed
USARTAll50Low speed0Low speed
SPICLK501Medium speed0Low speed
Data/Controls250Low speed0Low speed
SAIMCLK150Low speed0Low speed
CLK10Low speed0Low speed
Data/Controls0.50Low speed0Low speed
SDMMC (SDR)CLK1203 3Very high speed2High speed
Data/Controls602High speed1Medium speed
SDMMC (DDR)All521Medium speed0Low speed
FDCANAll50Low speed0Low speed
ETH (MII)CLK250Low speed0Low speed
Data/Controls12.50Low speed0Low speed
ETH (RMII)All501Medium speed0Low speed
Data/Controls250Low speed0Low speed
ETH (RGMII)All1252 3High speed1Medium speed
ETH (MDIO)MDIO2.50Low speed0Low speed
TRACEAll1332 3High speed1Medium speed
1002High speed0Low speed
Table 14. OSPEEDR setting example for VDD = 1.8 V typ.
4PeripheralSignalsToggling rate (MHz)OSPEEDR CL=30 pFOSPEEDR CL=10 pF
FMC asyncData/Controls-1Medium speed0Low speed
FMC syncCLK663Very high speed53Very high speed 5
Data/Controls331Medium speed0Low speed
OCTOSPIM (SDR) CLK1332 6High speed1Medium speed
Data/Controls66.51Medium speed0Low speed
OCTOSPIM (DDR)All66.51Medium speed0Low speed
LTDC CLK1503 6Very high speed1Medium speed
Data/Controls752High speed0Low speed
LTDCCLK832High speed0Low speed
Data/Controls41.50Low speed0Low speed
TIM/LPTIMAll50Low speed0Low speed
I2CAll10Low speed0Low speed
USARTAll50Low speed0Low speed
SPICLK501Medium speed0Low speed
Data/Controls250Low speed0Low speed
SAIMCLK150Low speed0Low speed
CLK10Low speed0Low speed
Data/Controls0.50Low speed0Low speed
SDMMC (SDR) CLK1663 6Very high speed2High speed
Data/Controls832High speed1Medium speed
SDMMC (DDR)All521Medium speed0Low speed
FDCANAll50Low speed0Low speed
ETH (MII)CLK250Low speed0Low speed
Data/Controls12.50Low speed0Low speed
ETH (RMII)All501Medium speed0Low speed
Data/Controls250Low speed0Low speed
ETH (RGMII) All1252 6High speed1Medium speed
ETH (MDIO)MDIO2.50Low speed0Low speed
TRACE All1332 6High speed1Medium speed
1002High speed0Low speed
1 VDDIOxVRSEL = 0
2 Required to reduce I/O delay for internal feedback clock. A serie resistor of 22-33 Ω close to FMC_CLK pin might be useful to improve signal integrity at memory side.
3 Value for 20 pF load
4 VDDIOxVRSEL = 1
5 Required to reduce IO delay for internal feedback clock. A serie resistor of 22-33 ohms close to FMC_CLK pin might be useful to improve signal integrity at memory side.
6 Value for 20 pF load

PCB stack and technology

A trade-off between the PCB cost and easy electrical connections has to be made. Below, examples are, either for four or six layers PCB with only PTH (suited for 0.8mm pitch package), or for six layers PCB with both PTH and laser drilled vias (suited for 0.5mm pitch package).

Note that some STM32MP25xx lines packages with an outer ball pitch of 0.5 mm provide power improved center ball matrix with depopulated matrix. It enables large PTH via in between balls.

This ensures better supply connection as well as optimized thermal conductivity than small buried laser drilled vias.

Figure 17. 6-layer PTH PCB stack example


Figure 18. 6-layer PTH + laser vias PCB stack example


Figure 19. PCB rule for 0.8 mm pitch package (with PTH)


Figure 20. PCB rule for 0.5 mm pitch package (with laser via and PTH)


Decoupling

All the power supply and ground pins must be properly connected to the power supplies. These connections, including pins, tracks, and vias must have as low impedance as possible. This is typically achieved with thick track widths and, preferably, the use of dedicated power supply planes in multilayer PCBs.

In addition, each power supply pair must be decoupled with ceramic capacitors (most of the time 100 nF or 1 μF, see Table 1). These capacitors need to be placed as close as possible to, or below, the appropriate pins on the underside of the PCB. Exact values might depend on the application. Figure 21 Example of decoupling layout shows the typical layout of such a decoupling placement.
Figure 21. Example of decoupling layout

ESD/EMI protections

ElectroStatic discharge (ESD) and electromagnetic interference (EMI) should be taken into account from the beginning of a product development as it could be very complex and expensive to add them later.

ESD and EMI are driven by global standards (such as IEC 61000, JESD 22) which in most countries require a certification to allow mandatory marking to be applied on a product (such as CE, FCC).

ESD and EMI are also driven by standardized interface certification or requirements (for example USB).

Although the STM32MP23/25xx lines embed device level ESD protection, the final product protection should be done by external components, more especially on interfaces having external user access in the final product (such as Ethernet, USB, SD-card). Some components provide ESD protection as well as EMI common-mode filtering (for example ECMF02-2AMX6 used on USB). Some examples of ESD/EMI protections are provided in STM32MP25x reference design examples.

For more details, refer to the application note AN5489_General_information.html about the EMC design guide.

Sensitive signals

When designing an application, the EMC (electromagnetic compatibility) performance can be improved by closely studying the following points:
  • Signals for which a temporary disturbance affects the running process permanently (such as interrupts and handshaking strobe signals) are not the case for LED commands.

    For these signals, a surrounding ground trace, shorter lengths, and the absence of noisy or sensitive traces nearby (the crosstalk effect) improve the EMC performance. For digital signals, the best possible electrical margin must be reached for the two logical states and slow Schmitt triggers are recommended to eliminate parasitic states.

  • Noisy signals (such as clock)
  • Sensitive signals (such as high-Z ones)

Signals that do not allow negative injection, such as input/output signals on VSW supply, need to be handled with care to prevent undershoots. To avoid this, a series resistor (usually 22 Ω) can be added close to the signal source to match impedance, or a small capacitor (suited to the impedance and frequency of the signal) can be added near the input/output to reduce ringing. Refer to the product datasheet for more information.

For more details, refer to the application note AN5489_General_information.html about the EMC design guide.

Unused I/Os and features

The STM32MP25xx lines are designed for a wide range of applications and often a particular application does not use 100% of the resources.

To increase the EMC performance, unused clocks, counters, or I/Os should not be left free. For example, I/Os should be set to “0” or “1” (external or internal pull-up or pull-down to the unused I/O pins), and unused features should be “frozen” or disabled.

STM32MP25x reference design examples

This section provides examples to help the user to connect major and critical interfaces to the devices. Examples apply also to the STM32MP23x lines whenever the feature is available.

Clock

Two clock sources are used for STM32MP25xx lines, with the following choices:
  • LSE: 32.768 kHz crystal for the embedded RTC
  • HSE: 40 MHz crystal or external oscillator as STM32MP25xx lines main clock

Refer to Clocks.

Figure 22. HSE recommended schematics for both oscillator/crystal options


Table 15. HSE BOM for oscillator or crystal
Components

Oscillator

(OSC_OUT = logic 0)

Crystal

(OSC_OUT = crystal pin)

X1NZ2016SH 40 MHzNX2016SA 40 MHz
R110 Ω- (open)
R210 KΩ / 30 KΩ1- (open)
R3- (open) / 33 KΩ10 Ω
R41 KΩ- (open)
C1- (open)6.8 pF
C2- (open)6.8 pF
C310 nF- (open)
1 For respectively VDD = 1.8 V and VDD = 3.3 V. In case of VDD = 3.3 V, a resistor divider formed by R2/(R3+R4) is required as the oscillator pin 1 (Enable) must be limited to a VDDA18AON (1.8 V) voltage, which supplies the external oscillator.

Boot mode

The boot option is configured by setting permanent wires or switches: SW4 (BOOT3), SW3 (BOOT2), SW2 (BOOT1) and SW1 (BOOT0) and internal OTP. Refer to Boot configuration.

In case of the UART boot using one of the possible U(S)ARTx_RX pins (see Table 18 Minimum set of default pins used during boot ROM phase) to avoid a floating signal sent to the host until the initialization character is received and decoded by the boot ROM, it is required to have a 10 kΩ VDD pull-up on the respective U(S)ARTx_TX pin.

The U(S)ART_RX pin used for boot or system console should not be left floating to avoid dummy serial characters decoding. This could be ensured either by defining an internal pull-up in a uBoot/Linux device tree, or using a 10 kΩ VDD pull-up on the board.

The table below shows the default pins used for each boot interface.

Table 16. Minimum set of default pins used during boot ROM phase
InterfacetypeSignalPinIO supply domain
FMCSLC NAND 8-bitsSLC NAND 16-bitsFMC_NOEPE15VDDIO21
FMC_RNBPE13
FMC_NWEPE14
FMC_NCE1PE12
FMC_ALEPE8
FMC_CLEPE11
FMC_D0PE9
FMC_D1PE6
FMC_D2PE7
FMC_D3PD15VDD
FMC_D4PD14
FMC_D5PB13
FMC_D6PD12
FMC_D7PB14
-FMC_D8PB5VDDIO42
FMC_D9PB6
FMC_D10PB7
FMC_D11PD13VDD
FMC_D12PB8VDDIO42
FMC_D13PB9
FMC_D14PB11
FMC_D15PB10
OCTOSPIM Port1Serial NOR,Serial NANDHyperFlash™OCTOSPIM_P1_CLKPD0VDDIO3
OCTOSPIM_P1_NCS1PD3
OCTOSPIM_P1_IO0PD4
OCTOSPIM_P1_IO1PD5
-OCTOSPIM_P1_IO2PD6
OCTOSPIM_P1_IO3PD7
OCTOSPIM_P1_IO4PD8
OCTOSPIM_P1_IO5PD9
OCTOSPIM_P1_IO6PD10
OCTOSPIM_P1_IO7PD11
OCTOSPIM_P1_NCLKPD1
OCTOSPIM_P1_DQSPD2
OCTOSPIM Port2Serial NOR,Serial NANDHyperFlash™OCTOSPIM_P2_CLKPB10VDDIO42
OCTOSPIM_P2_NCS1PB8
OCTOSPIM_P2_IO0PB0
OCTOSPIM_P2_IO1PB1
-OCTOSPIM_P2_IO2PB2
OCTOSPIM_P2_IO3PB3
OCTOSPIM_P2_IO4PB4
OCTOSPIM_P2_IO5PB5
OCTOSPIM_P2_IO6PB6
OCTOSPIM_P2_IO7PB7
OCTOSPIM_P2_NCLKPB11
OCTOSPIM_P2_DQSPB9
SDMMC1SD-Card or eMMCSDMMC1_CKPE3VDDIO1
SDMMC1_CMDPE2
SDMMC1_D0 3PE4
SDMMC2SD-Card or eMMCSDMMC2_CKPE14VDDIO21
SDMMC2_CMDPE15
SDMMC2_D03PE13
USART2USART2_RXPA8VDD
USART2_TXPA4
UART5UART5_RXPB15VDD
UART5_TXPA0
USART6USART6_RXPF4VDD
USART6_TXPF5
UART8UART8_RXPF3VDD
UART8_TXPG3
UART9UART9_RXPB14VDD
UART9_TXPD13
USB3DRUSB deviceUSB3DR_DPUSB3DR_DPVDD33USB/VDDA18USB
USB3DR_DMUSB3DR_DM
USB3DR_TXRTUNEUSB3DR_TXRTUNE
1 Some FMC and SDMMC2 pins are shared, this means that usage of FMC is exclusive of usage of SDMMC2.
2 Some FMC and OCTOSPIM port2 pins are shared, this means that usage of FMC in 16-bit mode is exclusive of usage of OCTOSPIM Port2.
3 Only used as input by boot ROM

SWD/JTAG interface

The reference design shows the connections between the STM32MP25xx devices and some standard connector (refer to Debug management).

Note: If available, it is recommended to connect the debugger probe system reset pin to NRST. This action permits resetting the application from the debugger.

Power supply

The STPMIC25 automatically applies power cycling when its RST_N pin is activated (for example, button, system reset). However, in the case of entering an RMA state, the power cycling should not be done. A 0 Ω resistance between NRST and STPMIC25 RST_n pins could be provided and removed when using the procedure to enter an RMA state. Refer to Power supplies.

Example of PMIC supplies for 3.3 V I/Os and DDR4

This reference design example targets a complex 3.3 V I/Os platform with DDR4 and high integration PMIC. Usually, all platform components can be powered by the PMIC. Full power supply control is supported thanks to PMIC I²C and side band signals. The Sleep mode, the Stop mode, and the Standby mode are supported. See PMIC documentation for details of PMIC components.

Figure 23. Example of PMIC supplies for 3.3 V I/Os and DDR4


See Table 4 Amount of decoupling recommendation by package.

Note: On a same I²C bus, it is not possible to share I²C devices controlled from both secure and nonsecure software. For example: a secure software controls STPMIC2x in our standard deliveries and that STPMIC2x belongs to a distinct and secured I²C controller.

Example of PMIC supplies for 1.8 V I/Os with LPDDR4

This reference design example targets a complex 1.8 V I/Os platform with low power LPDDR4 and high integration PMIC. Usually, all platform components can be powered by the PMIC. The full power supply control is supported thanks to PMIC I²C and side band signals. The Sleep mode, the Stop mode, and the Standby mode are supported as well as very-low power standby with LPDDR4 retention. See PMIC documentation for details of PMIC components.

Figure 24. Example of PMIC supplies for 1.8 V I/Os with LPDDR4


  1. PDR_ON must always be connected to VDDA18AON.
Note: SD card supplies are not enabled in the STPMIC25A and STPMIC25B default NVM after shipment. They need to be specifically programmed in the customer production flow (using USB or UART boot) to allow SD card boot. Alternatively, if no SD card UHS-I is required, instead of using LDO7 and LDO8, the SD card supplies (VDDIO_SDCARD and VCC_SDCARD) could be both connected to a 2.7-3.6 V supply enabled with default the STPMIC25x NVM (for example, BUCK7 or LDO2).

See Table 4 Amount of decoupling recommendation by package.

Note: On a given I²C bus, it is not possible to share I²C devices controlled from both secure and nonsecure software. For example, secure software controls the PMIC in our standard deliveries and that PMIC belongs to a distinct and secured I²C .

DDR4 SDRAM

A 240 Ω 1% resistor should be connected between DDR_ZQ and VSS. This resistor must not be shared with the ZQ resistors required on each DDR4 component.

In case of a 2x16-bit device, the impedance matching resistor network connected on the termination voltage (VTT) supply must be placed as close as possible to the last device. ‘Fly-by’ routing techniques must be used to avoid any impedance discontinuities. Values in the example below should work in most cases, but could be tailored to each side I/O drive strengths and PCB impedance.

Figure 25. DDR4 16/32 bits connection example


Note:
  1. See the table below.
  2. Alternatively, to ease routing and avoid long VREF lines, VREF can be generated locally by a 1 k Ω or 1 k Ω 1% resistor divider on VDDQ close to each VREF pin.
  3. Supplies and decoupling capacitors are not shown.
  4. Detailed routing examples are described in the corresponding application note AN5489_General_information.html.
Table 17. DDR4 2x16-bit default pin mapping
DDRCTRL pin1Signal nameDDR4 x16 #1DDR4 x16 #2 2Comments
DDR_RESETNRESETNRESET_nRESET_n10k pull-down to memory VSS
DDR_ZQ---240 Ω 1% to VSS
--ZQ-240 Ω 1% to memory VSS
---ZQ240 Ω 1% to memory VSS
DDR_VREF---Not used, it should be left open.
-VREFVREFCAVREFCA0.6 V reference voltage
--PARPARNot used, it should be connected to memory VSS.
--TENTEN
--ALERT_nALERT_nNot used, it should be left open.
DDR_A0CKE0CKECKE-
DDR_A1---Not used, it should be left open.
DDR_A2CS0NCS_nCS_n-
DDR_A3ODT0ODTODT-
DDR_A4CLKPCK_tCK_t-
DDR_A5CLKNCK_cCK_c-
DDR_A6---Not used, it should be left open.
DDR_A7---Not used, it should be left open.
DDR_A8A9A9A9-
DDR_A9A12_BCNA12/BC_nA12/BC_n-
DDR_A10A11A11A11-
DDR_A11A7A7A7-
DDR_A12A8A8A8-
DDR_A13A6A6A6-
DDR_A14A5A5A5-
DDR_A15A4A4A4-
DDR_A16BG1--BG1 is not used on DDR4 x16 or DDR4 x32, but DDR_A16 pin could be selected for another DDR4 signal than the default one. See note 1.
DDR_A17ACTNACT_nACT_n-
DDR_A18BG0BG0BG0-
DDR_A19not used--Not used, it should be left open.
DDR_A20A3A3A3-
DDR_A21A2A2A2-
DDR_A22A1A1A1-
DDR_A23BA1BA1BA1-
DDR_A24does not exist---
DDR_A25A13A13A13-
DDR_A26BA0BA0BA0-
DDR_A27A10_APA10/APA10/AP-
DDR_A28A0A0A0-
DDR_A29CASN_A15CAS_n/A15CAS_n/A15-
DDR_A30WEN_A14WE_n/A14WE_n/A14-
DDR_A31RASN_A16RAS_n/A16RAS_n/A16-
DDR_DQ[31:24]DQ[31:24]-DQU[7:0]Data bits could be swapped within a same byteByte3 could be swapped with other bytes 3
DDR_DQM3DQM3-DMU_n/DBIU_n
DDR_DQS3PDQS3P-DQSU_t
DDR_DQS3NDQS3N-DQSU_c
DDR_DQ[23:16]DQ[23:16]-DQL[7:0]Data bits could be swapped within a same byteByte2 could be swapped with other bytes 3
DDR_DQM2DQM2_DBIL2-DML_n/DBIL_n
DDR_DQS2PDQS2P-DQSL_t
DDR_DQS2NDQS2N-DQSL_c
DDR_DQ[16:8]DQ[15:8]DQU[7:0]-Data bits could be swapped within a same byteByte1 could be swapped with other bytes 3
DDR_DQM1DQM1DMU_n/DBIU_n-
DDR_DQS1PDQS1PDQSU_t-
DDR_DQS1NDQS1NDQSU_c-
DDR_DQ[7:0]DQ[7:0]DQL[7:0]-Data bits could be swapped within a same byteByte0 could be swapped with other bytes 3
DDR_DQM0DQM0DML_n/DBIL_n-
DDR_DQS0PDQS0PDQSL_t-
DDR_DQS0NDQS0NDQSL_c-
1 DDR_A8 to DDR_A31 pin mapping can be tailored by software. See the application note Guidelines for the DDR configuration on STM32MP2 MPUs (AN5723).
2 Only for 2x 16 bits
3 For a given 32-bit platform with two memory devices, if an option is foreseen for BOM reduction to a single 16-bit memory device, then Byte0 and Byte1 must be connected to this device.

LPDDR4 SDRAM

A 240 Ω 1% resistor should be connected between DDR_ZQ and VSS. This resistor must not be shared with one or more ZQ resistors required on the LPDDR4 component.

Figure 26. LPDDR4 connection example


Note:
  1. Supplies and decoupling capacitors are not shown.
  2. Detailed routing examples are described in the corresponding application note AN5489_General_information.html.
Table 18. LPDDR4 pin mapping
DDRCTRL pin1Signal nameLPDDR4Comments
DDR_RESETNRESETNRESET_n10k pull-down to memory VSS
DDR_ZQ--240 ohms 1% to VSS
--ZQ0240 ohms 1% to memory VDD2/VDDQ
--ODT_CA_AShould be connected to memory VDD2/VDDQ (CA terminations enabled by default, could be disabled later inside memory settings)
--ODT_CA_B
DDR_VREF---2
DDR_A0CKEA0CKE0_A-
DDR_A1---2
DDR_A2CA0ACA0_A-3
DDR_A3CA1ACA1_A
DDR_A4CLKPACK_t_A-
DDR_A5CLKNACK_c_A-
DDR_A6CSA0CS0_A-
DDR_A7---2
DDR_A8CA2ACA2_A-3
DDR_A9CA3ACA3_A
DDR_A10CA4ACA4_A
DDR_A11CA5ACA5_A
DDR_A12CKEB0CKE0_B-
DDR_A13---2
DDR_A14CA0BCA0_B-4
DDR_A15CA1BCA1_B
DDR_A16CLKPBCK_t_B-
DDR_A17CLKNBCK_c_B-
DDR_A18CSB0CS0_B-
DDR_A19---2
DDR_A20CA2BCA2_B-4
DDR_A21CA3BCA3_B
DDR_A22CA4BCA4_B
DDR_A23CA5BCA5_B
DDR_A24does not exist--2
DDR_A25--
DDR_A26--
DDR_A27--
DDR_A28--
DDR_A29--
DDR_A30--
DDR_A31--
DDR_DQ[31:24]DQ[31:24]DQ[15:8]_B

Data bits could be swapped within a same byte with adequate DDRPHYC_DBYTE[3:0]_DQ[7:0]LNSEL setting inside DDRPHYC. Byte lanes within a channel (0 and 1 or 2 and 3) can be swapped on PCB with adequate programming of DDRCTRL_REGS_DERATEEN.DERATE_BYTE used for MR4 polling by DDRCTRL for temperature derating refresh. The default setting is 0 for MR4 read using DDR_DQ[7:0]. Swapping byte lanes between channels is not allowed.

DDR_DQM3DQM3DMI1_B
DDR_DQS3PDQS3PDQS1_t_B
DDR_DQS3NDQS3NDQS1_c_B
DDR_DQ[23:16]DQ[23:16]DQ[7:0]_B
DDR_DQM2DQM2_DBIL2DMI0_B
DDR_DQS2PDQS2PDQS0_t_B
DDR_DQS2NDQS2NDQS0_c_B
DDR_DQ[16:8]DQ[15:8]DQ[15:8]_A
DDR_DQM1DQM1DMI1_A
DDR_DQS1PDQS1PDQS1_t_A
DDR_DQS1NDQS1NDQS1_c_A
DDR_DQ[7:0]DQ[7:0]DQ[7:0]_A
DDR_DQM0DQM0DMI0_A
DDR_DQS0PDQS0PDQS0_t_A
DDR_DQS0NDQS0NDQS0_c_A
1 Some DDR_Ax pin mapping can be tailored by software. See the application note Guidelines for the DDR configuration on STM32MP2 MPUs (AN5723).
2 Not used, it must be left open.
3 Address/Command lines can be swapped with other CAx_A using MapCAA[0to5]toDfi setting inside DDRPHYC.
4 Address/Command lines could be swapped with other CAx_B using MapCAB[0to5]toDfi setting inside DDRPHYC.

SD card

Note: As boot is always done in ‘Standard’ mode (3 V IOs), if the card is used by the application in UHS-I, a power cycle on the card supply is required after a Reset mode or Standby mode. NRSTC1MS could be used for that purpose.

Note that a good signal integrity is dependent on board, GPIO strength settings (GPIO_OSPEEDR registers) and VDD voltage.

When using VDDIO1 = 1.8 V, a setting of VDDIOxVRSEL could be required to ensure the adequate speed on pins used on SDMMC1 outputs.

If needed, the impedance matching resistor should be placed as close as possible of the output driver pin. Values in the example below should work in most cases, but could be tailored to IO drive strengths and PCB impedance.

Before the VCC_SDCARD shutdown (for example before a Standby mode), all signals going to the card must be set to 0 or high-Z by the SDMMC1 driver.

The example is independent from MPU I/O voltage VDD and relies on variable VDDIO1 that could be set, either to 3.0 V/3.3 V, or 1.8 V typ. using one of the followings:

  • SDVSEL1 (‘0’ or high-Z = 3 V/3.3 V (default), ‘1’ = 1.8 V) connected to an external regulator or other component managing the VDDIO1 voltage.
  • A regular GPIO output connected to an external regulator or other component managing the VDDIO1 voltage.
  • An I²C bus in case of use with PMIC.

If a programmable VDDIO_SDCARD is not available in the platform, VDDIO1 could be connected to VCC_SDCARD. In that case, UHS-I is not supported.

Figure 27. SD-Card with embedded level shifter connection


Note: When switching to UHS-I mode (VDDIO1 = 1.8V), VDDIOxVRSEL should be set only when VDDIO1 is within the 1.8V allowed range. In case of reset of the SD-Card to the legacy 3V/3.3V range, to avoid damage on the I/Os, VDDIOxVRSEL should be cleared before the voltage is outside the 1.8V allowed range.

eMMC™ flash

Note that a good signal integrity is dependent on board, GPIO strength settings (GPIO_OSPEEDR registers), and VDDIO2 voltage.

When using VDDIO2 = 1.8 V, a setting of VDDIOxVRSEL could be required to ensure the adequate speed on pins used on SDMMC2 outputs.

If needed, the impedance matching resistor should be placed as close as possible of the output driver pin. Values in the example below should work in most cases, but could be tailored to IO drive strengths and PCB impedance.

Figure 28. eMMC™ connection example


Note:
  1. In bold and plain lines, default pins and minimum set of signals required by low level boot ROM during eMMC boot.
  2. Decoupling capacitors are not shown.

SLC NAND flash memory

Up to four 8 or 16-bit SLC NAND memory devices (CE# = FMC_NCE1, FMC_NCE2, FMC_NCE3 or FMC_NCE4) are supported.

Note that boot is only done on the SLC NAND memory device connected to FMC_NCE1.

Figure 29. SLC NAND flash memory connection


Note:
  1. Pull-up on FMC_RNB is optional. The 4.7kΩ value (lower than internal RPU) could give better signal rise time that could reduce the wait time seen by FMC.
  2. NAND flash memory VCC supply (VDD_NAND) must be cut for >1ms in order to allow reboot (on Reset or Standby mode exit). See NAND flash memory device for details.
  3. Decoupling capacitors are not shown.
  4. Only single level cell (SLC) NAND flash memory is supported, with either hamming, BCH4 or BCH8 error correction algorithms.

Serial NOR/NAND flash

As boot is always done in SPI mode, if the serial flash memory is set by the application in multiple data lines, or if the sector addressing has been changed, a power cycle on a serial flash memory supply is required after Reset or Standby mode exit.

Note: A good signal integrity is dependent on board, GPIO strength settings (GPIO_OSPEEDR registers), and VDDIO3 (or VDDIO4) voltage.

When using VDDIO3 (or VDDIO4)= 1.8 V, a setting of VDDIOxVRSEL could be required to ensure the adequate speed on pins used on OCTOSPIM outputs.

If needed, the impedance matching resistor must be placed as close as possible of the output driver pin. Values in the example below work in most cases, but can be tailored to I/O drive strengths and PCB impedance.
Figure 30. Serial flash memory connection example


Note:
  1. If RESET# is not connected, the serial flash memory supply (VCC) must be cut for >1ms in order to allow reboot (on reset or standby exit). See serial flash memory device documentation for details.
  2. Decoupling capacitors are not shown.
  3. During SPI mode boot using SI/SO, some serial memories could use I/O2 and I/O3 pins as an additional feature like HOLD. In order to make this device boot, it might be necessary to set those pins to an inactive level by adding external pull-ups.
In case the memory I/O power supply VCC could be shut down independently than VDD, and NRSTC1MS is used for other purposes or other voltages on the platform, NRSTC1MS must not be directly connected to the memory reset pin and the following options could be used:
  • Memory reset pin left open (assuming the memory has an internal power on reset and the NRSTC1MS is used to generate a power cycle on the memory)
  • Connected through a Schottky diode with the cathode on the NRSTC1MS side

Otherwise, the NRSTC1MS might be pulled low by memory internal protections when memory I/O supply is not present (which could cause some unwanted reset of other platform devices using the NRSTC1MS pin).

Refer to memory documentation to verify the memory reset pin requirements: especially the presence of internal power on reset and/or internal pull-up on the reset pin).

HyperFlash

Note:

If the serial flash memory mode set by the application is not compatible with the expected mode by the boot ROM, a power cycle on the serial flash memory supply is required after Reset or Standby mode exit. NRSTC1MS could be used for that purpose.

Note that a good signal integrity is dependent on board, GPIO strength settings (GPIO_OSPEEDR registers), and VDDIO3 (or VDDIO4) voltage.

When using VDDIO3 (or VDDIO4) = 1.8 V, a setting of VDDIOxVRSEL could be required to ensure the adequate speed on pins used on OCTOSPIM outputs.

Figure 31. HyperFlash™ connection example


Note:
  1. If RESET# is not connected, HyperFlash™ supply (VCC/VCCQ) must be cut for >1ms in order to allow reboot (on Reset or Standby mode exit). See HyperFlash™ device documentation for details.
  2. Decoupling capacitors are not shown.

USB

Multiple USB options are possible. Examples are listed below:

Multiple hi-speed USB hosts using an external USB hub component is not described here.

Note:

In case of on-board flash memory programming using the STM32CubeProgrammer, at least one USB with device capabilities is required. This is achieved with Figure 32 USB hi-speed device with Micro-B connector example, Figure 33 USB hi-speed device with Type-C connector example, or Figure 36 USB hi-speed/SuperSpeed dual role connection example and with some constrains, Figure 35 USB SuperSpeed host connection example. See also USB high-speed/SuperSpeed dual role with Type-C connector (USB3DR).

Table 19. USB high-speed PCB routing recommendations
RecommendationMinTypMaxUnit
Differential impedance76.590103.5Ω
Single-ended impedance38.254551.75Ω
Length matching within a pair (including package1)-50-+50mils
-1.27-+1.27mm
Max traces length (up to connector or first active component)--8inches
--203mm
Max number of vias (recommended value)--2-
Distance between any differential trace and other signalsS-2SS-3S or more-2
Do no route over power plane split. No stubs (point to point only). No right angles

For USB SuperSpeed COMBOPHY PCB routing recommendations, see PCI Express (PCIE).

1 See High-speed differential lane PCB track length matching for PCB track length matching details.
2 Definition could be found, for instance, in the DDR memory routing guidelines (AN5489_General_information.html).

USB hi-speed device (USB3DR)

A 200 Ω 1% resistor should be connected between USB3DR_TXRTUNE and VSS.

Refer to the application note AN5489_General_information.html for details on VBUS detection with GPIO.

Figure 32. USB hi-speed device with Micro-B connector example


Figure 33. USB hi-speed device with Type-C connector example


USB hi-speed host with Type-A connector (USBH)

A 200 Ω 1% resistor should be connected between USBH_HS_TXRTUNE and VSS.

Figure 34. USB hi-speed host example


Note: VBUS 1A is also possible using STMPS2171 instead of STMPS2151.

USB SuperSpeed host with Type-A connector (USB3DR)

A 200 Ω 1% resistor should be connected between USB3DR_TXRTUNE and VSS.

A 200 Ω 1% resistor should be connected between COMBOPHY_REXT and VSS.

Note: As PCI-Express (PCIE) and USB SuperSpeed (USB3DR SuperSpeed link) share the same I/Os (COMBOPHY pins), their usage is exclusive and defined during user product definition.
Note: USB3DR hi-speed device is required by boot ROM when connected to a PC computer running a STM32CubeProgrammer in USB mode, for example, to program board flash memory devices. This is still possible with this USB SuperSpeed host use-case by using a nonstandard Type-A/Type-A USB hi-speed cable. It is possible only during STM32CubeProgrammer usage, and might need specific uBoot settings to allow this nonstandard usage.
Figure 35. USB SuperSpeed host connection example


USB high-speed/SuperSpeed dual role with Type-C connector (USB3DR)

This example supports dual role data (host or device) as well as a USB Power Delivery protocol on Common Criteria lines using UCPD.

A 200 Ω 1% resistor should be connected between USB3DR_TXRTUNE and VSS.

A 200 Ω 1% resistor should be connected between COMBOPHY_REXT and VSS (if SuperSpeed is used).

Note:

As PCI-Express (PCIE) and USB SuperSpeed (USB3DR SuperSpeed link) share the same I/Os (COMBOPHY pins), their usages are exclusive and defined during user product definition.

Figure 36. USB hi-speed/SuperSpeed dual role connection example


VBUS fixed divider should be tailored from the expected VBUS voltage to keep the ADC input voltage below 1.8V. Typical value of the divider is 1/15 (for VBUS up to 20V) or 1/30 (for VBUS up to 48V).

The maximum limit for VCONN in TCPP02 is 100mW. However, this reference cannot be used in complete compliance with USB SuperSpeed because the USB specification requires VCONN to provide at least 1W. Contact STMicroelectronics for latest recommended parts.

After power-up, TCPP02 does not advertise itself on CC1/CC2 lines as a Type-C UFP. A Type-A to Type-C cable might be necessary for flash memory programming sequence to ensure the host computer to act as a DFP and initiate the enumeration process required for boot ROM USB boot.

Note:
  1. See TCPP02-M18 documentation for more details.
  2. On a same I²C bus, it is not possible to share I²C devices controlled from both secure and nonsecure software. For example, a secure software controls STPMIC25 in our standard deliveries and that STPMIC25 belongs to a distinct and secured I²C master.

PCI Express (PCIE)

A 200 Ω 1% resistor should be connected between COMBOPHY_REXT and VSS.

Note: If the USBH hi-speed host is also used to connect a specific PCI-Express device, a 200 Ω 1% resistor should be connected between USBH_HS_TXRTUNE and VSS.
Note: As PCI-Express (PCIE) and USB SuperSpeed (USB3DR SuperSpeed link) share the same I/Os (COMBOPHY pins), their usages are exclusive and defined during user product definition.
Figure 37. PCIE example with connection to a PCI-Express mini


Note:
  1. Decoupling capacitors not shown.
  2. In case PCIE_CLKINP/N inputs are used as PCIE clock source, and in order to complete internal PCIE initialization, the PCIE_CLKREQN pin should be temporarily driven at 0. This is done by the application software using related PCIE_CLKREQN GPIO in open-drain with output low.
Table 20. COMBOPHY PCB routing recommendations
RecommendationMinTypMaxUnit
Differential impedance859095Ω
Single-ended impedance424548Ω
Length matching within a pair (including package)1-5-+5mils
-0.127-+0.127mm
Max traces length (up to connector or first active component)--8inches
--203mm
AC coupling capacitor (including capacitor tolerances)74100200nF
Max number of vias (recommended value)--2-
Distance between any differential trace and other signalsS-2SS-3S or more-2
Do no route over power plane split. No stubs (point to point only). No right angles
1 See High-speed differential lane PCB track length matching for PCB track length matching details.
2 Definition could be found, for instance, in the DDR memory routing guidelines (AN5489_General_information.html).

10/100M Ethernet

Note: A good signal integrity is dependent on board, GPIO strength settings (GPIO_OSPEEDR registers) and VDD voltage.

When using VDD = 1.8 V, a setting of VDDIOxVRSEL could be required to ensure the adequate speed on the pins used on the ETHx outputs.

If needed, the impedance matching resistors must be placed as close as possible of the output driver pin. Values in the example below works in most cases, but can be tailored to each side I/O drive strengths and PCB impedance.
Figure 38. 10/100M Ethernet PHY connection example
Note:
  1. ETH1 is either ETH1 direct or ETHSW port2 (ETHSW is not available on some part numbers).
  2. ETH2 is not available on some part numbers.
  3. ETH3 is ETHSW port1. ETHSW is not available on some part numbers.
  4. Decoupling capacitors not shown.
Note:
  • As RCC cannot provide the 25 MHz reference clock to the PHY during low power modes, the dedicated 25 MHz crystal is required on the PHY in case a Wake-Up On LAN (WOL) is needed for the platform.
  • Setting RCC PLLs to get 25 MHz output for PHY clocking could constrain other RCC frequencies. In that case it is more flexible to put a dedicated 25 MHz crystal on the PHY.
Alternatively, if PHY allows it and if the RCC can provide a precise 50 MHz clock (to be checked with respect to HSE quartz frequency and RCC other peripheral/core clocks frequency settings), a 50 MHz ETH_CLK can be provided by the STM32MP23/25xx devices to the PHY, and REF_CLK is left unconnected on both sides. This saves BOM and area, as well as some power on some PHYs.
Figure 39. 10/100M Ethernet PHY connection (with REFCLK from RCC)


Note:
  1. ETH1 is either ETH1 direct or ETHSW port2 (ETHSW is not available on some part numbers).
  2. ETH2 is not available on some part numbers.
  3. ETH3 is ETHSW port1. ETHSW is not available on some part numbers.
  4. Decoupling capacitors are not shown.
Note:
  • As the RCC cannot provide the 50 MHz reference clock to the PHY during Low-power modes, this option is not possible in case a Wake-Up On LAN (WOL) is needed for the platform. Setting the RCC PLLs to get 50 MHz output for PHY clocking could constrain other RCC frequencies. In that case, this option is not possible.
  • Setting RCC PLLs to get 50 MHz output for PHY clocking could constrain other RCC frequencies. In that case, this option is not possible.
Table 21. ETH RMII pins
Pin name 1ETH12ETH23ETH343Comments
ETHx_CLKPF3, PF5, PF8PF4, PG3-5Optional 25 MHz or 50 MHz reference6
ETHx_RMII_REF_CLKPA14PC0, PF6PA5Optional if 50 MHz provided by ETHx_CLK
ETHx_RMII_CRS_DVPA11PC3, PF8PA2-
ETHx_RMII_RXD0PF1PG0PA9-
ETHx_RMII_RXD1PC2PC12PA10-
ETHx_RMII_TX_ENPA13PC4PA3-
ETHx_RMII_TXD0PA15PC7PA6-
ETHx_RMII_TXD1PC1PC8PA7-
ETHx_MDCPA9, PF0, PF4PC6, PG4, PH10-7-
ETHx_MDIO

PA10, PF2, PF5PC5, PF9, PH11-7-
ETHx_PHY_INTNPA12, PC6, PF5PF5, PG3PA1Optional
1 Signal direction: → MPU to PHY, ← PHY to MPU
2 Could be also used as ETHSW port2. ETHSW is not available on some part numbers.
3 Not available on some part numbers
4 Equivalent to ETHSW port1
5 If needed, ETH1_CLK should be used.
6 As RCC cannot provide the reference clock to the PHY during low power modes, a dedicated 25MHz crystal is required on the PHY if Wake-Up On LAN (WOL) is needed for the platform.
7 ETH3 PHY share THE same MDC/MDIO pins than ETH1 PHY (need to use different address for the PHY).

Gigabit Ethernet

Note that a good signal integrity is dependent on board, GPIO strength settings (GPIO_OSPEEDR registers), and VDD voltage.

When using VDD = 1.8 V, a setting of VDDIOxRSEL could be required to ensure the adequate speed on pins used on ETHx outputs.

If needed, the impedance matching resistors should be placed as close as possible of the output driver pin. Values in the example below should work in most cases, but could be tailored to each side I/O drive strengths and PCB impedance.

Figure 40. Gigabit Ethernet PHY connection with VDD = 3.3 V (RTL8211F)


Figure 41. Gigabit Ethernet PHY connection (ADIN1300xCPZ)


Note:
  1. ETH1 is either ETH1 direct or ETHSW port2 (ETHSW is not available on some part numbers).
  2. ETH2 is not available on some part numbers.
  3. ETH3 is ETHSW port1. ETHSW is not available on some part numbers.
  4. Decoupling capacitors are not shown.
Note:
  • As RCC cannot provide the 25 MHz reference clock to the PHY during low power modes, the dedicated 25 MHz crystal is required on the PHY in case Wake-Up On LAN (WOL) is needed for the platform.
  • Setting RCC PLLs to get 25 MHz output for PHY could constrain other RCC frequencies. In that case, it is more flexible to put a dedicated 25 MHz crystal on the PHY.
Figure 42. Gigabit Ethernet PHY connection with VDD = 1.8 V (RTL8211F)
Note:
  1. ETH1 is either ETH1 direct or ETHSW port2 (ETHSW is not available on some part numbers).
  2. ETH2 is not available on some part numbers.
  3. ETH3 is ETHSW port1. ETHSW is not available on some part numbers.
  4. Decoupling capacitors are not shown.
Note:
  • As RCC cannot provide the 25MHz reference clock to the PHY during low power modes, the dedicated 25MHz crystal is required on the PHY in case Wake-Up On LAN (WOL) is needed for the platform.
  • Setting RCC PLLs to get 25MHz output for PHY could constrain other RCC frequencies. In that case, it is more flexible to put a dedicated 25MHz crystal on the PHY.
Table 22. ETH RGMII pins
Pin name 1ETH12ETH23ETH343Comments
ETHx_CLKPF3, PF5, PF8PF4, PG3-5Optional 25 MHz reference6
ETHx_RGMII_CLK125PC4, PH9PF8, PG2-7Optional if 125 MHz is fed internally from RCC to ETH IP
ETHx_RGMII_RX_CLKPA14PF6PA5See also Table 14 GPIO advance configuration recommended settings
ETHx_RGMII_RX_CTLPA11PC3PA2
ETHx_RGMII_RXD0PF1PG0PA9
ETHx_RGMII_RXD1PC2PC12PA10
ETHx_RGMII_RXD2PH12PF9PH7
ETHx_RGMII_RXD3PH13PC11PH8
ETHx_RGMII_GTX_CLKPC0PF7PH2
ETHx_RGMII_TX_CTLPA13PC4PA3
ETHx_RGMII_TXD0PA15PC7PA6
ETHx_RGMII_TXD1PC1PC8PA7
ETHx_RGMII_TXD2PH10PC9PH6
ETHx_RGMII_TXD3PH11PC10PH3
ETHx_MDCPA9, PF0, PF4PC6, PG4, PH10-8-
ETHx_MDIO

PA10, PF2, PF5PC5, PF9, PH11-8-
ETHx_PHY_INTNPA12, PC6, PF5PF5, PG3PA1Optional
1 Signal direction: → MPU to PHY, ← PHY to MPU
2 Could be also used as ETHSW port2. ETHSW is not available on some part numbers.
3 Not available on some part numbers
4 Equivalent to ETHSW port1
5 If needed, ETH1_CLK should be used.
6 As RCC cannot provide the reference clock to the PHY during low power modes, a dedicated 25MHz crystal is required on the PHY if Wake-Up On LAN (WOL) is needed for the platform.
7 If needed, ETH1_RGMII_CLK125 should be used.
8 Use these settings only if 2ns internal delay is needed for RGMII timings. Delay values could be slightly tuned if required.
9 ETH3 could use same settings than ETH1 or ETH2, except that values are specified by design and not evaluated by characterization nor tested in production.
10 ETH3 PHY share the same MDC/MDIO pins than ETH1 PHY (need to use different address for the PHY).

Display serial interface (DSI)

Note:

As pixel data sent over DSI are provided by LTDC, same image and same picture timing is possible at a time over the whole set of possible interface (LTDC parallel output, DSI, or LVDS). See reference manual for details.

A 200 Ω 1% resistor should be connected between DSI_REXT and VSS.

Figure 43. Display connection example with DSI


Note:
  1. ECMF04-4HSWM10 includes common-mode filter for WLAN/BT bands. For ESD protection only, HSP051-4M10 could be used instead (similar but not same footprint).
  2. Decoupling capacitors are not shown.
Table 23. DSI PCB routing recommendations
RecommendationMinTypMaxUnit
Differential impedance90100110Ω
Single-ended impedance455055Ω
Length matching within a pair (including package)1-5-+5mils
-0.127-+0.127mm
Length matching between clock and data pairs-100-+100mils
-2.54-+2.54mm
Max link length (including display cables)--8inches
--203mm
Max number of vias (recommended value)--2-
Distance between any differential trace and other signalsS-2SS-3S or more-2
Do no route over power plane split. No stubs (point to point only). No right angles
1 See High-speed differential lane PCB track length matching for PCB track length matching details.
2 Definition could be found, for instance, in the DDR memory routing guidelines (AN5489_General_information.html).

Display serial interface using LVDS signaling (LVDS)

Note: As pixel data sent over LVDS are provided by LTDC, same image and same picture timing is possible at a time over the whole set of possible interface (LTDC parallel output, DSI, or LVDS single-link or dual-link). See reference manual for details.
Figure 44. Dual-link panel connection with LVDS


Note:
  1. ECMF04-4HSWM10 includes common-mode filter for WLAN/BT bands. For ESD protection only, HSP051-4M10 could be used instead (similar but not same footprint).
  2. Decoupling capacitors are not shown.
  3. Availability of LVDS depends on the STM32MP23/25xx lines devices.
Figure 45. Single-link panel connection with LVDS


Note:
  1. ECMF04-4HSWM10 includes common-mode filter for WLAN/BT bands. For ESD protection only, HSP051-4M10 could be used instead (similar but not same footprint).
  2. Supplies and decoupling capacitors are not shown.
  3. Availability of LVDS depends on the STM32MP23/25xx lines devices.

 

Notice that when using two single-link displays (Figure 44 Dual-link panel connection with LVDS), it is only possible to have the same image (clone) with the requirement to have exactly the same display configuration (that is to say both displays must have the same timings requirements). It is not possible to output different images on each display.

Table 24. LVDS PCB routing recommendations
RecommendationMinTypMaxUnit
Differential impedance90100110Ω
Single-ended impedance455055Ω
Length matching within a pair (including package)1-5-+5mils
-0.127-+0.127mm
Length matching between clock and data pairs-200-+200mils
-5.08-+5.08mm
Max link length (including display cables)--20inches
--508mm
Max number of vias (recommended value)--2-
Distance between any differential trace and other signalsS-2SS-3S or more-2
Do no route over power plane split. No stubs (point to point only). No right angles
1 See High-speed differential lane PCB track length matching for PCB track length matching details.
2 Definition could be found, for instance, in the DDR memory routing guidelines AN5489_General_information.html.

Camera serial interface (CSI)

Note:

As pixel data received by CSI are processed by DCMIPP, the parallel high-resolution sensor interface is not available when CSI is used. In that case, a second parallel low-performance sensor is still possible using DCMI. See reference manual for details.

A 200 Ω 1% resistor should be connected between CSI_REXT and VSS.

Figure 46. CSI example


Note:
  1. Supplies and decoupling capacitors are not shown.
  2. Image sensor controls are not shown (I2C for control, autofocus, and so on.)
Table 25. CSI PCB routing recommendations
RecommendationMinTypMaxUnit
Differential impedance90100110Ω
Single-ended impedance455055Ω
Length matching within a pair (including package)1-5-+5mils
-0.127-+0.127mm
Length matching between clock and data pairs-100-+100mils
-2.54-+2.54mm
Max link length (including camera module cables)--8inches
--203mm
Max number of vias (recommended value)--2-
Distance between any differential trace and other signalsS-2SS-3S or more-2
Do no route over power plane split. No stubs (point to point only). No right angles
1 See High-speed differential lane PCB track length matching for PCB track length matching details.
2 Definition could be found, for instance, in the DDR memory routing guidelines AN5489_General_information.html.

High-speed differential lane PCB track length matching

When possible, each package has been optimized to provide easier length matching when differential balls pair signals are not directly on adjacent balls. Table 28 Package length matching values shows internal package track length difference xP minus xN/xM at ball level to be considered by the PCB tool. Ideal length matching is achieved when: PCB track length of xP-PCB track length of xN/xM-internal package track length difference (table below) = 0.

Figure 47. Example of PCB differential track for 0.8 and 0.5 mm ball pitch package


Table 26. Package length matching values

Pin name

TFBGA361VFBGA361VFBGA424TFBGA436
(16 x 16 pitch 0.8 mm) (10 x 10 pitch 0.5 mm)(14 x 14 pitch 0.5 mm)(18 x 18 pitch 0.8 mm)
Balllength (µm) Δlength (µm) Balllength (µm) Δlength (µm) Balllength (µm) Δlength (µm) Balllength (µm) Δlength (µm)
DSI
DSI_CKPA47461337B43672207C74932283A88142404
DSI_CKNB47124A43465C84649B87738
DSI_D0PB66139-457B5444457B94669-192C96826-478
DSI_D0NA66596A54386C94861B97305
DSI_D1PB56974-389B63239-366B105703-332D95217138
DSI_D1NA57363A63605A106035E95079
DSI_D2PB37480-313A33903-177B75517-311C8644630
DSI_D2NA37793B34080A75828D86416
DSI_D3PB2873285A24430-135A65739379A78505449
DSI_D3NA28647B24565B65360B78056
CSI
CSI_CKPC17621262C14118147C45609389C67210323
CSI_CKNC27359C23970D45221D66887
CSI_D0PE29756-463E26119-450B36488-335C57898-365
CSI_D0NE110219E16569A36823B58263
CSI_D1PD17175228D13658162B55689273D77699526
CSI_D1ND26947D23496C55416E77173
USB
USBH_HS_DPW151291339W113286-11AF215428-224AA167949-300
USBH_HS_DMV1512874V113297AG215653AB168249
USB3DR_DPW16135463W12301127AF225614-246W176646-212
USB3DR_DMV1613543V122984AG225860Y176858
LVDS
LVDS1_D0PF16397334F2343175G25331253D48079-24
LVDS1_D0NF26063F13356G35078D38103
LVDS1_D1PG16184296F42065125H34648345D29696164
LVDS1_D1NG25888F31941H44303D19533
LVDS1_D2PH15989351G4186983J15236323E38055471
LVDS1_D2NH25638G31786J24913E47584
LVDS1_D3PK17310-72J3241868L24474309F28499292
LVDS1_D3NK27382J22350L34165F38206
LVDS1_D4PJ16116328H42292562K15288288F47423386
LVDS1_D4NJ25788H31730K25000F57037
LVDS2_D0P--B16930159A4865950
LVDS2_D0NB26770B48610
LVDS2_D1P--C26126326A29853707
LVDS2_D1NC35801A39146
LVDS2_D2P--E35338-33C39275-47
LVDS2_D2ND35371B39323
LVDS2_D3P--E15744241C19713231
LVDS2_D3NE25503C29482
LVDS2_D4P--F15861253B111120286
LVDS2_D4NF25608B210834
COMBOPHY
COMBOPHY_TX1PV118995536U152873336AE247085-185AA198597-168
COMBOPHY_TX1NW118459V152538AD247270AB198766
COMBOPHY_RX1PV128048-312U163151-191AG256208155AA209105-259
COMBOPHY_RX1NW128361V163343AF256053AB209365
GPIOs
PA0P54057-P1511517-AF56016-Y29072-
PA1P144077-N154727-AC193622-V157351-
PA2T106225-N122508-AF174750-W135345-
PA3U124773-R121793-AD183982-T144191-
PA4T134838-P122457-AG175153-Y157280-
PA5T113649-J126327-AE174025-Y135605-
PA6P111736-M144908-AF186500-V145868-
PA7P122563-K156271-AE184856-Y146625-
PA8U135594-K96612-AA172210-W157543-
PA9V105449-K127068-AF154810-T122609-
PA10W105519-M155509-AE153594-U134009-
PA11R83766-R93010-AD123910-W124957-
PA12R93365-R83312-AC133766-U123545-
PA13P93730-W93624-AD143978-Y126377-
PA14P83317-T83231-AB122656-U105282-
PA15U94527-T102281-AE133840-T104718-
PB0A96543-B82823-B134812-C117174-
PB1C84560-D92518-C124327-D116852-
PB2C98096-E91564-A145252-C106386-
PB3E82846-A93618-B145122-E104431-
PB4B106906-C92476-B155659-D105437-
PB5A106961-B92790-C144786-B116994-
PB6B95728-C83083-C134360-C127759-
PB7B85417-D72734-C114452-D126920-
PB8D83804-A73661-D85593-G113109-
PB9E73936-A82767-F103470-A127961-
PB10A87211-E122855-B115327-A118184-
PB11D710114-B74206-A115837-B127213-
PB12B167647-E142136-C267151-B209523-
PB13C156613-G153881-A267923-D198118-
PB14E1611323-H154508-C277324-C208888-
PB15W37906-J1513196-AE64788-AB410155-
PC0P102263-V92872-AB142660-AA126976-
PC1V94780-V102168-AG145082-V114728-
PC2V85908-T92228-AE123966-Y116102-
PC3V57529-U44756-AA93711-W97421-
PC4T65065-V35572-AC93911-V96195-
PC5R73768-T72443-AD103712-U96421-
PC6T74098-R72597-AB103003-AA106841-
PC7U65631-W53854-AF94766-Y87744-
PC8V66104-U62270-AG95061-V87561-
PC9W66978-V62872-AE94269-U87576-
PC10U75905-W63673-AG105610-T88383-
PC11U55502-V53469-AD84224-AB78701-
PC12V47101-V43562-AE74759-Y78243-
PC13K54909-P41547-W71760-P63272-
PD0B115554-C112884-B175529-D147656-
PD1A127209-F93714-A196765-E158277-
PD2D93509-A102888-D123623-E147428-
PD3C104177-D83861-G132576-C158786-
PD4E102391-C123212-C185756-C147120-
PD5D113610-B123159-B185563-B158992-
PD6E124625-A123970-A186096-A159439-
PD7E113072-D122476-D206347-D157863-
PD8A115691-E111086-C164073-C136141-
PD9E93188-C102376-C153929-B137189-
PD10C114486-D111777-C174600-D135599-
PD11D103750-B102695-A154932-E134648-
PD12A168118-H143843-B267656-A2110109-
PD13D1610556-G93678-D256165-B219535-
PD14D124142-A134179-E193078-G153433-
PD15B125067-A114962-E154748-F164382-
PE0A136575-B133403-B195462-A168798-
PE1B135884-C132969-C194983-B168431-
PE2C135793-A144227-C205102-C167328-
PE3D145437-A154664-C215777-D167975-
PE4D134701-B143633-B216023-B179581-
PE5E133770-C143143-C226100-C177993-
PE6A146980-F144299-A226751-E168074-
PE7B146266-C153617-B226185-D177365-
PE8C146411-B154008-C236728-C188721-
PE9B157018-F153548-A236927-D187867-
PE10E1413743-D153407-D225783-A1910614-
PE11A157808-B164416-B236915-E177716-
PE12D155466-C164085-C257239-C198799-
PE13E154979-A164173-C246284-B199228-
PE14F154986-G143658-B257391-A2010639-
PE15F165896-D142418-D246378-F177221-
PF0R103091-N93492-AA152354-V125741-
PF1U85087-U82766-AE115007-W115704-
PF2R114634-P92429-AC153694-V105589-
PF3T93114-W103454-AF114351-W106445-
PF4W57774-W73747-AF105731-Y107155-
PF5P73645-P73721-AA112291-Y97662-
PF6R56370-U53548-AC74785-AB88812-
PF7R64688-V72539-AB83414-T95561-
PF8T55416-U72365-AE104256-AA88046-
PF9U46061-T62164-AE84611-AA77645-
PF10P63810-L97291-AE55042-AA68435-
PF11R45137-T43217-AE46024-Y68106-
PF12J54642-L72772-P43602-K38516-
PF13G67406-H24564-P25123-L46471-
PF14F514619-G75320-P34266-H19999-
PF15G513993-G55444-R24457-L74076-
PG0W47700-T52380-AF75137-W77347-
PG1T36088-R43293-AD45944-W67071-
PG2T44975-M74894-AG56078-Y49235-
PG3U36640-H1212542-AA73217-W47761-
PG4V37345-N72666-AD64419-AA49832-
PG5H311399-K13015-R33500-L17880-
PG6J34693-K22957-T34543-H29670-
PG7F66954-E77866-U26003-K48191-
PG8D415467-E56338-L54029-L55123-
PG9E414004-G24687-M34024-G38315-
PG10E515532-F58180-M44167-H37762-
PG11E615907-F77215-N24541-J48091-
PG12G412452-H76608-N33575-J36461-
PG13H54038-J75418-P14985-K54532-
PG14E313845-H54861-N15076-G47590-
PG15C617834-E46734-K64510-H46570-
PH2P133308-L144162-AC173017-V134286-
PH3T124165-K145028-AE194942-W145867-
PH4R133769-G126293-AB162310-AB158556-
PH5R144848-M93874-AG185423-AA158418-
PH6R123870-L156334-AF197025-AA147526-
PH7U104227-L125225-AE164024-T136376-
PH8U114396-M124962-AD163695-U145703-
PH9T85218-W84008-AA132330-AB127782-
PH10W96015-U102074-AF144583-U114090-
PH11W86108-T113254-AE143700-T115282-
PH12V76891-V83100-AF134408-AA117366-
PH13W76637-U92033-AG134935-AB117415-
PI0D617154-H13902-L73403-G56843-
PI1F413183-J910773-M62674-H67176-
PI2J62587-J53189-N52831-J54849-
PI3H45137-H99795-N71804-J64755-
PI4H613117-G14394-P62490-K63970-
PI5D515559-K72481-K44537-H55896-
PI6C516193-D44445-J35499-J74737-
PI7C416036-D56282-J54800-L63580-
PI8N52675-N41592-U52925-M65158-
PI9J43631-K62740-U17233-K73622-
PI10C124452-B115167-D164113-G165741-
PI11C166803-F121788-B277648-E185888-
PI12---------G19375-
PI13---------G28982-
PI14---------G134169-
PI15---------E117123-
PJ0---------U155881-
PJ1---------Y38831-
PJ2---------AB310706-
PJ3---------AA310691-
PJ4---------W38100-
PJ5---------V46129-
PJ6---------U55639-
PJ7---------W28586-
PJ8---------M27507-
PJ9---------M17949-
PJ10---------M37058-
PJ11---------M54894-
PJ12---------L28415-
PJ13---------M45802-
PJ14---------L36943-
PJ15---------K28171-
PK0---------F125942-
PK1---------E126523-
PK2---------F134939-
PK3---------F154313-
PK4---------F117830-
PK5---------F143909-
PK6---------G126571-
PK7---------G144601-
PZ0L52604-L52541-T43038-N54289-
PZ1M34383-M42174-U71928-N64272-
PZ2L34175-M32096-W53629-P45356-
PZ3M53323-M51578-Y64625-N45432-
PZ4L43504-L42803-V34522-R57795-
PZ5M43580-N32850-R53282-P55643-
PZ6K43962-K33249-V43918-R65455-
PZ7L25058-L12874-V24526-P26551-
PZ8K34893-L32327-V15318-P36675-
PZ9L16353-L23056-U34134-N35873-

Revision history

Table 27. Document revision history
DateVersionChanges
21-Mar-20241Initial release
22-Mar-20242

Updated document specific properties

Added Table 1. Applicable products
26-Jun-20243Updated:
  • Table 2. Reference documents
  • Table 4. Amount of decoupling recommendation by package
  • Table 7. Package availability summary
  • Table 8. STM32MP25xx differences per package
  • Section 4.1.2: External crystal (HSE crystal)
  • Table 11. Boot sources
  • Section 7.4: GPIO advance configuration
  • Figure 23. Example of PMIC supplies for 3.3 V I/Os and DDR4
  • Section 8.5.2: Example of PMIC supplies for 1.8 V I/Os with LPDDR4
  • Figure 24. Example of PMIC supplies for 1.8 V I/Os with LPDDR4
  • Table 17. DDR4 2x16-bit default pin mapping
  • Figure 26. LPDDR4 connection example
  • Table 18. LPDDR4 pin mapping
13-Nov-20244Updated:
  • Document references
  • Table 1. Applicable products
  • Table 2. Reference documents
  • Section 2.1.1: Independent ADC supply and reference voltage
  • Figure 2. Simplified reset pin circuit
  • Table 7. Package availability summary
  • Table 8. STM32MP25xx differences per package
  • Table 9. STM32MP23xx differences per package
  • Table 13. OSPEEDR setting example for VDD = 3.3 V typ.1
  • Table 14. OSPEEDR setting example for VDD = 1.8 V typ.4
  • Section 8: STM32MP25x reference design examples
  • Figure 23. Example of PMIC supplies for 3.3 V I/Os and DDR4
  • Figure 24. Example of PMIC supplies for 1.8 V I/Os with LPDDR4
  • Table 17. DDR4 2x16-bit default pin mapping
  • Table 18. LPDDR4 pin mapping
  • Table 26. Package length matching values
  • Table 4. Amount of decoupling recommendation by package
1-Apr-20255Updated:
  • Section 7.4: GPIO advance configuration
  • Section 8.6: DDR4 SDRAM
  • Section 8.13.1: USB hi-speed device (USB3DR)
  • Section 8.19: High-speed differential lane PCB track length matching
24-Sep-20256Updated:

List of tables

List of figures

Figure 1. Power supply scheme

Figure 2. Simplified reset pin circuit

Figure 3. STM32CubeMX example screenshot

Figure 4. HSE external clock

Figure 5. HSE crystal

Figure 6. LSE external clock

Figure 7. LSE crystal resonators

Figure 8. Boot mode selection example

Figure 9. BOOT pins typical connection schematics

Figure 10. Simplified boot flow

Figure 11. Host-to-board connection

Figure 12. JTAG/SWD usingArm®JTAG 20 connector implementation example

Figure 13. JTAG/SWD/UART VCP using STDC14 connector implementation example

Figure 14. Parallel trace port with JTAG/SWD on Mictor-38 implementation example

Figure 15. PH4 LED connection (valid for VDD = 3.3V)

Figure 16. I/O speed summary with various loads and voltages

Figure 17. 6-layer PTH PCB stack example

Figure 18. 6-layer PTH + laser vias PCB stack example

Figure 19. PCB rule for 0.8 mm pitch package (with PTH)

Figure 20. PCB rule for 0.5 mm pitch package (with laser via and PTH)

Figure 21. Example of decoupling layout

Figure 22. HSE recommended schematics for both oscillator/crystal options

Figure 23. Example of PMIC supplies for 3.3 V I/Os and DDR4

Figure 24. Example of PMIC supplies for 1.8 V I/Os with LPDDR4

Figure 25. DDR4 16/32 bits connection example

Figure 26. LPDDR4 connection example

Figure 27. SD-Card with embedded level shifter connection

Figure 28. eMMC™ connection example

Figure 29. SLC NAND flash memory connection

Figure 30. Serial flash memory connection example

Figure 31. HyperFlash™connection example

Figure 32. USB hi-speed device with Micro-B connector example

Figure 33. USB hi-speed device with Type-C connector example

Figure 34. USB hi-speed host example

Figure 35. USB SuperSpeed host connection example

Figure 36. USB hi-speed/SuperSpeed dual role connection example

Figure 37. PCIE example with connection to a PCI-Express mini

Figure 38. 10/100M Ethernet PHY connection example

Figure 39. 10/100M Ethernet PHY connection (with REFCLK from RCC)

Figure 40. Gigabit Ethernet PHY connection with VDD = 3.3 V (RTL8211F)

Figure 41. Gigabit Ethernet PHY connection (ADIN1300xCPZ)

Figure 42. Gigabit Ethernet PHY connection with VDD= 1.8 V (RTL8211F)

Figure 43. Display connection example with DSI

Figure 44. Dual-link panel connection with LVDS

Figure 45. Single-link panel connection with LVDS

Figure 46. CSI example

Figure 47. Example of PCB differential track for 0.8 and 0.5 mm ball pitch package

IMPORTANT NOTICE – READ CAREFULLY

STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice.

In the event of any conflict between the provisions of this document and the provisions of any contractual arrangement in force between the purchasers and ST, the provisions of such contractual arrangement shall prevail.

The purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgment.

The purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of the purchasers’ products.

No license, express or implied, to any intellectual property right is granted by ST herein.

Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.

If the purchasers identify an ST product that meets their functional and performance requirements but that is not designated for the purchasers' market segment, the purchasers shall contact ST for more information.

ST and the ST logo are trademarks of ST. For additional information about ST trademarks, refer to www.st.com/trademarks. All other product or service names are the property of their respective owners.

Information in this document supersedes and replaces information previously supplied in any prior versions of this document.

© 2025 STMicroelectronics – All rights reserved