This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32F4 SDRAM settings

I'm working with STM32F429I discovery board to take confidence with grafical display and STemwin libraries and the example given by KEIL are very useful and worke fine.
Now I want to move my project from prototipe board to our custom board that has differente PIN configuration. I found how set LCD pins but I didn't found SDRAM configuration. I expected to find somewhere functions like:

HAL_SDRAM_Init(...)

or at least

GPIO_InitStruct.Alternate = GPIO_AF12_FMC;
HAL_GPIO_Init(GPIOF, &GPIO_InitStruct);

to specify the use of FMC function on that pins but without success.

What happens is a HardFault_Handler after _InitController. I suppose is due to error on SDRAM access.

Any suggestion is appreciated.

BR,

Stefano

0