MPU9250 self test fails

By jerha202 , 3 March 2016

Hello,

The self test fails consistently for the gyro and accelerometer on all my boards with MPU9250, but other than that, the sensors seem to work fine and all sensors give me reasonable values on all axes. What could be the reason?

Details: I run run_self_test() just as implemented in mllite_test.c for the msp430 microcontroller. I have defined MPU9250 so it's the right self test function I'm calling. mpu_run_6500_self_test() returns 4, indicating that the compass self test succeeded but the gyro and accelerometer tests failed. Going into details, the accelerometer test yields the following values:

st_shift_ratio[0] = -0.1663974
st_shift_ratio[1] = 0.2156174
st_shift_ratio[2] = 0.02052915
These should be within [-0.5, 0.5] so all is good here. Then:

bias_regular[0] = 6240
bias_regular[1] = -1036
bias_regular[2] = -58675
These should be within [-32768, 32768], so the Z axis has failed.

The gyro test yields:

st_shift_ratio[0] = 0.6366832
st_shift_ratio[1] = 0.3693592
st_shift_ratio[2] = 0.3747216
These should be above 0.5, so both Y and Z axes have failed.

What does this tell me? Are the chips damaged, have they been mounted incorrectly on my board, or have I interfaced with them incorrectly?

phpbb Topic ID
33499