STM32 LTDC image artefact (touchGFX)
Hello,
My problem is now resolved but I think it can be useful to keep a trace of it for other people !
I configured a project with STM32CubeMX, which uses : TouchGFX + LTDC + DMA2D with a custom 800x480 TFT Display.
I was able to get an image on the display, but the text looked ugly, as if the resolution was reduced, the images also have a poor quality : they were not sharp, and some pixels had an incorrect value (sometimes there were white instead of white or black instead of deep blue...). Generally, the sames pixels were affected, but some of the altered pixels changed after a reboot of the system.
On a steady screen, the wrong pixels were quite constants, but some flickering could be observed when looking attentively.
After wondering if the problem was due to alpha layer settings, LTDC or DMA2D configuration, I took an oscilloscope to observe the waveforms of the signals, and I saw that the DCLK signal amplitude was very little, less than 1 V. I checked the GPIO speed setting in CubeMX, and discovered that all LTDC signal speed were set to " Very Slow". I changed them to "High", and the problem was solved !?
I hope it can helps if you encouter the same problem !
