2024-05-21 12:43 AM
Hello,
I am developing a TouchGFX application for my STM32H7 MCU using LTDC. Sometimes, after turning the system on, the assets on screen looks "smeared out". Or rather, it looks out of sync or something similar. Restarting the system usually resolves the issue temporarily. The issue only shows up after power up.
I have tried to find a solution but with no luck. I need some help. Have anyone resolved any similar issues?
Screen out of sync
Screen looking as expected
Solved! Go to Solution.
2024-05-29 07:38 AM
I accidentally called MX_LTDC_Init and MX_DMA2D_Init twice, which likely caused the issues. It is now solved by only initializing once
2024-05-21 01:10 AM
Hello,
And if you disable the cache? what will be the behavior?
2024-05-21 04:32 AM
Hi,
I've tried running it with disabled D cache now. Unfortunately, the issues still remain.
2024-05-22 06:55 AM - edited 2024-05-22 06:57 AM
Still have not found a solution to this issue. I have been comparing the framebuffer of the working and non working screens and, not that surprising, they differ somewhat.
It is weird to me that it is related to physically connecting the power to the board, which sometimes triggers the faulty view. I have previously been running an application, on the same hardware, using STemWin without ever seeing this issue, which makes me think it is TouchGFX related.
Any other suggestions on what to try?
2024-05-29 07:38 AM
I accidentally called MX_LTDC_Init and MX_DMA2D_Init twice, which likely caused the issues. It is now solved by only initializing once