Skip to main content
Associate II
November 14, 2025
Question

STM32CubeMX: DDRCTRL/DDRPHY Speed_Bin Updated but Device Tree DTS Not Modified

  • November 14, 2025
  • 0 replies
  • 148 views

 

Description:
When configuring DDR parameters for STM32MP257 in STM32CubeMX, I changed the DDR speed bin:

Speed_Bin: DDR4-3200AA 22-22-22 → DDR4-2933Y 21-21-21

After generating the code:

  • The device tree were updated correctly according to the new timing values.

  • However, the generated Device Tree files (.dts/.dtsi) did not change at all.

This is confusing. The DTS still reflects the previous configuration even though the DDRCTRL/DDRPHY timings have been modified.

SullyNiu_0-1763108863553.png

 

Questions to ST:

  1. Is this a known limitation of STM32CubeMX (i.e., CubeMX does not update DTS when DDR timing changes)?

  2. Should the Device Tree be updated automatically when the DDR Speed_Bin is changed?

The current behavior looks like a potential bug or an unimplemented feature in CubeMX, as it may lead users to believe DDR configuration did not take effect.

Thank you.