| Welcome to AT91SAM Community Forum http://www.at91.com/samphpbb/ |
|
| Interfacing a ILI9320 based 2.4" TFT Display to AT91SAM9260 http://www.at91.com/samphpbb/viewtopic.php?f=9&t=5360 |
Page 1 of 1 |
| Author: | green2009 [ Mon Jan 26, 2009 11:24 am ] |
| Post subject: | Interfacing a ILI9320 based 2.4" TFT Display to AT91SAM9260 |
Hello Everyone, I have a Board which is based on AT91SAM9260 to which I have a requirement to connect a ILI9320 based 2.4" TFT Display. While I find many documents related to linux drivers, I couldn't find much information regarding hardware interface. I would appreciate if someone can help me to interface this LCD and recommend necessary changes to bootstarp. Thanks |
|
| Author: | cavnex [ Mon Jan 26, 2009 8:53 pm ] |
| Post subject: | Re: Interfacing a ILI9320 based 2.4" TFT Display to AT91SAM9260 |
I'm not sure I understand the question. The ILI9320 users manual shows a pretty clear "old style" chip-select, address-sub-select, /WR, /RD, Data-bus interface. In fact, it has several options; an 18-bit mode, a 16-bit mode, a 9-bit mode, and an 8-bit mode. Lastly, it even offers an SPI interface. That would offer the easiest way to connect to it, but certainly also the slowest. If you choose to avoid SPI, the connection mode you choose may depend on whether you're using the 9260 in 16-bit data bus or 32-bit data bus mode. If you have SDRAM, and you likely do, you'll want to be wary of extending the data bus without buffers. Is there a specific question, or are you asking if someone has a list of literally what-pins-to-connect-to-what-pins ? |
|
| Author: | green2009 [ Tue Jan 27, 2009 4:35 am ] |
| Post subject: | Re: Interfacing a ILI9320 based 2.4" TFT Display to AT91SAM9260 |
I am a newbie for SAM and for that matter 32bit Microtrollers. I am trying to interface a New Haven Display which is ILI9320 based whose pins descriptions look simple. http://www.newhavendisplay.com/index.ph ... cts_id=873 I has 16 data lines (DB0..DB15) which is for the bus interface. /CS , RS , /WR , /RD are for the SPI interface which I don't want to use. My questions 1. What PIO controller to use on the AT91SAM9260 side and how to make the Linux understand that there is Display available and it is connected to the particular PIO controller so that it loads the drivers when it boots. 2. What precautions I should take in selecting the PIO controller for this purpose to avoid conflicts like the multiplexed pins from Serial Port, SPI, etc. Thanks |
|
| Author: | cavnex [ Tue Jan 27, 2009 5:40 am ] |
| Post subject: | Re: Interfacing a ILI9320 based 2.4" TFT Display to AT91SAM9260 |
Quote: I has 16 data lines (DB0..DB15) which is for the bus interface. /CS , RS , /WR , /RD are for the SPI interface which I don't want to use. I'm sorry, but that isn't true. /CS, RS (which is effectively an address line for selecting between 2 memory-mapped registers), /WR, and /RD are all for the BUS interface. SPI is formed by SDI, SDO, and an override of /WR which is referred to by the spec as SCL (the SPI clock) as well as as double-use of /CS. PIO controller? My apologies - I don't mean to be rude - but is your background primarily PIC, AVR, etc.? Folks from those background tend to do have no experience with a bus and assume that it means "PIO", especially due to similar naming conventions between some teeny microcontrollers and things like 'D0, D1, D15, ...'. The data bus isn't to be connected to a "PIO port". (At least not in any efficient manner.) In short - and this isn't something you should design around, you should find some references first; at the very least, read the SMC section of the 9260 users manual. ILI /RD goes to the 9260 /RD (which doubles as /OE) ILI /WR goes to the 9260 /WE ILI /CS goes to any of the 9260 /CS# lines - choose one that doesn't conflict with other features multiplexed on pins that you're using (SDRAM, Ethernet, SPI, whatever.) ILI D[17:0] go to the 9260 D[17:0], although I'd recommend putting a transceiver on that bus right next to the 9260, tristated if /CS# isn't low and direction determined by /RD and /WR. If you don't, you can quickly generate noise on a bus that's shared and runs very fast for the SDRAM. ILI RS really ought to go to A2; align the 2 ILI registers on 32 bit boundaries. Then read the SMC section labelled 'Coding Timing Parameters'. The particular chip select needs to be set up with timing values that fit the ILI part (it's an asynchronous part with listed timing; i.e., after a read attempt, it will place data on the data bus in x nanoseconds, and it will cease asserting the bus y nanoseconds after /CS goes high, etc.) I'm sorry if this sounds more complex than you'd hoped for. |
|
| Author: | green2009 [ Tue Jan 27, 2009 7:21 am ] |
| Post subject: | Re: Interfacing a ILI9320 based 2.4" TFT Display to AT91SAM9260 |
Thank you for you suggestions. I believe I should leave it to people with experience in this. I would like to see professional commercial support on this. Can you please suggest me about this. My requirement is attach the above said LCD display to AT91SAM9260-EK board and have linux recognize it. I would appreciate your help. Thanks |
|
| Author: | cavnex [ Tue Jan 27, 2009 8:16 am ] |
| Post subject: | Re: Interfacing a ILI9320 based 2.4" TFT Display to AT91SAM9260 |
I'm not the right person for you; I'm still trying to figure out how to get 37 hours out of a day. However, there are definitely some excellent folks on this site; I hope one of them contacts you ASAP. Best of luck! |
|
| Author: | micro [ Sat Feb 20, 2010 12:38 pm ] |
| Post subject: | Re: Interfacing a ILI9320 based 2.4" TFT Display to AT91SAM9260 |
Hello All How can i configure linux for At91sam9260 to use with ILI9320 16-bit interface for framebuffer ? Can you give me some information please ? |
|
| Author: | kamejoko80 [ Thu Mar 11, 2010 7:36 am ] |
| Post subject: | Re: Interfacing a ILI9320 based 2.4" TFT Display to AT91SAM9260 |
Hi, ILI9320 SPI driver is in the linux kernel source /drivers/video/backlight ili9320.c and ili9320.h thanks to http://www.simtec.co.uk |
|
| Author: | Howimboe [ Fri Mar 26, 2010 10:59 am ] |
| Post subject: | Re: Interfacing a ILI9320 based 2.4" TFT Display to AT91SAM9260 |
- |
|
| Author: | Howimboe [ Fri Mar 26, 2010 11:02 am ] |
| Post subject: | Re: Interfacing a ILI9320 based 2.4" TFT Display to AT91SAM9260 |
Did you have any success interfacing this TFT? I'm looking for docs and help to conenct a TFT on my 9260-ek board, in order to know if I really need a 9261 or not (juste want linux display, but nothing very fast or complicated, just basic screen like 2 or 3") Thank you. Paul |
|
| Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|



Forum