TFT ILI9341 driver mod for ILI9342 ?
-
@tctctc hahaha they do look tiny
I have ordered a screen myself, so i will be able to test the driver in 20-40 days time š
-
@moosepr You bought a IIL9342? thats great!!
-
@tctctc yeah they look to be ideal for another project im after making. they design the screens to be viewed with the chip at the bottom, so a landscape design would be ideal
-
@moosepr said in TFT ILI9341 driver mod for ILI9342 ?:
@tctctc hahaha they do look tiny
I have ordered a screen myself, so i will be able to test the driver in 20-40 days time š
Having had a quick look at the datasheets it looks like the main difference will be with the gamma settings and the MADCTL register (command 36h on both).
The big problem seems to be finding details of the connector pinout. This page has details of a screen with the same part number but it has a different version number and appears to use a different driver chip. It does have pin descriptions but there's no guarantee that they are the same. The OP's display also claims to have a 12864 interface which seems to be the row of 20 holes at the top. This document has a brief description of that. Exactly how you would use that interface isn't clear either nor is how you would specify which you wanted to use.
-
@davej the few i have found on aliexpress have pinouts for the display. The all seem to be pretty similar with the SPI and DPI pins available, normally with a few extras for touch
-
@moosepr said in TFT ILI9341 driver mod for ILI9342 ?:
@davej the few i have found on aliexpress have pinouts for the display. The all seem to be pretty similar with the SPI and DPI pins available, normally with a few extras for touch
That's good. I couldn't find one in the OP's linked screen.
SPI is frequently used for an SD card interface so that is something to look out for.
Going by the pinout you linked to, it has a 16 bit MCU interface rather than a DPI one. DPI uses things like VSYNC, HSYNC and DOTCLOCK. The RD, /WR and RS labels in the pinout indicate the MCU interface. The existing driver copes with outputting to an MCU interface (it calls it parallel) but the ILI3941 driver assumes SPI. I'm not familiar with the fbtft driver though so can't be much help there.
In case you haven't realised, I've been playing with a ILI9341 screen for a microcontroller project. The microcontroller doesn't have enough memory for a frame buffer so I can't even use the fbtft driver for inspiration. Updating the screen is a real pain - particularly drawing diagonal lines.
-
@davej ah yeah your right, I only skimmed the list for the simple spi connection pins.
These screens are always sold as MCU screens, but they are mainly designed for dumping images from the associated SD card. I think the ili9341 is great for tiny pi based devices, minimal cost and effort
-
Hi guys,
The copy of data form the seller:
https://pan.baidu.com/share/link?shareid=4248892308&uk=1445663752
(click [äøč½½(3.6M)] to download)
although some file naming using chinese, but all inside is english.
hope its help!module pins definition:
*translate:- (right top corner) *If you bought 8bit version (default sell as 16bit version, please remind), just connect pins D0-7!
- BL_VDD : backlight power source, can use 3.3V
- (bottom right corner) These pins just for touch enabled screen, no need to handle if the screen without touch.
SPT2230A-FPC-V01 pins definition:
-
Did you ever get the ILI9342 screen to work with a Pi?
-
@obsidianspider I got distracted with other projects, should really get back on it
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.