Skip to content

I2C Bus Stuckness #1

@theGOTOguy

Description

@theGOTOguy

For the first time in a very long time, I got our classic "i2c bus stuckness," where every attempt to read anything from the I2C bus times out until the entire device is power cycled (not just rebooted).

I had thought that our I2C extender plus an aggressive pull-up resistor would fix this for good. Apparently it does not.

The question is now: can we provide a way to force-power cycle the device, or at least just the I2C bus, on the TopHat? For instance, can we mark two GPIO pins as "I2C reset" and then use those to completely power down the I2C bus when triggered?

It's not crystal-clear that this would work, but if @MetalCard can produce a breadboard prototype, even if it's just a transistor that lets us temporarly cut power to I2C through a GPIO pin, I can see if we can reset the bus that way.

Metadata

Metadata

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