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²C / SMBUS

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



Joined: 18 Dec 2011
Posts: 26

View user's profile Send private message

I²C / SMBUS
PostPosted: Tue May 29, 2012 1:15 pm     Reply with quote

Hello,
I've a short question:
I was looking for differences of the I²C and SMBUS Specification and there I was confused with the fixed and dependent I²C-Bus levels.
(like I²C fixed: Vih: 3.0V; I²C dependent: Vih: 0.7 * Vdd).

1)
I know what this mean but when do I have a I²C bus fixed and when is it dependent on VDD ? When I connect it through Pullups to another voltage level than VDD?

2)
In the I²C Specifications is read the Reverse Voltage characteristics for Low and High. For what are they needed?

Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue May 29, 2012 1:33 pm     Reply with quote

If you have questions about a document, post a link to the document(s).
prixsecco



Joined: 18 Dec 2011
Posts: 26

View user's profile Send private message

PostPosted: Tue May 29, 2012 1:47 pm     Reply with quote

Should be a general question, although the link:
http://www.ti.com/lit/an/sloa132/sloa132.pdf
Ttelmah



Joined: 11 Mar 2010
Posts: 19329

View user's profile Send private message

PostPosted: Wed May 30, 2012 2:08 am     Reply with quote

Most I2C devices, have the Vih, and Vil levels changing with the supply voltage. The exception to this, is a few special devices, generally using higher supply voltages (for instance, some bus drivers which run the bus at 12v, use 'fixed' levels). Descriptions of the levels involved for both are in the I2C specification.
Code:

a) The fixed levels are intended for non-CMOS devices and/or devices with higher supply voltages than 5 Volt,
e.g. 12 Volt. The I/O levels for fixed level devices are:
   LOW level input voltage VIL min. -0.5V max. 1.5V
   HIGH level input voltage VIH min. 3.0V max. VDDmax+0.5V
   LOW level output voltage VOL1 min. 0V max. 0.4V
   HIGH level output voltage VOH open drain output, determined by VDD via an external pull-up resistor.
b) The supply voltage related levels are intended for CMOS devices and/or devices with supply voltages of 5V
or lower. Their I/O levels are:
   LOW level input voltage VIL min. -0.5V max. 0.3VDD
   HIGH level input voltage VIH min. 0.7VDD max. VDDmax+0.5V
   LOW level output voltage VOL1 min. 0V max. 0.4V
   HIGH level output voltage VOH open drain output, determined by VDD via an external pull-up resistor.

Everything you are likely to meet, _unless_ you start using long distance bus drivers (greyhound......Smile), will probably use variable levels.
The I2C spec, is the 'answer' to this.

Best Wishes
prixsecco



Joined: 18 Dec 2011
Posts: 26

View user's profile Send private message

PostPosted: Tue Jun 12, 2012 3:47 am     Reply with quote

Thank you Wink
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