This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LSF0102: Maximum Cable Distance at 100kHz I2C operation

Part Number: LSF0102
Other Parts Discussed in Thread: LSF0108, , P82B96, TCA9803, TCA9617B, TXS0102, TCA9800, TCA9517, TCA9517-Q1, TCA9416

Hello,

I am designing a FMC board for the communication between two main boards. The FMC board will be connected to both master and slave boards and two FMC will be connected through Cat5 ethernet cable.  Master is foreseen to control 2 different I2C pairs (SCL1-SDA1 , SCL2-SDA2). Because of the incompatible VOL problem of P82B96, I am forced to use lsf0102/lsf0104/lsf0108 for configurable voltage level translation between Master and Slave Boards. The distance between two boards will be around 10 meters. On datasheet, it is stated that LSF series can be used up to ' 40 MHz up or down translation at 50-pF capacitive load' . I would like to ask if the maximum capacitive load value changes with lower clock rates like 100kHz I2C. If yes, can you please provide information about the foreseen value  so that I can try to figure out maximum distance I can transmit my signals through Cat5 ethernet cables. I am aware that 10 meters is far away. Depending on the maximum distance achieved with LSF series, I am planning  to design an intermediate repeater board between two FMC. 

Selim

  • The speed is limited by the R-C low-pass filter that is formed by the pull-up resistors and the trace/cable capacitances. (The I²C specification limits the pull-up current to 3 mA, and the total capacitance to 400 pF.)

    The LSF is a passive switch, so it does not affect this calculation.

    I'd estimate that 10 m is too long, and that you need I²C buffers like the TCA9803 or TCA9617B.

  • Hi Clemens,

    Thanks a lot for your answer. 

    I have LSF series and P82B96 available for my design. As I mentioned, VOL on Sx,Sy of P82B96 limits me because I need the conversion from 1.5V to any of 1.5/1.8./2.5/3.3/5V. 

    Do you think that using LSF0102 along with P82B96 would work as in the following figure? 

    Reagrds,

    Selim 

  • The LSF is a passive switch, so it will not change the VOL of the P82B96. With only the LSF010x and the P82B96, you cannot solve this problem.

  • I know that the VOL of P82B96 will not change. I assumed that LSF0102 would have VIL around Vccx0.3 and the diagram would work when Vcc is 5V( yielding 1.5V VIL). But you are totally right this chip doesn’t provide this level. I checked TXS0102 as an alternative but it seems to have VIL max as 0.15V which is far below. 
    is there any other level translator that I can combine with P82B96 to overcome VOL issue? 
    Thanks,

    Selim 

  • Neither the LSF nor the TXS have switching thresholds. See [FAQ] Why are the TXS01xx VIH/VIL specifications so stringent?

    To change the VOL, you need an I²C buffer. See here for a search: ti.com/interface/i2c/level-shifters-buffers-and-hubs/products.html#2192=Buffer. But note that all buffers regarding a voltage offset or pull-up resistors.

  • Thanks a lot again. As you suggested, TCA9617B seems as best solution in our case.

    Just as an alternative solution in case we operate at a distance less than 10m, do you think that using only LSF0102 on both master and slave side with extra intermediate buffer boards using LSF0102 through short cables as in the following figure would work in the expected way? 

    We ensure that VrefB is always higher than VrefA for all LSF0102s. Firstly 1.5V low speed(around 10kHz) I2C signals from board1 are translated to 5V these signals are send through Cat5 cable to an intermediate board (or several depending on the achievable cable distance) and buffered with LSF0102 by translation from 5V to 5V. These signals are send through Cat5 cables to the board2 and translated to desirable voltage with another LSF0102.  

    Regards,

    Selim

  • The LSF is not a buffer; it's a passive switch. Inserting an LSF makes the VOL slightly worse because of the on-resistance of the switch.

  • Ok. I see that LSF series is not suitable for this application.

    Best way seems to be TCA9617B.

    Regards,

  • Hey Selim,

    If an additional buffer is needed, the TCA617B can be cascaded to further separate the capacitance associated with the 10m cable. Note that this can work as long as A side is connected to B side (and never B-side to B-side of the second device). See section 9.2.3 for more information on this implementation.

    Regards,

    Jack 

  • Hi Jack,

    Thanks for the additional info.

    I think this limitation of not being able to use B-side to B-side comes from VOL incompatibility between VOL and VIL of B side.

    When this occurs our application loses its ability to convert voltage level below 2.2V on B-side because B side can translate from 2.2V to 5.5V.

    Is there any other product like TCA9617B that provides lower level translations on B side?

    Thanks

  • Most I²C buffer have such a voltage offset.

    There are I²C buffers with a different mechanism, the TCA9800/1/2/3, but they do not work at 5 V (and have other restrictions).

  • Hi Clemens,

    I have following solution that enables me to carry my signals at 5V to have more noise immunity and provides me desired level translation at both ends. Do you think it is feasible? When TCA9517/9617s are cascaded, they ever see B sides of each other but they see A side on one end. VOL and VIL levels looks compatible when A sides are seeing each other. 

    Regards

  • Besides, I have following configuration which sends the signals at 3.3V but reduces number of ICs used. Our I2C clock frequency is really low and we can operate even at 1kHz. Can you share your thoughts of which of the shared two diagrams would be optimal?

    Regards,

    Selim 

  • Both diagrams do not work because the TCA9517 requires VCCA ≤ VCCB. (And in the first diagram, the TCA980x are not needed.)

    Please note that the B side of the TCA980x cannot be connected to the B side of any other TCA980x, to a port with voltage offset (such as the B side of the TCA9517), or to a voltage translator that is a passive switch (TXS, LSF, I²C muxes).

    The only buffer that supports all voltages between 1.5 V and 5 V and has no VCCA ≤ VCCB restriction is the TCA9517-Q1. Use it on board 2, as in the second diagram, and use the TCA980x on board 1, as in the second diagram, but with sides A and B exchanged. If you cannot remove the pull-ups from the master board, then I do not see any solution.

  • Thanks again

    1) The reason I used TCA980x on first diagram is to have all desired voltages(1.65V/1.8V/2.5V/3.3V) available both Board1 and Board2 since  the single use of TCA9517 on both sides does not provide 1.65V and 1.8V as an output on B side. This can be overcome with use of TCA9517-Q1 as you suggested. Then the configuration would be following:

    2) However, with suggested configuration, I am not able to carry signals at 5V over ethernet cable. TCA980x provides maximum 3.6V on SCL SDA while TCA9517 can go up to 5.5V. To be able to carry signals at 5V, following configuration was prepared taking into account VOL,VIL issues coming from the sides of each device. Since TCA908x does not require any VCCA-VCCB relation, I hope this configuration is foreseen to work. 

    Both of the two diagrams above use different ICs (1st diagram)on different ends or use differnt configurations of same ICS (diagram2). In diagram 2, ethernet cable sees A side of TCA9517 from one end and sees B side of diagram from other end. This makes it difficult to standardize it for general purpose.

    3) As a final diagram, since we want to have exactly same configuration on both Board1 and Board2 to standardize this configuration in case we use it as a module to plug&play on any board. Then I come up with following configuration that enables me to carry signals at 5V through TCA9517-Q1, and to use levels of 1.65V/1.8V/2.5V and 3.3V through B side of TCA980x on both boards. In this configuration, A sides of TCA9517-Q1s sees each other. Does this create any problem?I checked datasheet and VOL VIL levels look compatible. Do you think that this configuration is feasible? 

    If we manage to carry signals at 3.3V, we can exclude TCA9517-Q1 and use TCA980x on both board1 and board 2, with additional buffer board intermediate. Does this makes sense? Are we allowed to connect A sides of TCA980x by cables in case of short  distances?

    Many Thanks,

  • The A sides of the TCA980x and TCA9517 are normal I²C ports and have no restrictions.

    (I have doubts that adding extra buffers to have 5 V on the cable would be much of an improvement.)

  • But the configuration in diagram 3 would work as expected right? Also the other configurations on diagram 1 and 2 since there is no B sides facing each other VVCA-VCCB problem.

    Based on your doubts, do you think that would it be more reliable to remove TCA9517-Q1 and use only TCA980x as following:

    Regards,

    Selim 

  • Yes, both diagram 3 and the last diagram would work.

    I do not think that using 5 V would make it less reliable (although the additional buffers add propagation delay), but that it is just not needed.

  • Thanks a lot for your time and information provided.

    To be able to obtain lover voltage than 1.65V on B side, would it possible to use TCA9416 instead of TCA980x? I guess this would decrease the chance of operating over long cables because TCA9416 is only a translator without buffer option? Am I right?

  • Correct; the TCA9416 is a passive switch with integrated pull-up resistors.