Dear All,
I'm using Zephyr to configure a nrf9160 as I2C master and the OPT3002 light sensor as I2C slave.
The OPT3002 has a 16bit configuration register, which I need to write to.
For this I use i2c_burst_write(), which works fine on the nrf52 series (nrf52840 & nrf52833), with I2C_0. I can write to the register and read correct light intensity values.
However, on the nrf9160, with I2C_2, I can read the registers fine, but not write to them properly. This means I cannot get the sensor out of power down mode and therefore not read any sensor values.
Now I have seen this issue with burst_write and I should probably use another i2c write function.
However, I would like to know what the difference is between the nrf52 and nrf9160, that causes this issue to only happen on the nrf9160.
Do you have any idea what causes this difference?
Kind regards,
Maaike



