Skip to content

Transmitting data on one I2C bus causes garbage to appear on second I2C bus #243

Closed

Description

@rfmerrill

This is from a fresh raspbian install with the latest image.

Make sure the I2C module isn't blacklisted
modprobe i2c-dev

Compile and run this: http://shiranui.lt3m.com/i2cspam.c
like: ./i2cspam /dev/i2c-0

Then do i2cdetect -a -y 1

Random addresses will show as present on whichever I2C bus you're /not/ transmitting on. This also causes confusion and deadlocks when you try to transmit on both I2C buses at once.

I have probed around on the board with a scope and there does not seem to be any kind of noise appearing on the I2C bus external to the chip, so this is either a driver bug or a board layout issue that is way harder to detect.

This test works at the default baud rate, and it works even if nothing is connected to either I2C bus.

Activity

  1. cbeytas commented on Jul 22, 2013

    @cbeytas

    I'd like to try this but that link is broken. Can you fix it?

  2. popcornmix commented on Dec 29, 2014

    @popcornmix
    Collaborator

    Closing issue since there has been no activity for more than 2 months. Reopen if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions