10 Replies Latest reply on Sep 14, 2016 2:26 PM by Intel Corporation

    How to use I2C to communicate between Edison mini breakout board and Audio codec proto

    squaredn

      Hi all,

       

      I have a problem when using I2C to communicate between Edison mini breakout board and Audio codec proto: Audio Codec PROTO - Development Board with WM8731 Audio Codec. I read some threads on the forum about  using I2C . Based on these guide, I used pull up resistors (4.7kohm) and level shifter NS-LS4 (4ch Level Shift) for my configurarion. However when I use this command (i2cdetect -y -r 6) to detect the Audio codec devices, it doesn't work and shows errors:

           0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

      00:          -- -- -- -- -- -- -- -- -- -- -- -- --

      10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

      20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

      30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

      40: [ 1235.550244] i2c-designware-pci 0000:00:09.1: i2c_dw_handle_tx_abort: lost arbitration

      [ 1235.557560] i2c-designware-pci 0000:00:09.1: i2c_dw_handle_tx_abort: lost arbitration

      -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

      50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

      60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

      70: -- -- -- -- -- -- -- --

       

      The same errors happen when I use i2c-1: i2cdetect -y -r 1

      Anyone can help ?

       

      Thanks