Calling OSWrappers::signalVSync() in No-OS Application
Hello,
I understand that the TouchGFX Engine needs OSWrappers::signalVSync() to be called when the LCD transfer is done. Before that, the Engine was halted to make sure that framebuffer doesn't get overwritten during the data transfer to LCD. You mentioned in the tutorial, that we can use TE-signal from the LCD when the transfer is done to invoke the function. However, some LCDs, like very popular and cheap ILI9341 do not have such a signal.
In my application, I used a timer to periodically invoke OSWrappers::signalVSync(), every 5000 clock cycles (in its interrupt routine). Is there a better way to do that, and did you imagine it some other way?
Best regards,