Skip to main content
HP_it
Senior II
October 3, 2019
Solved

Custom LCD display has stripes on it

  • October 3, 2019
  • 2 replies
  • 1422 views

So i have gotten the LTDC working - sort of.

I'm working off the app note 4861 which have an example on how to find the parameters for the display I'm using from datasheet.

I'm using this display:

https://www.buydisplay.com/default/low-cost-4-3-inch-480x272-tft-lcd-display-w-optl-capacitive-touch-screen

The datasheet is right here: https://www.buydisplay.com/download/manual/ER-TFT043-8_Datasheet.pdf

and the controller chip for the display datasheet: https://www.buydisplay.com/download/ic/ST7282.pdf

Now, my problem:

I have this test image

0690X000009k0V7QAI.png

I have created it using the lcd-image-converter mentioned in the app note (by the way - it is the one on sourceforge - it can be a bit hard to find)

one thing that messed with me for a couple of days was the obvious fact that you HAVE to make your image the SAME size as the screen resolution - duh! I created the image in Inkscape and exported it wrong so I ended up with a size of 516*303 - pretty stupid!

I changed that and this is my current image on my screen:

0690X000009k0VHQAY.jpg

I have these stripes across my image.

Anyone with an idea what they are and how to change them?

The display driver have an option to swap the red and blue channel internally and I think that is one of the things happening. That is fixable - just swap the wires.

I have verified that I have a signal on all R,G and B pins and to be fair - im' pretty happy just to have a signal through. Now I need to optimize it.

This topic has been closed for replies.
Best answer by Tesla DeLorean

>>The display driver have an option to swap the red and blue channel internally and I think that is one of the things happening

Yes, does look that way

Also that the bit/byte packing across words might not be correct. Like the column order is reversed in groups.

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
October 3, 2019

>>The display driver have an option to swap the red and blue channel internally and I think that is one of the things happening

Yes, does look that way

Also that the bit/byte packing across words might not be correct. Like the column order is reversed in groups.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
HP_it
HP_itAuthor
Senior II
October 3, 2019

Oh my..

you're the MAN!

I changed to big-endian and boom! this beautiful image showed right up!

0690X000009k0WyQAI.jpgdamn that was fast problem solving! 7 minutes!

I still need to swap the red and blue though but I'm going through a couple of PCB runs before I'm done with other peripherals..

Thanks @Community member​ !