Scpa 058 A
Scpa 058 A
Scpa 058 A
Application Note
I2C Solutions for Hot Swap Applications
Table of Contents
1 What is an I2C Hot Swap Device?..........................................................................................................................................2
2 Hot Insertion Concerns.......................................................................................................................................................... 2
3 Discrete Hot-Insertion Implementation on the Backplane..................................................................................................3
4 Designing the External Card for Hot Insertion.....................................................................................................................4
5 Rise Time Accelerator............................................................................................................................................................ 6
6 Conclusion.............................................................................................................................................................................. 7
7 Revision History......................................................................................................................................................................8
List of Figures
Figure 3-1. Descrete Hot Insertion Support on a Back Plane......................................................................................................3
Figure 4-1. Example of External Card Design Without Pull up Resistors on TCA9511A IN-side................................................ 4
Figure 4-2. Example of Staggering Male Connector to Support Hot Insertion on External Card.................................................5
Figure 5-1. 360 pF Loading with an External 10 kΩ Pull up and Rise Time Accelerator Disabled.............................................. 6
Figure 5-2. 360 pF Loading with an External 10 kΩ Pull up With Rise Time Accelerator Enabled..............................................7
Trademarks
All trademarks are the property of their respective owners.
SCPA058A – FEBRUARY 2020 – REVISED JANUARY 2023 I2C Solutions for Hot Swap Applications 1
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
What is an I2C Hot Swap Device? www.ti.com
2 I2C Solutions for Hot Swap Applications SCPA058A – FEBRUARY 2020 – REVISED JANUARY 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
www.ti.com Discrete Hot-Insertion Implementation on the Backplane
VCC
VCC VCC
SDA0 SDA
I2C slave
SCL0 SCL
Main I2C SDA TCA954x
lines to GND
processor SCL Hot Insertion
Common GND from
GND Backplane
VCC
External Card
Main I2C SDA TCA9555
lines to
processor SCL
GND
Additional notes:
• The external card should connect GND and then power before SDA/SCL:
– This helps prevent any potential back biasing through the SDA/SCL lines if they connect first.
– Requires a female to male connector which staggers the signals to connect at different times.
• This approach helps to prevent glitches on the main bus but does not protect the I2C slave from a bad POR.
– In the worst case scenario, the processor connects the I2C slave to the main bus while it holding the
SCL/SDA line low..
– An I2C switch with a reset can be used to disable all I2C channels to regain I2C control. This does require
the processor to be programmed to detect the stuck bus and toggle the reset if this occurs.
• The switch in Figure 3-1 can be replaced with an I2C level shifter or I2C buffer with an enable pin.
• TCA9555 can be replaced with any I2C GPIO expander with an interrupt feature.
SCPA058A – FEBRUARY 2020 – REVISED JANUARY 2023 I2C Solutions for Hot Swap Applications 3
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Designing the External Card for Hot Insertion www.ti.com
8
VCC
SCLIN 3 2 SCLOUT
IN-side
SDAIN 6 7 SDAOUT
1 5
ENABLE READY
GND
Figure 4-1. Example of External Card Design Without Pull up Resistors on TCA9511A IN-side
The second design set up required is the connection from the external card to the backplane must connect
the ground and power to the external card first before the SDAIN/SCLIN connects to the backplane I2C bus.
The reason for this is the TCA9511A needs to power up and turn on its 1-V pre-charge circuit before the SCLIN/
SDAIN connects to the backplane. If the SDAIN or SCLIN lines connect to the backplane at the same time as
the power and ground, then the 1-V pre-charge circuit do not power up in time and the backplane I2C bus may
dip down towards ground momentarily if the SDA/SCL lines on the backplane are HIGH or transitioning HIGH.
This means the external card needs to have staggered connection points on its male connector. An example of a
staggered male connector is shown in Figure 4-2. In this example, the GND connects first. VCC is next which is
done by making the exposed copper trace for VCC about 25 mils shorter than GND. Afterwards, SDAIN or SCLIN
connects to the backplane because their exposed traces are 50 mils shorter than GND and 25 mils shorter than
VCC.
4 I2C Solutions for Hot Swap Applications SCPA058A – FEBRUARY 2020 – REVISED JANUARY 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
www.ti.com Designing the External Card for Hot Insertion
Figure 4-2. Example of Staggering Male Connector to Support Hot Insertion on External Card
Once the connection between the external card and the backplane is made, the TCA9511A checks three
conditions:
1. Is the enable pin high?
2. Are the SCLOUT or SDAOUT pins high?
3. Has a stop condition or bus idle been detected on SCLIN or SDAIN?
If all three conditions are met, then the TCA9511A connects the ‘IN-side’ and the ‘OUT-side’ together and the
READY pin of the device goes HIGH to signal this.
Condition:
1. Allows the processor to have control over whether or not it wants to connect the downstream slaves on the
external card.
2. Check to ensure that the downstream slaves on the external card have powered up correctly, and do not
cause a stuck bus. In some cases, the VCC ramp up on the external card may be not be within the slave’s
data sheet power up specifications when the hot insertion occurs. In these instances, if the slave powers up
and gets the I2C bus stuck on the ‘OUT-side’, then the main I2C bus on the backplane does not also become
stuck.
3. Make sure that the connection between the ‘IN-side’ and ‘OUT-side’ are not made until the communication
on the backplane has stopped. If the two sides connected during communication, the slaves on the ‘OUT-
side’ of the external card may see a false I2C start condition and glitch the state machines of the I2C slaves.
These three conditions are what make the TCA9511A suitable devices for hot insertion applications.
SCPA058A – FEBRUARY 2020 – REVISED JANUARY 2023 I2C Solutions for Hot Swap Applications 5
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Rise Time Accelerator www.ti.com
Figure 5-1. 360 pF Loading with an External 10 kΩ Pull up and Rise Time Accelerator Disabled
Figure 5-2 shows the same bus loading conditions of 360 pF and a 10 kΩ pull up resistor at 5 V VCC but this
time the TCA9511A is enabled and its rise time accelerator is engaged. The rise time in this case is 214.7 ns
which now meets the specification for both standard mode and fast mode. The two slew rates in the figure are
due to the original RC constant and then by the rise time accelerators pull up. The rise time accelerator for the
TCA9511A trigger when two conditions are met on both sides of the device:
1. The rising signal is above 0.6 V.
2. The slew rate of the rising signal is faster than 1.25 V/µs.
Note that the time scale in Figure 5-2 is 200 ns per division versus 800 ns per division in Figure 5-1.
6 I2C Solutions for Hot Swap Applications SCPA058A – FEBRUARY 2020 – REVISED JANUARY 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
www.ti.com Conclusion
Figure 5-2. 360 pF Loading with an External 10 kΩ Pull up With Rise Time Accelerator Enabled
6 Conclusion
In systems where hot insertion is required, either the backplane or the external card must be properly designed
in order to minimize the effects of hot insertion. Devices like an I2C switch on the backplane or an I2C hot
insertion buffer on the external card are appropriate devices for such applications. Poor hot insertion designs
may result in a stuck bus and preventing key diagnostic information from being extracted to the processor
through the I2C bus.
SCPA058A – FEBRUARY 2020 – REVISED JANUARY 2023 I2C Solutions for Hot Swap Applications 7
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Revision History www.ti.com
7 Revision History
Changes from Revision * (February 2020) to Revision A (January 2023) Page
• Updated the numbering format for tables, figures, and cross-references throughout the document..................1
8 I2C Solutions for Hot Swap Applications SCPA058A – FEBRUARY 2020 – REVISED JANUARY 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATA SHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, regulatory or other requirements.
These resources are subject to change without notice. TI grants you permission to use these resources only for development of an
application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license
is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you
will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these
resources.
TI’s products are provided subject to TI’s Terms of Sale or other applicable terms available either on ti.com or provided in conjunction with
such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for
TI products.
TI objects to and rejects any additional or different terms you may have proposed. IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated