Closed amd989 closed 10 years ago
I voluntered to do this for Adafruit, but I haven't heared back. I quick look at the registers suggest you can just copy the fb_ili9341 driver, but you might have to use another init sequence. Here's the one used by the adafruit library: https://github.com/adafruit/Adafruit_ILI9340/blob/master/Adafruit_ILI9340.cpp#L188
If the comparison between the controllers tuns out to be the same concerning the register used in the driver, especially in set_addr_win(), set_var() and set_gamma(), you could just try fb_ili9341:
sudo dmesg -C
sudo modprobe custom name=fb_ili9341 debug=3
dmesg
con2fbmap 1 1
Add init= if the intialization sequense don't match up. Add width= and height= if it's not the same. See here for more info on this: https://github.com/notro/fbtft/wiki/fbtft_device This page has some init= examples: https://github.com/notro/fbtft/wiki/flexfb
The display should turn black when initialized. A white display is not initialized.
You can use the latest fbtft image to do easy development: https://github.com/notro/fbtft/wiki/Development See here for patch submission: https://github.com/notro/fbtft/wiki/Development#submitting-patches
Keep asking if you need more help. I would also like to see support for this display.
New release out with support for Adafruit 2.2" ILI9340
Is the new 2.2" LCD from Adafruit gonna get supported? It's using the ILI9340 controller. I see they are no longer making the previous LCD that is supported here.
Here is the link http://www.adafruit.com/products/1480
Is ILI9341 driver somewhat compatible with ILI9340? If not, can I use the driver ILI9341 as a base to create a new driver for ILI9340, and contribute to the project?
Thanks