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

TI (BurrBrown) ADS7871 SPI AtoD Converter Code Wanted

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



Joined: 28 Aug 2012
Posts: 1

View user's profile Send private message

TI (BurrBrown) ADS7871 SPI AtoD Converter Code Wanted
PostPosted: Wed Oct 03, 2012 12:32 pm     Reply with quote

I believe that I searched the forums looking for some sample code for using the TI (BurrBrown) ADS7871 SPI AtoD Converter and did not find too much that was relevant.

Before I dive head first into it I thought that I would see if anyone was willing to share any code for:

a) initializing the device.
b) selecting the channel to be read.
c) writing the 14 bit data to a variable for further processing.

Thanks in advance.
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Wed Oct 03, 2012 1:26 pm     Reply with quote

I have never used that family - but because all data exchanges for the ADS78xx family are multiples of 8 bits -
it is perfectly suited for the HARDWARE SPI functions of your pic.


My suggestion is to expend some effort, build up a prototype
and begin to program it yourself.

Walk before running:
do something SIMPLE like minimal INIT - and just read ONE port

See how far you get.
Later when you have some work to show, it will be simpler to get others to join in and expand on your efforts.
drh



Joined: 12 Jul 2004
Posts: 192
Location: Hemet, California USA

View user's profile Send private message

PostPosted: Thu Oct 04, 2012 8:27 am     Reply with quote

Here is a link to the evaluation module. You should find code in the zip file.


http://www.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=slau113
_________________
David
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