Hello,
I am using nRF52840 microcontroller to communicate with an external integrated circuit, through I2C peripheral.
The project is using the latest Nordic SDK: more in detail, the library used for communication is nrf_drv_twi.c/.h (TWI used as master, based on SDK examples).
I can easily communicate to the slave I2C device with write procedures.
Instead, I have difficulties performing read procedures since the protocol required by the slave device is as follows:
I have tried using different combinations of nrf_drv_twi_rx() and nrf_drv_twi_tx() functions but I don't get a byte sequence as the one in the figure above (checked with i2c sniffer).
Do you think is possible to implement the sequence that I need using the APIs provided by the SDK?
Thanks!