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