Re: I2c problem on 96b Carbon.
Yannis Damigos
Hi,
On Fri, Aug 4, 2017 at 12:27 AM, Iñaki Malerba <inakimmalerba@...> wrote: Hi everyone!You are right, the first `if` with `data.len = 1` should be nack and not ack (probably I made a typo during driver development). In case a single byte has to be received, the Acknowledge disable is made before ADDR flag is cleared. Could you test the I2C read both in polling and interrupt mode with the following branch? I only have a slave I2C display which supports only write operations and I cannot test it myself. https://github.com/ydamigos/zephyr/commits/i2c-read If everything works fine, I will create a PR to fix it. It doesnt generate the stop bit either because the burst read setsYannis
|
|