Author |
Message |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Mon Jun 17, 2013 3:59 pm Subject: TFT Display Driver - PIC 18F4550 |
Thanks for the suggestion - will look into using a PIC18F46J50 instead. |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Mon Jun 17, 2013 6:45 am Subject: TFT Display Driver - PIC 18F4550 |
Thanks for the advice Ttelmah. I went back over my code with your advice in mind. I concentrated on the innermost loop and found the problem - there were 1 msec delays in the strobes which I forgot ... |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Mon Jun 17, 2013 2:15 am Subject: TFT Display Driver - PIC 18F4550 |
After apparently "bricking" the display I purchased another from the same supplier. However despite ordering the same display as previously I received a different one. The display's pcb (unl ... |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Sun May 26, 2013 2:58 pm Subject: TFT Display Driver - PIC 18F4550 |
Loaded your HEX file and got following output on terminal but nothing on the GLCD.
Rm
Does this suggest my GLCD is probably bricked? |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Sun May 26, 2013 2:17 pm Subject: TFT Display Driver - PIC 18F4550 |
What version of CCS C do you have?
I have: PCH C Compiler, Version 4.128, 64605.
What do you plan to do with this?
Use it in a garden rrigation system I'm developing.
Will you want to us ... |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Sun May 26, 2013 2:23 am Subject: TFT Display Driver - PIC 18F4550 |
I've tried delaying the strobes by 2 cycles and more but I still get ICID: 9393 every time.
Any other ideas? |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Sun May 26, 2013 1:18 am Subject: TFT Display Driver - PIC 18F4550 |
According to the 16 bit mode documentation the demo code is run on an Arduino Pro which outputs 3.3V. As it wasn't clear in the 8 bit mode documentation which Arduino was being used I incorrectly [spam] ... |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Sun May 26, 2013 12:40 am Subject: TFT Display Driver - PIC 18F4550 |
I believe it is but I will check the documentation again.
It appears there's a problem with the Emartee website which could explain why the product link in my original post isn't working.
Here's ... |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Sun May 26, 2013 12:00 am Subject: TFT Display Driver - PIC 18F4550 |
To confirm - I'm using a PIC18F4550 (40-Pin PDIP). Pins 11 & 32 are connected to +5V and pins 12 & 31 to ground. The display's LED-A pin is connected directly to +3.3V on the same breadboard ... |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Sat May 25, 2013 9:34 pm Subject: TFT Display Driver - PIC 18F4550 |
I disconnected DB0-7 from ground and added "while(TRUE) {;}" at the end of main. The ID changed from 0x9393 to 0x0000. I tested DB0-7 with a logic probe and a multimeter. The logic probe ... |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Sat May 25, 2013 4:28 pm Subject: TFT Display Driver - PIC 18F4550 |
I tried the code both ways and the result was the same - "ICID: 9393".
I'm not sure what to do next - I've rechecked the wiring and it's in order. Perhaps I should approach the vendor an ... |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Fri May 24, 2013 5:26 pm Subject: TFT Display Driver - PIC 18F4550 |
My main had a Set_Tris_B in it:
void main (void)
{
unsigned int16 ID;
SET_TRIS_B( 0x00 );
RST_ACTIVE;
ID = readID();
printf("\r\nID=%Lx\r\n",ID ... |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Fri May 24, 2013 9:19 am Subject: TFT Display Driver - PIC 18F4550 |
Following up on MikeP's post, I'm getting 0x9393 not 0x9325. It seems to me that I'm reading the first byte (0x93) twice and not getting the second byte which I assume is 0x25. If I omit the second ... |
Topic: TFT Display Driver - PIC 18F4550 |
ninoq
Replies: 28
Views: 66287
|
Forum: General CCS C Discussion Posted: Thu May 23, 2013 6:30 am Subject: TFT Display Driver - PIC 18F4550 |
I'm using a PIC 18F4550 to develop a driver for a TFT display - http://www.emartee.com/product/41969/TFT%202.4%22%20320
The code below is based on Reference Code (an Arduino sketch - see pg. 11 - 8 b ... |
|