Hello punitjain8695,
Fault_ISR is interrupt handler issue, not our API issue I guess.
If you want to read accel and gyro both please do as below.
struct bmi2_sensor_data sensor_data[2] = { 0, };
sensor_data[0].type = BMI2_ACCEL; sensor_data[1].type = BMI2_GYRO; bmi2_get_sensor_data(sensor_data, 2, &bmi2);
And you don't need to convert all if you don't need.
Thanks,
... View more