cancel
Showing results for 
Search instead for 
Did you mean: 

DMA2D configuration error with cached containers

i2399
Associate II

Hello,

I have a screen with a scrollable container which items are cached custom containers.

Everything works fine except that every once in a while the UI stops working and I am stuck with a DMA2D configuration error which is not handled by the touchgfx core. The workaround was to enable the configuration error interrupt flag and to call the transfer complete callback even if the error occurs, so that the touchgfx task doesn't block forever. I can sometimes see some glitches in the graphic when this situation occurs but at the moment I can surive with that.
The problem arise either with copy or fill DMA operations.

TouchGFX v2.31 and v2.32 behave the same, apparently v2.32 shows the problem less frequently but that might just be random.
CPU: STM32H750 and external SRAM for the 2 framebuffers.

I am attaching a screenshot of the DMA2D regiters captured after one of those situations occured.

i2399_0-1724327164068.png

 

Thanks!
Ivan

10 REPLIES 10
i2399
Associate II

Reintroducing buffer stride/LTDC Pitch for optimizing external sram burst operation gave optimal results.

I can see that drawing operations nicely improved with this touchgfx version.

And, BTW, I am not getting the DMA2D configuration error that made me open this topic on the first place.

Case closed.

Ivan