cancel
Showing results for 
Search instead for 
Did you mean: 

FlushFrame Works But Frame Fulls Garbage

ertanaldogan
Associate II

Hello,

This is an interesting problem. 

We are developing a system. Touchgfx task are independent from main task. It is hard to explain all software but i will try to make it simple.

There is only one screen in touchgfx project and it is startup screen. There are two box on main screen and their colors are different.

When we start the application, touchgfx doesnt change anything in frame buffer but calls flushframe function and fill the TFT with full garbage (because frame buffer has full garbate). 

STM32DMA::initialize has been invoking as normal. Normally after STM32DMA::initialize, touchgfx calls STM32DMA::getBlitCaps() function but in our software getBlitCaps is not being invoked never. Why? 

Model::Tick is being invoked periodicly, but flush frame buffer is calling just one time at beginning. (this is normal because there is nothing change on screen. )

What can be the problem? Why doesn't touchgfx invoke STM32DMA::getBlitCaps() never? 

3 REPLIES 3
ertanaldogan
Associate II

0693W00000HoV5UQAV.pngThese values belongs to touchgfx::HAL::getInstance() . Everthing looks ok but touchgfx doesnt write anything to frame buffer.

ertanaldogan
Associate II

0693W00000HoV6rQAF.pngThis is touchgfx::Application::getInstance().

MM..1
Chief II

??? what memory what method Custom or LTDC ? Show CubeMX settings for TGFX usw...