CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Color Graphics LCD info
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bwhiten



Joined: 26 Nov 2003
Posts: 151
Location: Grayson, GA

View user's profile Send private message

Color Graphics LCD info
PostPosted: Tue Aug 07, 2007 8:43 pm     Reply with quote

I am thinking of using a Microtips MTF-T035DHSLN style display in a project, driven by a dedicated PIC. First off I haven't been able to get a datasheet request response from Microtips. The only similar datasheet I can find is for the MTF-T057 and it does not show a common/recognizable controller type. If anyone has any info on these displays I could use the help. Second, I did some research here but did not see any specific information on PIC drivers/code written to take advantage of the multi-color aspect of the LCD and wondered if anyone has a link or some code that I could use as a starting point.
Thanks.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Aug 07, 2007 9:03 pm     Reply with quote

This website has a link to a 47-page spec that has the SPI timing diagrams.
http://www.armadeus.com/wiki/index.php?title=MTF-T035
bwhiten



Joined: 26 Nov 2003
Posts: 151
Location: Grayson, GA

View user's profile Send private message

Color Graphics LCD info
PostPosted: Wed Aug 08, 2007 10:16 am     Reply with quote

Thanks. That is the data sheet I was looking for. I haven't had much luck with Microtips service. Looks like the there is no high level controller on board so I will need to generate all the timing myself. May not be possible with a PIC but I didn't want to spend the money on an FPGA or CPLD.
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Wed Aug 08, 2007 11:08 am     Reply with quote

320x240 at a refresh rate of 60 hz is 4.608 million pixels per sec.
A PIC at 10 mips will give you 2 instructions per pixel. I suspect if the PIC can handle this that will be just about all it will be able to do.
bwhiten



Joined: 26 Nov 2003
Posts: 151
Location: Grayson, GA

View user's profile Send private message

PostPosted: Wed Aug 08, 2007 11:15 am     Reply with quote

Thanks for the encouragement! Realistic actually. Is 10 MIPs the fastest PIC available? I haven't checked through all the datasheets at this point.
kevcon



Joined: 21 Feb 2007
Posts: 142
Location: Michigan, USA

View user's profile Send private message

PostPosted: Wed Aug 08, 2007 11:25 am     Reply with quote

Displays like this have very sensitive timing and you will most likely not be able to do it with a PIC. Altera and Xilinx have some low cost chips and free development software.
bwhiten



Joined: 26 Nov 2003
Posts: 151
Location: Grayson, GA

View user's profile Send private message

PostPosted: Wed Aug 08, 2007 11:33 am     Reply with quote

Yes, I did a 1/4 VGA cockpit display interface for SAAB nearly 10 years ago using a Lattice CPLD and Altera 8K series. I may back down on this and use a monochrome graphics display with standard controller like the MTG-32240xxx that uses the SED1335.
rberek



Joined: 10 Jan 2005
Posts: 207
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Wed Aug 08, 2007 3:28 pm     Reply with quote

I'm at the Microchip MASTERS conference right now, and just attended a 4 hour class on driving colour touchscreen LCDs. We had a 320x240 Microtips touchscreen QVGA LCD being happily driven by a PIC24, showing animations, sliders, radio buttons, etc.

There seems to be no problem having having a 16-bit PIC drive such a beast. In fact, there will be a PICTail Graphics module available in a few months, with that display.

r.b.
bwhiten



Joined: 26 Nov 2003
Posts: 151
Location: Grayson, GA

View user's profile Send private message

PostPosted: Wed Aug 08, 2007 3:32 pm     Reply with quote

rberek,
Can you get the model # of the display and the PIC? I believe color enhancement would truely help sell the project I have in mind so I would like to pursue it further. Thanks for the encouragement.
rberek



Joined: 10 Jan 2005
Posts: 207
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Wed Aug 08, 2007 4:21 pm     Reply with quote

The display was a Microtips MTF-T022BHNLP and a PIC24FJ128GA010

Note though, that this display is in short supply, which is the reason that the Microchip PICTail board is delayed. Mouser carries this display but I do not believe they have stock

r.b.
bwhiten



Joined: 26 Nov 2003
Posts: 151
Location: Grayson, GA

View user's profile Send private message

PostPosted: Wed Aug 08, 2007 6:11 pm     Reply with quote

Thanks. They do carry it and it is on backorder. They also have a couple of other sizes but with different interfaces. Their part numbers are very difficult to decipher. Too many options I suppose.
kevcon



Joined: 21 Feb 2007
Posts: 142
Location: Michigan, USA

View user's profile Send private message

PostPosted: Thu Aug 09, 2007 8:59 am     Reply with quote

That's a cool little display; you could probably drive it with an 18F part too.
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Thu Aug 09, 2007 1:59 pm     Reply with quote

Quote:
I'm at the Microchip MASTERS conference right now, and just attended a 4 hour class on driving colour touchscreen LCDs. We had a 320x240 Microtips touchscreen QVGA LCD being happily driven by a PIC24, showing animations, sliders, radio buttons, etc.

Could it be that the PIC 24 is able to control the LCD because the LCD it is controlling has a built in controller to handle the timing and DMA access to video memory. I have used VHDL coded CPLD's to drive 640x480 displays with PIC waiting for DMA permission to write through to video SRAM. The CPLD clocked at 80Mhz was coded as a controller to handle the LCD timing and the SRAM fetching. There is code in the code library for commercial controllers such as the T6963 so PIC's can drive LCD's . The questioners issue was how capable is a PIC when it has to handle the raw LCD timing ( no controller) and not produce undue flicker in a varying image.
bwhiten



Joined: 26 Nov 2003
Posts: 151
Location: Grayson, GA

View user's profile Send private message

PostPosted: Thu Aug 09, 2007 2:17 pm     Reply with quote

I did some research and that display appears to have some type of controller included. Some of the larger ones don't. That was my point about the data sheets and part number scheme from Microtips. Difficult to interpret.
On another point the PIC24HJ series claims 40MIPS so that would appear to be the best bet if I proceed.
kevcon



Joined: 21 Feb 2007
Posts: 142
Location: Michigan, USA

View user's profile Send private message

Here's a crazy thought
PostPosted: Thu Aug 09, 2007 2:24 pm     Reply with quote

There's no way one PIC could handle the timing signals and fetching the bit data, but what if you had two pics?

One could handle the timing signals and another would supply the bit data.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group