Hi,
I am trying to write a I2C read and write wrappers for Invensense MPU9250. Previously, I was using SDK11 and I don't have any issue with it. However, after porting the code into the new SDK nRF5_SDK_12.2.0_f012efa, i kept getting errors. However, the error did not surface immediately, it's after a short period of continuous reading then it surfaces. I have tried 2 type of TWI approaches.
- Using APP_TWI, I will get an internal error (code 3). Since I don't really need to use the scheduler, I tried to use the twi driver directly.
- Using the TWI driver, I get an error code of (0x00008201) which I am unsure on how to even decipher it. Hopefully, someone can help me to unravel this issue.
best regards