If I recall the error handling logic is largely missing for the I2C in
interrupt mode. I added some more to improve the situation for polled mode.
Have you tried that?

--Brennan

On Sat, Jan 9, 2021, 7:34 PM Matias N. <mat...@imap.cc> wrote:

> Hi,
>
> I'm having a hard time getting I2C working on nRF52840, the I2C read
> operation seems to hang (never reaches ISR). Depending on which set of pins
> (connected to different I2C device) it either hangs on TXSTARTED or I see
> the ERROR event set to 0x1. Since this is on a closed device I cannot
> verify signals so I'm not sure if I'm making a mistake or the I2C code is
> faulty. Anyone currently using I2C on this chip with code from master?
>
> Best,
> Matias

Reply via email to