Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Interfacing (DSI, CSI, I2C, etc.) • Re: Small TFT based on ILI9341 ST7789 - how to use

$
0
0
Is the solution something related to the graphic ram access cmmands? (I just saw that the command opcodes are the same between st7796, ili9486 and ili9488)

command 0x2A 0x__ 0x__ 0x__ 0x__ #column address set
command 0x2B 0x__ 0x__ 0x__ 0x__ #page address set

Do you have your lines and columns in reverse order for 180 degree rotation?

command 0x36 0x20 #memory access control. 0x20 pins right. 0xE0 pins left

Is the solution involving the timing parameters in the DTS?
hback-porch = <0>;
vback-porch = <0>;
hfront-porch = <0>;
hsync-len = <0>;
vfront-porch = <0>;
nope, nope and nope!

you are 2pixels off (x-offset=2) (with a CCC display) then i.e width=240 gets changed to width=238

Statistics: Posted by aBUGSworstnightmare — Thu Oct 30, 2025 5:30 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles