Application Note 1829
24
AN1829.0
March 14, 2013
Test Mode
To validate the correct performance of the HIP4086 demo board,
a built-in test procedure can be used to verify that the board is
fully functional. A 50V, 200mA lab supply and an oscilloscope
are necessary to perform this test. No motor is required and
should not be connected. Each individual test section must be
valid before proceeding to the next step. Stop testing at any
failure.
Test Mode Setup
1. Connect a ~75mm (3 inch) wire to the GND terminal close to
the HA, HB, HC terminal block.
2. Setup a scope with the vertical scale = 20V/div and the time
base = 10µs/div. Three probes are recommended but not
absolutely necessary.
3. Adjust the lab supply to 50VDC and 200mA current limit.
4. With the lab supply turn off, connect to the +BATT and -BATT
terminal inputs of the HIP4086DEMO1Z board.
5. Set dip switch positions 1 through 4 to on.
6. While pressing simultaneously the BRAKE and REVERSE push
buttons, turn on the lab supply.
7. If led0 and led3 are flashing or if no LEDs are on, the test
mode was not initiated correctly, the board is faulty or the
microcontroller is not programmed. To confirm, restart the
test mode setup. If one or more LEDS are on without flashing,
the test mode is now active. At this point the binary
combination of the on LEDs indicates the version number of
the firmware (see Figure 25). Figure 26 shows other examples
of faulty setup or failed test results.
Push-button Test
1. Press the START/STOP button. All four LEDs should turn on.
2. Press again the START/STOP button. Led0 should turn off.
3. Press the REVERSE button. Led1 should turn off.
4. Press the BRAKE button. Led2 should turn off.
5. Press again the BRAKE button. Led3 should turn off. At this
point all four LEDs are off and correct operation of the push
buttons is confirmed.
Hall Inputs and Bridge Tests
MA OUTPUT TEST
1. Using the 75mm wire, short the HA terminal input to ground.
LED0 should turn on.
2. While the HA input is grounded, observe the following
waveforms in Figure 27, on the MA, MB, and MC terminals.
led0
led1
led2
led3
Code version 1
led0
led1
led2
led3
Code version 2
led0
led1
led2
led3
Code version 3
led0
led1
led2
led3
Code version 4
led0
led1
led2
led3
Code version 5
led0
led1
led2
led3
Code version 6
led0
led1
led2
led3
Code version 15
led0
led1
led2
led3
Code version 7
led0
led1
led2
led3
Code version 8
led0
led1
led2
led3
Code version 9
Note that the LEDs are binary encoded.
led3
led2
led1
led0
FIGURE 25. CODE VERSION NUMBERS
led1
led2
invalid test mode
configuration
current monitor
test failure
red arrows
indicate a flashing LED
led3
led2
led1
led0
led3
led0
successful test
Mode completion
led1
led2
led3
led0
blue arrows
indicate the movement of the flashing LED
led1
led2
led3
led0
valid test mode
startup, no flashing
FIGURE 26. EXAMPLES OF LED TEST STATUS
MA
MB
MC
FIGURE 27. WAVEFORMS ON MA, MB, and MC WITH HA GROUNDED