Re: [PATCH v2 2/3] i2c: imx: Check for I2SR_IAL after every byte
From: Christian Eggers
Date: Mon Oct 05 2020 - 05:26:08 EST
On Monday, 5 October 2020, 10:07:25 CEST, Krzysztof Kozlowski wrote:
> The I2C on Vybrid VF500 still works fine. I did not test this actual
> condition (arbitration) but only a regular I2C driver (BQ27xxx fuel
> gauge). Obviously this only proves that regular operation is not
> broken...
thank you very much for testing on Vybrid.
> Alternatively if you have a specific testing procedure (reproduction of
> a problem), please share.
The IAL errors happen due to noise on our I2C bus. We have our power supply
connected via I2C. The hardware designers wanted to make sure that no
high currents flow through the ground pins of the I2C interface. So they added
a series resistor (30 Ohm) in the GND line between the power supply and the
i.MX board.
If you have an I2C device on an external PCB, adding some small series
resistance in the GND line may cause IAL errors. On the other hand, if
everything else works fine, also handling if IAL should work on Vybrid.
> Best regards,
> Krzysztof
Best regards
Christian