TouchGFXHAL::flushFrameBuffer() is only called once after the first OSWrappers::signalVSync(). What am I missing?
Considering existing posts and instructions in the documentation, I can't manage the framework to call flushFrameBuffer() regularly after a vsync.
The main issue is that TouchGFXHAL::flushFrameBuffer() is only called once after the first OSWrappers::signalVSync() (and never again). I've deleted all display drivers and checked with a breakpoint that is only hit once in TouchGFXHAL::flushFrameBuffer(). OSWrappers::signalVSync() is triggered by a button and an external interrupt callback. All code that I added is attached. The board is a F303RE Nucleo. Settings of TouchGFX see below.
Many thanks for considering my request.
Sync wrapper. Breakpoint hit on each button press.
Callback on button press. Calls the wrapper function from above.
Breakpoint gets hit.
Breakpoint only hit on first button press!
TouchGFX settings.
