Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Is necessary I2C to add a reapter for buffering in a divided circuit?

Status
Not open for further replies.

Enshuo

Junior Member level 2
Joined
Jun 28, 2020
Messages
23
Helped
0
Reputation
0
Reaction score
1
Trophy points
3
Activity points
155
Hi,
I study the I2C divides into two nets with a repeater PCA9617ADPJ below (BMC_I2C3_SCL -> BMC_I2C3_OUT_SCL). Every kind of I2C is the same. It looks it's only for buffering (rise/fall time, not voltage shifting). Is it really needed?
Repeater datasheet https://www.nxp.com/docs/en/data-sheet/PCA9617A.pdf
1596513257032.png

1596513274439.png

1596513301799.png
 

Attachments

  • 1596513286133.png
    1596513286133.png
    40.9 KB · Views: 148

Hi,

is the I²C communication only performed within/on a single PCB? How does the layout/dimensions of this PCB look like with respect to capacitances?
Are there any (long) cables involved to connect e.g. two PCBs?
What is the desired I²C frequency?

So basically, which kind of capacitances are related to your SDA and SCL lines (cables and traces) and at which frequency have those capacitances to be charged and discharged?

BR
 

The noise immunity of an I2C bus becomes not necessarily better by splitting it over multiple partial busses. The main purpose of PCA9617 is level conversion and isolating busses with separately switched power supply. By increasing the output low level to 0.5 V, it might even reduce noise immunity in some cases. Without information about the topology f your bus, it's impossible to decide if the buffer serves a useful pupose.
 

Hi,

is the I²C communication only performed within/on a single PCB? How does the layout/dimensions of this PCB look like with respect to capacitances?
Are there any (long) cables involved to connect e.g. two PCBs?
What is the desired I²C frequency?

So basically, which kind of capacitances are related to your SDA and SCL lines (cables and traces) and at which frequency have those capacitances to be charged and discharged?

BR
Hi Stenzer,
Thanks for your reply. All I2C is on a single PCB without cable and connector. The total length is around 21 inches, and the frequency is 1Mhz. It's a good point that is related to capacitances. So, what's the frequency or length that have capacitances generally?
--- Updated ---

The noise immunity of an I2C bus becomes not necessarily better by splitting it over multiple partial busses. The main purpose of PCA9617 is level conversion and isolating busses with separately switched power supply. By increasing the output low level to 0.5 V, it might even reduce noise immunity in some cases. Without information about the topology f your bus, it's impossible to decide if the buffer serves a useful pupose.
Hi FvM,
Thanks for your reply. The topology is as below. Not sure if it's needed the repeaters to reduce the noise.
1596604080958.png
 
Last edited:

Hi,

the trace capacitance depends on the layout by means of trace width and distance to ground plane as well as the chosen layer (Stripline, Microstrip, Embeded Stripline,...). Basically you can estimate this capacitance by considering the trace and the ground plane (underneath) as a parallel plate capacitor. A good tool to determine those kind of capacitances is Saturn PCB Toolkit, it is for free. So your goal is to charge and discharge those capacitances fast enough by choosing appropriate pull-up resistors. See this datasheet P82B715, which addresses the calculation of the pull-up resistors. By assuming a trace capacitance of about 0.5 pF/cm your total trace capacitance would in the range of 25 pF. A typical MCU GPIO pin contributs in an additional capacitance of about 4 pF.

If it comes to noise supression a differntial I²C implementation might be of interest. A possible IC would be the PCA9615.

In my personal point of view the the repeaters are not necessary. Even the pull-up resistors values are already in the range as determined for the mentioned assumptions above. Also the enable pins of the repeaters are not used, which might be of interest if some one has to use the same I²C address multiple times

BTW, what I'm missing are the pull-up resistors on the left side of your repeaters.
 
  • Like
Reactions: Enshuo

    Enshuo

    Points: 2
    Helpful Answer Positive Rating
Hi,

the trace capacitance depends on the layout by means of trace width and distance to ground plane as well as the chosen layer (Stripline, Microstrip, Embeded Stripline,...). Basically you can estimate this capacitance by considering the trace and the ground plane (underneath) as a parallel plate capacitor. A good tool to determine those kind of capacitances is Saturn PCB Toolkit, it is for free. So your goal is to charge and discharge those capacitances fast enough by choosing appropriate pull-up resistors. See this datasheet P82B715, which addresses the calculation of the pull-up resistors. By assuming a trace capacitance of about 0.5 pF/cm your total trace capacitance would in the range of 25 pF. A typical MCU GPIO pin contributs in an additional capacitance of about 4 pF.

If it comes to noise supression a differntial I²C implementation might be of interest. A possible IC would be the PCA9615.

In my personal point of view the the repeaters are not necessary. Even the pull-up resistors values are already in the range as determined for the mentioned assumptions above. Also the enable pins of the repeaters are not used, which might be of interest if some one has to use the same I²C address multiple times

BTW, what I'm missing are the pull-up resistors on the left side of your repeaters.
Thanks for your detailed explanation. The repeaters are not enabled indeed, so I thought it's not necessary too.

There are 2.2K pull-up resistors. I didn't attach it. Thanks for mentioning.
 

If the traces are relative long, you'll usually start to reduce the pull-up resistor values, according to the permitted maximum current strength of the connected I2C devices. Next step is reducing the actual buf clock frequency if acceptable for the application. See NXP I2C manual for calculation of pull-up resistors and maximal bus frequency.

The amount of I2C repeaters in the design doesn't seem reasonable at first sight.
 

If the traces are relative long, you'll usually start to reduce the pull-up resistor values, according to the permitted maximum current strength of the connected I2C devices. Next step is reducing the actual buf clock frequency if acceptable for the application. See NXP I2C manual for calculation of pull-up resistors and maximal bus frequency.

The amount of I2C repeaters in the design doesn't seem reasonable at first sight.
Totally agree. Should modify the pull-up resistors first after study the **broken link removed**. Besides, there are only two chips (the resistors could cover 400pF). It shouldn't need the repeaters.
 
  • Like
Reactions: FvM

The repeaters are not enabled indeed, so I thought it's not necessary too.

The repeaters are enabled as this pin is active HIGH and there is an internal pull-up resistor implemented (see page 3 in the datasheet). By leaving the enable pin floating/unconnected the repeater is always enabled. What I have meant is, there is no possebillity to disable the individual repeaters, which would be neccessery if there are multiple I²C slaves (to the right in your sketch) with the same address.

BR
 
  • Like
Reactions: Enshuo

    Enshuo

    Points: 2
    Helpful Answer Positive Rating
The repeaters are enabled as this pin is active HIGH and there is an internal pull-up resistor implemented (see page 3 in the datasheet). By leaving the enable pin floating/unconnected the repeater is always enabled. What I have meant is, there is no possebillity to disable the individual repeaters, which would be neccessery if there are multiple I²C slaves (to the right in your sketch) with the same address.
Indeed, I don't see an useful purpose of the disable feature in the above sketched topology.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top