Skip to main content
Associate
November 4, 2024
Question

RAM for STMP157

  • November 4, 2024
  • 1 reply
  • 1058 views

Hi,

I am building my STMP157 board using the reference of "STMP15X-SOM" of Olimex. In that the RAM used is K4B4G1646D-BYK0, but I am unable to find the part number in online store. Can you please help me in finding the different RAM which can be used instead of it.

If I am changing the RAM what are the changes needed to be done in the U-boot file to run the processor.

1 reply

PatrickF
Technical Moderator
November 4, 2024

Hi @muffss 

any DDR3L of same voltage/density/width (here 1.35V, 4Gbit with 16-bit bus) would work, probably without any changes in SW.

If needed to change DDR initialization values, you should regenerate some files using CubeMx, then recompile TF-A.

https://wiki.st.com/stm32mpu/wiki/DDRCTRL_and_DDRPHYC_device_tree_configuration

https://wiki.st.com/stm32mpu/wiki/Cross-compile_with_OpenSTLinux_SDK

Regards,

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.NEW ! Sidekick STM32 AI agent, see here
muffssAuthor
Associate
November 6, 2024

Hi Patrick,

Thank you for your assistance. I would like to clarify a few points regarding the use of different DDR generations in my current design.

As mentioned earlier, I am working on a board based on the STM32MP157AAA processor, and the reference design uses the 5th generation DDR RAM, "K4B4G1646D-BYK0." However, I am unable to source this specific part. Instead, I have found the "K4B4G1646E-BYK0," which is a 6th generation DDR RAM.

Could you kindly advise on the necessary changes, both in hardware and software, that would be required to ensure compatibility with the 6th generation DDR, or if any other considerations should be taken into account when making this substitution?

I appreciate your guidance on this matter.

muffssAuthor
Associate
November 7, 2024

Hi,

 

can you please help me ???