hello,
Hi,
When you're using asynchronous (ie. a twi_handler has been defined) mode in the driver, you should wait for the previous transaction to complete.
If you add "DEBUG" to the preprocessor define symbols, you should be able to get more detailed information on where the issue occurred.
Could you add this, recompile and run again?
Kind regards,
Håkon
Hello,
Hi,
Did you try to run the twi_scanner example to see if it is able to detect an external device?
Kind regards,
Håkon
Hi,
Did you try to run the twi_scanner example to see if it is able to detect an external device?
Kind regards,
Håkon
Hello,
I tried.
Hi,
Did you remember to change the pins to the correct GPIOs?
Which GPIOs are you using as SDA/SCL?
Kind regards,
Håkon
Hello,
Hi,
I would recommend that you check your physical connection from the nRF to the sensor, check that the sensor has power etc.
If the SDA/SCL lines are transmitting data, and the sensor does not answer; it points towards a electrical issue in the setup.
Kind regards,
Håkon