2
\$\begingroup\$

My I2C sensor and my embedded processor do not agree on the logic level. So I need a level shifter. Normally I would put a pair of pull-up resistors on the SDA/SCL lines. With the level shifter in the middle, do I need to provide pull-up resistors on both side? Or can it be either side?

\$\endgroup\$
  • 1
    \$\begingroup\$ Depends on the shifter. What implementation are you using? \$\endgroup\$ – Samuel Nov 17 '15 at 23:31
  • \$\begingroup\$ I am using TI's txs0104e - ti.com/lit/ds/symlink/txs0104e.pdf \$\endgroup\$ – Adam Lee Nov 17 '15 at 23:34
  • 3
    \$\begingroup\$ Reading the datasheet you supplied you'll see that device has 10kΩ pullup resistors integrated into it. You don't need to add any. \$\endgroup\$ – Samuel Nov 17 '15 at 23:41
  • 2
    \$\begingroup\$ thanks. You can post your comment as an answer and I will vote for it! \$\endgroup\$ – Adam Lee Nov 17 '15 at 23:45
6
\$\begingroup\$

Neither side, in this case.

Reading the datasheet you supplied you'll see that device has 10kΩ pullup resistors integrated into it.

You don't need to add any.

For other implementations, it may be required to add a pullup to one or both sides. Always read the datasheet, the answers are usually there.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.