This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Migration from nrf_drv_twi to nrfx_twim


Hello

I have a custom board with nRF52840 and have migrated from TWI legacy driver to nrfx_twim. Im trying to communicate with accelerometer and gyroscope chip. 

With legacy driver all was working as expected, but with nrfx_twim i am getting err_code 16 when calling nrfx_twim_tx() function and it reads the wrong value from the who am i register. the value should be 6C but im getting E8. 

I cant find what error 16 means. Any ideas what i am missing here. 

-SDK 15.2.0

Thank you.

Parents Reply Children
No Data
Related