"NRF_DRV_TWI_EVT_ADDRESS_NACK" returned ,when I used I2C to write to the sensor.

Hi, 

I want to read the data from the acceleration sensor by I2C. Several days ago, I added the code about twi bus to "ble_app_template" example , it worked well. But today, I added the same code to "ble_app_hrs_pca10040_s132" example, tried to test whether it could be successful, but  "NRF_DRV_TWI_EVT_ADDRESS_NACK" returned this time,  strangely I used the same code realted to twi bus and the same hardware in two tests(ble_app_template and ble_app_hrs ). 

I use SDK15.0, s132 v6.0.

I was very confused about this, please help,thanks.

best regards,

Jerry

Related