2025-06-30 7:15 AM - edited 2025-06-30 8:26 AM
Hello,
I am using TouchGFX with freeRTOS on an STM32G0 board.
I call the touchgfxSignalVSync through a Timer Interrupt and quickly after I get an HardFault in the blitCopyARGB8888 function. As this is a library I cannot debug further. I am trying to go around the issue by increasing the stack size (24*3072 = 73728 bytes) but this does not fix the issue. Commenting the draw function in the touchgfxDisplayDriverTransmitBlock function does not help either.
Doing a step by step debug, I see that the load looks to be the issue where the address 0x2000cXXX is loaded.
Let me know if you need any more information.
Thanks!
if (htim->Instance == TIM4) {
touchgfxSignalVSync();
}