Frequently Asked Questions

Is there a factory test procedure to verify the operation of the navX-Sensor products?
The navX-Sensor Factory Test Procedure verifies correct operation of the circuit board and it’s key components. The navX-Sensor Factory Test Procedure is performed in the factory to verify initial correct operation, and may be run at any later point in time to re-verify correct operation.

To prepare, install the latest navX-MXP firmware release.

Test Procedure

  1. Press the “Reset” button on the board to begin executing the firmware self-tests
    • Test1 (Reset Button Test): Verify that the “RESET” button successfully causes the software to restart
      • Failure indicates a problem w/the “RESET” button or associated pull-up resistor.
    • Test2 (Orange/Green LED Test): Verify all LEDs are working. The Orange “CAL” Led and the two Green “S1” and “S2” LEDs should turn on briefly after the firmware restarts.
      • Failure indicates a problem w/one or more of the LEDs or their corresponding current-limiting resistors.
    • Test3 (MPU-9250 Sensor Selftest): Sensor Selftest. NOTE: The circuit must be still, and it must have the top of the circuit board pointing directly up (away from the earth), in order to pass successfully. The first time (and only the first time) the board is started after firmware is reloaded, a self-test will run (for approximately 5 seconds). If this succeeds, proceed to Test 8. If this fails, the “CAL” Led will continue to flash quickly, and the selftest will be run again until it passes. If it succeeds, the software will proceed automatically to Test 8 (see below).
      • There are two possible reasons for failure of the self test:
        • Communication Failure over I2C bus to the MPU-9250. This case is identified by both green “S1” and “S2” LEDs being off while the orange “CAL” LED is flashing quickly.
        • Sensor not Still or not Flat – or Sensor Failure. This case is identified by the green “S2” LED being on while the orange “CAL” LED is flashing quickly. Be sure to hold the board still, and be sure the top of the circuit board points directly up (away from the earth). If the self-test still fails after verifying the board is still and flat for several seconds, this indicates a problem w/one or more of the sensors on the MPU-9250.
    • Test4 (MPU-9250 Calibration): Inertial Sensor Calibration. The first time the board is started after firmware is reloaded, and after the selftest has successfully passed, the firmware will perform inertial sensor calibration. Inertial sensor calibration executes for approximately 20 seconds. During this time, the sensor must be held still, and should be held flat, and the orange “CAL” LED will flash slowly. Once the calibration is complete, the orange “CAL” LED will turn off.
      • Failure of this test is due to the board not being held still. Re-run the test and be sure to hold the board still.
    • Test5 (Normal State): Once the MPU-9250 Selftest and MPU-9250 Calibration are complete, the Orange calibration LED should be OFF, and the S1 and S2 status LEDs should be on.
    • Test6 (MXP Power Connector Test): Remove the USB cable. Apply +5V DC to pin 1 of the 34-pin “MXP” connector on the bottom of the board, and GND to pin 6 of the same connector.
      • Verify the red “3.3V” LED comes on.
      • Failure indicates a problem w/the on-board op-amp, the N-Channel MOSFET, or the 34-pin connector.

navX-MXP LED States

Condition CAL (Orange) S1 (Green) S2 (Green)
Startup (1 second) On On On
Selftest/Accelerometer Calibration Fast Flash Off On
Gyro Calibration Slow Flash On On
Normal Off On On
  • Note: If the S1 LED is off during Gyro Calibration or Normal State, this indicates interrupts are not being received from the MPU-9250.
  • Note: If the S2 LED is off at any time except briefly after Startup, this indicates a problem communicating to the MPU-9250 from the STM32F4 over the I2C bus.

Last Updated 2 years ago

Please Wait!

Please wait... it will take a second!