Cover transition flashing GFXMMU default value during transition with dual buffering
Dear TouchGFX Team,
I developed a display interface from TouchGFX 4.16 generated HAL and board configuration files that uses the following:
- STM32L4
- video mode DSI
- LTDC interrupt sync for framebuffer swap in TouchGFXHAL
- GFXMMU, dual frame buffer in internal RAM
- DMA2D for image assets from external flash
It is working very well, I have a swipe container that is smooth with no glitches. However there is an issue with the cover transitions. During the transition it does not hold the previous screen as the new one slides in, the area that should be the previous screen instead takes the GFXMMU default value.
Actually, when I run the code with a breakpoint on swapFrameBuffers(), only one of the buffers has the problem, the other one works fine. So during the cover transition the screen is swapping between a correct buffer(old screen in back with new one sliding in front), and the problem buffer(GFXMMU default value in back with new one sliding in front).
If I do single buffering the cover transition works properly (but the motion and the swipe container are glitchy due to the single buffer). I don't have enough ram space for an animation buffer, but from reading I don't think that cover transitions need one?
Any direction towards what might be causing this issue would be appreciated.
Thank you,
Russell