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

generate NRF_TWIM_EVENT_ERROR when I2C finish TX

HI team,

I use the S132 ,SDK_12.3.0 , nrf52832 PCA10040 v1.1.1 develop board. I met a problem when I do experiment with twi_sensor example code.When nrf52832 finished transfering data to sensor throug I2C. It will generate a error named NRF_TWIM_EVENT_ERROR in irq_handler_twim() function. I hope I can gain some guidace from you guys.thanks.

static void irq_handler_twim(NRF_TWIM_Type * p_twim, twi_control_block_t * p_cb) { ASSERT(p_cb->handler);

  if (nrf_twim_event_check(p_twim, NRF_TWIM_EVENT_ERROR))
Related