I'm using the nRF Connect SDK on nrf5340dk and encountering issues when trying to use the non-blocking (asynchronous) I2C API.
i am particularly getting this error -ENOSYS while using this function : i2c_transfer_cb_dt()
When I switch from the blocking API to the non-blocking one, it starts giving errors or unexpected behavior. Could someone please help me understand the correct way to use non-blocking I2C in the SDK?
7851.nrf5340dk_nrf5340_cpuapp.overlay
-
Are there specific configurations or prerequisites required?
-
Any example of correct usage would be really helpful.
Thanks in advance!