AnsweredAssumed Answered

STM32F7 Discovery - on-board LCD and CubeMX problem

Question asked by rybak.marcin on Mar 6, 2016
Latest reply on Mar 8, 2016 by FTITI.Walid
Hi. I've been playing around with the example project LTDC/LTDC_Display_1_Layer from the STM32F7 CubeMX package. Everything works fine, I modified the project a little bit and so on. 
However, when I tried to create a similar project from the beginning, it didn't work. I made sure many times that all the parameters were the same as in the example project - system clock frequencies, deviders, multipliers, as well as the LTDC configuration - pixel format, HSYNC, VSYNC and so on. However when I looked into the stm32f7xx_hal_msp.c files I noticed that the one generated automatically by CubeMX used completely different GPIO's than the one from the example project. 
So now I know why my project doesn't work, but I don't know why does the CubeMX autogenerated LTDC config use different GPIO's than the ones that seem to work, why is it so? Do I have to change all the GPIO's in LTDC config menu in CubeMX manually, according to the Discovery board schematics, or am I doing something wrong?
On the left - function HAL_LTDC_MspInit from the example project (working one), on the right - the same function generated by CubeMX (not working), why are the GPIO ports and numbers different?
image

Outcomes