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

ACK or not ACK??this is the question.
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
John Ilicitean



Joined: 07 Jul 2005
Posts: 27
Location: Rotova

View user's profile Send private message

PostPosted: Thu Feb 02, 2006 10:41 am     Reply with quote

Hi everyone!!!

rwyoung wrote:
Quote:

And your PIC code timing EXACTLY matches that of the PC program's?


The timings of the PC program's is more slow.For example :
Tstart=120usg ------------------in the PC program
Tstart=4usg-------------------in my PIC system(slow mode)

This way all times are more slow, but in all cases the timing constraints are fulfilled .
The sequence of READ of PC program's is the same to that I use. But in my program don't send the ACK.

Humberto wrote:
Quote:

The Control byte of the ADS1100 is made up of 7 bits where you can preset (bits 3 thru 1),
leaving bit 0 alone (set to zero) as the I2C routine will use this bit depending if it is
a read or write operation... so the control byte would look like this...

1001yyy0

In your code you are addressing:

i2c_write(0x95); // ADC address, then read

wich is wrong because the bit 0 is SET.

If you have the variant AD5 as I guess, the address should be 0x9A


John Ilicitean wrote:
Quote:

When the PIC send the ADS1100 address(my device is AD2=1001010X) , the ADS1100 not send me the bit acknowledged.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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