L9954 / L9954XP Functional description of the SPI
Doc ID 14279 Rev 4 25/37
4.8 SPI - Input data and status registers
Table 18. SPI - input data and status registers 0
Bit
Input register 0 (write) Status register 0 (read)
Name Comment Name Comment
23 Enable bit
If Enable Bit is set the
device switches in active
mode. If Enable Bit is
cleared the device goes
into standby mode and all
bits are cleared. After
power-on reset device
starts in standby mode.
Always 1
A broken VCC-or SPI-
connection of the L9954 can
be detected by the
microcontroller, because all 24
bits low or high is not a valid
frame.
22 Reset bit
If Reset Bit is set both
status registers will be
cleared after rising edge of
CSN input.
V
S
overvoltage
In case of an overvoltage or
undervoltage event the
corresponding bit is set and
the outputs are deactivated. If
VS voltage recovers to normal
operating conditions outputs
are reactivated automatically
(if Bit 20 of status register 0 is
not set).
21
OC recovery
duty cycle
This bit defines in
combination with the over-
current recovery bit (Input
Register 1) the duty cycle
in over-current condition of
an activated driver.
V
S
undervoltage
0: 12% 1: 25%
20
Overvoltage/
Undervoltage
recovery
disable
If this bit is set the
microcontroller has to
clear the status register
after undervoltage /
overvoltage event to
enable the outputs.
Thermal
shutdown
In case of a thermal shutdown
all outputs are switched off.
The microcontroller has to
clear the TSD bit by setting the
Reset Bit to reactivate the
outputs.
19
Current monitor
select bits
Depending on
combination of bit 18 and
19 the current image
(1/10.000) of the selected
HS-output will be
multiplexed to the CM
output:
Temperature
warning
The TW bit can be used for
thermal management
by the microcontroller to avoid
a thermal shutdown. The
microcontroller has to clear the
TW bit.
18
Bit
19
Bit
18
Output
Not ready bit
After switching the device from
standby mode to active mode
an internal timer is started to
allow chargepump to settle
before the outputs can be
activated. This bit is cleared
automatically after start up
time has finished. Since this bit
is controlled by internal clock it
can be used for synchronizing
testing events (e.g. measuring
filter times).
00 OUT6
10 OUT1
01 OUT4
11 OUT5
Functional description of the SPI L9954 / L9954XP
26/37 Doc ID 14279 Rev 4
17
OUT6 – HS
on/off
If a bit is set the selected
output driver is switched
on. If the corresponding
PWM enable bit is set
(Input Register 1) the
driver is only activated if
PWM1 (PWM2) input
signal is high. The outputs
of OUT1-OUT3 are half
bridges. If the bits of HS-
and LS-driver of the same
half bridge are set, the
internal logic prevents that
both drivers of this output
stage can be switched on
simultaneously in order to
avoid a high internal
current from VS to GND.
OUT6 – HS
over-current
In case of an over-current
event the corresponding status
bit is set and the output driver
is disabled. If the over-current
Recovery Enable bit is set
(Input Register 1) the output
will be automatically
reactivated after a delay time
resulting in a PWM modulated
current with a programmable
duty cycle (Bit 21).
If the over-current recovery bit
is not set the microcontroller
has to clear the over-current
bit (Reset Bit) to reactivate the
output driver.
16 x (don’t care) 0
15
OUT5 – HS
on/off
OUT5 – HS
over-current
14
OUT4 – HS
on/off
OUT4 – HS
over-current
13 x (don’t care) 0
12 x (don’t care) 0
11 x (don’t care) 0
10 x (don’t care) 0
9 x (don’t care) 0
8 x (don’t care) 0
7 x (don’t care) 0
6
OUT3 – HS
on/off
OUT3 – HS
over-current
5
OUT3 – LS
on/off
OUT3 – LS
over-current
4
OUT2 – HS
on/off
OUT2 – HS
over-current
3
OUT2 – LS
on/off
OUT2 – LS
over-current
2
OUT1 – HS
on/off
OUT1 – HS
over-current
1
OUT1 – LS
on/off
OUT1 – LS
over-current
0 0 No error bit
A logical NOR-combination of
all bits 1 to 22 in both status
registers.
Table 18. SPI - input data and status registers 0 (continued)
Bit
Input register 0 (write) Status register 0 (read)
Name Comment Name Comment
L9954 / L9954XP Functional description of the SPI
Doc ID 14279 Rev 4 27/37
Table 19. SPI - input data and status registers 1
Bit
Input register 1 (write) Status register 1 (read)
Name Comment Name Comment
23 Enable bit
If Enable bit is set the device
will be switched in active
mode. If Enable Bit is cleared
device goes into standby mode
and all bits are cleared. After
power-on reset device starts in
standby mode.
Always 1
A broken VCC-or SPI-
connection of the L9954
can be detected by the
microcontroller, because
all 24 bits low or high is
not a valid frame.
22
OUT6 OC
Recovery
Enable
In case of an over-current
event the over-current status
bit (Status Register 0) is set
and the output is switched off.
If the over-current Recovery
Enable bit is set the output will
be automatically reactivated
after a delay time resulting in a
PWM modulated current with a
programmable duty cycle (Bit
21 of Input Data Register 0).
Depending on occurrence of
Overcurrent Event and internal
clock phase it is possible that
one recovery cycle is executed
even if this bit is set to zero.
VS overvoltage
In case of an overvoltage
or undervoltage event
the corresponding bit is
set and the outputs are
deactivated. If Vs voltage
recovers to normal
operating conditions
outputs are reactivated
automatically.
21 x (don’t care) VS undervoltage
20
OUT5 OC
Recovery
Enable
Thermal shutdown
In case of a thermal
shutdown all outputs are
switched off. The
microcontroller has to
clear the TSD bit by
setting the Reset Bit to
reactivate the outputs.
19
OUT4 OC
Recovery
Enable
Temperature
warning
The TW bit can be used
for thermal management
by the microcontroller to
avoid a thermal
shutdown. The
microcontroller has to
clear the TW bit.
18 x (don’t care) Not ready bit
After switching the
device from standby
mode to active mode an
internal timer is started to
allow chargepump to
settle before the outputs
can be activated. This bit
is only present during
start up time.
Since this bit is
controlled by internal
clock it can be used for
synchronizing testing
events(e.g. measuring
filter times).

L9954

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
IC DVR DOOR ACTUATOR POWERSO-36
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet