SLVUC46D March 2021 – November 2023
The small tactile push button is typically used to reset the MCU Figure 2-2. Typically resetting the MCU is not necessary, however the MCU automatically clears the nFAULT indicator on initial power-up if the user finds the fault indicator is set due to cycling the power on the external supply. This is normal (nFAULT always comes up asserted on the DRV824x and DRV814x devices).
A jumper is installed shorting pins 1 and 2 on header J1 for the MCU reset function. If a firmware reset is necessary, then the push button is pressed once and released. Following a reset, a proper startup is indicated by the blinking STATUS LED. If the jumper is moved to pins 2 and 3 on J1, then this routes the button to a spare GPIO pin on the MSP430 MCU, and can be used for personal purposes in the firmware. Beginning with version 0.22 of the firmware, an interrupt subroutine (ISR) has been assigned to this GPIO input, and automatically puts the DRV824x device in PH/EN mode, and energize the output OUT1 terminal (or OUT terminal of the DRV814x device) at 25% duty cycle on the first press of the User button with a 12 V power supply connected to the connector J14, BAT+ and GND screw terminals and the Micro-USB connected. Pressing the button again disables the output. This can be repeated with the same on/ off behavior. The user can connect a brushed DC motor across OUT1 and OUT2 terminals of the DRV824x EVM or OUT and GND of the DRV814x EVM, or simply an oscilloscope.