Datasheet

Functional description L6472
30/70 DocID022729 Rev 3
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 Figure 13).
The SW_F bit of the STATUS register indicates if the switch is open (‘0’) or closed (‘1’) (see
Section 9.1.19 on page 52); 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 Section 9.1.19). A GetStatus command releases the SW_EVN
flag (see Section 9.2.20 on page 63).
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 Table 26 on page 50).
The switch input can be used by the GoUntil and ReleaseSW commands as described in
Section 9.2.10 on page 59 and 9.2.11 on page 60.
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 Table 28 on page 51).
Figure 13. External switch connection