Skip to main content
Associate
Oct 27, 2026 12:06 PM UTC
Solved

STM32MP23x / STM32MP25x with DDR4 16x / 32x

Hello,

I would design a PCB a compatible with both STM32MP23x and STM32MP25x series, using VFBGA424 package.

I would support both 16x and 32x DDR4 controller configuration, so I will use fly-by routing to avoid stubs. 

STM => DDR4A => DDR4B => termination

 

The question is:

in the case we use 16x configuration, it is better to have the only memory chip near o far with respect to the STM32?

I mean, the only populated chip shall be DDR4A or DDR4B?

 

Thanks

Andrea

 

ZAKARIA_C1Best answer
ST Employee
Nov 3, 2026 9:35 AM UTC

Hello ​@andpas-qas,

 

For the 16-bit configuration, you should populate DDR4A (the chip closest to the STM32) and leave DDR4B unpopulated.

We recommend placing the populated memory chip as close as possible to the MPU for the following reasons:

  • Signal Integrity: Keeping the active chip closest to the STM32 minimizes the trace length for the point-to-point data bus (DQ[15:0], DQS, DM). Shorter traces significantly reduce insertion loss, parasitic capacitance, and crosstalk, resulting in cleaner eye diagrams.

  • Timing & Margins: DDR4A is the first stop on the fly-by clock and command/address bus. Having the shortest possible propagation delays between the MPU and the memory maximizes setup/hold margins and simplifies PHY training (write-leveling and read-deskew).

  • Controller Mapping: Both STM32MP23x and STM32MP25x (in 16-bit mode) use exclusively Byte 0 and Byte 1, which map directly to DDR4A.

    Best Regards,
    Zakaria

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.

2 replies

ZAKARIA_C1Best answer
ST Employee
Nov 3, 2026 9:35 AM UTC

Hello ​@andpas-qas,

 

For the 16-bit configuration, you should populate DDR4A (the chip closest to the STM32) and leave DDR4B unpopulated.

We recommend placing the populated memory chip as close as possible to the MPU for the following reasons:

  • Signal Integrity: Keeping the active chip closest to the STM32 minimizes the trace length for the point-to-point data bus (DQ[15:0], DQS, DM). Shorter traces significantly reduce insertion loss, parasitic capacitance, and crosstalk, resulting in cleaner eye diagrams.

  • Timing & Margins: DDR4A is the first stop on the fly-by clock and command/address bus. Having the shortest possible propagation delays between the MPU and the memory maximizes setup/hold margins and simplifies PHY training (write-leveling and read-deskew).

  • Controller Mapping: Both STM32MP23x and STM32MP25x (in 16-bit mode) use exclusively Byte 0 and Byte 1, which map directly to DDR4A.

    Best Regards,
    Zakaria

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Associate
Nov 3, 2026 2:12 PM UTC

Hi,

this was also my idea!

 

Thanks

Andrea