2nd I2C Bus Occasionally Fails
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
-
Hi @figsys ,
1) What is the BIOS version you are using there?
2) Did you install the last Ubilinux version including the MRAA? https://emutex.com/products/ubilinux
2) Did you see that issue using only one port at the same time?Thank you!
-
1) What is the BIOS version you are using there?
2) Did you install the last Ubilinux version including the MRAA? https://emutex.com/products/ubilinux
2) Did you see that issue using only one port at the same time?Thank you!
BIOS Revision 5.11
Linux version 4.9.45-ubilinux+
MRAA Version: v1.9.0-48-gc563e4fIssue never happens when running only port 0. Also happens when running only port 1 but most of our failure data is for running both ports.
Thanks!
Tagged
Categories
- All Categories
- 63 Announcements & News
- 48 Product News - New Product/Product Change Notice/ End-of-life
- 96 Welcome Developers!
- 45 Unboxing & Project Sharing
- 22 Tech Updates
- 3.4K UP Products
- 15 UP 7000
- 1 UP Squared i12
- 11 UP Xtreme i12
- 13 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 23 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 56 UP Squared Pro
- 136 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 264 Starter Kits & Peripheral