I2C ERROR IN UBOOT

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I2C ERROR IN UBOOT

1,332件の閲覧回数
sd05
Contributor III

I am using a iMx8mm processor based product and I have a fuelgauge IC MAX1720x interfaced on i2c bus 3.

Everything is working fine in kernel but in u-boot getting these error when I am trying to read the fuelgauge registers using i2c

Setting bus to 3
Valid chip addresses:
before modification
wait_for_sr_state: failed sr=0 cr=98 state=202
Error reading the chip: -110
wait_for_sr_state: Arbitration lost sr=b2 cr=b8 state=202
i2c_init_transfer: failed for chip 0xa retry=0
wait_for_sr_state: failed sr=0 cr=98 state=202
Error writing the chip: -110
after modification
wait_for_sr_state: Arbitration lost sr=b2 cr=b8 state=202
i2c_init_transfer: failed for chip 0xa retry=0
wait_for_sr_state: failed sr=0 cr=98 state=202
Error reading the chip: -110
before modification
wait_for_sr_state: Arbitration lost sr=b2 cr=b8 state=202
i2c_init_transfer: failed for chip 0xa retry=0
wait_for_sr_state: failed sr=0 cr=98 state=202
Error reading the chip: -110
wait_for_sr_state: Arbitration lost sr=b2 cr=b8 state=202
i2c_init_transfer: failed for chip 0xa retry=0
wait_for_sr_state: failed sr=0 cr=98 state=202
Error writing the chip: -110
after modification
wait_for_sr_state: Arbitration lost sr=b2 cr=b8 state=202
i2c_init_transfer: failed for chip 0xa retry=0
wait_for_sr_state: failed sr=0 cr=98 state=202
Error reading the chip: -110
before modification
wait_for_sr_state: Arbitration lost sr=b2 cr=b8 state=202
i2c_init_transfer: failed for chip 0xa retry=0
wait_for_sr_state: failed sr=0 cr=98 state=202
Error reading the chip: -110
wait_for_sr_state: Arbitration lost sr=b2 cr=b8 state=202
i2c_init_transfer: failed for chip 0xa retry=0
wait_for_sr_state: failed sr=0 cr=98 state=202
Error writing the chip: -110
after modification
wait_for_sr_state: Arbitration lost sr=b2 cr=b8 state=202
i2c_init_transfer: failed for chip 0xa retry=0
wait_for_sr_state: failed sr=0 cr=98 state=202
Error reading the chip: -110
before modification
wait_for_sr_state: Arbitration lost sr=b2 cr=b8 state=202
i2c_init_transfer: failed for chip 0xa retry=0
wait_for_sr_state: failed sr=0 cr=98 state=202
Error reading the chip: -110
wait_for_sr_state: Arbitration lost sr=b2 cr=b8 state=202
i2c_init_transfer: failed for chip 0xa retry=0
wait_for_sr_state: Arbitration lost sr=13 cr=98 state=202
Error writing the chip: -85
after modification
wait_for_sr_state: failed sr=0 cr=98 state=202
Error reading the chip: -110

ラベル(1)
0 件の賞賛
2 返答(返信)

398件の閲覧回数
yellapu_anishkh
Contributor IV

We are facing similar issue. Did you resolved the same ?

0 件の賞賛

1,324件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Sunidhi

 

one can check if SION bit is set for i2c signals, described for example in sect.8.2.5.133 Pad Mux Register
(IOMUXC_SW_MUX_CTL_PAD_I2C3_SCL) and check signals with oscilloscope

i.MX 8M Mini Applications Processor Reference Manual

 

Best regards
igor

0 件の賞賛