Programming manual
L6482
58/73
Doc ID 023768 Rev 1
Any attempt to write the CONFIG register when the motor is running causes the command
to be ignored and the NOTPERF_CMD flag to rise (see
The EN_PRED bit sets if the predictive current control method is enabled or not.
.
Any attempt to write the CONFIG register when the motor is running causes the command
to be ignored and the NOTPERF_CMD flag to rise (
9.1.21 STATUS
The STATUS register has the following structure:
When the HiZ flag is high it indicates that the bridges are in high impedance state. Any
motion command causes the device to exit from High Z state (HardStop and SoftStop
included), unless error flags forcing a High Z state are active.
The UVLO flag is active low and is set by an undervoltage lockout or reset events (power-up
included).
The UVLO_ADC flag is active low and indicates an ADC undervoltage event.
The OCD flag is active low and indicates an overcurrent detection event.
The CMD_ERROR flag is active high and indicates that the command received by SPI can't
be performed or does not exist at all.
The SW_F reports the SW input status (low for open and high for closed).
The SW_EVN flag is active high and indicates a switch turn-on event (SW input falling
edge).
…
…
…
…
…
…
1 1 1 1 1
124
µs
(8
kHz)
Table 42.
Motor supply voltage compensation enable
EN_PRED
Predictive current control
0
Disabled
1
Enabled
Table 41.
Switching period (continued)
TSW [4..0]
Switching period
Table 43.
STATUS register
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
Bit 9
Bit 8
Unused
Unused
OCD
TH_SD
UVLO_AD
C
UVLO STCK_MOD
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
NOTPERF_CM
D
MOT_STATUS
DIR
SW_EV
N
SW_F
BUSY
HiZ