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

external ADC

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



Joined: 22 May 2012
Posts: 9

View user's profile Send private message

external ADC
PostPosted: Tue May 22, 2012 1:00 am     Reply with quote

Hello,

I need source code for TLV2543(external ADC) connected to pic dem2 plus board using i2c protocol on pic c compiler... please help me with codes at the earliest.
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Tue May 22, 2012 3:12 am     Reply with quote

Do a search on the forum for *2543*.

You'll find some code for TLC2543 which appears to be the same part in a different package.

The code's for SPI serial interface rather than I2C.

Should get you off the ground, if it's so urgent.

Didn't take too long to find code, and data sheets for both parts on Google.

Quicker that waiting for somebody to do it for you.

Mike
temtronic



Joined: 01 Jul 2010
Posts: 9241
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue May 22, 2012 5:20 am     Reply with quote

and....

You'll actually LEARN how to write real code like 'drivers', which should impress your schoolmates and teacher.

The more code you really cut, the better and faster programmer you become.

Just remember to select the correct pullup resistors for the I2C bus based on speed, Vdd, etc. (all in the datasheets).
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