LTDC not generating clock
- January 19, 2024
- 7 replies
- 6955 views
Hi,
I have a Nucleo-U5A5ZJ-Q board which i replace the mcu with a STM32U5A9ZJT6.
I'm trying to use LTDC to control a 800x480 LCD (WF50FTYAGDNN0#) via RGB888.
Eventually running touchgfx, but I have fallen over at the first hurdle.
I have read many tutorials and forum posts and no one seems to have the same issue as me.
I started a blank project and followed this
https://support.touchgfx.com/docs/development/board-bring-up/how-to/03-display-internal
But my display remains a black screen, I then probed PD3 (LTDC_CLK) where I expected the 25Mhz clock signal that was configured, but saw nothing.
I also tried switching the pins "Max output speed" to Very High as I saw somewhere that this was required.
I then switched PD3 to GPIO_Output and toggled it to make sure connections are correct.
Is there something wrong with my clock setup? I tried a test of toggling a pin in the while loop with a 1ms delay and the scope says a full cycle took 4ms instead of the expected 2ms... but then I set the delay to 10ms and eveything is as expected on the scope.
Note about the display: it doesn't have Hsync and Vsync lines I assume this means it is permanently in DE mode and I can leave those pins floating from the mcu?
Any help would really be appreciated as I have been going at this for a couple of days now.
