cancel
Showing results for 
Search instead for 
Did you mean: 

flushFrameBuffer is not called

I've generated a project using the Text Example template and a HW timer. TouchGFXHAL::initialize() is called and the HW timer signals Vsync, so HAL::getInstance()->backPorchExited() is called. I'm up to "Transferring the framebuffer section" in https://support.touchgfx.com/docs/development/touchgfx-hal-development/scenarios/scenarios-fmc and was expecting TouchGFXHAL::flushFrameBuffer(const touchgfx::Rect& rect) to be called, but it isn't? I'm not calling lockFrameBuffer().

flushFrameBuffer is only called when the UI template is changed to Blank and there is no content. Adding any content, such as a background again causes flushFrameBuffer not to be called.

This similar to https://community.st.com/s/question/0D53W00000AYdlzSAD/basic-touchgfx-application-dont-work?t=1593157787724, except I'm currently using 1 bit 320x240 display setting, bare metal (no FreeRTOS) and no graphics acceleration. Changing the framebuffer pixel format or resolution makes no difference. I've compared with the example STM32L496-DISCO Application, but there's a lot of driver code embedded in it.

3 REPLIES 3
Alexandre RENOUX
Principal

Hello,

What's your status ? What is your setup ?

Could you provide more debug information to understand what's happening ?

If flushFramebuffer is not called, this means that TouchGFX is stuck in the rendering process.

/Alexandre

Hello, I resolved this a while back thanks.

Are you able to help with this unresolved query, specifically for the overwriting of the OSWrappers file using custom RTOS?

https://community.st.com/s/question/0D53W00000DjiIuSAJ/preserving-manual-code-in-oswrappers-and-touchgfxconfiguration-upon-cubemx-code-generation