2024-08-22 05:08 AM
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.
Thanks!
Ivan
2024-10-02 07:44 AM
Hello @i2399,
Does the UI stop working while you are interacting with it, or does it happen with no interaction from the user?
Could please also share the error message that you receive?
And, what do you mean by TouchGFX v2.32? Do you mean TouchGFX 4.23.1 and TouchGFX 4.23.2?
Is it possible to test your project with the latest version of TouchGFX (4.24.1)?