Hi,
I am using yourMPU library for developing a motion application using MPU9250 with nRF52 SDK 14.2 on my custom_board.And in inv_mpu.c file, in int mpu_init(),in setup_compass(),mpu_set_bypass(1) is being called,as shown below,
int mpu_set_bypass(unsigned char bypass_on)
{
unsigned char tmp;
if (st.chip_cfg.bypass_mode == bypass_on)
return 0;
if (bypass_on) {
if (i2c_read(st.hw->addr, st.reg->user_ctrl, 1, &tmp)) // here inside i2c_read(),nrf_drv_twi_rx() is giving me error with err_code = 0x00000011, => NRF_ERROR_INVALID_DATA.
Can you please help me on this issue???