You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As detailed in this thread (https://forums.raspberrypi.com/viewtopic.php?p=2187613#p2187613), the new Pi 5 I2C timing doesn't adhere to the specification. In particular, the SDA line should not start to change until the SCL line has dropped below the 30% level (i.e. become a clear digital low).
There's now a Pull Request that should help with the I2C timing. See #5916.
There should be a test build available in the next 45 minutes (it should definitely be done by 1900 GMT). After that, run "sudo rpi-update pulls/5916" to install it. However:
It's beta software, so should be used with caution.
It's a 6.6 kernel, which might be too big a change for you.
It's only a Device Tree change, so a full kernel install is overkill.
Activity
i2c: designware: Add a safe SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
pelwell commentedon Jan 31, 2024
There's now a Pull Request that should help with the I2C timing. See #5916.
There should be a test build available in the next 45 minutes (it should definitely be done by 1900 GMT). After that, run "sudo rpi-update pulls/5916" to install it. However:
Alternatively, download just the updated Pi 5 dtb file from here: https://drive.google.com/file/d/1NGJsJoeFf_K8mVi0lNjO6FIPEOYj9lvf/view?usp=sharing
Copy it to /boot/firmware/ (or just /boot on an older image), reboot, and see how you get on.
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
dgedgedge commentedon Feb 4, 2024
This patch correctes our issue.
I did put a scope on the I2C bus, there is now a 300ns TsuDAT/ThDAT guard on the signal.
See discussion on forum https://forums.raspberrypi.com/viewtopic.php?p=2187613#p2187613
Sorry for the answer delay.
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
1 remaining item
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time
ARM: dts: rp1: Add a safe I2C SDA hold time