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)?
2024-10-08 02:08 AM
Hello Mohammad,
th UI stops working always when interacting with it.
Sorry about the release versions, I don't know why my memory reformatted them like that but you understood correctly: the two TouchGFX versions were 4.23.1 and 4.23.2.
What do you mean by the error message that I receive? The only anomaly that I have is in the the DMA2D registers.
As soon as I'll be able to test the latest TouchGFX release I will let you know.
Best regards,
Ivan
2024-10-09 04:15 AM
Hey Ivan,
No worries. By the error message, I meant the DMA2D configuration error that you mentioned. It would be nice to get the call stack, the hardfault (if it happens), and the code section where the program stops working.
Looking forward to hearing about your experience with the latest version.
Best regards,
2024-10-30 08:41 AM
Hello @i2399 ,
Have you been able to move forward with your project?
If one of Mohammad's comment helped you solve your issue, I invite you to select it as "best answer". :smiling_face_with_smiling_eyes:
Regards,
2024-10-31 02:52 AM - edited 2024-10-31 02:52 AM
Unfortunately I have been very busy with another project and didn't have the time to keep investigating the issue.
I will keep you posted.
Regards,
Ivan
2024-11-11 05:10 AM