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