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

I2C addressing gap on 18F4680

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



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Mar 08, 2008 11:04 am     Reply with quote

Quote:

As far as I interpret all the documentation the slave address 0x00 is
reserved for a general call (I assume 0x01 being the "write to master"
then), and all slave addresses from 0x02 up can be used as a valid slave
address
I've tried address from 0x02 upto and including 0x0e, no avail.

Download the i2c bus specification (vs. 2.1):
http://www.nxp.com/acrobat_download/literature/9398/39340011.pdf
In CCS terminology, 8-bit slave addresses of 0x02 to 0x0E are the
same as the following 7-bit addresses in Philips terminology.
Code:

CCS:   i2c spec:
0x02   0000 001
0x04   0000 010
0x06   0000 011
0x08   0000 100
0x0A   0000 101
0x0C   0000 110
0x0E   0000 111

Look at Table 2 on page 16 of the i2c spec. Every one of those
addresses is reserved.
peter273



Joined: 07 Mar 2008
Posts: 5

View user's profile Send private message

PostPosted: Sat Mar 08, 2008 2:06 pm     Reply with quote

Jeeeses.....
Thanks PCM, there's something I indeed flagrantly missed Embarassed
Guess I missed those few trees with the rest of the wood standing in the way Very Happy
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