goodtft / LCD-show

2.4" 2.8"3.2" 3.5" 5.0" 7.0" TFT LCD driver for the Raspberry PI 3B+/A/A+/B/B+/PI2/ PI3/ZERO/ZERO W
2.28k stars 783 forks source link

Request for Documentation Regarding the LCD Displays #177

Open daujerrene opened 4 years ago

daujerrene commented 4 years ago

Hello, I am trying to find the implementation details and datasheets regarding these LCD displays, more particularly the 3.2" RPi Display (LCD-wiki link) in order to write a library or program for directly reading and writing to the screen without the Xorg overhead. From what I can see in the "LCD32-show" script, and the decompiled dtb file as mentioned in the script, the device controller seems to be an Ilitek 9340 or 9341. Is this correct?

Secondly, the pin 15 of the display is labeled as "LCD instruction control, Instruction/Data Register selection" in the LCD wiki page. In the 2.4inch RPi Display For RPi 3A+ page, it is labeled additionally with "low level is instruction, high level is data." Is it the same case for the 3.2" LCD? (If they use the same controller then that should be the case, I think). What Instructions does it accept? Is it the same as those listed in the section 8 of the ILI9341 datasheet?

I am new to embedded systems programming and driver programming so I apologise for my lack of knowledge.

goodtft commented 4 years ago

Yes,you are right, it is ILI9341. it is the same case for 3.2" LCD. The Instructions is in the ILI9341 datasheet.

daujerrine commented 4 years ago

I see. Thank you.