Voltage regulator 2 output : 5 V supply for external loads e.g. IR
receiver, potentiometer
Voltage regulator 1 output : 5 V supply e.g. micro controller, Can
transceiver
NReset output to micro controller - Internal pull-up of typ. 100KΩ
( reset state = low )
INH5Wake-up input e.g. from CAN transceiver
RxD6Receiver output of the LIN 2.1 transceiver
8/68 Doc ID 13518 Rev 5
GND
L9952GXPPin definitions and functions
Table 2.Pins definitions and functions (continued)
Pin
name
PowerSS0-36Function
TxD7Transmitter input of the LIN 2.1 transceiver
OP2+8Non inverting input of operational sense amplifier
OP2-9Inverting input of operational sense amplifier
OP2
OUT
10Output of operational sense amplifier
DI11SPI : serial data input
DO12SPI : serial data output
CLK13SPI : serial clock input
CSN14SPI : chip select not input
PWM115Pulse width modulation input
PWM216Pulse width modulation input
Dig_Out317Digital output
Dig_Out4/INT18Digital output (configurable as Interrupt Output)
Wu
OP1
4..1
OUT
19 to 22
23Output of operational sense amplifier
Wake-up input: input pins for static or cyclic monitoring of external
contacts
OP1-24Inverting input of operational sense amplifier
OP1+25Non inverting input of operational sense amplifier
Out
4..1
26 to 29
Out_HS30
High side driver (7 Ω,
external contacts
High side drivers (1 Ω,
sensors or external contacts
typ.) - to supply e.g. LED’ s, HALL sensors or
typ.) - to supply e.g. LED’ s, Bulbs, HALL
Vs31Power supply voltage
LINPU32LIN master pull up
LIN33LIN bus line
Rel134Low side driver (2 Ω,
Rel235Low side driver (2 Ω,
typ.) - e.g. relay
typ.) - e.g. relay
Fail safe output - used to supervise or control applications in case of
FSO36
watchdog and/or V1 under-voltage failure (e.g. to activate
emergency lights)
Doc ID 13518 Rev 59/68
Pin definitions and functionsL9952GXP
/
_
Figure 2.Pins configuration
1
Dig
GND
NRESET
OP
OP2 -
OPOUT
CLK
CSN
PWM
PWM
Dig_Out
4
INT _
Out
V 22
V1 3
INH
RxD
TxD
2+
2
DI
DO
1
2
3
10
11
12
13
14
15
16
17
18
PowerSSO-36
4
5
6
7
8
9
L9952
GXP
TA B = G N D
35
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
FSO 36
REL 2
REL 134
LIN
LINPU
Vs
OUT
HS
OUT 1
OUT 2
OUT 3
OUT 4
OP 1 +
OP 1 -
OPOUT 1
WU 1
WU 2
WU 3
WU 4
10/68 Doc ID 13518 Rev 5
L9952GXPDescription
2 Description
2.1 Voltage regulator
The L9952GXP contains 2 independent and fully protected low drop voltage regulators,
which are designed for very fast transient response.
The output voltage is stable with loads capacitors >
2.1.1 Voltage regulator: V1
The voltage regulator V1 provides 5V supply voltage and up to 250mA continuous load
current for the external digital logic (micro controller, CAN transceiver ...). In addition the
regulator V1 drives the L9952GXP internal 5V loads. The voltage regulator is protected
against overload and over-temperature. An external reverse current protection has to be
provided by the application circuitry to prevent the output capacitor from being discharged
by negative transients or low input voltage. The output voltage precision is better than +/-2%
(incl. temperature drift and line-/load regulation) for operating mode; respectively +/-3%
during low current mode. Current limitation of the regulator ensures fast charge of external
bypass capacitors. The output voltage is stable for ceramic load capacitors >
If device Temperature exceeds TSD1 threshold, all outputs (Hsx, Lsx, V2, LIN) will be
deactivated except V1. Hence the micro controller has the possibility for interaction or error
logging. In case of exceeding TSD2 threshold (TSD2>TSD1), also V1 will be deactivated
(see state chart Fig. 3.1: “Protection and diagnosis”). A timer is started and the voltage
regulator is deactivated for t
LIN, and WU1...4) are disabled. After 1 sec, the voltage regulator will try to restart
automatically. If TSD2 occurs within one minute and for 8 consecutive times, the L9952GXP
enters the V
In case of short to GND at “V1” after initial turn on (V1 < 2V for at least 4ms) the L9952GXP
enters the V
signals from CAN, LIN, WU1..4, SPI.
- standby mode.
BAT
- standby mode. Reactivation (wake-up) of the device can be achieved with
BAT
220nF.
220nF.
= 1sec. During this time, all other wakeup sources (CAN,
TSD
2.1.2 Voltage regulator: V2
The voltage regulator V2 supplies additional 5V loads (e.g. Logic components, external
sensors, external potentiometers). The continuous load current is 50mA. The regulator
provides accuracy better than +
In case of short to GND at “V2” after initial turn on (V2 < 2V for at least 4ms) the V2
regulator is switched off. Micro processor has to send a clear command to reactivate the V2
regulator.
V2 is protected against:
●Overload
●Over temperature
●Short circuit (short to ground and battery supply voltage)
●Reverse biasing
3% @ 50mA (4% @ 100mA) load current.
Doc ID 13518 Rev 511/68
DescriptionL9952GXP
2.2 Power control in operating modes
The L9952GXP can be operated in 4 different operating modes:
●Active
●Flash
●V
●V
A cyclic monitoring of wake-up inputs is available in stand-by modes.
2.2.1 Active mode
All functions are available.
2.2.2 Flash mode
To disable the watchdog feature a FLASH program mode is available.
- standby
1
- standby
BAT
The mode can be entered by V
PWM2
≥ 9V
In this case all other functions are the same as in active mode
Watchdog can be disabled as well as soon as L9952GXP enters the V1 standby mode (see
section 2.9 for details)
Note:“High” level for flash mode selection is V
5V logic signals are required. For proper operation PWM
above standard 5V logic.
2.2.3 V1 standby mode
Outputs and internal loads are switched off. To supply the micro controller in a low power
mode, the voltage regulator1 (V1) remains active. The intention of the V1 standby mode is
to preserve the RAM contents. A cyclic contact supply and wake-up input sense feature (for
cyclic monitoring of external contacts) can be activated by SPI.
2.2.4 V
To achieve minimum current consumption during V
functions (except the ones for wake up functionality) are switched off.
In V
(without cyclic sense feature selected).
The transitions from active mode to either V
SPI.
standby mode
BAT
- standby mode the current consumption of the L9952GXP is reduced to 7µA, typical
BAT
≥ 9V. For all other operation modes, standard
PWM2
1 must not be set to a voltage level
standby mode, all L9952GXP
BAT
-standby or V
1
- standby are controlled by
BAT
V
- standby mode is dominant; i.e. if both bits, V1 - standby and V
BAT
“1”, the L9952GXP will enter V
- standby mode.
BAT
12/68 Doc ID 13518 Rev 5
- standby are set to
BAT
L9952GXPDescription
2.3 Wake up events
A wake-up from standby mode will switch the device to active mode. This can be initiated by
one or more of the following sources:
●Change of the LIN state at LIN bus interfaces
●A current at the INH pin (I ≥200uA) controlled by the CAN-transceiver (the CAN
transceiver is not a part of the IC).
●Positive/negative edge at wake up pins WU1...WU4 -> change of level after going into
stand-by
●Change of open-load state at OUT1 to 4
●SPI access in V1-standby mode (CSN is low and first rising edge on CLK)
Table 3.Wake up events
Wake up sourceDescription
LINAlways active
INHAlways active
WU1...4Can be individually disabled via SPI
Open Load at HS outputsCan be individually disabled via SPI
SPI Access
High level at PWM2 inputVPWM2 > 9V
Always active
(except in V
- standby mode)
BAT
(1)
1. Only if internal oscillator is running (e. g. in cyclic sense configuration or after wake-up request).
All wake-up events (except wake-up by LIN, INH or SPI from V1standby mode) generate a
Reset pulse (NReset low for 2ms).
Wake-up events from V1standby by LIN, INH or SPI do not cause a Reset and the Reset
generation is blocked for 2ms, i. e. a watchdog failure during this timeframe will not cause a
reset.
Doc ID 13518 Rev 513/68
DescriptionL9952GXP
2.4 Functional overview (truth table)
Table 4.Functional overview (truth table)
Operating modes
-standby
FunctionComments
Active mode
V
1
static mode
(cyclic sense)
2.3.1Voltage-regulator, V1VOUT= 5VOnOn
2.3.2Voltage-regulator, V2VOUT= 5VOn / Off
(2)
On
(2)
(1)
/ OffOn
V
-standby
BAT
static mode
(cyclic sense)
Off
(2)
2.3.3Reset-generatorOnOnOff
Off if
2.3.4Window watchdogV
monitorOn
1
2.3.5Wake upOff
2.3.6HS-cyclic supply
Oscillator
timebase
On / OffOn
(3)
(I_V1 < I
and I
or I
CMP
Active
(2)
CMP
=0)
CMP
= 1
(4)
/ OffOn
Off
Active
(2)
2.3.7Relay driverOnOffOff
2.3.8Operational amplifiersOnOffOff
2.3.9LIN line driverLIN 2.1OnOffOff
2.3.10LIN line receiverOnOnOn
Hi – no error
Lo – WD or V1
fail
2.3.11FSO
Fail-safe
output
2.3.12OscillatorOn
2.3.13Vs-MonitorOn
Hi – no error
Lo – WD or V1
fail
(5)
(6)
(7)
Lo -> because
V1= off
(6)
(7)
/ Off
(4)
/ Off
1. Supply the processor in low current mode
2. Only active when selected via SPI
3. Input Status can be read by SPI (Status Register 0); Inputs should be configured for static sense (Control
Register 2)
4. Unless disabled by SPI
5. Watchdog is active in V1 standby mode, until I(V1) is below I
6. Activation = ON if cyclic sense is selected
7. Cyclic activation = pulsed ON during cyclic sense
14/68 Doc ID 13518 Rev 5
current threshold
CMP
L9952GXPDescription
Figure 3.Operating modes, main states
Vs > Vpor
Vbat startup
All registers
clear ed to ‚0',
Cold start bit (D19, SR0)
set to ‚ 1'
Vpwm2>9V
Flash Mode
Watchdog: OFF
Vpwm2<7V
Active
Mode
V1: on
Reset Generator: active
Watchdog: active
Fail Safe Out: active
Vpwm2>9V
Note 1
SPI command: ‚Go Vbat’ ( D20 CR0)
V1 fail (V1 < 2,5V for 4ms after POR)
OR
Thermal Shutdown
OR
=> shor t to GN D
Or
15 x WD Fa ilur e
Vbat Standby
Mode
V1: off
V2: according to SPI settings
Reset Generator: off (Nreset=low)
Watchdog: off
Fail S afe Out : low
HSD, LSD: Off
Not e 1: only if internal oscilla tor is runn ing
Vpwm 2>9V
Note 1
Thermal Shutdown TSD2
OR IV1 > 1mA AND ICMP = 0 AND 15 x WD fail
Wake-up
Event
Wake-up
Event
V1 Stan d b y
Mode
V1: on
Reset Generator: active
Watchdog:
OFF (if Iv 1<I
or ICMP = 1)
cmp
Fail Safe Out: active
SPI command: ‚Go Vcc’
(D21 CR0)
Doc ID 13518 Rev 515/68
DescriptionL9952GXP
2.5 Wake up inputs
The de-bounced digital inputs WU1...WU4 can be used to wake up the L9952GXP from
standby modes. These inputs are sensitive to any level transition (positive and negative
edge)
For static contact monitoring, a filter time of 64 µs is implemented at WU1-4. The filter is
started when the input voltage passes the specified threshold. At Vin > 1V and Vin < (Vs –
2V), a Wake-up request is processed. During Wake-up request, the internal oscillator and
other circuit blocks are activated in order to allow more accurate monitoring of the inputs.
In addition to the continuous sensing (static contact monitoring) at the wake up inputs, a
cyclic wake up feature is implemented. This feature allows periodical activation of the wakeup inputs to read the status of the external contacts. The periodical activation can be linked
to Timer 1 (0.5sec to 4.0sec in 0.5sec steps) or Timer 2 (50ms). The input signal is filtered
with a filter time of 16us after a programmable delay (80us or 800us). A Wake-up will be
processed if the status has changed versus the previous cycle.
The Outputs OUT_HS and OUT1-4 can be used to supply the external contacts with the
timing according to the cyclic monitoring of the wake-up inputs.
If the wake-up inputs are configured for cyclic sense mode (Icxx in control register 2), the
same input filter timing (Timer1 or Timer2) and the corresponding input filter delay (control
register 2) must be used for the HS Outputs (Hsxx in control register 0) which supply the
external contact switches.
In Standby mode, the inputs WU1-4 are SPI configurable for pull-up or pull-down current
source configuration according to the setup of the external contacts (pull-up for active low
contacts, pull-down for active high contacts). In active mode the inputs have a pull down
resistor of 100 kOhm (typ).
In Active mode, the input status can be read by SPI (Status Register 0). Static sense should
be configured (Control Register 2) before the read operation is started (In cyclic sense
configuration, the input status is updated according to the cyclic sense timing; Therefore,
reading the input status in this mode may not reflect the actual status).
2.6 Hall sensor ports: WU3,4, Dig_Out 3,4
Applications like Hall sensor outputs need high processing speed. The 12V signals
connected to the wakeup inputs WU3 and WU4 can be looped through to the digital outputs
Dig_Out 3 and Dig_Out 4 (5V) in order to avoid read out of the input state by SPI.
The setup is programmable by SPI.
The open load states of the High Side Drivers OUT1 and OUT2 can be looped through the
digital outputs Dig_Out3 and Dig_Out4 without delay. In addition, the status of OUT1 and
OUT2 can be accessed through the SPI interface. This feature is intended for 2-pin HALL
sensors. Open Load information is only valid during ON state.
The Open Load threshold at pins OUT1...4 can be switched from I
I
= 8 mA via SPI .
OLD2
16/68 Doc ID 13518 Rev 5
OLD1
= 2mA to
L9952GXPDescription
2.7 Interrupt
Dig_Out4 can be configured via SPI as Interrupt output (INT) by setting Bit 20 /
CR1:INT_enable=’1’.
This configuration will enable the following behaviour:
●INT pin is pulled high for 2ms in case of any wake-up from V1 standby mode (WU
inputs, LIN, INH, SPI, open load HS, Iv1 > I
●Wake-up events from V1 standby do not generate a reset (i.e. NRESET is not pulled
CMP
_ris)
low)
●The Dig_Out4 settings in CR1 (Bits 12..14) will be ignored
2.8 Cyclic contact supply
In V1 and V
standby mode, any high side driver output (OUT1..4, OUTHS) can be used
BAT -
to periodically supply external contacts.
The timing is selectable by SPI
Timer 1: period is X sec, the on-time is 10ms resp. 20ms
With X ∈ {0.5, 1.0, 1.5, ... 4 }
Timer 2: period is 50ms, the on- time is 100us resp. 1ms:
Note:Cyclic sense setup: if cyclic sense feature is used for wake-up inputs (Icxx in control register
2), same input filter timing (Timer1 or Timer2) must be used for HS Outputs (Hsxx in control
register 0).
2.9 Window – watchdog
During normal operation the watchdog monitors the micro controller within a nominal trigger
cycle of 10ms.
In V
automatically disabled. However, the watchdog will remain enabled in V1-standby mode
until the current at V1 decreases below I
disabled, if the I
After ‘power-on’, ‘standby mode’ or reset, the window watchdog starts with a long open
window (65ms). The long open window allows the micro controller to run its own setup and
then to trigger the watchdog via the SPI. The trigger is finally accepted when the CSN input
becomes HIGH after the transmission of the SPI word.
-standby , V1-standby and Flash program modes, the watchdog circuit is
BAT
_fall. The V1 current monitoring can be
bit (CR2, D20) is set to '1'.
CMP
CMP
A correct watchdog trigger will start the window watchdog with a closed window (< 6ms)
followed by an open window (< 10ms), see timing diagrams. Subsequently, the micro
controller has to serve the watchdog by alternating the watchdog trigger bit (CR0, D19). The
“negative” or “positive” edge has to meet the open window time. A correct watchdog trigger
signal will immediately start the next closed window.
After 8 watchdog failures in sequence, the V1 regulator is switched off for 200ms. In case of
7 further watchdog failures, the V1 regulator is completely turned off and the device goes
into V
standby mode until a wakeup occurs. (e.g. via LIN, CAN/INH).
BAT -
Doc ID 13518 Rev 517/68
DescriptionL9952GXP
The watchdog is triggered by toggling the trigger bit (CR0, D19).
Note:The active trigger window will be reset after each correct trigger write operation.
In case of reset (NReset low for 2ms) the trigger bit is set to “0”.
In case of a WD failure, the outputs (Lsx, Hsx, V2) are switched off and NReset is pulled low
for 2ms.
Writing to control register 0 without inverting the WD trigger bit is possible at any time.
Figure 4.
(Nreset =low for 2ms)
LSD: Off (control bits set to ‚0')
HSD: Off (control bits remain
Watchdog
t=200ms
Reset
unchanged)
Wake up event
V1 off
for 200 m s
Watchdog Failure
Vbatstdby
Mode
8x WD Failure
Watchdog Failure (‚long
open window’ passed
without TRIG=1
2ms
8+7
WD Failu res
Toggle WD Trigger Bit
Within nominal window
Watchdog active
With
Normal window
(10ms)
HS D, LSD : accor ding to
CR0
Set WD Tr igger Bit = ‚ 1' or
toggle trigger bit if wake-up
from V1standby
Wake- up eve nt
or exit Flash Mode
Go to st and by mod e or
Power-on
Reset
Flash Mode ( PWM2>9V)
Watchdog
Inactive
(standby modes,
Flash Mode)
INH, LIN, SPI
I(V1)>1mA and ICMP=0
18/68 Doc ID 13518 Rev 5
Watchdog active
with
‚long open wi ndow’
(65ms nom )
HS andLS outputs are
off
or F lash Mode (PWM2>9V )
Set
WD Trigger Bit = ‚0' or write
non-inverting value to tr igger
bit after wake-up from
V1 stand by mod e
Go to standby mode
L9952GXPDescription
2.10 Fail safe output
After power-on (Vs > V
) or wakeup from V
POR
-standby mode, the output FSO is set to
BAT
“HIGH”, if V1 is above the V1 threshold. FSO is set to “LOW” in case of V1 under voltage or
watchdog failure.
During V1-standby mode, FSO is HIGH unless a V1 under-voltage or watchdog reset
occurs. WD remains enabled in V1 standby mode until I
standby mode, FSO is low. At exit from V
- standby mode, it goes to high as soon as V1
BAT
drops below 150uA. In V
V1
BAT
-
is stable.
At wakeup FSO remains high, provided that the watchdog is triggered successfully. It is set
low if the watchdog is not served during the long open window of if a V1 under-voltage
occurs.
Figure 5.FSO
TSD2
V1 undervoltage
Vbatstdby Mode
FSO = 0
Watchdog Failure
2.11 Reset – generator
IF V1 is turned on and the voltage exceeds the V1 reset threshold, the reset output
“NRESET” is switched to “HIGH” after a 2ms reset delay time. This is necessary for a
defined start of the micro controller when the application is switched on.
As soon as an under voltage condition of the output voltage (V1 < VRT) for more than 8us
appears, the reset output is switched low again.
Figure 6.NReset
Wake-up Event 1)
Vpwm2 < 9V
(Exit Flash Mode)
V1 Undervoltage
Watchdog
Failure
NReset = 0
1) Only if
(INT_en = 0) and (wake-up by WU-input or High Side Open Load)
Doc ID 13518 Rev 519/68
DescriptionL9952GXP
2.12 V1, V2 fail
The V
In case of a drop below the V
and V2 regulator output voltages are monitored.
1,
– fail thresholds (V
1, V2
bits are latched. The fail bits are cleared by a dedicated SPI command.
If 4ms after turn on of the regulator the V
voltage is below the V
1,2
(independent for V1,2 ), the L9952GXP will identify a short circuit condition at the related
regulator output and the regulator will be switched off.
In case of a V1 failure the device enters V
- standby mode automatically.
BAT
In case of a V2 failure the SHT5V2 bit (SR0 Bit12) is set.
2.13 Low side driver outputs Rel1, Rel2
The outputs Rel1, Rel2 (R
loads.
Typical relays used have the following characteristics:
Relay type 1:
–closed armature: R = 160 Ω +
–open armature: R = 160 Ω +
Relay type 2:
–closed armature: R= 220 Ω +
–open armature: R= 220 Ω +
= 2 Ω typ. @25 °C) are specially designed to drive relay
DSon
10%, L= 300mH
10%, L= 240mH
10%, L= 420mH
10%, L= 330mH
< 2V,typ for t > 2us), the V
1,2
fail thresholds,
1,2
1,2
- fail
The outputs provide an active output zener clamping (40V) feature for the demagnetisation
of the relay coil, even though a load dump condition exists. In case of watchdog failure the
relay drivers will be switched off and the low side driver control bits are cleared.
Note:1Due to relays bouncing, high dV/dt and/or dI/dt transients may occur on the low side driver
outputs. In case high currents are switched (for example window lift motor), due to parasitic
capacitive inductive coupling from load side of relays to the relays coils, the Absolute
Maximum Ratings of the Low Side driver outputs may be exceeded. In order to avoid this, it
is recommended to place a 10nF capacitor at the Rel1, Rel2 outputs to GND.
2If a hard short circuit to V
required with T
> 1µs, R ≥ 1 Ω (see block diagram, the value is given for an output short
RC
is possible at the "Low Side Driver" outputs, an RC network is
BAT
circuit of given di/dt = 5A/µs).
2.14 PWM inputs
The inputs PWM 1,2 can be used to control the output drivers Out1..4 and OUT_HS with a
PWM signal. Each PWM input can be mapped individually to each of the above listed
outputs according to the SPI settings.
20/68 Doc ID 13518 Rev 5
L9952GXPDescription
2.15 Operational amplifiers
The operational amplifiers are especially designed to be used for sensing and amplifying the
voltage drop across ground connected shunt resistors. Therefore the input common mode
range includes - 0.2 ... 3V.
The operational amplifiers are designed for GND + 3V... GND – 0.2V input voltage swing
and rail-to-rail output voltage range. All Pins (positive, negative and outputs ) are available
to be able to operate in non-inverting and inverting mode. Both operational amplifiers are
on-chip compensated for stability over the whole operating range within the defined load
impedance.
Figure 7.Lin master pull up
Vs
LIN
control
T
SW
control
LIN PU
A dedicated built-in switch “Tsw” enables the LIN to act as a master. (see chapter
●Microcontroller Interface with CMOS compatible I/O pins.
●Pull up resistor internal.
●ESD: immunity against automotive transients per ISO7637 specification (see
application note)
●Matched output slopes and propagation delay
In order to further reduce the current consumption in standby mode, the integrated LIN bus
interface offers an ultra low current consumption.
30k
Gnd
LIN
Master node
1k
pull up
2.18)
Doc ID 13518 Rev 521/68
DescriptionL9952GXP
2.17 Error handling
The L9952GXP provides the following 3 error handling features which are not described in
the LIN Spec. V2.1, but are realized in different stand alone LIN transceivers / micro
controllers to switch the application back to normal operation mode.
2.17.1 Dominant TxD time out
If TXI is in dominant state (low) for more than 12ms (typ) the transmitter will be disabled until
TXI becomes recessive (high). This feature can be disabled via SPI.
2.17.2 Short to battery time out
If TXI changes to dominant (low) state but RXI signal does not follow within 40µs, the
transmitter will be disabled until TXI becomes recessive (high).
2.17.3 Short to ground mode
A wake up caused by a message on the bus will start the voltage regulator and the micro
controller to switch the application back to normal operation mode.
2.18 Wake up (from LIN)
In standby mode the L9952GXP can receive a wake up from LIN bus. For the wake up
feature the L9952GXP logic differentiates two different conditions.
2.18.1 Normal wake up
Normal wake up can occur when the LIN transceiver was set in standby mode while LIN was
in recessive (high) state. A dominant level at LIN for at least 40µs, will switch the L9952GXP
to active mode.
2.18.2 Wake up from short to GND condition
If the LIN transceiver was set in standby mode while LIN was in dominant (low) state,
recessive level at LIN for at least 40us, will switch the L9952GXP to active mode.
2.18.3 RxD pin in V1 standby
In V1 standby condition the RxD is a tristate pin.
22/68 Doc ID 13518 Rev 5
L9952GXPDescription
2.19 LINPU
The LINPU (LIN pull up) signal is set by L9952GXP logic in order to drive the LIN transceiver
in master mode. The master mode is realized by an internal high side switch and an external
diode in series with an external 1k resistor. In master mode the high side switch is closed
causing an external pull up path in parallel to the internal one (diode & 30k resistor).
HS (high side) characteristics:
●HS does not have an over current protection.
●The HS remains active in standby mode.
●Switch off only in case of over temperature (TSD2 = thermal shutdown #2).
●Typical R
DSon
, 10 Ω.
The Linpu is activated by default (LIN master mode) and can be switched off with a SPI
command (see register 2) to reduce current in case of LIN shorted to ground.
2.20 Serial Peripheral Interface (SPI)
A 24 bit SPI command (2 adresses + 22 data bits) is used for bi-directional communication
with the micro controller.
During active mode, the SPI:
1) triggers the watchdog
2) controls the modes and status of all L9952GXP modules (incl. input and output drivers)
3) provides driver output diagnostic
4) provide L9952 diagnostic (incl. over temperature warning, L9952GXP operation status)
Note:During stand-by modes, the SPI is generally deactivated.
The SPI can be driven by a micro controller with its SPI peripheral running in following
mode:
CPOL=0 and CPHA=0.
For this mode input data is sampled by the low to high transition of the clock CLK, and
output data is changed from the high to low transition of CLK.
This device is not limited to micro controller with a build-in SPI. Only three CMOScompatible output pins and one input pin will be needed to communicate with the device. A
fault condition can be detected by setting CSN to low. If CSN = 0, the DO-pin will reflect the
global error flag (fault condition) of the device which is a logical -”OR” of all over current, Vsover / under voltage, temperature warning/shutdown and V1 Fail bits. The micro controller
can poll the status of the device without the need of a full SPI-communication cycle.
2.20.1 Chip Select Not (CSN)
The input pin is used to select the serial interface of this device. When CSN is high, the
output pin (DO) will be in high impedance state. A low signal activates the output driver and
a serial communication can be started. The state during CSN = 0 is called a communication
frame.
Doc ID 13518 Rev 523/68
DescriptionL9952GXP
2.20.2 Serial Data In (DI)
The input pin is used to transfer data serial into the device. The data applied to the DI will be
sampled at the rising edge of the CLK signal and shifted into an internal 24 bit shift register.
At the rising edge of the CSN signal the contents of the shift register will be transferred to
Data Input Register. The writing to the selected Data Input Register is only enabled if exactly
24 bits are transmitted within one communication frame (i.e. CSN low). If more or less clock
pulses are counted within one frame the complete frame will be ignored. This safety
function is implemented to avoid an activation of the output stages by a wrong
communication frame.
Note:Due to this safety functionality a daisy chaining of SPI is not possible. Instead, a parallel
operation of the SPI bus by controlling the CSN signal of the connected IC's is
recommended.
2.20.3 Serial Data Out (DO)
The data output driver is activated by a logical low level at the CSN input and will go from
high impedance to a low or high level depending on the global error flag (fault condition).
The first rising edge of the CLK input after a high to low transition of the CSN pin will transfer
the content of the selected status register into the data out shift register. Each subsequent
falling edge of the CLK will shift the next bit out.
2.20.4 Serial Clock (CLK)
The CLK input is used to synchronize the input and output serial bit streams. The data input
(DI) is sampled at the rising edge of the CLK and the data output (DO) will change with the
falling edge of the CLK signal. The SPI can be driven with a CLK frequency up to 1MHz.
2.20.5 Data registers
The device has 3 Control registers and 2 Status registers. The first two bits (D22+D23) at
the DI-Input are used to select one of the Control registers. All bits are first shifted into an
input shift register. After the rising edge of CSN the contents of the input shift register will be
written to the selected Control register only if a frame of exact 24 bits is detected. If the
Control register 1 is selected for data transfer, the Status register 1 will be transferred to the
DO during the current communication frame. For the selection of Control register 0 or
Control register 2, the Status register 0 is transferred to DO.
24/68 Doc ID 13518 Rev 5
L9952GXPProtection and diagnosis
3 Protection and diagnosis
3.1 Power supply fail
Over and under-voltage detection on Vs.
3.1.1 Over voltage
If the supply voltage Vs reaches the over voltage threshold (V
●The outputs HS1..4, OUT_HS, Rel1,2, and LIN are switched to high impedance state
(load protection)
●The over voltage bit is set and can be cleared with the clear bit (CR1,CLR)
●Automatic recovery after Vs over-voltage; selectable via SPI (CR2, bit4)
3.1.2 Under voltage
If the supply voltage Vs drops below the under voltage threshold voltage(V
●The outputs HS1..4, OUTHS, Rel1,2, and LIN are switched to high impedance state
(load protection)
●The under voltage bit is set
●Automatic recovery after Vs under-voltage; selectable via SPI (CR2, bit4)
3.2 Temperature warning and thermal shutdown
See state chart: “ Protection and diagnosis”.
3.3 SPI diagnosis
Digital diagnosis features are provided by SPI:
●V1 reset threshold programmable
●Over temperature including pre warning
●Open load separately for each output stage
●Overload status
●Vs-supply over/under voltage
●V1 and V2 fail bit
●Status of the WU1...4, LIN and INH pin
●Cold start bit
●Number of unsuccessful V1 restarts after thermal shutdown
●Number of sequential watchdog failures
●Status of watchdog trigger bit TRIG: (SR1, Bit 16)
●LIN status (short to ground, short to V
, dominant TxD)
BAT
See the following state chart: “Protection and diagnosis”.
SOV
)
)
SUV
Doc ID 13518 Rev 525/68
Protection and diagnosisL9952GXP
Figure 8.Protection and diagnosis
Tj > 155°C
>
T
SPI command: ‚CLR’
(D21 CR1)
Power- on reset
Active
Mode
Standb y Modes
SPI command: ‚CLR’
Autorestart activated
1
e
s
c
OR
SPI command: ‚CLR’
(D21 CR1)
OR
Power-on r eset
(D21 CR1)
OR
(D4 CR2)
TSD1
All outputs except V 1: off
‚TS D 1' -Bit is set (D 3 SR1 )
Tj > 140°C
Temperature
Warning
‚Te mper atu re Wa rnin g' -
Bit set
(D2 S R1)
Tj > 130°C
Vs Undervolt age
8x TSD2
(each TSD2
within 1 min)
Vbatstdby
All outputs incl V2: off
Power- on reset
Vs Overvoltage
TSD2
All outputs: off
V1: off for 1 sec
‚TSD2-bit is set (D4 SR1)
Wake-up event
SPI command: ‚CLR’
(D21 CR1)
Autorestart activated
(D4 CR2)
(during cyclic sense)
OR
Vs Lockout
All outputs : high Impedance
OV Bit set (D0 SR1)
Auto-restart if selected by SPI
8 successive watchdog
26/68 Doc ID 13518 Rev 5
failures
V1 off for
200m s
Vs Lockout
All outputs: off
UV bit set (D1 SR1)
Auto -resta rt if sele cted by SPI
7 additional watchdog failures
in sequence
Vbatstdby
mode
L9952GXPProtection and diagnosis
3.4 High side driver outputs
The component provides a total of 4 high side outputs Out1...4, (7 Ω typ. @ 25C) to drive
e.g. LED' s or hall sensors and 1 high side output OUT_HS with 1 Ω typ. @ 25 C).
The high side outputs are protected against
●Over- and under voltage
●Overload (short circuit)
●Over temperature with pre warning
If the output current exceeds the current shutdown threshold the output transistor is turned
off and the corresponding diagnosis bit of the output is set.
The switches are automatically disabled in case of reset condition, Vs-under, Vs-over
voltage or thermal shutdown (TSD1&2).
For OUT_HS an auto recovery feature is available in active mode.
If the OUT_HS output current exceeds the current shutdown threshold, the output transistor
is turned off and the corresponding diagnosis bit of the output is set.
Via SPI command the auto recovery feature can be enabled in order to restart the driver in
case of over current shutdown. This over current recovery feature is intended for loads
which have an initial current higher than the over current limit of the output (e.g. Inrush
current of cold light bulbs).
The device itself can not distinguish between a real overload and a non linear load like a
light bulb. A real overload condition can only be qualified by time. As an example, the micro
controller can switch on light bulbs by setting the over current recovery bit for the first 50ms.
After clearing the recovery bit, the output will be automatically disabled if the overload
condition still exists.
The status of all high side outputs (over-current, open load) can be monitored by SPI
interface.
In case of a watchdog failure, the high side drivers are switched off. The control bits are not
cleared, i.e. the drivers will go to the previous state once the watchdog failure condition
disappears.
ESD structures are configured for nominal currents only. If external loads are connected to
different grounds, the current load must be limited to this nominal current.
Note:Loss of ground or ground shift with externally grounded loads.
3.5 Low side driver outputs Rel1, Rel2
The outputs provide an active output zener clamping feature for the demagnetisation of the
relay coil, even though a load dump condition exists. For safety reasons the relay drivers
are linked with the Watchdog: in case of failure, or missing trigger signal the relay drivers will
switch off.
Doc ID 13518 Rev 527/68
Absolute maximum ratingsL9952GXP
4 Absolute maximum ratings
Table 5.Absolute maximum ratings
SymbolParameterValueUnit
V
S
V
1
V
2
V
DI VCLK
V
TXD VCSN
V
DO VRXD
V
NRESET VFSO
V
DIGOUT3,4
V
INH
V
PWM1, VPWM2,
V
REL1, VREL2,
V
OUT1..4,, VOUTH
V
WU1...4,
V
OP1+,VOP1-,
V
OP2+, VOP2-,
V
OPOUT1,
V
OPOUT2
V
LIN, VLINPU
I
Input
DC supply voltage / “jump start”-0.3 to +28V
Single pulse / t
“transient load dump”
Stabilized supply voltage, logic
supply
< 400 ms
max
-0.3 to +40V
-0.3 to +5.25V
Stabilized supply voltage-0.3 to +28V
Logic input / output voltage range-0.3 to V1+0.3V
Wake up input voltage range
PWM input voltage range
-0.3 to +40V
Low side output voltage range
High side output voltage range-0.3 to VS + 0.3V
Wake up input voltage range-0.3 to VS + 0.3V
Opamp1 input voltage range
Opamp2 input voltage range
-0.3 to V1 + 0.3V
Analog Output voltage range-0.3 to VS + 0.3V
LIN bus I/O voltage range-20 to +40V
Current injection into Vs related
input pins
5mA
Note:All maximum ratings are absolute ratings. Leaving the limitation of any of these values may
cause an irreversible damage of the integrated circuit !
28/68 Doc ID 13518 Rev 5
L9952GXPESD protection
5 ESD protection
Table 6.ESD protection
ParameterValueUnit
(2)
(1)
+/- 2kV
+/- 4kV
+/- 1.5kV
+/- 8kV
All pins, except LIN
All output pins
(3)
LIN
(4)
LIN
All pins (charge device model)
Corner pins (charge device model)
(5)
All pins
+/- 500V
+/- 750V
+/- 200V
1. HBM (human body model, 100pF, 1.5 kΩ ) according to MIL 883C, Method 3015.7 or EIA/JESD22A114-A
2. HBM with all none zapped pins grounded
3. Without external components
4. Acc. DIN EN61000-4-2 (330Ω, 150pF), with external components:
- Diode, type ESDLIN1524BJ
- SMD Ferrite bead, type TDKMMZ2012Y202B
- Capacitor C=220pF
For detailed information please see EMC report from IBEE Zwickau (available on request)
5. Acc. Machine Model: C=220pF; L=0.75µH; R=10Ω
Doc ID 13518 Rev 529/68
Thermal dataL9952GXP
6 Thermal data
6.1 Operating junction temperature
Table 7.Operating junction temperature
ItemSymbolParameterValueUnit
6.1.1TjOperating junction temperature- 40 to 150 °C
Note:Layout condition of Rth and Zth measurements ( board finish thickness 1.6 mm +/- 10%
board double layer, board dimension 129x60, board Material FR4, Cu thickness 0.070mm
(front and back side), thermal vias separation 1.2 mm, thermal via diameter 0.3 mm +/- 0.08
mm, Cu thickness on vias 0.025 mm ).
Doc ID 13518 Rev 531/68
Thermal dataL9952GXP
Figure 10. PowerSSO-36 thermal resistance junction ambient Vs. PCB copper area
W7 W6W5 W4W3 W2W1 W0 Disables the corresponding wake up sources
xxxxxxx1Input WU1 is disabled as wake up source
xxxxxx1xInput WU2 is disabled as wake up source
xxxxx1xxInput WU3 is disabled as wake up source
xxxx1xxxInput WU4 is disabled as wake up source
xxx1xxxx
xx1xxxxx
x1xxxxxx
Open load Appearance / Disappearance at OUT1 is
disabled as wake up source
Open load Appearance / Disappearance at OUT2 is
disabled as wake up source
Open load Appearance / Disappearance at OUT3 is
disabled as wake up source
56/68 Doc ID 13518 Rev 5
L9952GXPSPI control and status registers
Table 43.Configuration bit Wx (continued)
Name/stateDefinition/function
1xxxxxxx
Open load Appearance / Disappearance at OUT4 is
disabled as wake up source
00000000Default: all wake up sources are enabled
Table 44.Configuration bit Ux
Name/stateDefinition/function
U3 U2 U1 U0
xxx1
xx1x
x1xx
1xxx
0000
Defines whether the Inputs WU1..4 are configured with current source or
current sink in standby mode.
Input WU1 configured with a current source in standby mode
(R
pulldown resistor in active mode - see Table 20.)
WU_act
Input WU2 configured with a current source in standby mode
(R
pulldown resistor in active mode - see Table 20.)
WU_act
Input WU3 configured with a current source in standby mode
(R
pulldown resistor in active mode - see Table 20.)
WU_act
Input WU4 configured with a current source in standby mode
(R
pulldown resistor in active mode - see Table 20.)
WU_act
Default: All Inputs configured with a current sink in standby
(R
pulldown resistor in active mode - see Table 20.)
WU_act
Table 45.Configuration bit Lx
Name/stateDefinition/function
L2 L1 L0
000WU3 (default)WU4 (default)
001HighZWU4
010WU3HighZ
011WU3Open Load HS2
100Open Load HS1WU4
101Open Load HS1Open Load HS2
110Open Load HS1HighZ
111HighZOpen Load HS2
Defines which signal is looped to the Dig_Out3 and Dig_Out4
(see note)
Dig_Out3Dig_Out4
Doc ID 13518 Rev 557/68
SPI control and status registersL9952GXP
Table 46.Configuration bit Txx
Name/stateDefinition/function
T12 T11 T10
Defines the period of the cyclic sense Timer 1 which is selectable for Out
1..4 and Out_HS (see ON signals control register 0)
000Period: 0.5 s
001Period: 1.0 s
010Period: 1.5 s
011Period: 2.0 s
100Period: 2.5 s
101Period: 3.0 s
110Period: 3.5 s
111Period: 4.0 s
T13Defines the ON time for the cyclic sense Timer1
0 ON time 10 ms
1 ON time 20 ms
T20
Defines the ON time of the cyclic sense Timer 2 which is selectable for Out
1..4 and OUTHS (see ON Signals control register 0)
0Period 50 ms / ON time 100 us
1Period 50 ms / ON time 1ms
Table 47.Configuration bit INT_enable
Note:In V
Name/stateDefinition/function
INT_enable
0Interrupt Mode disabled ( see Section 2.7 )
1Interrupt Mode enabled
CLRClears the contents of status register 0 and 1
standby mode, DigOut 3 and DigOut4 are HighZ.
BAT
58/68 Doc ID 13518 Rev 5
L9952GXPSPI control and status registers
8.1.3 Control register 2
While writing to the control register 2, the status register 0 can be read at the DO-Output of
the SPI.
Table 48.Control register 2
Bit212019181716 15 14 13 12 11 109876543210
AccessW WWWW WW W WW WWWWWWWWWWW
Reset0000000000000000000000
NameRES I
Input filter configuration
LSO
CMP
Table 49.Configuration bit OLT_HSx, VSLOCK Out, O_HS_REC, LINPU and
LIN
VUV
SlopeIC41IC40IC31IC30IC21IC20IC11IC10
Reset
level
LEV1LEV0TXDT
Out
LINOpen load threshold
REC
VS
Lock
Out
OLT
HS4
OLT
HS3
LINPUO_HS
TXD_TOUT
Name/stateDefinition/function
OLT
HS2
OLT
HS1
OLT_HSx
Open load threshold for the High Side Drivers Out1..4
0: Iopenload = 2mA; 1: Iopenload = 8mA
Automatic recovery after VS Over/Under voltage
“0” (default): Vs lockout is disabled, i.e. outputs will automatically recover (according
VSLOCK
Out
to output settings in CR0) after Vs over / under - voltage conditions has disappeared
“1”: Vs lockout is enabled, i.e. outputs will remain Off after Vs over / under voltage
recovery conditions has disappeared, until the Vs over / under voltage Status Bits
(SR1, bit s0,1) are cleared by CLR command (CR1, bit 21).
O_HS_REC“1” = Recovery mode for OUT_HS Driver.
LINPU“1” will disable the master pull up LINPU
TXD_TOUT“1” will disable the dominant TxD time-out for the LIN Interface.
Table 50.Configuration bit LEVx
Name/stateDefinition/function
LEV1LEV0Controls the reset level
00Set the reset threshold to 4.65V, typ.
01Set the reset threshold to 4.35V, typ.
1XReserved (do not use for operation, set LEV1 to “0”)
Doc ID 13518 Rev 559/68
SPI control and status registersL9952GXP
Table 51.Configuration bit ICxx
Name/stateDefinition/function
IC(1..4)1IC(1..4)0
Selects the filter configuration for the
Wakeup Inputs WU1 to 4
IC1100Filter with 64 us Filter time (static sense)
IC2101
IC3110
IC4111
Enable Filter after 80 us with a Filter time of 16 us (cyclic sensing),
timer2
Enable Filter after 800 us with a Filter time of 16 us (cyclic
sensing), timer2
Enable Filter after 800 us with a Filter time of 16 us (cyclic
sensing), timer1
Table 52.Configuration bit LIN slope, LS_ovuv and ICMP
Name/stateDefinition/function
LIN slopeChange LIN slope
0High slew rate (default)
1Low slew rate
LS_ovuvVs Over / Under voltage shutdown of REL1,2 (low side drivers)
0Enable (default): REL1,2 turned Off in case of Vs Over/Undervoltage
1Disable : REL1,2 remain On in case of Vs Over/Undervoltage
I
CMP
Current supervision of V1 regulator in V1-standby mode.
0Enable (default)
1Disable
RESReserved
60/68 Doc ID 13518 Rev 5
L9952GXPSPI control and status registers
8.1.4 Status register 0
The contents of the status register 0 can be read implicitly, while accessing the control
register 0 or control register 2.
Table 53.Status register 0
Bit21201918171615 14 131211109876543210
Accessr r r rrrrrr r r rrrrrrrrrrr
Reset0 0 0 000000 0 0 00000000000
NameRES RES
Wakeup InputsOver currentOpen load
Cold
LIN INH
Start
Table 54.Configuration bit HSx_OL, HSx_OC and Relx_OC
Table 18: High side outputs (OUT 1..4): modified openload detection
current 1 parameter value (item 7.8.13).
Table 20: Wake up inputs(WU1...WU4): modified Input current in
07-Sep-20072
21-Sep-20073
11-Apr-20084
standby mode test condition (item 7.10.5).
Table 22: LIN receiver: modified symmetry of transmitter propagation
delay time parameter value (item 7.12.24).
Added Section 9.3: PowerSSO-36 packing information.
Section 7.2: Oscillator: changed Vs minimum value from 7 to 6 V.
Table 10: Supply and supply monitoring:
– changed parameter 7.1.10 (I
– changed parameter 7.1.11 (I
V(BATWU)
V(BATWU)
) max value from 300 to 320 µA
) max value from 380 to 410 µA.
Modified Figure 4.: Watchdog
Modified Section 2.13: Low side driver outputs Rel1, Rel2.
Added note to Section 2.2.2: Flash mode.
Section Table 48.: Control register 2: changed definition to V
Lock Out
S
parameter.
Added Section 6.3: Package and PCB thermal data.
Modified Section 7.14.3: Input PWM 2 Vth for flash mode.
Table 42: Control register 1: modified "pull down" settings for the wake-
up inputs WU1..4 .
Table 60: PowerSSO-36 mechanical data:
– Deleted A (min) value
– Changed A (max) value from 2.47 to 2.45
08-Jul-20095
– Changed A2 (max) value from 2.40 to 2.35
– Changed a1 (max) value from 0.075 to 0.1
– Added k row
– Changed G (max) value from 0.075 to 0.1
Doc ID 13518 Rev 567/68
L9952GXP
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.