i2c4 bus dead on ls1023a

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i2c4 bus dead on ls1023a

891 Views
danlenz
Contributor II

We are using the ls1023a on a custom board derived from the ls1043ardb. 

my dtsi has:

i2c3: i2c@21b0000 {
compatible = "fsl,vf610-i2c";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0 0x21b0000 0x0 0x10000>;
interrupts = <0 59 0x4>;
clock-names = "i2c";
clocks = <&clockgen 4 0>;
dmas = <&edma0 1 41>,
<&edma0 1 40>;
dma-names = "tx", "rx";
status = "disabled";
};

my dts has:

&i2c3 {
   status = "okay";
   eeprom@57 {
      compatible = "at24,24c64";
      /* Address = 1010111b */
      reg = <0x57>;
   };
   tmp422@4c {
      compatible = "ti,tmp421";
      /* Address = 1001100b */
      reg = <0x4c>;
   };
};

I see the bus init OK:

   [ 1.721911] imx-i2c 21b0000.i2c: fsl-scl-gpio not found
   [ 1.727198] imx-i2c 21b0000.i2c: can't get pinctrl, bus recovery not supported
   [ 1.734625] i2c i2c-0: IMX I2C adapter registered
   [ 1.739382] i2c i2c-0: using dma0chan16 (tx) and dma0chan17 (rx) for DMA transfers

But the tmp421 driver can not read the chip:

   tmp421 0-004c: Could not read configuration register (-6)

I see no activity on the i2c4 bus (i2c4_scl at pin M3 and i2c4_sda at pin N3). I suspect that the pins are not enabled properly but I see no reference to these pin in RCW and the only thing I can find in the data sheet or users guide is the "Extended RCW PinMux Control Register" at 0x157040c which I am setting to 0x00000000.

Are there other settings that I am missing?

Thanks

Dan

0 Kudos
5 Replies

786 Views
ufedor
NXP Employee
NXP Employee

What is the processor's complete partnumber?

0 Kudos

786 Views
danlenz
Contributor II

Ls1023axn7qqb uycm1841

0 Kudos

786 Views
ufedor
NXP Employee
NXP Employee

There are no known errata corresponding to the described issue. Please doublecheck the i2c4 hardware configuration.
IIC4_SCL/IIC4_SDA can be used as I2C and can be accessed normally by setting only SCFG_RCWPMUXCR0.

0 Kudos

786 Views
danlenz
Contributor II

Ok thanks can you send more information on the errata please?

Dan.

0 Kudos

786 Views
ufedor
NXP Employee
NXP Employee

The Errata list document is confidential.

Please create a Technical Case to request it.

0 Kudos