Functional description
L6472
30/70
DocID022729 Rev 5
On exiting standby mode the bridges are disabled (HiZ flag high) and whichever motion
command causes the device to exit High Z state (HardStop and SoftStop included).
Warning:
It is not recommended to reset the device when outputs are
active. The device should be switched to high-impedance
state before being reset.
6.13
External switch (SW pin)
The SW input is internally pulled-up to V
DD
and detects if the pin is open or connected to
ground (see
).
The SW_F bit of the STATUS register indicates if the switch is open (‘0’) or closed (‘1’) (see
); the bit value is refreshed at every system clock cycle (125 ns).
The SW_EVN flag of the STATUS register is raised when a switch turn-on event (SW input
falling edge) is detected (see
). A GetStatus command releases the SW_EVN
flag (see
).
By default a switch turn-on event causes a HardStop interrupt (SW_MODE bit of the
CONFIG register set to ‘0’). Otherwise (SW_MODE bit of the CONFIG register set to ‘1’),
switch input events do not cause interrupts and the switch status information is at the user’s
disposal (see
).
The switch input can be used by the GoUntil and ReleaseSW commands as described in
If the SW input is not used, it should be connected to VDD.
6.14
Programmable DMOS slew rate, deadtime and blanking time
Using the POW_SR parameter in the CONFIG register, it is possible to set the commutation
speed of the power bridge output (see
).
Figure 12. External switch connection