2025-11-14 12:24 AM - edited 2025-11-14 12:27 AM
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-21After 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.
Is this a known limitation of STM32CubeMX (i.e., CubeMX does not update DTS when DDR timing changes)?
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.