Skip to main content
edited title
Link
tlfong01
  • 4.8k
  • 3
  • 11
  • 24

Random i2c SDA Using bypass capacitors to reduce voltage spikes (bit flip)and noise causing I2C read/write errors

Tweeted twitter.com/StackRaspi/status/1149830801758048256
edited tags
Source Link
vaid
  • 371
  • 4
  • 13

I'm trying to communicate with an old i2c device and I'm getting wrong read values, and possibly even some incorrect write values too.

My logic analyzer shows random highs in the middle of a low.

This happens mostly on software i2c but I get incorrect reads on the hardware i2c too.

What could cause these spikes?

Here's an illustration. Look at the end of the second byte (C0) enter image description here

Edit: This seems very related: https://www.raspberrypi.org/forums/viewtopic.php?t=223056

I'm trying to communicate with an old i2c device and I'm getting wrong read values, and possibly even some incorrect write values too.

My logic analyzer shows random highs in the middle of a low.

This happens mostly on software i2c but I get incorrect reads on the hardware i2c too.

What could cause these spikes?

Here's an illustration. Look at the end of the second byte (C0) enter image description here

I'm trying to communicate with an old i2c device and I'm getting wrong read values, and possibly even some incorrect write values too.

My logic analyzer shows random highs in the middle of a low.

This happens mostly on software i2c but I get incorrect reads on the hardware i2c too.

What could cause these spikes?

Here's an illustration. Look at the end of the second byte (C0) enter image description here

Edit: This seems very related: https://www.raspberrypi.org/forums/viewtopic.php?t=223056

edited tags
Link
vaid
  • 371
  • 4
  • 13

Random i2c SDA spikes (bit flip)

Source Link
vaid
  • 371
  • 4
  • 13
Loading