AnsweredAssumed Answered

STM32CubeMX V1.1.0 + SDRAM

Question asked by nixon.malcolm on Apr 25, 2014
Latest reply on Apr 26, 2014 by nixon.malcolm
Greetings all,

I'm trying to use STM32CubeMX to build a configuration for the EMCraft STM32F4 SOM. In trying to get the SDRAM functional and I believe I have the settings correct; however it looks like the generated code configures the SDRAM but never issues any commands to start it.

I was poking around the STM32Cube_FW_F4_V1.1.0 files and found stm32f429i_discovery_sdram.c which contains the BSP_SDRAM_Initialization_sequence function that actually commands the SDRAM to start.

I'm curious now what parts of initialization STM32CubeMX does, and what parts it leaves for the developer to implement. Should I need to write a function equivalent to BSP_SDRAM_Initialization_sequence, or should STM32CubeMX emit one and I've just missed a checkbox somewhere.

Many thanks,

- Malcolm

Outcomes