TouchGFX hangs up at higher processor load
- August 5, 2025
- 6 replies
- 982 views
Hello!
I have an STM32F777 with FreeRTOS and TouchGFX. An SPI display is controlled in partial framebuffer mode via SPI4 and DMA. The implementation is the same as in the TouchGFX demo projects with partial framebuffer (NUCLEO_C071RB + GFX01M2). I have also attached my display SPI library.
The vSync signal is implemented at 60Hz via a software timer, as the hardware does not provide such a signal.
My hardware has an Ethernet port that provides a web server with the LwIP stack. This generates many interrupts during high data traffic, which puts a greater load on the processor.
During operation, this leads to a deadlock of TouchGFX after a few minutes. TouchGFX gets stuck in the function “getBlockForTransfer(Rect& rect)” in the line “assert(state[sendingBlock] == DRAWN);” (File: FrameBufferAllocator.hpp).
After that, the display is no longer updated.
If you need further information, please let me know.


Attached is the configuration.
I hope someone can help me.
