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

TSC 2046 touchscreen conroller using pic 18f452

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



Joined: 26 Apr 2012
Posts: 2

View user's profile Send private message

TSC 2046 touchscreen conroller using pic 18f452
PostPosted: Thu Apr 26, 2012 11:44 am     Reply with quote

Hi friends,

I want to make a project with Texas intruments tsc2046 touchscreen controller, but I didn't find any driver for ccs c.

I am using PCH Compiler V4.068.

Please can anybody help me ????
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Apr 26, 2012 8:46 pm     Reply with quote

Look at the code that I posted in this thread. It's basically what you need:
http://www.ccsinfo.com/forum/viewtopic.php?t=44786
Look at the control byte in the TSC2046 data sheet (page 15) and set it
up so it fits your hardware. Then edit the #define statement for the
ADS7843_MODE value, and put in your value for the control byte.

If it doesn't work, then post a link to the webpage for your TSC2046
evaluation board. Also post the oscillator frequency of your PIC, and
post a list of the connections between your PIC and the TSC2046.
purk



Joined: 26 Apr 2012
Posts: 2

View user's profile Send private message

PostPosted: Fri Apr 27, 2012 5:35 am     Reply with quote

Thanks bro. I am gonna try.
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