cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 and ILI9320 QTFT display

tkjmail
Associate II
Posted on January 03, 2010 at 17:47

STM32F103 and ILI9320 QTFT display

13 REPLIES 13
tkjmail
Associate II
Posted on May 17, 2011 at 13:36

Hi.

I would like to know if any of you have made or got any working code snippets to get started with the ILI9320 connected to a STM32F103?

I just finished my project using a Nokia 6610 display with the Epson controller, but as I've got this 2.4'' ILI9320 controlled QTFT display, I want to experiment with that too :)

Best Regards

Thomas Jespersen

jj
Associate II
Posted on May 17, 2011 at 13:36

If not mistaken - that is the TFT ctrl. ic on the STM32 B & E eval boards. Everything you seek should be easily found... (you have truly lucked out)

tkjmail
Associate II
Posted on May 17, 2011 at 13:36

You are right... The code for both of them includes some ILI9320 code, but the STM3210B-EVAL is not parrallel interfacing with the LCD, which the ILI9320 does!

But the STM3210E-EVAL is the right one, just one slightly change... My ILI9320 display is running 8-bit, not 16-bit as the display on the STM3210E-EVAL is doing!

Is it possible to change this is the code? And where? :D

jj
Associate II
Posted on May 17, 2011 at 13:36

Much depends on how/where your 2.4'' TFT originated. On STM eval kits there are 2 possible pcbs - which hold/connect the TFT. (one for serial SPI, other for 16 bit parallel)

Should you have the TFT supplied by ST - you can ''re-configure'' it to either SPI or parallel input! (can't recall if you can select between 8/16 bits) This is done by re-populating a few smt Rs on the flex pcb exiting the TFT.

Tell us the vendor of your 2.4'' - or post spec and we may be able to help further.

tkjmail
Associate II
Posted on May 17, 2011 at 13:36

This is the display I've got:

http://cgi.ebay.com/2-4-Color-TFT-for-EasyPIC-or-PIC-board_W0QQitemZ130331468244QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item1e585c61d4#ht_1933wt_939

The 8-bit or 16-bit is hardwired on the board, as that is a setting you can choose in the ILI9320 chip!

jj
Associate II
Posted on May 17, 2011 at 13:36

Thank you - appears there are just 10 more of that 2.4 TFT - thus ''application review/support'' is hard to justify.

Suggest that you acquire ST's B or E eval board - these have been exhaustively designed to purpose - imho they will save you days/weeks of effort and enable you to properly focus on your application...

tkjmail
Associate II
Posted on May 17, 2011 at 13:36

Quote:

Thank you - appears there are just 10 more of that 2.4 TFT - thus ''application review/support'' is hard to justify.

What do you mean by this?

I really want to do a project with the QTFT I allready have! :o

jj
Associate II
Posted on May 17, 2011 at 13:36

I am simple ST client like you - try to offer support/guidance when/where able - and where it will have the maximum impact/benefit to others.

Believe I've provided a more efficient path for you...

tkjmail
Associate II
Posted on May 17, 2011 at 13:36

I think there are many others like me, looking for some ILI9320 8-bit code...

So isn't there a simple step to convert the 16-bit to 8-bit code?

I have found every command in the code to be 16-bit, so first of all, they need to be translated, as stated in the datasheet!

Also, where in the code is the pins, where the LCD is connected, defined?