Skip to main content
Associate
Nov 12, 2026 9:13 AM UTC
Question

STM32MP157FAA1 : Clarification on DDR3L Routing Guidelines in AN5122 (Fly-by topology)

Hello,

We are designing a custom board using the STM32MP157FAA1 microprocessor, with two 16-bit DDR3L in fly-by topology.

We are referring to ST application note AN5122 for the DDR layout and routing guidelines. On page no. 26, it is mentioned “In case of fly-by topology used for DDR3/3L: Length of A/C, CLK_N/CLK_P of first DDR3/3L compared to length of A/C, CLK_N/CLK_P of second DDR3/3L1300 mils (33.02 mm) max.”

Could you please clarify whether the specified trace length limit of 1300 mils also includes the routing distance between the second DDR3L device and its corresponding VTT termination resistor?

If this distance is not included, kindly recommend the routing guidelines for the traces connecting the second DDR3L device to its VTT termination resistor.

Your guidance on this would be highly appreciated.

Regards,
PS

1 reply

ST Employee
Nov 20, 2026 10:27 AM UTC

Hello ​@PS_115,

No, the 1300 mils (33.02 mm) maximum limit specified in AN5122 (page 26) does not include the trace length between the second DDR3L device and its VTT termination resistor.

That rule strictly defines the maximum length difference (routing distance) between the first DDR3L and the second DDR3L along the fly-by path for the A/C and CLK_N/CLK_P signals ensuring that the propagation delay skew between the two memory devices stays within the timing and write-leveling margins

Routing Guidelines: Second DDR3L to VTT Termination Resistors

For the segment connecting the second (last) DDR3L device to the termination resistors, follow these guidelines:

  • Keep traces as short as possible: Place the 56 Ω A/C termination resistors (and the 100 Ω differential clock termination resistor) as close as possible to the second DDR3L IC.
    As a general rule of thumb for DDR3L fly-by layouts, keep the distance between the last DRAM balls and the termination resistors under 500–600 mils (~12–15 mm) whenever board layout allows.

  • No length matching required on this segment: Signal timing is referenced at the DDR3L pins, not at the termination resistors. Do not add serpentines or meander these traces after the second DDR3L device.

  • Maintain impedance and fly-by continuity: Continue routing each A/C trace directly from the second DDR3L pad to its 56 Ω resistor pad (and CLK_N/CLK_P to the 100 Ω resistor) while preserving the same controlled impedance (50 Ω single-ended / 100 Ω differential) over a continuous reference plane, without introducing stubs or T-branches.

  • VTT power island and decoupling (AN5122 Sections 3.4 & 6.5.2):

    • Connect the termination resistors to a dedicated local VTT power plane island placed right at the termination area, leaving sufficient spacing around the island to minimize crosstalk.

    • Place strong VTT decoupling capacitors as close as possible to the termination resistors (with short, low-inductance via connections) to provide a clean AC return path for switching currents.

    • Position the VTT supply (e.g., STPMIC1 VTT output or dedicated external VTT regulator) as close as practical to the last DDR3L device and the VTT island.

For a concrete visual reference of resistor placement, fan-out, and VTT island layout, you can also inspect the dual 16-bit DDR3L reference layout package available on st.com alongside AN5122 (STM32MP1 Series DDR memory routing guidelines examples).

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.