2019-10-03 12:03 PM
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:
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
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:
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.
Solved! Go to Solution.
2019-10-03 12:11 PM
>>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.
2019-10-03 12:11 PM
>>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.
2019-10-03 12:23 PM
Oh my..
you're the MAN!
I changed to big-endian and boom! this beautiful image showed right up!
damn 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 !