2nd I2C Bus Occasionally Fails

figsys
figsys New Member Posts: 5

Have been running Ubilinux and MRAA 1.9.0 and using both I2C ports to talk to 2 seperate devices (1 per I2C bus). However, occasionally the second I2C (on pins 27/28) fails on typically first read operation - here's the error in the journal file

Jul 12 19:08:54 ubilinux4 libmraa[1880]: i2c_init: Selected bus 1
Jul 12 19:08:54 ubilinux4 libmraa[1880]: i2c0: write_byte: Access error: Remote I/O error

Normal operation is something like this

Jul 12 19:49:27 ubilinux4 libmraa[4334]: Adding i2c bus found on i2c-1 on adapter .
Jul 12 19:49:27 ubilinux4 libmraa[4334]: Adding i2c bus found on i2c-0 on adapter .
Jul 12 19:49:27 ubilinux4 libmraa[4334]: i2c_init: Selected bus 0
Jul 12 19:49:27 ubilinux4 libmraa[4334]: i2c_init: Selected bus 1

Need a restart to get this to work. Anyone else experience this issue or has used both buses with no issues? Anything else to look for to troubleshoot?

Comments

Privacy Policy