AnsweredAssumed Answered

LS1046 I2C problem

Question asked by Gabor Kocsis on Dec 18, 2018
Latest reply on Dec 19, 2018 by ufedor

Hello Everybody,

 

We have made our own custom board based on a LS1046A. LS1046A has four I2C buses. The first works well, but the other three doesn't. In the RCW I've set the appropriate bits to their proper values (Bits 445-447, IIC_EXT field).

Despite of this the I2C2 / I2C3 / I2C4 doesn't work. In the U-BOOT I tried to scan the I2C buses. On the I2C1 the installed devices can be seen, but on the others they can't  be seen.

 

On the I2C buses we have installed some temperature sensors, their addresses are setup correctly, there can't be address conflicts.

 

For example I tried the followings:

=> i2c dev 2
Setting bus to 2
=> i2c probe
Valid chip addresses:wait_for_sr_state: Arbitration lost sr=92 cr=0 state=2020
i2c_init_transfer: failed for chip 0x0 retry=0
wait_for_sr_state: Arbitration lost sr=92 cr=0 state=2020
i2c_init_transfer: failed for chip 0x0 retry=1
wait_for_sr_state: Arbitration lost sr=92 cr=0 state=2020
i2c_init_transfer: failed for chip 0x0 retry=2
i2c_init_transfer: give up i2c_regs=0x21a0000

 

Where do I have to setup something?

(I've read the QorIQ-SDK-2.0-1703 but I couldn't find relevant info for this problem)

 

Thanks in advance,

Gabor

Outcomes