2020-04-17 12:44 PM
I've created a simple project to interface a STM32L4R91-DISCO with a TFT using a SPI interface. I've attempted to follow the TouchGFX tutorial but thus far have been unsuccessful in getting the TouchGFX library to render anything.
I have a task that sits in a loop, periodically calling OSWrappers::signalVSync(). This appears to work as the vsync_queue fills up. However, in my separate task which is running the ToughGFX loop, the call to OSWrappers::waitForVsync never returns. This mean the frames don't get rendered and flushed to the display.
Any suggestions for getting this running would be greatly appreciated!
I'm using STM32CubeIDE 1.3.1 with TouchGFX 4.13.0.
2022-01-26 03:50 AM
I had a problem with the single buffer option. My setup was random SPI TFT display and NUCLEO board. Solved it with the following answer:
2022-01-26 04:21 AM
lockDMAToFrontPorch is false by default in later versions. It didn't used to be that way which could cause some problems if the Display interrupt never reported when the front porch had been reached.