Wiring TFT LCD ILI9325 to imx233-Olinuxino-Micro – III

It is now time to wire the ILI9325. You can find more information about the ILI9325 by reading the datasheet controller/driver chip.

teste2-1024x866-ILI9325-3-back

The imx233-Olinuxino-Micro pinout can be found in the user's manual, chapter 6. Page 32 also provides a reference to a pinout summary made by David Whittaker, which is quite useful.

Here is how we did it:

LCD pin Oimex pin GPIO
D7 CON1#15 4
D6 CON1#28 53
D5 CON1#27 51
D4 CON1#26 52
D3 CON1#25 50
D2 CON1#22 57
D1 CON1#21 54
D0 CON1#19 16
RST CON1#16 5
RD CON1#14 3*
WR CON1#18 7
C/D CON1#17 6
CS CON1#13 2
Backlite             3.3V  
VCC              5V  
GND           GND  

 

 

 

 

 

*NOTE: RD needs to be connected to 3.3V, in our case we chose CON1#14. Touchscreen interface will be 'touched' in a later post. Now, recheck your wires and then feed your the imx233. Connect

Login by entering  username and password [defaulf should be usr: root, pass: root]. Next, you will need to enable the display module named fbtft_device, which was made available in the kernel in a previous post. [NOTE: the driver names this display itdb28.]

You can confirm that the module for this display was loaded by entering:

You may need to install "something" to help you viewing your images using the linux framebuffer console. We use frame buffer imageviewer (fbi). [Some linux distributions name it fbida.]

Now you are ready to play!

We had our colors all washed-out. If this is your case just create a file named gamma, in /etc:

With the following content (adjust as you wish)

Save the file and run:

HAVE FUN!        

Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *