Jump to content
AsadRehman

Library required for 2.2" Adafruit LCD with ILI9340C driver.

Recommended Posts

Hi Everyone,

 

I'm looking for ILI9340C library so that I can import that library in Energia and burn a program on TIVA C series. I read some of the forums on this websites but some people are using a different launchpad and some are using ILI9341 or some other LCD. I need to work with TIVA C launch pad and ILI9340. I'm using Energia. Before that I was Using Keil uVision to make some libraries for TIVA C Launchpad to work with ILI9340 but that were not that much efficient. I read some of you successfully made libraries to work with TIVA C launcpad and ILI9340 but links provided on those forums are not working or the content from those links have been removed. So please help me. Thanks.

Share this post


Link to post
Share on other sites

I don't have the libs you are looking for, but I would guess that someone may be able to help you in the next day or two. The traffic here has slowed is fairly low these days, but many of the members do check in fairly often. If you don't hear anything in a day or two, I will do some digging. If you find the library you need elsewhere (or find it here somewhere), please do follow up in this thread.

Share this post


Link to post
Share on other sites

I got required library from following forum:

 

https://forum.43oh.com/topic/7476-library-color-lcd-graphics-library/

I downloaded below mentioned file. 

ugl16tiva.zip

 

I did some changes in original program so that I can connect TIVA C with ILI9340C LCD.

 

I used SPI0 instead of SPI2. Also I changed header file tm4c123gh6pge to tm4c123gh6pm. the code is working fine for me but sometime I have to reset my launchpad several times. I connect PA7 with RST pin of screen and now that resting issue i also resolved. 

 

Now I'm using the following Pin configuration.

PA2--> SCK

PA5-->MOSI

PA6-->D/C

PA7-->RST

PA3-->CS

ORIGINALLY PIN CONFIGURATION AND SPI WAS DIFFERENT.

 

Also I have changed the frequency to 8MHz.

 

 

THANKS AGAIN EVERYONE.

Share this post


Link to post
Share on other sites

Is there any circuit diagram available for interfacing 240x320 2.2" adafruit LCD with ILI9340C driver IC? I want to put LCD, Driver IC and TIVA micro controller on Same PCB.

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Schematic for one of my designs incorporating a LCD panel attached. MOSFET is for switching backlight. KiCad design files available from my GitHub (MultimediaCenter). You may also use the Tiva C LaunchPad schematics as a starting point (I did).

 

controller.pdf

Share this post


Link to post
Share on other sites

@terjeio Thanks a lot for schematic.

 

I need schematic for 2.2" Adafruit LCD with ILI9340C driver breakout board. 

@terjeio In your schematic I have to connect a whole LCD break out board. I want to implement LCD, LCD driver and micro controller on a single PCB. I don't want to use any break out board because of space issue. SO if any one have the schematic for 240x320 2.2" TFT with ILI9340C by Adafruit breakout board please share.

 

Thanks again. 

Share this post


Link to post
Share on other sites

Also from where I can buy LCD used in 240x320 2.2" TFT with ILI9340C by Adafruit breakout board? YX220QV06(REV.C) is written on the back side of LCD.

Share this post


Link to post
Share on other sites

Basically, you have two options:

  1. Adapt an already existing Arduino library to the LaunchPad. You’ll need to dig deep into the code and understand how it works. See the FAQ 
  2. Read the data-sheet of the controller and develop the library from scratch. This way, you’ll learn how a display controller works. 

As a matter of facts, option 2 proved to be easier for me when I developed my LCD_screen Library Suite.

Have fun!

Share this post


Link to post
Share on other sites

For details about the bare LCD panel it is perhaps best to contact ILI? Another option could be to dismantle a LCD panel from the carrier board to see where the signals are routed and if there are any additional components underneath it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×