This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I2C and Raspberry Pi5
#1
Has anyone else noticed that the Pi5 does not seem to be as good as the Pi4 with I2C? It seems not to tolerate much more than about 200 mm of a wire run or a large number of devices. As I added more devices the length of the run needed to be shorter.

Adding an Adafruit LTC 4311 Active I2C terminator resolved the issue.
Reply
#2
(2024-02-24, 03:48 AM)Opie91 Wrote: Has anyone else noticed that the Pi5 does not seem to be as good as the Pi4 with I2C? It seems not to tolerate much more than about 200 mm of a wire run or a large number of devices. As I added more devices the length of the run needed to be shorter.

Adding an Adafruit LTC 4311 Active I2C terminator resolved the issue.

Great info, Thanks

Just curious, what devices are you running?
Reply
#3
Running MPU9250, ADS1115, INA3221 and BME280.

Everything I read here and on other forums says not to expect much out of the I2C for distance but never had a problem before. The LTC 4311 seems to make a big difference and it doesn't break the bank.
Reply
#4
As a quick fix for electronics tinkerers, adding extra pull-up resistors to SCL and SDA may also resolve I2C issues.

Typically, I2C sensor boards have on-board resistors. But they may be too weak (large resistance value) for long wires and/or faster bus speeds. Adding pull-up resistors from the I2C lines to 3.3V will reduce the total pull-up resistance (more resistors in parallel), making the pull-up speed faster. I'd start with adding 4.7kohm, and if that doesn't work try 1k. I wouldn't go lower than that.

The technical background is explained in this video:
https://www.youtube.com/watch?v=n2eaY51rkJQ
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)