Bug 6927 - I2C Controller Intermittently Timeout and Lost Arbitration
Summary: I2C Controller Intermittently Timeout and Lost Arbitration
Status: RESOLVED MOVED
Alias: None
Product: MinnowBoard MAX
Classification: Hardware Platforms
Component: hw-minnowmax (show other bugs)
Version: unspecified
Hardware: MinnowBoard Max x86
: Medium+ major
Target Milestone: A4 Release
Assignee: David Anders
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-11-04 06:56 UTC by chinkhor72
Modified: 2017-06-13 18:06 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
i2c trace for lost arbitration issue (168.50 KB, image/pjpeg)
2014-11-04 06:56 UTC, chinkhor72
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description chinkhor72 2014-11-04 06:56:10 UTC
Created attachment 2224 [details]
i2c trace for lost arbitration issue

Platform: MinnowMax
Component: I2C
Usage: use I2C to control audio codec and D-Amp

Analysis:
According to i2c bus specification (http://i2c.info/i2c-bus-specification), the SDA shall change [state] during SCL low as showed in the picture below. We did manage to capture the trace when the issue occurred (see attachments). The oscilloscope trace shows the SDA changed [state] when SCL was rising edge. We suspected this might have caused the “No ACK” was detected at master whereas the slave actually was responding “ACK”. As a result, the master no longer supplied clock and the slave kept on waiting for clock and holding the SDA line and caused stall.

We also managed to reproduce the I2C Lost Arbitration Issue on MinnowMax using 3rd party commercial product (I2C Test Board NXP OM6275 available at http://www.nxp.com/demoboard/OM6275.html). Recommend to use NXP OM6275 to reproduce the problem for further investigation.

Observation for the issue when using NXP OM6275 
(1) The issue is not seen if the supply power is from MinnowBoard through the on board USB port. The failure is reproducible when the NXP OM6275 is connected to external source such as Laptop USB port or external power supply to JP1-Pin 1 (V+) of the OM6275.
(2)The issue is not seen if oscilloscope is connected to capture the trace
Comment 1 David Anders 2014-12-18 22:07:00 UTC
i2c interface has been updated with a dedicate i2c level shift PCA9306, design review complete, ready to order prototypes.
Comment 2 Michael Halstead 2015-01-12 21:37:30 UTC
Updating assignee to new office e-mail address.
Comment 3 Stephen K Jolley 2017-06-13 18:06:56 UTC
We are no longer tracking in Yocto Project Bugzilla MinnowBoard and MinnowBoard-MAX HW and firmware bugs.