Lead

Jun 25 09 8:57 AM

Tags : :

Hi,
We finally got the display hooked up.  I am using the application note dated 11 may 2009.  I can not get the display to even flicker.  I am wondering if you have the waveforms generated by the WMLCDCOM and WMLCDDATA routines.  This will allow me to double check my interpretation of the ILI data sheet.  Please include  setting up a pixel address, and writing a few pixels in a row.  It is not clear when the /CS line should be driven high, after every command/data sequence, or after a string of sequences.  We have the display configured to be driven by the 8 bit interface.

Quote    Reply   

#1 [url]

Jun 26 09 11:44 AM

A little update.  I have the display semi functional.  I can write colors to the display, but I can not write to a particular pixel.  It appears that the upper left corner is 0,0.  When ever i attempt to write a pixel, or a number of pixels it always starts here.  At least this proves that we have the proper lines connected.

As near as I can tell the display is addressed at 0-ef is first column, and it runs vertically.  When I just write to address 0x202 I get a horizontal line.  I Still need the proper way to write multiple pixels, and the proper way to address them.

Quote    Reply   

#2 [url]

Jun 29 09 9:38 AM

Could you post the code you have written thus far so we can get a better idea of how you are addressing the display? In addition, which MCU are you using for this project (just curious)?

Quote    Reply   

#3 [url]

Jun 29 09 10:55 AM

we are using a Microchip Pic24FJ256GB110.  I attached the code for the raw drivers, the rest of the application is the microchip graphics demo's.  We have the Lcd connected to porta of the pic.  We are not using the PMP module.  I am controlling each control line individually.  I have been adding debug code into the ResetDevice() routine to isolate the driver from the microchip graphics library.


Click here to view the attachment

Quote    Reply   

#4 [url]

Jul 8 09 7:39 AM

Hi,
I was wondering If you had time to look over the attached code and tell us what we are doing wrong. Have you had a chance to get the factory to tell us how the pixel memory is laid out vs the actual display?  Our customer is starting to get a little antsy.

Quote    Reply   

#6 [url]

Jul 20 09 3:11 PM

Hi Sabarski,

Factory asked the following;
Please kindly confirm the hardware connection. Please kindly check how the IM[2:0] is connected? the correct connection is 011. For the databus, it should connect to the MSB---DB[17:10].

Please let us know if this helps.


Quote    Reply   

#7 [url]

Jul 21 09 7:51 AM

HI,
We have the im2:0 pulled 011.  The data bus is connected 17-10, which give us an 8 bit data bus.
We can write to the pixel ram and get color's.  This tells us that we have the connections right, and have the control lines moving the right way to program the setup data to the controller.  

We can not set a GRAM address to set a pixel.  If we write to the gram, it always starts out with the
top left pixel in the display.  Each successive write to the GRAM will color the next pixel to the right.  What we need is a good example of how to set a few pixels on the display, with the proper toggleing of the control lines to make this happen.

Right now we are writing the address to the gram horizontal register, 200, and the vertical register 201.  Then we write the color data to the pixel gram address at 202.   The writes to 200 and 201 do not seem to have any effect.  We need the control line sequence to make this work, and a mapping of the 2 registers to the actual pixels on the screen would be nice. There are a lot of possible permutations on how the control lines should be driven to make this display work properly.  We just need the information on the proper way.

We are running out of time on making this display work with the Microchip Graphics library.

Quote    Reply   

#9 [url]

Jul 24 09 9:18 AM

200 and 201 are to set the initial value of address counter. You should set 210, 211, 212, 213 to get the right display position.

Let me know if this works. Thanks.

Quote    Reply   

#10 [url]

Jul 24 09 10:59 AM

Writing to these registers makes the display behave differently.  Is 0.0 in the upper right corner? I still do not know how to address a pixel on the display.  All I can get is a horizontal line on the top row with the length being the number of writes to 202.

I guess what I really need to make this display work correctly is code, or a flow chart to draw a vertical line located at 25,50,  Then draw a horizontal line at 200,300.  With this information I think that I would be able to figure out how to position the memory pointer enough to port the display over to the microchip graphics library.

Quote    Reply   

#11 [url]

Jul 29 09 7:12 AM

Do we have a date yet for the flowchart or example code to write pixels to this display?  Our customer is getting tired of waiting.  All of my attempts to write to this display always start out on the top row. Writing to the window setting registers changed the starting point of the draw.  We need the information of what address is which pixel, and how to write these address's to the display.

Quote    Reply   

#14 [url]

Aug 6 09 9:26 AM

Sorry just the application note with the initialization instruction is currently available.  Have you referred to the ILI9326 spec to see if that can answer some questions?  I have another customer that is currently in the design stage, let me see if he would be interested in joining the forum and if so if he can share what he's learned.

Quote    Reply   

#15 [url]

Aug 6 09 10:02 AM

I have looked at the ili9326 spec.  I can write stuff to the display, It does not behave the way it should. Something is wrong, and I don't have the information to fix it. This is why we are asking for a detailed flowchart on how to drive this display.

We have the display hooked up to a microchip explorer 16 board via a custom board that plugs into the pictail connector.  I have a spare board, but I don't have all of the connectors.

Quote    Reply   

#16 [url]

Aug 7 09 11:05 AM

Hello,

I may be that "other customer" that Trevor referred to.  I'm not quite as far as Sabarski is as I'm just finishing off the schematic right now.

But I'll echo Sabarski's comments that it would be good to get more information about how to drive this module.  The ILI9326 datasheet is good but I can't see anywhere in the SDT042TFT datasheet where it mentions how the chip is connected (what modes are selected with pullup/down's for instance).  Also, how are the data lines connected?  Are they connected data0 to data0, data1 to data1, ... or some other arrangement?

What I think would be most useful would be to publish the schematic of the TFT circuit.  Perhaps you don't want to give away some details but at least the MPU interface of the ILI9326 needs to be documented along with any configuration settings that effect the operation of the device.

I know that application note shows the signals you sent into the flex cable connector.  But that is assuming a 18-bit interface, and like Sabarski, I'll be using an 8-bit interface so it's not obvious how to hook up.

Cheers,

James.

Quote    Reply   

#17 [url]

Aug 7 09 11:09 AM

Hello all,

OK, I take a bit back from my last post.  On closer inspection some of the detail is included in the pinout table.  I looked at the DB17-DB0 section and didn't see any reference to how to configure between all the modes.  Later on (on the next page) the IM2-IM0 section describes the system interface mode including the databus configuration.

From this I'm assuming that DB17-DB0 connect to their respective pins on the ILI9326, though that isn't stated anywhere.

I still think a schematic of the MPU circuit of the TFT would be useful.

Cheers,

James.

Quote    Reply   

#19 [url]

Aug 19 09 12:33 PM

Just wondering how the information from the factory is coming along.  We have to many unknown's right now, and need some solid information to get this project moving forward.

Quote    Reply   

#20 [url]

Aug 20 09 7:03 AM

I have been going over the Ilitek data sheet again.  I noticed that the I80 bus interface timing diagrams on page 66 of the manual and the diagrams on page 126 of the manual are not even close. Do you have any idea which diagram is correct?  If it is the diagram on page 126 do you have a multiple byte operation to show how the lines should be driven?  I am using the timing from page 66 right now. Is this the problem that I am having?  The diagram on page 126 uses The nCS line as a strobe, not a select as is the case on the diagrams on page 66.

Quote    Reply   
Add Reply

Quick Reply

bbcode help