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

AD7799 design and sample code

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



Joined: 21 Jul 2006
Posts: 21

View user's profile Send private message

AD7799 design and sample code
PostPosted: Tue Apr 03, 2007 9:49 am     Reply with quote

I am doing a weigh scale project using 877 and AD7799( 24-Bit Sigma-Delta ADC ).any body has used the AD7799 and how is the performance and any giude for its design or sample code?

thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Apr 03, 2007 12:06 pm     Reply with quote

Someone has posted a driver down at the end of this thread on the AVR
forum:
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=43894

To convert this driver to CCS, you need a full understanding of
the differences between CCS and other compilers. For example,
in that driver, they declare some variables as 'signed long'.
In CCS, this would become 'signed int32'. Also, CCS has separate
functions for spi_read() and spi_write(). That driver has one combined
function. But you can tell from the context, which commands are
doing read operations and which ones are doing writes.
I don't want to convert the driver for you. You must do it.
suncq



Joined: 21 Jul 2006
Posts: 21

View user's profile Send private message

Thanks for you quick reply!
PostPosted: Wed Apr 04, 2007 6:40 am     Reply with quote

Thanks for you quick reply! I will study it later!
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