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

Why I I got "NRF_DRV_TWI_EVT_DATA_NACK" when try to call "nrf_drv_twi_tx" in another function??

In the main function, this works.

Works ..

Not works, I got NRF_DRV_TWI_EVT_DATA_NACK error..

and I cannot call "nrf_drv_twi_tx" in the timer event handler function? When I try to call "nrf_drv_twi_tx" in the timer event handler (for requesting data from SHTx sensor),

I got same error, NRF_DRV_TWI_EVT_DATA_NACK . 

Parents Reply Children