The present disclosure relates to Inter-IC (I2C) bus compatible devices, and more particularly, to improving I2C-bus protocol speed and average power consumption of I2C-bus compatible devices.
Interconnecting together integrated circuit (IC) devices with a simple low cost bus arrangement was desired so Royal Philips Electronics of the Netherlands developed a simple bi-directional 2-wire bus for efficient inter-IC control. This bus is called the Inter-IC or I2C bus. All I2C-bus compatible devices incorporate an on-chip interface that allows them to communicate directly with each other via the I2C-bus. The PC-bus uses open collector (drain) arrangements that depend on passive pull-up resistors to overcome the connected bus capacitance. Thus, charging the bus capacitance to a logic high has a time constant determined by a combination of the connected pull-up resistance and bus capacitance, e.g., RC time constant. Faster bus speeds require pull-up resistors having lower resistance for a given bus capacitance, however, lower resistance increases the average power demand of the I2C-bus compatible devices. The I2C-Bus Specifications, Version 1.0—1992, Version 2.0—1998, and Version 2.1—2000 by Royal Philips Electronics of the Netherlands are incorporated by reference herein for all purposes.
What is needed is a way to increase I2C-bus speed while reducing average power consumption of the I2C-bus compatible devices when utilizing the I2C-bus. According to the teachings of this disclosure, an I2C-bus compatible device when functioning as a clock master may comprise a transient active pull-up I2C (“TAP-I2C”) module having high side driver transistors, e.g., P-channel field effect transistors (FETs), coupled between a positive supply voltage, e.g., Vdd, and respective serial data (“SDA”) and serial clock (“SCL”) lines on the I2C bus. The high side output driver transistors for the SDA and SCL lines are sequentially pulsed on by the TAP I2C module for brief periods to first precharge the capacitance of the SDA line and then precharge the capacitance of the SCL line during low to high logic level transitions. Precharging the capacitances of the I2C bus lines will accelerate bus transfer operations for all of the I2C compatible devices connected thereto on the normally open drain (resistive pull-up) I2C bus since the voltage level rise time during the low to high logic level transition is so much shorter when using the TAP-I2C pulse then just depending upon on the RC time constant of the I2C-bus.
I2C devices, even those not equipped with the TAP-I2C module enhancement would thereby be accelerated as well, even to speeds of 5-10 MHz, assuming the other devices were not speed limited due to other reasons, e.g., internal logic speed constraints. After the precharge pulse period, the output I2C bus driver resumes its normal open drain configuration which allows the pull-up resistor to simply maintain the voltage (charge) on the SCL and SDA lines of the I2C bus.
In addition to precharging the bus, TAP-I2C module may also reduce the need for additional external pull-up resistors on the SCL and SDA lines of the I2C bus. Because of this, the resistance value of the pull-up resistors on the SDA and SCL lines of the I2C bus can be increased in resistance values, thus reducing power consumption for all of the connected I2C-bus compatible devices. In prior technology I2C systems, faster data transfer applications required stronger (lower resistance value) pull-up resistors to charge the I2C bus lines (SDA and SCL) faster (RC time constant) which created a higher power demand during operation of the I2C-bus compatible devices. However, according to the teachings of this disclosure, a pull-up resistor now is merely used to maintain the logic level state, not to substantially charge the bus capacitance during a transition to a logic high.
According to a specific example embodiment of this disclosure, an apparatus for rapidly charging I2C bus lines comprises: a first time delay circuit; a second time delay circuit; an SDA line driver coupled to an SDA line of an I2C bus; an SCL line driver coupled to an SCL line of the I2C bus; wherein: the first time delay circuit generates a first pulse upon detection of an internal SDA signal at a first logic level, the first pulse having a first pulse time duration, the second time delay circuit generates a second pulse upon detection of completion of the first pulse and detection of an internal SCL signal at the first logic level, the second pulse having a second pulse time duration, the first pulse time duration is shorter than a time duration of the internal SDA signal; the second pulse time duration is shorter than a time duration of the internal SCL signal; and whereby: the SDA line driver charges the SDA line capacitance through a low impedance circuit during the first pulse time duration, and the SCL line driver charges the SCL line capacitance through a low impedance circuit during the second pulse time duration.
According to another specific example embodiment of this disclosure, a method for rapidly charging I2C bus lines comprises the steps of: generating a first pulse at a first logic level upon detection of an internal SDA signal, the first pulse having a first pulse time duration that is shorter than a time duration of the internal SDA signal; generating a second pulse at the first logic level upon detection of completion of the first pulse and detection of an internal SCL signal, the second pulse having a second pulse time duration that is shorter than a time duration of the internal SCL signal; charging SDA line capacitance of an I2C bus through a low impedance SDA line driver during the first pulse time duration; and charging SCL line capacitance of the I2C bus through a low impedance SCL line driver during the second pulse time duration.
A more complete understanding of the present disclosure thereof may be acquired by referring to the following description taken in conjunction with the accompanying drawings wherein:
While the present disclosure is susceptible to various modifications and alternative forms, specific example embodiments thereof have been shown in the drawings and are herein described in detail. It should be understood, however, that the description herein of specific example embodiments is not intended to limit the disclosure to the particular forms disclosed herein, but on the contrary, this disclosure is to cover all modifications and equivalents as defined by the appended claims.
Referring now to the drawings, the details of example embodiments are schematically illustrated. Like elements in the drawings will be represented by like numbers, and similar elements will be represented by like numbers with a different lower case letter suffix.
Referring to
Referring to
Referring to
Referring to
Referring to
Referring to
Referring to
Referring now to
An internal SDA signal 802 is generated from the I2C logic (not shown) then an internal SCL signal 804 is subsequently generated from the I2C logic (not shown). The logic level (state) of the SDA signal 802 is determined at the time the SCL signal 804 changes logic levels (transitions states). Shown in
After the SDA signal 812 I2C bus line has been substantially precharged to a high logic level, when appropriate, the SCL signal 818 I2C bus line is precharged to a high logic level by using a low on impedance driver transistor 202 controlled from the SCL I/O driver logic 852. A transition detector 856 detects when the first pulse 806 goes from a logic high to a logic low, then a second pulse 816 is generated by the transition detector 856. The second pulse 816 controls the pulse timing occurrence and duration during charging of the SCL signal 818 I2C bus line.
Since SDA signal 812 data is read when the SCL signal 818 transitions for a low to a high logic level, it is important that the SDA signal 812 logic level has settled to a stable logic level before the associated SCL signal 818 changes (transitions) from one logic level to the other. This is accomplished, according to the teachings of this disclosure, by “pipelining” the internal SCL signal 804 so that the SCL TAP-I2C driver transistor 202b turns on at a desired time after the TAP-I2C driver transistor 202a associated with the SDA signal 802 has turned on.
The length of time that the TAP-I2C driver transistor 202 may precharge the I2C bus capacitance is dependant upon the I2C data rate, and may be for example but is not limited to, about 24 nanoseconds (ns) or 42 ns. In the exemplary embodiment shown in
The SCL transition detector 854 and the transition detector 856 both include selectable dual delay circuits 858, e.g., 24 nanoseconds (ns) or 42 ns. Referring now to
Referring to
Referring to
While embodiments of this disclosure have been depicted, described, and are defined by reference to example embodiments of the disclosure, such references do not imply a limitation on the disclosure, and no such limitation is to be inferred. The subject matter disclosed is capable of considerable modification, alteration, and equivalents in form and function, as will occur to those ordinarily skilled in the pertinent art and having the benefit of this disclosure. The depicted and described embodiments of this disclosure are examples only, and are not exhaustive of the scope of the disclosure.
This application is a continuation-in-part of and claims priority to commonly owned U.S. patent applications Ser. No. 12/206,122; filed Sep. 8, 2008; now U.S. Pat. No. ______; issued ______; entitled “High Speed Transient Active Pull-Up I2C,” by Vern Stephens and Bret Walters, and is hereby incorporated by reference herein for all purposes.
Number | Date | Country | |
---|---|---|---|
Parent | 12206122 | Sep 2008 | US |
Child | 12711433 | US |