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

pic 16f877a and 10 adc ci ad7490 ,it's possible?

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



Joined: 29 May 2009
Posts: 11

View user's profile Send private message MSN Messenger

pic 16f877a and 10 adc ci ad7490 ,it's possible?
PostPosted: Sun Sep 19, 2010 1:32 am     Reply with quote

Hello friends
I'm trying to do a project for a data logger with a PIC 16F877A and ten ad7490 cis of sixteen entries, working with protocol spi.
wanted to know if is possible?
if anyone has any similar project or could help me develop the code?
temtronic



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

View user's profile Send private message

PostPosted: Mon Sep 20, 2010 5:21 am     Reply with quote

It should be possible.

Start with just ONE of the AD7490s and write the SPI code that you need.
Have a simple 1 to 16 loop to read and print the raw adc result.

Then, when that works, add a second AD7490,edit code to address it and verify that works.

A simple outside loop of incrementing the SPI address of the 7490s with an inside loop of addressing the 16 channnels per ADC is where I'd begin.
With a simple print the raw adc result to a PC.

The idea is to start simple,working code, and build upon that.

Keep the original code, and edit a 2nd,3rd,4th,...copy as you go, that way you can always go back to a version that worked!
Also make lots of comments as to what you're doing!

Hope this helps.

Jay
magnoedu



Joined: 29 May 2009
Posts: 11

View user's profile Send private message MSN Messenger

thanks
PostPosted: Mon Sep 20, 2010 7:26 pm     Reply with quote

I start this project, I work how you tell me.
I post here if possible.
thanks
Emerson
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