TouchGFX - Frame rate for SPI interface
I have a software project that interfaces an STM32F4 to an external display via SPI. The frame rate is set by the time between periodic executions of TouchGFX_TickHandler() and MX_TouchGFX_Process(). The period is currently set at 17 ms, which gives a frame rate of ~60 Hz.
Is increasing the time between calls to the TouchGFX functions sufficient to decrease the frame rate, or do I need to configure TouchGFX to make it aware of the new frame rate? I don't see a frame rate setting in TouchGFX Designer.
One thing to mention is that while the update period is defined in code as 17 ms, that's only true for partial screen updates. A full screen update SPI transfer takes 34 ms, plus an additional 10 ms of overhead to flip the endianess of words since the MCU doesn't have DMA2D or MDMA. (https://community.st.com/s/question/0D50X0000C9dxj6SQA/how-to-change-touchgfx-framebuffer-to-big-endian).
Thanks!
