2025-03-27 10:07 AM
I am going to set up a RGB666 LCD with STN32F779 and Frame buffer in SDRAM. The problem I'm facing is that there are a series of parallel dark lines in the image.
I first tested the SDRAM and the reading and writing is done correctly. Then I realized that only in the R5, G5, B5 data lines of LTDC the signal form is different from the other lines and when I manually write '0' in which these lines, (for example 0b11011100) the image is displayed clear and without problems. Here is an image which there is '1' in R5/G5/B5 on some areas:
The data waveform for normal data lines like R/G/B-2, R/G/B-3, R/G/B4, ... is as follows:
And the corrupted data waveform in the R5, G5, B5 lines is as follows:
As seen in the photo, there is a 6.25MHz signal inside the main 31.05KHz signal which causes parallel lines in the image and I don't know the reason. The zoomed waveform is as follows:
I also moved the Frame buffer address from SDRAM to internal flash for testing without any change in SDRAM and LTDC settings, but this time it happened for R3, G3, B3!
Thanks for any help.