|
AMIS-30421 Datasheet, PDF (24/41 Pages) ON Semiconductor – Micro-Stepping Stepper Motor Bridge Controller | |||
|
◁ |
AMISâ30421
VBB
t
VERRb
t
Charge Pump Failure
during start up
Charge Pump Failure longer than 250 us
due to slow voltage slope Error is latched.
Figure 23. Charge Pump Failure
Watchdog
When VBB is applied, the WDbâpin is kept low for tpor
(Table 5). This can for instance be used to reset an external
microcontroller at power up.
The WDbâpin also has a second function, a Watchdog
function. When the watchdog is enabled (<WDEN> = â1â),
a timer will start counting up. When the counter reaches a
certain value (<WDT[3:0]>), the <WD> SPI bit will be set
and the WDbâpin will be pulled low for a time equal to tPOR
to reset the external microcontroller. To avoid that the
microcontroller gets reset, the microcontroller needs to
reâenable the watchdog before the count value is reached (=
write â1â to <WDEN> before <WDT[3:0]> is reached). This
functionality can be used to reset a âstuckâ microcontroller.
The SPI bit <WD> can be used to detect a cold or warm
boot. When powering the application (cold boot), <WD>
will be zero. If the microcontroller has been reset by the
WDbâpin (warm boot), <WD> bit will be â1â. The
microcontroller can use this information to detect a cold or
warm boot.
Itâs forbidden to reâenable the watchdog too fast
(minimum time between reâenabling must be above tWDPR
(see Figure 4)). One may also not enable the watchdog too
fast after power up (see tDSPI, Figure 4).
A small analogue filter avoids resetting due to spikes or
noise on the VDD supply (trf).
During and after power up the WDbâpin is an open drain
output. One can change this to a pushâpull output by using
SPI bit <IO_OT>.
Error Output
The error output (ERRbâpin) will be activated if an error
is reported. Next errors will be reported:
⢠Thermal Warning
⢠Thermal Shutdown
⢠Overcurrent
⢠Open Coil
⢠Charge Pump Failure
⢠All errors except a Thermal Warning will disable the
Hâbridge drivers to protect the motor driver
(<MOTEN> = â0â). To reset the error one needs to read
out the error. Only when all errors are reset it will be
possible to reâenable the motor driver (<MOTEN> =
â1â).
Keep in mind that during power up a charge pump failure
will be reported during the first 250us but will not be latched
(see also Charge Pump Failure).
During and after power up the ERRbâpin is an open drain
output. One can change this to a pushâpull output with SPI
bit <IO_OT>.
http://onsemi.com
24
|
▷ |