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 support@ccsinfo.com

Graphic LCD: TG12864E glcd driver

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
zulancer



Joined: 08 Oct 2010
Posts: 4

View user's profile Send private message Send e-mail Yahoo Messenger

Graphic LCD: TG12864E glcd driver
PostPosted: Wed Nov 10, 2010 6:59 am     Reply with quote

I recently buy this product but after searching for the driver I have got no sign. Is there is a link so that I can get the driver? Thanks.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Nov 10, 2010 1:20 pm     Reply with quote

You did it the opposite way. It's best to locate a driver first, for your
proposed lcd. Then buy it.

Here's the data sheet for your LCD:
http://www.oppod.com/LCM_SPEC%5CGraphic%5CTG12864E.PDF
Look at the block diagram in the bottom right corner. In the middle of it,
there is a block that accepts the control signals and the data. It's called
S6B0108. That's a suspicious name. It has "0108" in it. Look at this
list of CCS driver and example files for graphic LCDs.
Quote:

c:\program files\picc\examples\ex_glcd.c
c:\program files\picc\drivers\glcd.c
c:\program files\picc\drivers\graphics.c
c:\program files\picc\drivers\hdm64gs12.c
c:\program files\picc\drivers\ks0108.c
c:\program files\picc\drivers\sed1335.c

So it looks like ks0108.c might work. But if you look inside the driver file
it does not have the CS1 and CS2 signals that are shown in the S6B0108
block diagram. Also, ks0108.c says it only supports 64x64 pixels.
Your LCD is 128x64 pixels. So then, use a text search engine to search
all CCS driver files for "KS0108". Then we find this one:
Quote:
c:\program files\picc\drivers\hdm64gs12.c

It has this at the top:
Quote:

//// This file contains drivers for using a Hantronix HDM64GS12 with ////
//// a KS0108 display controller. The HDM64GS12 is 128 by 64 pixels. ////
//// The driver treats the upper left pixel as (0,0). ////

It also has the CS1 and CS2 signal in it. It looks like it will probably work.

Also, you use Google to search for this:
Quote:
S6B0108 KS0108

You can read all the documents where they discuss the compatibility of
these controllers.

The things I listed above show how to identify the correct CCS driver for
your LCD.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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