TI (BurrBrown) ADS7871 SPI AtoD Converter Code Wanted
Posted: Wed Oct 03, 2012 12:32 pm
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
Posted: Wed Oct 03, 2012 1:26 pm
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
Posted: Thu Oct 04, 2012 8:27 am
Here is a link to the evaluation module. You should find code in the zip file.
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