Skip to contentSkip to conversation

i2c device hangs the whole bus, recovery ?

DISCUSSION Daniel Walker 1 participant 1 message Apr 14, 2016 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

Hi all,

We have a pca954x MUX and connected to this is some devices. We have one device connected to the MUX which goes bad, and when we try to communicate with the bad device (we don't know it's bad yet) , it causes one of the i2c lines to go low and makes it impossible to connect with any of the other devices on the bus.

I don't know how common this type of situation is, but I thought I would ask here how people would recover from this condition ? Is there a standard way to do it, or is the standard way to reboot the machine ?

I think ideally I would like to be able to detect that something is wrong, and black list the device, and recover if possible.

Any suggestions appreciated,

Daniel