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

nRF52 TWI Start Condition and MPU9250

I'm trying to use nRF52 twi with the MPU 9250, I consistently get NACK responses from the 9250. I have the 9250 working with an Arduino.

The function I'm trying to use to transfer using twi is nrf_drv_twi_tx.

When using a logic analyzer on the nRF52 the start condition doesn't quite look right, SDA seems to go high at the same time as SCL goes low in the TWI start condition. I compared this to the Arduino start condition and the timing looks a little different.

Is there a way to lengthen the timing of the start condition for twi transfers? Below is the logic analyzer diagram.

Screen Shot 2016-10-21 at 5.48.22 PM.png

Related