# MPU9250 Breakout Self Test Fails

**URL:** <https://forums.pimoroni.com/t/mpu9250-breakout-self-test-fails/9505>\
**Category:** Support\
**Created:** [December 31, 2018, 10:29pm UTC](https://forums.pimoroni.com/t/mpu9250-breakout-self-test-fails/9505 "2018-12-31T22:29:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dominic](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@Dominic](https://forums.pimoroni.com/u/Dominic)\
**Post date:** [December 31, 2018, 10:29pm UTC](https://forums.pimoroni.com/t/mpu9250-breakout-self-test-fails/9505/1 "2018-12-31T22:29:56Z")

</div>

I connected up a sparkfun MPU9250 breakout board to a Raspberry pi zero I2C bus and ran an Invensense self-test routine. The results indicate that the MPU9250 chip on the breakout board test results are not within the threshold levels to pass the self test routine. The test results:

_Starting MPU6500 HWST!_

_Retrieving Biases_

_Starting Bias Loop Reads_

_Samples: 200_

_Accel offset data HWST bit=0: 0.1714 -0.0082 -0.8054_

_Gyro offset data HWST bit=0: -6.2532 -1.7453 -8.7000_

_Retrieving ST Biases_

_Starting Bias Loop Reads_

_Samples: 200_

_Accel offset data HWST bit=1: 0.2797 0.1369 -0.7094_

_Gyro offset data HWST bit=1: 13.5138 30.4868 35.4224_

_Accel OTP:98, 99, 118_

_ACCEL:CRITERIA A_

_Bias\_Shift=7100.0000, Bias\_Reg=11232.0000, Bias\_HWST=18332.0000_

_OTP value: 27512.0000_

_ratio=-0.7419, threshold= 0.5000_

_ACCEL Fail Axis = 0_

_Bias\_Shift=9514.0000, Bias\_Reg=-539.0000, Bias\_HWST=8975.0000_

_OTP value: 27784.0000_

_ratio=-0.6576, threshold= 0.5000_

_ACCEL Fail Axis = 1_

_Bias\_Shift=6295.0000, Bias\_Reg=-52783.0000, Bias\_HWST=-46488.0000_

_OTP value: 33568.0000_

_ratio=-0.8125, threshold= 0.5000_

_ACCEL Fail Axis = 2_

_Accel Self Test Results: 7_

_Gyro OTP:184, 194, 225_

_GYRO:CRITERIA A_

_Bias\_Shift=1295448.0000, Bias\_Reg=-409810.0000, Bias\_HWST=885638.0000_

_OTP value: 8096447.5000_

_ratio= 0.1600, threshold= 0.5000_

_Gyro Fail Axis = 0_

_Bias\_Shift=2112362.0000, Bias\_Reg=-114377.0000, Bias\_HWST=1997985.0000_

_OTP value: 8943913.0000_

_ratio= 0.2362, threshold= 0.5000_

_Gyro Fail Axis = 1_

_Bias\_Shift=2891605.0000, Bias\_Reg=-570163.0000, Bias\_HWST=2321442.0000_

_OTP value: 12175688.0000_

_ratio= 0.2375, threshold= 0.5000_

_Gyro Fail Axis = 2_

_Gyro Self Test Results: 7_

_Compass Self Test Results: 7_

_Exiting HWST_

_run\_self\_test result=0_

_Gyro failed._

_Accel failed._

_Compass failed._

Can anyone please advise what may be wrong?

Thanks.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [January 1, 2019, 9:37am UTC](https://forums.pimoroni.com/t/mpu9250-breakout-self-test-fails/9505/2 "2019-01-01T09:37:01Z")

</div>

Wired up to 3.3v and not 5v right?  
Where did you get the file your running?  
I ask because all I see is Arduino code in the links for that board?
