2025-12-15 4:44 AM
I am trying to initialise SDRAM on STM32H757I-EVAL.
I created a new demo project in STM32CubeIDE using the specified evaluation board. I disabled the other memory peripherals like MMC, etc. It calls MX_FMC_Init() but after that, when looking at memory at 0xD0000000 I only get ????? and accessing it gives hardfault.
In this support post it is suggested that the commands must still be sent to controller while in this one it is suggested that BSP_SDRAM_Initialization_Sequence() is called. The latter function is not available in my BSP.
How can I create a simple application to initialise the SDRAM?
2025-12-15 4:51 AM
Hello @Pieter25 and welcome to the ST community,
Hope this article would help you: How to set up the FMC peripheral to interface with the SDRAM IS42S16800F-6BLI from ISSI