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

I have a Question regarding i2c lines,

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



Joined: 04 Dec 2006
Posts: 14

View user's profile Send private message

I have a Question regarding i2c lines,
PostPosted: Sat Dec 23, 2006 11:00 pm     Reply with quote

Hi,

Do I need to put a pull-up resistor from each device that is on a circuit or I can put one pull-up resistor for the whole circuit?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Dec 24, 2006 12:24 am     Reply with quote

Two pull-up resistors are required for each i2c bus.
You need one for SDA, and one for SCL. To answer
your question, just two resistors are required for the
whole circuit.

How many i2c slave chips are you planning to put on
one i2c bus ? This could affect the value of the
pull-up resistors. What slave chips will you be using ?
Zulander



Joined: 04 Dec 2006
Posts: 14

View user's profile Send private message

I have a Question regarding i2c lines,
PostPosted: Sun Dec 24, 2006 7:30 am     Reply with quote

Well PCM programmer,
I don’t have any ICs yet, it was a general question what I was thinking I wasn’t sure. For how I have two but I might have more. I don’t know! Is their away I can calculate it ?
Thank you
P.S: Happy holidays !
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