Skip to main content
Chandan Bhatia1
Associate III
Aug 1, 2020 7:16 AM UTC
Question

Unable to store data in external SDRAM STM32F746 discovery board

Hello, I am using STM32F746 discovery board and trying to store data at external SDRAM but seems like data is not getting stored. I generated driver code using CUBEMX. When I tried checking example code , Found SRAM is getting initialized with "HAL_SDRAM_Init" but "BSP_SDRAM_Initialization_Sequence" function is not generated by CUBEMX, Not sure if we need this to store data.

Please suggestion. Attaching my project for reference.

Thanks

This topic has been closed for replies.

1 reply

MM..1
Super User
Aug 1, 2020 8:18 AM UTC

Any external chip need perfectly config and startup . This parts CubeMX not generate. You need add some lines to user parts simply copy from BSP projects.