cancel
Showing results for 
Search instead for 
Did you mean: 

touchgfx does not swap the framebuffer

zaric
Associate II

the project from designer is running correctly

then,i open the .ioc with cubeMX, select the option <generate peripheral intialization as a pair of .c/.h files per periphreal >,and re-generated the code , in running, the screen display nothing and checked the value of reg <ltdc->L1CFBAR> ,that is never changed at all

8 REPLIES 8
Alexandre RENOUX
Principal

Hello,

Could you provide some screenshot of your changes in CubeMX ?

/Alexandre

nothing changed but this0693W000004HuSuQAK.png

Martin KJELDSEN
Chief III

Did you enable double framebuffer strategy from TouchGFX Generator? =)

I did

latest progress : set a break point at <tick();>,then click the <run> ,never stop at tick() again;

the result shown as the picture0693W000004HvlsQAC.png

Okay, so the application isn't even running. This explains why you're not swapping.

What's it doing if you break execution?

well?it just stop at tick() at first time , run,then the run button still able to click ,but not stop at tick ()

Well, what? Debug your application and check what it's doing - The interrupt to drive touchgfx (from tft controller) is probably not firing