TLE8242-2
8 Channel Fixed Frequency Constant Current
Control With Current Profile Detection
Data Sheet, Rev. 1.0, Feb 2010
Automotive Power
Data Sheet 2 Rev. 1.0, 2010-02-09
TLE8242-2
Table of Contents
Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3.1 Direct PWM Mode Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3.2 Constant Current Mode Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.1 Pin Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.2 Pin Definitions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 General Product Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.1 Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.2 Functional Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.3 Thermal Resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5 Functional Description and Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.1 Supply and Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.2 Input / Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.3 Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.3.1 On-State Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.3.2 Off-State Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.4 Output Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.5 Current Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.6 Current Feedback Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.7 Direct PWM control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
5.7.1 Selecting the Frequency of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
5.7.2 Selecting the Duty Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
5.8 Current Profile Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.8.1 Zone 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.8.2 Zone 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.8.3 Zone 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.8.4 Current Profile Time out & Detection Interrupted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.9 Serial Peripheral Interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.9.1 SPI Signal Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.9.2 SPI Message Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.9.2.1 SPI Message #0 - IC Version / Manufacturer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.9.2.2 SPI Message #1 - Control Method and Fault Mask Configuration . . . . . . . . . . . . . . . . . . . . . . . . 39
5.9.2.3 SPI Message #2 - Diagnostic Configuration (channel 0-3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
5.9.2.4 SPI Message #3 - Diagnostic Configuration (channel 4-7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
5.9.2.5 SPI Message #4 - Diagnostic Read (channel 0-3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
5.9.2.6 SPI Message #5 - Diagnostic Read (channel 4-7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
5.9.2.7 SPI Message #6 - PWM Offset (channel 0-3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
5.9.2.8 SPI Message #7 - PWM Offset (channel 4-7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.9.2.9 SPI Message #8 - Main Period Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.9.2.10 SPI Message #9 - Control Variable Set (KP and KI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.9.2.11 SPI Message #10 - Current and Dither Amplitude Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
5.9.2.12 SPI Message #11 - Dither Period Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Table of Contents
Data Sheet 3 Rev. 1.0, 2010-02-09
TLE8242-2
Table of Contents
5.9.2.13 SPI Message #12 - Max / Min Current Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
5.9.2.14 SPI Message #13 - Average Current Read Over Dither Period . . . . . . . . . . . . . . . . . . . . . . . . . 60
5.9.2.15 SPI Message #14 - Autozero Trigger / Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
5.9.2.16 SPI Message #15 - PWM Duty Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
5.9.2.17 SPI Message #16 - Current Profile Detection Setup 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
5.9.2.18 SPI Message #17 - Current Profile Detection Setup 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
5.9.2.19 SPI Message #18 - Current Profile Detection Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
5.9.2.20 SPI Message #19 - Read Generic Flag Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6 Application Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
6.1 Further Application Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7 Package Outlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
8 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
PG-LQFP-64
Type Package Marking
TLE8242-2 PG-LQFP-64 TLE8242-2L
Data Sheet 4 Rev. 1.0, 2010-02-09
8 Channel Fixed Frequency Constant Current Control
With Current Profile Detection
TLE8242-2
1Overview
1.1 Features
Low side constant current control pre-driver integrated circuit
Eight independent channels
Output current programmable with 11 bit resolution
Current range = 0 to 1.2A (typ) with a 0.2 sense resistor
Resolution = 0.78125 mA/bit (typ) with a 0.2 sense resistor
+/- 2% full scale error over temperature when autozero is used
Programmable PWM frequency via SPI from approximately
10 Hz to 4 kHz (typ)
Programmable KP and KI coefficients for the PI controller for each
channel
Programmable superimposed dither
Dither programmed by setting a dither step size and the number of PWM periods in each dither period
Programmed via the SPI interface
The dither for each channel can be programmed independently
Programmable synchronization of the PWM control signals
Phase delay time set via the SPI interface
Synchronization initiated via signal at the PHASE_SYNC input pin
Channels within one device and between multiple devices can be synchronized
Each channel can be configured to for constant current control or for direct PWM control via SPI
In Direct PWM mode, a current profile detection function is engaged
Verifies solenoid armature movement
Profile characteristics programmed via SPI
Pass / Fail Status can be read via SPI
Interface and Control
32 Bit SPI (Serial Peripheral Interface) - Slave only
ENABLE pin to disable all channels or freeze all channels
Active low RESET_B pin resets internal registers to their default state and disables all channels
Open drain FAULT pin can be programmed to transition low when various faults are detected
5.0V and 3.3V logic compatible I/O
Protection
Over current shutdown - monitored at POSx pin
Programmable over current threshold
Programmable over current delay time
Programmable over current retry time
Battery pin (BAT) overvoltage shutdown
Data Sheet 5 Rev. 1.0, 2010-02-09
TLE8242-2
Overview
Diagnostics
Over current
Open load in on state
Open load in off state
Short to ground
Test complete bit - indicates that fault detection test has completed
Control loop monitor capabilities
The average current measurement over the last completed dither cycle for a selected channel can be
accessed via SPI
The minimum and maximum current measurements over the last completed dither cycle for a selected
channel can be accessed via SPI. This data can be used to measure the achieved dither amplitude
The duty cycle of each channel can be accessed via SPI
The auto zero values used to cancel the offsets of the input amplifiers can be accessed via SPI
Required External Components:
N-Channel Logic level (5V) MOSFET transistor with typical Ron 100 m (e.g. SPD15N06S2L-64)
Recirculation diode (ultrafast)
Sense resistor (0.2for 1.2A average output current range)
Green Product (RoHS compliant)
AEC Qualified
1.2 Applications
Variable Force Solenoids (e.g. automatic transmission solenoids)
Other constant current solenoids
Idle Air Control
Exhaust Gas Recirculation
Vapor Management Valve
Suspension Control
1.3 General Description
The TLE8242G IC is an eight channel low-side constant current control predriver IC. Each channel can be
configured to function either in direct PWM mode or in constant current mode by setting the appropriate CM bit in
SPI message #1.
1.3.1 Direct PWM Mode Operation
For Direct PWM operation, the POSx and NEGx pins must be connected to the circuit in either of the configurations
shown in Figure 1. If the sense resistor is included, the load current can be monitored by the microcontroller via
a SPI command. The open load in on state fault detection feature is disabled in direct PWM mode.
Note: An external flyback clamp is required in this configuration otherwise the IC may be damaged.
TLE8242-2
Overview
Data Sheet 6 Rev. 1.0, 2010-02-09
Figure 1 External Circuit Diagram for Direct PWM Mode Operation
1.3.2 Constant Current Mode Operation
During constant current operation, the POSx and NEGx pins must be connected to the circuit in the configuration
shown in Figure 2.
Note: An external recirculation diode is required in this configuration otherwise the IC may be damaged.
Figure 2 External Circuit Diagram for Constant Current Mode Operation
During constant current operation, the PWM control signal driven at the OUTx pin is controlled by the control loop
shown in Figure 3. The PWM Frequency is programmed via the SPI message # 8. In this message the main period
10nF
0.2
PWM or On/Off
Solenoid
Vs
POSx
NEGx
OUTx
Electronic
Module
10nF
0.2
Constant Current
Solenoid
Vs Vs
POSx
NEGx
OUTx
Electronic
Module
Data Sheet 7 Rev. 1.0, 2010-02-09
TLE8242-2
Overview
divider, N, can be set to any value between 79 and 214 -1 and the divider M can be set to 32, 64, or 128. In direct
PWM mode, the value M can also be set to 512. The equation for calculating the PWM frequency is:
In constant current mode, the value of M is the number of A/D samples within one PWM period. Setting the SAM
bit in SPI Message #8 to a “1” will cause the ADC samples immediately following a change in the state of the OUTx
pin to be discarded. If the SAM bit is set to ‘0’, all M A/D samples are used in the average calculation.
The 11 bit Current Set Point is programmed via the SPI message #10. The equation for calculating the current
setpoint is:
The Proportional coefficient (KP) and the Integral coefficient (KI) of the control loop are programmed in SPI
message #9. The KP and KI values should be set to values that result in the desired transient response of the
control loop. The duty cycle of the OUTx pin can be calculated from the difference equations:
where error is the difference between the commanded average current and measured average current in units of
Amps.
where k indicates the integer number of PWM periods that have elapsed since current regulation was initiated.
N
M
F
F
=CLK
PWM
[ohm]R
[mV]320
2
(11bit)setpoint
[mA]SetpointCurrent
SENSE
11 =
() ()
()
)1(][1*
][
)(
)(][1*
][
+
=
+
=
kINTAkerror
NM0.04
OhmRsense
KIkINT
kINTAkerror
NM0.04
OhmRsense
KPkDutyCycle
TLE8242-2
Overview
Data Sheet 8 Rev. 1.0, 2010-02-09
Figure 3 Control Loop - Simplified Diagram
Table 1 describes the effect on the integrator of the PI controller of several events.
Table 1 Control Loop Integrator Control
Condition Action to Integrator
Reset Active Cleared
V5D undervoltage Cleared
V5Ax undervoltage Cleared
ENABLE pin low (SPI message #10 bit EN = 0) Cleared
ENABLE pin low (SPI message #10 bit EN = 1) Remains Operational
VBAT overvoltage Held at current value
Short to BAT Cleared
Phase_Sync Transition Remains Operational
Integrator value for first PWM cycle = value from end of
last complete PWM cycle.
Average Current set to 0 Cleared
Control Mode set to Direct PWM Cleared
Main Period Set (N, M) Changed Remains Operational
KP, KI settings Changed Remains Operational
A/DAverage
Autozero
Value
“ON
-
CURRENT SET
POINT
DITHER STEP SIZE
Dither
Generation
+
++KP
Σ
KI
PWM
Block
+
+
DITHER STEPS
OUTx
POSx
NEGx
Amp
+
-
Auto Zero
Autozero
Value
OFF”
DUTY
CYCLE
AVG
CURRENT READ
Italics = CAN BE MONITORED VIA SPI
Underlined = CAN BE PROGRAMMED VIA SPI
Current
Readout
MIN
CURRENT READ
MAX
CURRENT READ
CL K
DI RECT PW M
Data Sheet 9 Rev. 1.0, 2010-02-09
TLE8242-2
Overview
Auto Zero
The TLE8242 includes an autozero feature for each channel. When the setpoint of a channel is set to 0 mA and
the autozero is triggered by an SPI command, the offset of the amplifiers and analog to digital converters are
measured. The time required for the autozero sequence is calculated according to the formula:
The measured offsets can be read via SPI message #14. these offsets will be subtracted from the A/D converter
output as shown in Figure 3 when the current set point is greater than 0.
Dither
A triangular dither waveform can be superimposed on the current set point by setting the amplitude and frequency
parameters of the dither waveform via SPI messages #10 and #11. See the SPI message section for details.
The first programmed value is the step size of the dither waveform which is the number of bits added or subtracted
from the setpoint per PWM period. One LSb of the dither step size is 1/4th the magnitude of the nominal setpoint
current value. The second programmed value is the number of steps in one quarter of the dither waveform.
When dither is enabled, a new average current set point will not be activated until the current dither cycle has
completed. The dither cycle is completed on the positive zero crossing of the dither waveform. A new dither
amplitude setting or a new dither frequency setting will also not be activated until the current dither cycle has
completed. See Figure 4.
Figure 4 New Dither Values Programmed and the Resulting Waveform Timing
Note: The actual measured dither waveform is attenuated and phase shifted according to the frequency response
of the control loop.
CLK
AZ F
NM4
T
=
PWM_START
Dither
Dither
Parameter
Change
TLE8242-2
Block Diagram
Data Sheet 10 Rev. 1.0, 2010-02-09
2 Block Diagram
Figure 5 Block Diagram
POS0
OUT0
NEG0
SCK
SI
SO
CS_B
FAULT
RESET_B
PHASE_SYNC
V5D
GND_D
GNDA1
CLK
ENABLE
V_SIGNAL
TEST
Power
POS1
OUT1
NEG1
POS2
OUT2
NEG2
POS3
OUT3
NEG3
POS4
OUT4
NEG4
POS5
OUT5
NEG5
POS6
OUT6
NEG6
POS7
OUT7
NEG7
Logic
SPI
Interface
SO
Supply
BAT
A/D Converter
PWM
D iagnost ics
Current Control,
Dither,
PWM,
Autozero,
C hannel Logic,
C urrent Profile
A/D Converter
PWM
D iagnost ics
Current Control,
Dither,
PWM,
Autozero,
C hannel Logic,
C urrent Profile
A/D Converter
PWM
D iagnost ics
Current Control,
Dither,
PWM,
Autozero,
C hannel Logic,
C urrent Profile
A/D Converter
PWM
D iagnost ics
Current Control,
Dither,
PWM,
Autozero,
C hannel Logic,
C urrent Profile
A/D Converter
PWM
D iagnost ics
Current Control,
Dither,
PWM,
Autozero,
C hannel Logic,
C urrent Profile
A/D Converter
PWM
D iagnost ics
Current Control,
Dither,
PWM,
Autozero,
C hannel Logic,
C urrent Profile
A/D Converter
PWM
D iagnost ics
Current Control,
Dither,
PWM,
Autozero,
C hannel Logic,
C urrent Profile
A/D Converter
PWM
D iagnost ics
Current Control,
Dither,
PWM,
Autozero,
C hannel Logic,
C urrent Profile
V5A1
V5A2
V5A3
GNDA2
GNDA3
SCI3
SCO2
SCO3
AMUX
GNDSA
GNDSD
Data Sheet 11 Rev. 1.0, 2010-02-09
TLE8242-2
Pin Configuration
3 Pin Configuration
3.1 Pin Assignment
Figure 6 Pin Configuration
3.2 Pin Definitions and Functions
Pin Symbol Function
1NEG0 Channel #0 Negative sense pin; Connect to the “FET” side of the external
sense resistor
2POS0 Channel #0 Positive sense pin; Connect to the “load” side of the external
sense resistor
3NC Not Connected; do not connect to external supply, ground, or signal
4V5A1 Supply Voltage; 5V input for analog circuits. An external capacitor is to be
connected between this pin and GND_A near this pin
5 (T) SCO2 Test Pin; Used for IC test. Must be connected to GND_D for specified
operation of the IC
6 (T) SCO3 Test Pin; Used for IC test. Must be connected to GND_D for specified
operation of the IC
7GND_A1 Ground; ground pin for analog circuits
8GNDSA Ground; ground pin for substrate connection near analog circuits
1
17
33
49
TLE8242L
ADLER2
64
16
32
48
NEG0
POS0
NC
V5A1
SCO2
SCO3
GNDA1
GNDSA
GNDA2
AMUX
RESET_B
V5A2
NC
BAT
POS4
NEG4
NC
NEG1
POS1
NC
OUT0
OUT1
GNDA3
NC
V5A3
OUT2
OUT3
NC
POS2
NEG2
NEG3
POS3
NC
CS_B
SCK
SI
SO
V_SIGNAL
FAULT
GNDSD
GND_D
CLK
TEST
PHASE_SYNC
V5D
NC
ENABLE
NC
NC
NEG5
POS5
NC
OUT4
OUT5
NC
SCI3
NC
OUT6
OUT7
NC
POS6
NEG6
NEG7
POS7
TLE8242-2
Pin Configuration
Data Sheet 12 Rev. 1.0, 2010-02-09
9GND_A2 Ground; ground pin for analog circuits
10 (T) AMUX Test Pin; Used for IC test. Must be connected to GND_D for specified
operation of the IC
11 (T) TEST Test Pin; Used for IC test. Must be connected to GND_D for specified
operation of the IC
12 V5A2 Supply Voltage; 5V input for analog. An external capacitor is to be connected
between this pin and GND_A near this pin
13 NC Not Connected; do not connect to external supply, ground, or signal
14 BAT Battery Sense Input; for over-voltage detection. Connect through a series
resistor (e.g. 1 K ohm) to the solenoid supply voltage. A large electrolytic
capacitor (e.g. 47uF) should be placed between the BAT supply and ground
15 POS4 Channel #4 Positive sense pin; Connect to the “load” side of the external
sense resistor
16 NEG4 Channel #4 Negative sense pin; Connect to the “FET” side of the external
sense resistor
17 NC Not Connected; do not connect to external supply, ground, or signal
18 NEG5 Channel #5 Negative sense pin; Connect to the “FET” side of the external
sense resistor
19 POS5 Channel #5 Positive sense pin; Connect to the “load” side of the external
sense resistor
20 NC Not Connected; do not connect to external supply, ground, or signal
21 OUT4 Gate driver output for channel #4; Connect to the gate of the external
MOSFET
22 OUT5 Gate driver output for channel #5; Connect to the gate of the external
MOSFET
23 NC Not Connected; do not connect to external supply, ground, or signal
24 (T) SCI3 Test Pin; Used for IC test. Must be connected to GND_D for specified
operation of the IC
25 NC Not Connected; do not connect to external supply, ground, or signal
26 OUT6 Gate driver output for channel #6; Connect to the gate of the external
MOSFET
27 OUT7 Gate driver output for channel #7; Connect to the gate of the external
MOSFET
28 NC Not Connected; do not connect to external supply, ground, or signal
29 POS6 Channel #6 Positive sense pin; Connect to the “load” side of the external
sense resistor
30 NEG6 Channel #6 Negative sense pin; Connect to the “FET” side of the external
sense resistor
31 NEG7 Channel #7 Negative sense pin; Connect to the “FET” side of the external
sense resistor
32 POS7 Channel #7 Positive sense pin; Connect to the “load” side of the external
sense resistor
33 NC Not Connected; do not connect to external supply, ground, or signal
Pin Symbol Function
Data Sheet 13 Rev. 1.0, 2010-02-09
TLE8242-2
Pin Configuration
34 ENABLE ENABLE logic input; When this input pin is low all channels are turned off
(zero current) or remain in their last state, depending on how the channel is
programmed to respond
35 NC Not Connected; do not connect to external supply, ground, or signal
36 V5D Supply Voltage; 5V input for digital circuits. An external capacitor is to be
connected between this pin and GND_D near this pin
37 PHASE_SYNC Phase Synchronization Input: Used to synchronize the rising edges of the
PWM signal on the OUTx pins for each channel
38 RESET_B Reset Input; When this input pin is low all channels are turned off and all
internal registers are reset to the default state. The part must be held in reset
by an external source until all supplies are stable and within tolerance
39 CLK CLOCK; Main clock input for the chip. A clock input of 20 MHz to 40 MHz is
required
40 GND_D Ground; ground pin for digital circuits
41 GNDSD Ground; ground pin for substrate connection near digital circuits
42 FAULT Fault Output Pin; Open drain output pin is pulled low when a fault condition
is detected. Certain faults can be masked via SPI
43 V_SIGNAL Supply Voltage; Supply pin for the SPI SO output and the pull-up current
sources of the digital inputs CS_B and RESET_B. An external capacitor must
be connected between this pin and GND_D near this pin
44 SO SPI Serial Data Out
45 SI SPI Serial Data In
46 SCK SPI Serial Clock Input
47 CS_B SPI Chip Select Bar; active low signal
48 NC Not Connected; do not connect to external supply, ground, or signal
49 POS3 Channel #3 Positive sense pin; Connect to the “load” side of the external
sense resistor
50 NEG3 Channel #3 Negative sense pin; Connect to the “FET” side of the external
sense resistor
51 NEG2 Channel #2 Negative sense pin; Connect to the “FET” side of the external
sense resistor
52 POS2 Channel #2 Positive sense pin; Connect to the “load” side of the external
sense resistor
53 NC Not Connected; do not connect to external supply, ground, or signal
54 OUT3 Gate driver output for channel #3; Connect to the gate of the external
MOSFET
55 OUT2 Gate driver output for channel #2; Connect to the gate of the external
MOSFET
56 V5A3 Supply Voltage;5V input for analog. An external capacitor is to be connected
between this pin and GND_A near this pin.
57 NC Not Connected; do not connect to external supply, ground, or signal
58 GND_A3 Ground; ground pin for analog circuits
59 OUT1 Gate driver output for channel #1; Connect to the gate of the external
MOSFET
Pin Symbol Function
TLE8242-2
Pin Configuration
Data Sheet 14 Rev. 1.0, 2010-02-09
60 OUT0 Gate driver output for channel #0; Connect to the gate of the external
MOSFET
61 NC Not Connected; do not connect to external supply, ground, or signal
62 POS1 Channel #1 Positive sense pin; Connect to the “load” side of the external
sense resistor
63 NEG1 Channel #1 Negative sense pin; Connect to the “FET” side of the external
sense resistor
64 NC Not Connected; do not connect to external supply, ground, or signal
Pin Symbol Function
Data Sheet 15 Rev. 1.0, 2010-02-09
TLE8242-2
General Product Characteristics
4 General Product Characteristics
4.1 Maximum Ratings
Note: Stresses above the ones listed here may cause permanent damage to the device. Exposure to absolute
maximum rating conditions for extended periods may affect device reliability.
Note: Integrated protection functions are designed to prevent IC destruction under fault conditions described in the
data sheet. Fault conditions are considered as “outside” normal operating range. Protection functions are
not designed for continuous repetitive operation.
Absolute Maximum Ratings 1)
Tj = -40 °C to +150 °C; all voltages with respect to ground, positive current flowing into pin (unless otherwise
specified)
1) Not subject to production test, specified by design.
Pos. Parameter Symbol Limit Values Unit Conditions
Min. Max.
Voltages
4.1.1 Battery Input (VBAT) VBAT -13 50 V
4.1.2 Supply Voltage (logic) V5D,V5A1
V5A2,V5A3
Vsignal
-0.3 6.0 V
4.1.3 POSx, NEGx Vpos, Vneg -0.3 50 V
4.1.4 POSx-NEGx Vpos-Vneg -0.2 13 V
4.1.5 OUTx Vout -0.3 min(V5D+
0.3; 6)
V–
4.1.6 RESET_B, SI, SCK, CS_B, CLK, TEST,
PHASE_SYNC, ENABLE
Vio -0.3 min(V5D+
0.3; 6)
V–
4.1.7 SO, FAULT Vio -0.3 min(Vsignal
+ 0.3; 6)
V–
4.1.8 Maximum difference between V5D and
V5Ax pins
-500 500 mV
Currents
4.1.9 Input Clamp Current ENABLE,
PHASE_SYNC, RESET_B, SI, SCK,
CS_B, CLK
ICLAMP 5–5mA
2)
2) Current needs to be limited only when maximum voltages are exceeded
Temperatures
4.1.10 Storage Temperature Tstg -65 150 °C–
4.1.11 Junction Temperature Tj-40 150 °C–
ESD Susceptibility
4.1.12 HBM -2 2 kV 3)
3) ESD Susceptibility HBM according to EIA/JESD 22-A 114B
4.1.13 CDM all pins -500 500 V 4)
4) ESD Susceptibility CDM according to EIA/JESD22-C101
4.1.14 CDM corner pins -750 750 V 4)
TLE8242-2
General Product Characteristics
Data Sheet 16 Rev. 1.0, 2010-02-09
4.2 Functional Range
Tj = -40 °C to +150 °C; all voltages with respect to ground, positive current flowing into pin (unless otherwise
specified)
Note: Within the functional range the IC operates as described in the circuit description. The electrical
characteristics are specified within the conditions given in the related electrical characteristics table.
4.3 Thermal Resistance
Tj = -40 °C to +150 °C; all voltages with respect to ground, positive current flowing into pin (unless otherwise
specified)
Pos. Parameter Symbol Limit Values Unit Conditions
Min. Max.
4.2.1 Supply Voltage Range for Normal
Operation - VBAT
VBAT 5.5 42 V
4.2.2 Supply Voltage Range for Normal
Operation - V5D, V5A1, V5A2,
V5A3
VV5D
VV5A1,
VV5A2,
VV5A3
4.75 5.25 V
4.2.3 Supply Voltage Range for Normal
Operation -V_SIGNAL
VV_SIGNAL 3.0 5.25 V
4.2.4 Clock Frequency fCLK 20 40 MHz
4.2.5 PWM Frequency for Normal
Operation
fPWM 10 4000 Hz
4.2.6 Extended PWM Frequency Range fPWM 10 8000 Hz Parameter
deviations possible
4.2.7 Common Mode Voltage Range for
Normal Operation - POSx, NEGx
pins.
Vpos ,Vneg 030V
4.2.8 Extended Common Mode Voltage
Range for Operation - POSx, NEGx
pins.
Vpos ,Vneg 0 42 V Parameter
deviations possible
Pos. Parameter Symbol Limit Values Unit Conditions
Min. Typ. Max.
4.3.1 Junction to
Ambient1)
1) Not subject to production test, specified by design.
RthJA –38–K/W
2)
2) Specified RthJA value is according to Jedec JESD51-2, -7 at natural convection on FR4 2s2p board; The Product (chip +
Package) was simulated on a 76.2 x 114.3 x 1.5 mm board with 2 inner copper layers (2 x 70µm, 2 x 35 µm Cu).
Data Sheet 17 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5 Functional Description and Electrical Characteristics
Note: The listed characteristics are ensured over the operating range of the integrated circuit.
Typical characteristics specify mean values expected over the production spread. If not otherwise specified,
typical characteristics apply at TA = 25 oC and the given supply voltage.
5.1 Supply and Reference
The device includes a power-on reset circuit. This feature will disable the channels and reset the internal registers
to their default values when the voltage on V5A1, V5A2, V5A3, and/or V5D are below their respective reset
thresholds.
The V5D pin and GND_D pin are the supply and ground pins for the digital circuit blocks. The current through these
pins contain high frequency components. Decoupling with ceramic capacitors and careful PCB layout are required
to obtain good EMC performance.
The V5A1, V5A2, V5A3 pins and GND_A pin are the supply and ground pins for the analog circuit blocks.
The V_SIGNAL pin supplies the SPI output pin (SO) and is the source voltage for the pull up currents on the CS_B
and RESET_B pins. V_SIGNAL should be connected to the I/O supply of the microcontroller (3.3V or 5.0V).
The BAT pin is an input pin used to detect over voltage faults. This pin is not a power supply input. A series resistor
should be connected between this pin and the solenoid supply voltage for transient protection.
Electrical Characteristics:
V5D = 4.75V to 5.25V, Vbat = 5.5V to 42V, Tj = -40 °C to +150 °C, all voltages with respect to ground, positive
current flowing into pin (unless otherwise specified)
Pos. Parameter Symbol Limit Values Unit Conditions
Min. Typ. Max.
5.1.1 Undervoltage reset (internally
generated) V5A1, V5A2, and V5A3
VV5A1,
VV5A2,
VV5A3
3.5 4.5 V Internal reset
occurs if V5A1
V5A2, or V5A3 is
below the
undervoltage limit
5.1.2 Undervoltage reset (internally
generated) V5D
VV5D 1.0 4.5 V Internal reset
occurs if V5D is
under the
undervoltage limit
5.1.3 V5D supply current IV5D ––75
40
mA
mA
fCLK=40MHz
fCLK=20MHz
5.1.4 V5A1 supply current IV5A1 ––20mA
5.1.5 V5A2 supply current IV5A2 ––20mA
5.1.6 V5A3 supply current IV5A3 ––5mA
5.1.7 V_SIGNAL supply current IV_SIGNAL ––300µAV
SIGNAL=5.25V
SO = Hi-Z state
5.1.8 VBAT current IVBAT ––80µA full operating range
5.1.9 VBAT current - unpowered IVBAT ––5µAV5D=V5Ax=0V,
BAT=14V
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 18 Rev. 1.0, 2010-02-09
5.2 Input / Output
All digital inputs are compatible with 3.3 V and 5 V I/O logic levels. The supply voltage for the SPI output SO is the
V_SIGNAL pin. All digital inputs are pulled to a known state by a weak internal current source or current sink when
not connected. However, unused digital input pins should be connected to ground or to V_SIGNAL (according to
the desired functionality) by an external connection or resistor. All input pin weak internal current sources are
supplied by the V_SIGNAL pin.
The RESET_B pin is an active low input pin. When this pin is low, all channels are off, and all internal registers
are reset to their default states. The device must be held in reset by an external source until all the power supplies
have stabilized. The IC contains an internal power on and undervoltage reset which becomes active when V5D,
V5A1, V5A2, or V5A3 fall below the undervoltage reset thresholds.
The ENABLE pin is an active high input pin which must be held high for normal operation of the device. When this
pin is held low all channels are either turned off or will remain in the last state, depending on how the enable
behavior of the channel is programmed via SPI Message #10. The default condition is that all channels are turned
off when the ENABLE pin is low.
The CLK pin is the main clock input for the device. The input thresholds are compatible with 3.3 V and 5.0 V logic
levels. No synchronization is required between the clock signal connected to the CLK pin and the SPI clock signal
(SCK). All internal clock signals of the TLE8242 (PWM signals, A/D sampling, diagnostics, etc.) are generated
from the this clock input. Also, this clock is required for the device to accept and respond to SPI messages.
Figure 7 CLK Timing Diagram
The PHASE_SYNC pin is an input pin that can be used by the microcontroller to synchronize the PWM control
signals of multiple channels. The desired phase delay between the rising edge of the signal applied to the
PHASE_SYNC pin and the rising edge of the PWM signal of each channel can be programmed independently via
SPI message #6. The equation for calculating the offset is:
Each time a pulse is received on the PHASE_SYNC pin, the IC will latch a bit which is reported via the response
to SPI message #19. (See SPI interface section for bit/message location.) This latch is cleared when the message
is read.
Note: The PWM periods are restarted when a rising edge is detected on the PHASE_SYNC pin. A periodic pulse
train on this pin will disturb the current regulation.
Note: After exiting the reset state, a pulse is needed on the PHASE_SYNC pin in order to synchronize the PWM
periods of the channels
CLK
t14
1/fclk
t15
VIHmin
VILmax
PWM
offset F*32
OffsetPhaseSynch
T=
Data Sheet 19 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
Figure 8 Phase Synchronization Diagram
The TEST, SCI3, SCO2, SCO3, and AMUX pins are used during IC level test. These pins should be connected
directly to ground for normal device operation.
The FAULT pin is an open drain output pin. This pin will be pulled low by the device when an unmasked fault has
been detected. The fault masks are programmed via SPI message #1.
Electrical Characteristics:
V5D = 4.75V to 5.25V, Vbat = 5.5V to 42V, Tj = -40 °C to +150 °C, all voltages with respect to ground, positive
current flowing into pin (unless otherwise specified)
Pos. Parameter Symbol Limit Values Unit Conditions
Min. Typ. Max.
5.2.1 Logic input low voltage VILMAX ––0.8V
5.2.2 Logic input high voltage VIHMIN 2.0 V
5.2.3 Logic output low voltage VOLMAX ––0.2VIL=200µA
5.2.4 Logic output high voltage VOHMIN 0.8*V_
SIGNAL
––VIL=-200µA
5.2.5 Pull down digital input (SI, CLK,
SCK, PHASE_SYNC, ENABLE)
Ipd 10 50 µAVin=V_SIGNAL
5.2.6 Pull up digital input (CS_B,
RESET_B)
Ipu -50 -10 µAVin=0V (Current
drain from
V_SIGNAL)
5.2.7 Fault pin voltage Vfault.low 0.4 V Active state;
Ifault=2mA
5.2.8 Fault pin current Ifault,max 2.0 mA Active state;
Vfault=0.4V
5.2.9 CLK high time (rise 2.0V to fall
2.0V)
t14 8––ns
5.2.10 CLK low time (fall 0.8V to rise 0.8V) t15 8––ns
OUTx
PWM/32 CLK
PHASE_SYNC
T1
T1
gate turns off
on-time cut
short
normal
turn off
time
Programmed delay =
8/32 PWM periods
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 20 Rev. 1.0, 2010-02-09
5.3 Diagnostics
The TLE8242 includes both on-state and off-state diagnostics. On-state diagnostics are active when the OUTx pin
is driven high and off-state diagnostics are active when the OUTx pin is driven low. A detected fault can be used
to activate the open drain FAULT pin on the IC. This pin can be used to interrupt the microcontroller when a fault
is detected. Certain faults can be prevented from activating the FAULT pin by setting the fault mask register in SPI
message #1.
Once a fault is detected it is latched into the respective fault register. The microcontroller can access the fault
registers by SPI messages #4, #5, and #19.
If the RESET_B line transitions high-to-low, a RB_L bit is latched into the Generic Flag Bits register. This register
is cleared after it is read from the SPI, and the RB_L bit will not be set again until the next high-to-low transition
occurs on the RESET_B pin.
If the ENABLE pin voltage is low, the EN_L bit is latched in the Generic Flag Bits register. The ENL bit is cleared
when the ENABLE pin returns to a high state and the Generic Flag Bits register is accessed by SPI message #19.
The diagnostic delay timers for the on-state and off-state diagnostic functions are derived from the master clock
signal applied to the pin CLK using a programmable predivider. This predivider is programmable by the
DIAG_TMR bits in SPI message #1.
Three unique fault types are detected using 4 different fault bits
The fault bit is set to a “1“ if the fault is detected.
Note: In order to differentiate between a Short to Ground Failure and an Open Load Failure, the channel must be
turned off (setpoint = 0ma).
Tested Diagnostic Bits
Table 2 Timebase for Diagnostics
DIAG_TMR1 DIAG_TMR0 Pre-divider nfault
min ... max
Tested Timer and Fault Detection
Timer Period.
fCLK=20 MHz fCLK=40 MHz
0 0 128 10 ... 11 64 µsec 32 µsec
0 1 192 10 ... 11 96 µsec 48 µsec
1 0 128 2 ... 3 12.8 µsec 6.4 µsec
1 1 256 10 ... 11 128 µsec 64 µsec
Table 3 Diagnostic Flags / Bits
Fault Type Abr. Gate is ON Gate is OFF
Short to Ground Fault SG OL-ON-F reported (=0 in
ON/OFF mode)
Bit SG-F
Short to Battery Fault SB Bit SB-F
Open Load Fault OL BIT OL-ON-F
(=0 in ON/OFF mode)
Bit OL-OFF-F
CLK
fault
DDIAG_PERIO F
predivider*n
t=
Data Sheet 21 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
The tested bits allow the distinction between a a case when a fault bit is not set because the fault is not detected,
and the case when a fault bit is not set because the diagnostic test has not completed. For instance, the calculated
duty cycle is too low to complete the short to battery test.
Two fault tested bits are defined:
The tested bit is set to 1 when the fault test has completed successfully.
Each fault type can be described by the two bits: FAULT and TESTED.
Table 4 Diagnostics Tested Bits / Flags
Tested Type OUTx High OUTx Low
Short to Ground and Open load OFF
tested
Bit OFF-T
Short to Battery tested Bit SB-T
Table 5 FAULT vs. TESTED Bits Matrix and Interpretation
FAULT TESTED Interpretation by microcontroller
0 0 This fault type has not been tested
0 1 No Fault - The fault type has been tested and no fault is present
1 0 This combination cannot occur
1 1 Fault - This particular fault type has occurred
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 22 Rev. 1.0, 2010-02-09
Figure 9 Diagnostic Block Diagram
5.3.1 On-State Diagnostics
When the OUTx pin transitions high, the fault timers are cleared to 0 and the tested timer starts. If the tested timer
expires, the Bit SB-T (in the SPI registers #4 and #5) is set to 1. If the OUTx pin transitions low, the tested timer
is cleared and then used for the off-state diagnostics.
If the analog SB fault signal (SB-FA) changes to 1, the fault filter timer starts. If the fault filter timer expires, the
digitally filtered SB fault signal (SB-FD) is set to one. If SB-FA changes to 0, SB-FD changes immediately to 0 and
the filter timer is cleared to 0.
A SB-FD=1 and SB-T=1 switches off the OUTx signal and the SB-F bit in the FAULT register will be set. The OUTx
pin remains in the off state until the fault retry PWM period counter expires.
If the SPI message #3 or #4 is read, then the SB-F bit and the SB-FT bit in this register are cleared. Also, the tested
timer is cleared to 0.
The Short to Battery (SB) detection functions in both direct PWM and constant current mode. The SG-FD and OL-
OFF-FD signals are held to 0 while the OUTx pin is high.
If the TLE8242 IC is in direct PWM mode, Open Load ON detection is disabled (OL-ON-F = 0).
If the TLE8242 IC is not in direct PWM mode and the OUTx pin is high for 64 PWM periods, then the open load
fault ON mode fault is detected, and the OL-ON-F bit in the diagnostic register is set. This bit will be cleared when
SPI message #3 or #4 is read. If the OUTx pin remains in a high state, then the open load - on fault condition is
detected again after another 64 PWM cycles.
Predivider
1:128
1:192
1:256
Tested timer
1..10
(shared)
digital filter
open load OFF
(only while OFF)
digital filter
short to ground
(only while OFF)
digital filter
short to battery
(only while ON)
Gate On Counter
1..64
fault filter timer
(1..10) (shared)
VPOS
VOL
VPOS
VSG
VPOS
VSB
OL-FA
SG-FA
SB-FA
PWM mode enabled
PWM Start
clear LOGIC
Divider Select
(SPI register)
Masterclock
OL-OFF-FD
SG-FD
SB-FD
OL-ON-F
OL-OFF-F (Open Load Off Fault)
SG-F (Short to Ground Fault)
SB-F (Short to Battery Fault)
OL-ON-F (Open Load On Fault)
OFF-T (Short to Ground and Open
Load Off Tested)
SB-T (Short to Battery Tested)
read SPI fault
register
Gate is ON
clearclear clear
Data Sheet 23 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
Figure 10 On-State Diagnostic Timing - Short to Vbat
PWM_Start
OUTx
VPOS
Load
Current
SB-T
SB-F
Diagnostic
Read via SPI
Tested
Timer
Fault
Filter
Fault Retry Time
Short to Vbat
LOAD
ok
short
Vsb
Fault
Filter
Tested
Timer
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 24 Rev. 1.0, 2010-02-09
Figure 11 Open - On
5.3.2 Off-State Diagnostics
The off-state diagnostics function in both constant current mode and in direct PWM mode.
When the OUTx pin transitions low, the fault timers are cleared to 0 and the tested timer starts to count up. If the
tested timer expires, the Bit OFF-T in the Diagnostic register is set. If a SPI diagnostic register read occurs, the
tested timer is cleared to 0 and starts again to count up. If the OUTx pin transitions high, the tested-timer is cleared
to zero and then used for on-state diagnostics.
If the analog OL fault signal (OL-FA) changes to 1, the fault filter timer starts to count up. If the fault filter timer
expires, the digitally filtered OL fault signal (OL-ON-FD) is set to one.
If OL-FA changes to 0, OL-FD changes immediately to 0 and the fault filter timer is cleared to 0.
If the analog SG fault signal (SG-FA) changes to 1, the fault filter timer is cleared to 0 and starts to count up. If the
fault filter timer expires, the digitally filtered SG fault signal (SG-FD) is set to one. If SG-FA changes to 0, SG-FD
changes immediately to 0 and the fault filter timer is cleared to 0.
If SG-FD = 1 and the tested timer is expired then the SG-F bit in the FAULT register is set and the OL-OFF-F bit
in the FAULT register remains unchanged (independently from OL-OFF-FD).
If SG-FD = 0 and OL-OFF-FD = 1 then the OL-F Bit in the FAULT register is set.
If a SPI fault read occurs, the OFF-T Bit, the SG-F Bit and the OL-F Bit in the SPI registers are cleared to zero
(and the timers are cleared to 0).
PWM_Start
OUTx
VPOS
OL-ON-F
SPI
DIAGNOSTIC
READ
64 * PWM period
Data Sheet 25 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
Figure 12 Off-State Diagnostics
Figure 13 Off-State Diagnostics Timing Diagram - open
NEGx
OUTx
POSx
V
SUPPLY
Sol enoid
V5A
(Vol+Vsg)/2
(2.5V)
+
-
-
+
Vol (3V)
Vsg (1.7V)
+
OA
CMP
CMP
-
Digital
Filter
Digital
Filter
OL-FAOL-OFF-FD
SG-FASG-FD
Test ed Timer
(OFF)
OL-OFF-
FAULT
SG-
FAULT
Ipu(sg)
(150ua)
Ipd(ol)
(150ua)
latch
latch
latch
SG/OL-OFF
TESTED
Cneg
Cpos
VPOS
OUTx
OFF-T
OL-OFF-F
SPI
Diagnostic
Read
Tested
Timer
Fault
Filter
Tested
Timer
Fault
Filter
LOAD
ok
open
Vol
Vsg
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 26 Rev. 1.0, 2010-02-09
Figure 14 Off-State Diagnostics Timing Diagram - short to ground
Over Voltage Shutdown and Diagnostics
If the voltage at the BAT pin is above VBATOV, the output drivers set all OUTx pins to low, and a diagnostic bit is
set (SPI Message #19 bit OV). During over voltage condition the integrator of the steady state current control is
halted (actual value of the duty cycle is not changed during over voltage). All other functions operate normally (e.g.
ADC, Dithering, Auto zero, Filters, …).
Electrical Characteristics:
V5D = 4.75V to 5.25V, Vbat = 5.5V to 42V, Tj = -40 °C to +150 °C, all voltages with respect to ground, positive
current flowing into pin (unless otherwise specified)
Pos. Parameter Symbol Limit Values Unit Conditions
Min. Typ. Max.
5.3.1 Over voltage shutdown VBATOV 42 V Rising voltage on
BAT
5.3.2 Open load detection voltage VPOS(OL) V5A-2.5 V5A-1.5 V
5.3.3 POS pin OL pull down current IPD(OL) 90 150 225 µAV5A=5V,
VPOS=VNEG=V5A
5.3.4 Short to GND detection voltage VPOS(SHG) V5A-3.8 V5A-2.8 V
5.3.5 POS pin SG pull-up current IPU(SHG) -280 -150 -90 µAV5A=5V,
VPOS=VNEG=0V
5.3.6 NEG bias current - Low common
mode
INEG(L) -40 10 µAV5A=5V,
VPOS=VNEG=0V
5.3.7 NEG bias current - High common
mode
INEG(H) 0–60µAV5A=5V,
VPOS=VNEG=V5A
VPOS
OUTx
OFF-T
SG-F
SPI Diagnostic
Read
Tested
Timer
Fault
Filter
Tested
Timer
Fault
Filter
LOAD
ok
Short to
ground
Vol
Vsg
Data Sheet 27 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.3.8 POS Fault Threshold Voltage VFLT 0.6 0.7 0.8 V POS voltage
required to trigger a
short to battery
fault: config bits =
00
5.3.9 POS Fault Threshold Voltage VFLT 0.8 0.9 1.0 V POS voltage
required to trigger a
short to battery
fault: config bits =
01
5.3.10 POS Fault Threshold Voltage VFLT 1.0 1.1 1.2 V POS voltage
required to trigger a
short to battery
fault: config bits =
10
5.3.11 POS Fault Threshold Voltage VFLT 1.2 1.3 1.4 V POS voltage
required to trigger a
short to battery
fault: config bits =
11
5.3.12 Fault Filter Timer nfault 10 11 clock
cycles
DIAG_TMR = 00,
01 and 11
5.3.13 Fault Filter Timer nfault 23clock
cycles
DIAG_TMR = 10
5.3.14 Fault Filter Time Tff Clock Divider (SPI
Message 7)
00, 10- Predivider
128
01 - Predivider 192
11 - Predivider 256
5.3.15 Tested Timer Time Ttt Clock Divider (SPI
Message 7)
00, 10 - Predivider
128
01 - Predivider 192
11 - Predivider 256
V5D = 4.75V to 5.25V, Vbat = 5.5V to 42V, Tj = -40 °C to +150 °C, all voltages with respect to ground, positive
current flowing into pin (unless otherwise specified)
Pos. Parameter Symbol Limit Values Unit Conditions
Min. Typ. Max.
CLK
fault
f
predividern
CLK
fault
f
predividern
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 28 Rev. 1.0, 2010-02-09
5.4 Output Driver
The OUTx pins of the device are connected to the gates of the external MOSFET transistors. The OUTx pin driver
circuits charge and discharge the MOSFET gate capacitance with a constant current source and sink. The supply
for the current source is the V5D pin. Internal resistors to ground are included on the OUTx pins so that the external
MOSFET is held in the off state when power is not applied to the device.
An external resistor is typically placed between the OUTx pin and the gate of the external MOSFET in order to set
the MOSFET turn-on and turn-off times. The value of the resistor must be chosen such that the turn-on and turn-
off times of the MOSFET are no longer than 1/(Fpwm*32).
Electrical Characteristics:
V5D = 4.75V to 5.25V, Vbat = 5.5V to 42V, Tj = -40 °C to +150 °C, all voltages with respect to ground, positive
current flowing into pin (unless otherwise specified)
5.5 Current Control
Electrical Characteristics:
V5D = 4.75V to 5.25V, Vbat = 5.5V to 42V, Tj = -40 °C to +150 °C, all voltages with respect to ground, positive
current flowing into pin (unless otherwise specified)
Pos. Parameter Symbol Limit Values Unit Conditions
Min. Typ. Max.
5.4.1 Passive Gate Pull Down
Resistance
RPD 50 200 kInternal pull down
resistor present at
each OUTx pin
5.4.2 OUTx source current IO_SRC -30 -15 mA VOUT = V5D-2V
5.4.3 OUTx sink current IO_SNK 15 30 mA VOUT = 2V
Pos. Parameter Symbol Limit Values Unit Conditions
Min. Typ. Max.
5.5.1 Offset Error
Output from Average block in
Figure 3.
1 count = 320/Rsense * 2-13 mA
0 120 counts Autozero
disabled.Vpos-
Vneg=0mV
Vpos, Vneg 30V
Dither disabled
5.5.2 Gain Error -2 2 % Autozero
Enabled.Vpos-
Vneg=300mV
Vpos, Vneg 30V
Data Sheet 29 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.6 Current Feedback Registers
The average current over each PWM cycle is measured resulting in a 13 bit value. The summation of the 13 bit
values for all PWM periods in a dither period can be read by accessing SPI message #13. Also, the 11 MSb’s of
the minimum and maximum 13 bit values within a dither period can be read by accessing SPI message #12.
Average Current Over Dither Period
When the SPI message #13 is read or written, the 13 bit average current value for each PWM cycle within the
dither period is summed beginning with the positive going zero crossing of the dither waveform. The resulting 20
bit value represents the average current over the dither cycle as shown in equation:
If dither is disabled (Dither Steps = 0 or Dither Amplitude = 0), then the Average Current Feedback value will be
updated every PWM period and will be the same as the 13 bit current feedback value used in the PI controller.
The SPI message #13 includes a VALID bit that indicates whether the average current measurement has
completed since the last register access. When the register is accessed, the VALID bit is cleared. The VALID bit
is set again when the summation is completed and new data has been stored in the register.
The summation process runs continuously on the last selected channel. So if the same channel is repeatedly
selected, new data is always available within one dither period after the SPI register is accessed.
If the selected channel is different than the previously selected channel, the summation process does not begin
until the beginning of the next dither period. So, new data may not be available until two dither cycles have
completed.
The channel selection for the Average Dither Current Feedback Message message will also select the channel for
the Minimum and Maximum Current Over Dither Period function.
Minimum and Maximum Current Over Dither Period
When the SPI message #12 is read or written, the 13 bit average current value for each PWM cycle within the
dither period is monitored beginning with the positive going zero crossing of the dither waveform. The most
significant 11 bits of the minimum and the maximum average current values are stored.
If dither is disabled (Dither Steps = 0 or Dither Amplitude = 0), then the Minimum and Maximum values will be
updated every PWM period and will be the 11 Msb’s of the 13 bit current feedback value used in the PI controller.
The SPI message #12 includes a VALID bit that indicates whether a dither period has completed since the last
register access. When the register is accessed, the VALID bit is cleared. The VALID bit is set again when the dither
period is completed and new data has been stored in the minimum and maximum registers.
The minimum and maximum detection process runs continuously on the last selected channel. So, if the same
channel is repeatedly selected, new data is always available within one dither period after the SPI register is
accessed.
If the selected channel is different than the previously selected channel, the detection process does not begin until
the beginning of the next dither period. So, new data may not be available until two dither cycles have completed.
The channel selection for the Minimum and Maximum Current Over Dither Period message will also select the
channel for the Average Dither Current Feedback function.
[]
[Ohm]Rsense
[mV]320
StepsDither2
CurrentDither Avg
mAFeedbackCurrentDither 15
=
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 30 Rev. 1.0, 2010-02-09
5.7 Direct PWM control
In Direct PWM control mode, the PI control loop is disabled. The integrator in the constant current control logic is
cleared and held at 0 while direct PWM mode is active. The frequency and duty cycle of the OUTx pin signal is
directly controlled via SPI messages.
5.7.1 Selecting the Frequency of Operation
The period of the PWM is programmed in whole numbers of clocks from the CLK input (as in constant current
mode). The following formula is applied:
or
The value N is the divider programmed via the SPI interface. The IC will automatically limit the lower value of N to
79. If a value lower than 79 is programmed, the IC shall default N for that channel to 79 and return a value of 79
in the SPI response. The maximum value of N is 214-1 as it is programmed as a 14-bit number via SPI.
If a new value of N is programmed during operation, the new value of N will be returned on the next SPI message,
and the new value of N will be used at the beginning of the next PWM cycle. The default value for N is 625.
The value of M is the number of A/D samples in one PWM period. M is programmed with the value 32, 64, 128,
or 512 via an SPI message. The default value for M is 32. The PWM frequency multiplied by the value M is the
analog to digital converter sample rate. This sample rate must be no greater than 128 KHz.
5.7.2 Selecting the Duty Cycle
The duty cycle of the PWM is also programmed in whole numbers of clocks from the CLK input. The following
formula is applied:
PWM duty cycle is a 19 bit value programmed in SPI message # 15 “PWM duty cycle”.
or
The maximum duty cycle is clipped to 100%
N*M*TT CLKPWM
=
N*M
f
fCLK
PWM =
32
M
cycledutyPWM*TT CLKON =
[]
100%
N32
cycledutyPWM
%CycleDuty
=
Data Sheet 31 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.8 Current Profile Detection
The TLE8242 will detect current profiles due to the change in inductance caused by the opening/closing of
solenoid valves. Examples of the types of waveforms seen in this instance are shown in Figure 15 and Figure 16.
Examples of waveforms that fail the Current Profile Detection test are shown in Figure 17 and Figure 18.
Figure 15 Current Profile Diagram - Waveform Showing Valve Movement
Figure 16 Current Profile Diagram - Waveform Showing Valve Movement with Non-Zero Threshold in
Zone 2
Measured Current
(Differential Voltage )
A/D Samples
Zone 1 Zone 3
Timeout for Failure
PASS
Time Out
Detect Interrupt
OUTx Voltage
Zone 2
Time Out Timer
A/D Samples
Timeout for Failure
PASS
Time Out
Detect Interrupt
OUTx Voltage
Time Out Timer
Measured Current
(Differential Voltage )
3Zone Zone
Zone 2
1
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 32 Rev. 1.0, 2010-02-09
Figure 17 Current Profile Diagram - Time Out Failure
Figure 18 Current Profile Diagram - Detection Interrupted Failure
The Current Profile Detection feature is active only in Direct PWM mode. The method employed is to look for three
specific "patterns" of the current in 3 zones. This detection method is generally used for on/off valves. The on/off
control of the valve is achieved by selecting the PWM period desired and setting to a 0% or 100% duty cycle via
SPI, however the detection may work within a single PWM on-time with a duty cycle less than 100% if the profile
completes before the gate turns off.
The PWM period (N and M values) are critical as these values set the A/D sample rate used in the current profile
detection. The full 10-bit result of the A/D converter is used for the CPD function. Using a 200 mOhm sense
resistor, this translates into a resolution of 1.56 mA.
Measured Current
(Differential Voltage )
A/D Samples
Zone 1
Timeout for Failure
PASS
Time Out
Detect Interrupt
OUTx Voltage
Zone 2
Time Out Timer
Measured Current
(Differential Voltage )
A/D Samples
Zone 1
Timeout for Failure
PASS
Time Out
Detect Interrupt
OUTx Voltage
Zone 2
Time Out Timer
Data Sheet 33 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.8.1 Zone 1
When the OUTx pin transitions from low-to-high, zone 1 of the logic is entered. The TLE8242 compares the
difference between successive A/D samples and calculates the ADDIFF value. This value is compared with
Threshold1 as follows:
ADDIFF = A/Dm+1 - A/Dm
IF (ADDIFF > Threshold1) THEN count = count +1
When ADDIFF is greater than Threshold 1 for Count1 out of Count1 + 1 successive comparisons, zone 1 is passed
and zone 2 is entered. Note that if one of the tests fails, the actual test performed on the next sample after the
single failure is
ADDIFF = A/Dm+1 - A/Dm-1
IF (ADDIFF > 2 * Threshold1) THEN count = count +1
This has the effect of filtering out a single noise spike in the A/D measurement.
5.8.2 Zone 2
In zone 2, the TLE8242 compares the difference between successive A/D samples and calculates the ADDIFF
value. This value is compared with Threshold2 as follows:
ADDIFF = A/Dm+1 - A/Dm
IF (ADDIFF <Threshold2) THEN count = count +1
When ADDIFF is less than Threshold2 for Count2 out of Count2 + 1 successive comparisons, zone 2 is passed
and zone 3 is entered. When the thresold2 is set to 0, a negative difference in the A/D samples (negative slope)
must be detected. Note that if one of the tests fails, the actual test performed on the next sample after the single
failure is
ADDIFF = A/Dm+1 - A/Dm-1
IF (ADDIFF <2 * Threshold2) THEN count = count +1
This has the effect of filtering out a single noise spike in the A/D measurement.
5.8.3 Zone 3
In zone 3, the TLE8242 sample rate for the CPD function can be altered from the sample rate used for zone 1 and
zone 2. As in zone 1 and zone 2, the TLE8242 compares the difference between two A/D samples and calculates
ADDIFF. The sample rate can be altered in zone 3 such that ADDIFF is calculated as shown in Table 5.This allows
for more noise immunity and also allows the programming of a lower effective slope to be detected. When ADDIFF
is greater than Threshold3 for Count3 output of Count3 + 1 successive comparisons, the test passes and zone 3
is completed. When zone 3 passes, the current profile is passed.
Note that if one of the tests fails, the actual test performed on the next sample after the single failure is
ADDIFF = A/Dm - A/Dm-2*a (a=1, 2, 3, 4 depending on the settings in Table 6)
IF (ADDIFF > 2 * Threshold3) THEN count = count +1
This has the effect of filtering out a single noise spike in the A/D measurement.
Table 6 Zone 3 Sample Rate Selection
SPI Bit Values Samples Used ADDIFF
00 successive A/D samples A/Dm - A/Dm-1
01 every 2nd A/D sample A/Dm - A/Dm-2
10 every 3rd A/D sample A/Dm - A/Dm-3
11 every 4th A/D sample A/Dm - A/Dm-4
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 34 Rev. 1.0, 2010-02-09
5.8.4 Current Profile Time out & Detection Interrupted
If the Current Profile Time out value is achieved before the completion of the test, the current profile test has failed.
If this failure occurred, the Current Profile Time out bit in the SPI message is set.
The Current Profile Time out value is programmable and should be set to a value less than the PWM period.
If the OUTx pin is turned off before the completion of the test as in Figure 18, the Detection Interrupted SPI Bit is
set. Note that the OUTx pin must transition from high to low to set the Detection Interrupted fault bit. The Detection
Interrupted fault bit is not set by the expiration of the PWM period if the duty cycle is set to >= 100%.
If the entire CPD test passes (all three zones are passed before the time out), the "Passed Since Last Read" SPI
bit is set SPI message # 18.
Each channel of the Adler 2 is individually configurable for the current profile detection patterns.
The thresholds and counts for each zone must not be changed via SPI while a current profile detection sequence
is active, otherwise an incorrect detection may occur.
Data Sheet 35 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.9 Serial Peripheral Interface (SPI)
SPI messages for the TLE8242 IC are 32-bit values broken down into the following fields.
Bit 31: Read/Write Bit - 0 = Read 1 = Write
Bits 30-24: Message Identifier
Bits 23-0: Message Data
In cases where multiple channels require the same message structure, bits 24-25 of the Message Identifier
represent the channel numbers. The structure follows the following pattern
Bit 31: Read/Write Bit - 0 = Read / 1 = Write
Bits 30-27: Message Identifier
Bits 26-24: Channel Number
Bits 23-0: Message Data
The message from the microcontroller must be sent MSB first. The data from the SO pin is sent MSB first. The
TLE8242 will sample data from the SI pin on the rising edge of SCK and will shift data out of the SO pin on the
rising edge of SCK.
All SPI messages must be exactly 32-bits long, otherwise the SPI message is discarded. The response to an
invalid message (returned in the next SPI message) is the message with identifier 00000 (Manufacturer ID).
When the ENABLE pin is low, all SPI writes commands are executed as read commands.
When RESET_B pin is low, the SPI port is disabled. No SPI messages are received and no responses are sent.
The SO pin remains in a high impedance state.
There is a one message delay in the response to each message (i.e. the response for message N will be returned
during message N+1).
Read/Write operation is referenced from the SPI master. The TLE8242 IC is the slave device.
When bit 31 is = 0 to denote a read operation to the IC, the message data in bits 23-0 of the sent message are
ignored, but will contain valid data in the response message.
All response data (either from a read or write operation) is the direct contents of the addressed internal register,
and is not an echo of the data sent in the previous SPI message.
The response to the first SPI message after a reset is message #0 (IC Version / Manufacturer).
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 36 Rev. 1.0, 2010-02-09
5.9.1 SPI Signal Description
Electrical Characteristics:
V5D = 4.75V to 5.25V, Vbat = 5.5V to 42V, Tj = -40 °C to +150 °C, all voltages with respect to ground, positive
current flowing into pin (unless otherwise specified). Maximum capacitive load on the SO pin = 200 pF.
Pos. Parameter Symbol Limit Values Unit Conditions
Min. Typ. Max.
5.9.1 Lead Time t1140 ns CS_B falling (0.8V)
to SCK rising (0.8V)
5.9.2 Lag Time t250 ns SCK falling (0.8V)
to CS_B rising
(0.8V)
5.9.3 Dead time t3450 ns CS_B rise (2.0V) to
CS_B fall (2.0V)
5.9.4 1/FSCK Period of SCK t4100 ns SCK rise to rise
5.9.5 SCK to CSB set up time t510 ns SCK falling (0.8V)
to CS_B fall (2.0V)
5.9.6 SCK high time t640 ns SCK high time (rise
2.0V to fall 2.0V)
5.9.7 SCK low time t740 ns SCK low time (fall
0.8V to rise 0.8V)
5.9.8 CSB to SCK hold time t810 ns CS_B rise (2.0V) to
SCK rise (0.8V)
5.9.9 SI setup time t920 ns SI setup time to
SCK rise (0.8V)
5.9.10 SI hold time t10 20 ns SI hold time after
SCK rise (2.0V)
5.9.11 SO enable t11 110 ns CS_B fall (2.0V) to
SO Bit0 valid
5.9.12 SO valid time t12 80 ns SO data valid after
SCK rise (2.0V)
5.9.13 SO disable time t13 110 ns SO tristate after
CS_B rise (2.0V)
5.9.14 Number of clock pulses while CS_B
low
32 32 cycles
5.9.15 SO rise time TSO_RISE 50 ns (20% to 80%)
5.9.16 SO fall time TSO_FALL 50 ns (80% to 20%)
5.9.17 Input pin capacitance. CS_B, SI,
and SCK
Cin ––20pF
5.9.18 SO pin capacitance Cso ––25pFTristate
Data Sheet 37 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
Figure 19 SPI Timing Diagram
Bit 3 1
MSB
Bit 0
LSB
don’t care don’t care
clock
1
clock
2
clock
3
clock
31
clock
32
Bit 3 0 Bit 29 Bit 1
don’t care
Bit 0
LSB
Bit 3 1
MSB Bit 3 0 high impedancehigh impedance
time
time
time
time
don’t care
Bit 1 don’t careBit 2 9
SCK
SI
SO
t
6
t
4
t
7
t
1
t
5
t
10
t
9
t
11
t
12
t
2
t
3
t
8
t
13
CS_B
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 38 Rev. 1.0, 2010-02-09
5.9.2 SPI Message Structure
5.9.2.1 SPI Message #0 - IC Version / Manufacturer
Sent Values:
IC Version / Manufacturer
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID not used
0000000
1514131211109876543210
not used
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:24 ADDR Message Identifier
000 0000 = IC Version / Manufacturer
Response:
IC Version / Manufacturer
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0MSG_ID IC Manuf ID
1514131211109876543210
Version Number 00000000
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:24 ADDR Message Identifier
000 0000 = IC Version / Manufacturer
IC Manuf ID 23:16 DATA IC Manufacturer ID Number
1100 0001= Infineon Technologies
Version
Number
15:8 DATA Version Number
0000 0010 = B21
Data Sheet 39 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.9.2.2 SPI Message #1 - Control Method and Fault Mask Configuration
Sent Values:
Control Method and Fault Mask Configuration
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID CM0 CM1 CM2 CM3 CM4 CM5 CM6 CM7
0000001
1514131211109876543210
FM0 FM1 FM2 FM3 FM4 FM5 FM6 FM7 FMR FME DIAG_TMR unused
msb lsb
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:24 ADDR Message Identifier
000 0001 = Control Method and Fault Mask Configuration
CMx 23:16 DATA Control Mode for Channel #x
0 = Current Control (RESET value)
1 = Direct PWM
FMx 15:8 DATA Fault Mask for Channel #x
0 = faults don’t trigger FAULT pin (RESET value)
1 = fault triggers FAULT pin
FMR 7 DATA Fault Mask for RESET_B pin
0 = RESET_B=Low doesn’t trigger FAULT pin (RESET value)
1= RESET_B=Low does trigger FAULT pin
FME 6 DATA Fault Mast for ENABLE pin
0 = ENABLE=Low doesn’t trigger FAULT pin (RESET value)
1 = ENABLE=Low does trigger FAULT pin
DIAG_TMR 5:4 DATA Diagnostic Timer
00 = divide by 128, nfault = 10 ... 11 (RESET value)
01 = divide by 192, nfault = 10 ... 11
10 = divide by 128, nfault = 2... 3
11 = divide by 256, nfault = 10 ... 11
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 40 Rev. 1.0, 2010-02-09
Response:
Control Method and Fault Mask Configuration
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID CM0 CM1 CM2 CM3 CM4 CM5 CM6 CM7
0000001
1514131211109876543210
FM0 FM1 FM2 FM3 FM4 FM5 FM6 FM7 FMR FME DIAG_TMR 0 0 0 0
msb msb lsb
Field Bits Type Description
MSG_ID 30:24 ADDR Message Identifier
000 0001 = Control Method and Fault Mask Configuration
CMx 23:16 DATA Control Mode of Channel #x
0 = Current Control (RESET value)
1 = direct PWM
FMx 15:8 DATA Fault Mask of Channel #x
0 = faults don’t trigger FAULT pin (RESET value)
1 = fault triggers FAULT pin
FMR 7 DATA Fault Mask for RESET_B pin
0 = RESET_B=Low doesn’t trigger FAULT pin (RESET value)
1 = RESET_B=Low does trigger FAULT pin
FME 6 DATA Fault Mast for ENABLE pin
0 = ENABLE=Low doesn’t trigger FAULT pin (RESET value)
1 = ENABLE=Low does trigger FAULT pin
DIAG_TMR 5:4 DATA Diagnostic Timer
00 = divide by 128, nfault = 10 ... 11 (RESET value)
01 = divide by 192, nfault = 10 ... 11
10 = divide by 128, nfault = 2... 3
11 = divide by 256, nfault = 10 ... 11
Data Sheet 41 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.9.2.3 SPI Message #2 - Diagnostic Configuration (channel 0-3)
Sent Values:
Diagnostic Configuration (channels 0-3)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID SB0 SB_RETRY0 SB1
0000010msblsbmsb lsbmsblsb
1514131211109876543210
SB_RETRY1 SB2 SB_RETRY2 SB3 SB_RETRY3
msb lsb msb lsb msb lsb msb lsb msb lsb
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:24 ADDR Message Identifier
000 0010 = Diagnostic Configuration (channel 0-3)
SBx 23:22,
17:16,
11:10,
5:4
DATA Short To Battery Threshold
00 = 0.7V
01 = 0.9V
10 = 1.1V
11 = 1.3V (RESET value)
SB_RETRYx 21:18,
15:12,
9:6,
3:0
DATA Short to Battery Retry Time
Retry after 16* xxxx periods (RESET Value = 1111b or 240
PWM periods)
Response Values:
Diagnostic Configuration (channels 0-3)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID SB0 SB_RETRY0 SB1
0000010msblsbmsb lsbmsblsb
1514131211109876543210
SB_RETRY1 SB2 SB_RETRY2 SB3 SB_RETRY3
msb lsb msb lsb msb lsb msb lsb msb lsb
Field Bits Type Description
MSG_ID 30:24 ADDR Message Identifier
000 0010 = Diagnostic Configuration (channel 0-3)
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 42 Rev. 1.0, 2010-02-09
Equation: Short to Battery Retry Period (1)
SBx 23:22,
17:16,
11:10,
5:4
DATA Short To Battery Threshold
00 = 0.7V
01 = 0.9V
10 = 1.1V
11 = 1.3V (RESET value)
SB_RETRYx 21:18,
15:12,
9:6,
3:0
DATA Short to Battery Retry Time
Retry after 16* xxxx periods (RESET Value = 1111b or 240
PWM periods)
Field Bits Type Description
PWM
x
f
SB_Retry16
PeriodRetry
=
Data Sheet 43 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.9.2.4 SPI Message #3 - Diagnostic Configuration (channel 4-7)
Sent Values:
Diagnostic Configuration (channels 4-7)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID SB4 SB_RETRY4 SB5
0000011msblsbmsb lsbmsblsb
1514131211109876543210
SB_RETRY5 SB6 SB_RETRY6 SB7 SB_RETRY7
msb lsb msb lsb msb lsb msb lsb msb lsb
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:24 ADDR Message Identifier
000 0011 = Diagnostic Configuration (channel 4-7)
SBx 23:22,
17:16,
11:10,
5:4
DATA Short To Battery Threshold
00 = 0.7V
01 = 0.9V
10 = 1.1V
11 = 1.3V (RESET value)
SB_RETRYx 21:18,
15:12,
9:6,
3:0
DATA Short to Battery Retry Time
Retry after 16 * xxxx periods (RESET Value = 1111b or 240
PWM periods)
Response Values:
Diagnostic Configuration (channels 4-7)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID SB4 SB_RETRY4 SB5
0000011msblsbmsb lsbmsblsb
1514131211109876543210
SB_RETRY5 SB6 SB_RETRY6 SB7 SB_RETRY7
msb lsb msb lsb msb lsb msb lsb msb lsb
Field Bits Type Description
MSG_ID 30:24 ADDR Message Identifier
000 0011 = Diagnostic Configuration (channel 4-7)
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 44 Rev. 1.0, 2010-02-09
Equation: Short to Battery Retry Period (2)
SBx 23:22,
17:16,
11:10,
5:4
DATA Short To Battery Threshold
00 = 0.7V
01 = 0.9V
10 = 1.1V
11 = 1.3V (RESET value)
SB_RETRYx 21:18,
15:12,
9:6,
3:0
DATA Short to Battery Retry Time
Retry after 16* xxxx periods (RESET Value = 1111b or 240
PWM periods)
Field Bits Type Description
PWM
x
f
SB_Retry16
PeriodRetry
=
Data Sheet 45 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.9.2.5 SPI Message #4 - Diagnostic Read (channel 0-3)
Sent Values:
Diagnostic Read (channels 0-3)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID unused
0000100
1514131211109876543210
unused
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write (interpreted as a read)
MSG_ID 30:24 ADDR Message Identifier
000 0100 = Diagnostic Read (channel 0-3)
Response Values:
Diagnostic Read (channels 0-3)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0MSG_IDSG0
OFF-
TST0 SB0 SB-
TST0
OL-
OFF0
OL-
ON0 SG1 OFF-
TST1
0000100
1514131211109876543210
SB1 SB-
TST1
OL-
OFF1
OL-
ON1 SG2 OFF-
TST2 SB2 SB-
TST2
OL-
OFF2
OL-
ON2 SG3 OFF-
TST3 SB3 SB-
TST3
OL-
OFF3
OL-
ON3
Field Bits Type Description
MSG_ID 30:24 ADDR Message Identifier
000 0100 = Diagnostic Read (channel 0-3)
SGx 23, 17, 11, 5 DATA Short to Ground - Fault (RESET value = 0)
OFF-TSTx 22, 16, 10, 4 DATA Short to Ground & Open Ld (Gate Off) - Tested (RESET value = 0)
SBx 21, 15, 9, 3 DATA Short to Battery - Fault (RESET value = 0)
SB-TSTx 20, 14, 8, 2 DATA Short to Battery - Tested (RESET value = 0)
OL-OFFx 19, 13, 7, 1 DATA Open Load (Gate Off) - Fault (RESET value = 0)
OL-ONx 18, 12, 6, 0 DATA Open Load (Gate On) - Fault (RESET value = 0)
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 46 Rev. 1.0, 2010-02-09
5.9.2.6 SPI Message #5 - Diagnostic Read (channel 4-7)
Sent Values:
Diagnostic Read (channels 4-7)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID unused
0000101
1514131211109876543210
unused
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write (interpreted as a read)
MSG_ID 30:24 ADDR Message Identifier
000 0101 = Diagnostic Read (channel 4-7)
Response Values:
Diagnostic Read (channels 4-7)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0MSG_IDSG4
OFF-
TST4 SB4 SB-
TST4
OL-
OFF4
OL-
ON4 SG5 OFF-
TST5
0000101
1514131211109876543210
SB5 SB-
TST5
OL-
OFF5
OL-
ON5 SG6 OFF-
TST6 SB6 SB-
TST6
OL-
OFF6
OL-
ON6 SG7 OFF-
TST7 SB7 SB-
TST7
OL-
OFF7
OL-
ON7
Field Bits Type Description
MSG_ID 30:24 ADDR Message Identifier
000 0101 = Diagnostic Read (channel 4-7)
SGx 23, 17, 11, 5 DATA Short to Ground - Fault (RESET value = 0)
OFF-TSTx 22, 16, 10, 4 DATA Short to Ground & Open Load (Gate Off) - Tested (RESET value
= 0)
SBx 21, 15, 9, 3 DATA Short to Battery - Fault (RESET value = 0)
SB-TSTx 20, 14, 8, 2 DATA Short to Battery - Tested (RESET value = 0)
OL-OFFx 19, 13, 7, 1 DATA Open Load (Gate Off) - Fault (RESET value = 0)
OL-ONx 18, 12, 6, 0 DATA Open Load (Gate On) - Fault (RESET value = 0)
Data Sheet 47 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.9.2.7 SPI Message #6 - PWM Offset (channel 0-3)
Sent Values:
PWM Offset (channels 0-3)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID unused OFFSET0
0000110 msb
1514131211109876543210
OFFS
ET0 OFFSET1 OFFSET2 OFFSET3
lsb msb lsb msb lsb msb lsb
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:24 ADDR Message Identifier
000 0110 = PWM Offset (channel 0-3)
OFFSETx 19:15,
14:10,
9:5,
4:0
DATA Channelx Pulse Offset
1/32 of PWM period set by N and M values (RESET Value = 0)
note: after exiting reset, a pulse on the PHASE_SYNC pin is needed
to synchronize the channels
Response Values:
PWM Offset (channels 0-3)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID 0 0 0 0 OFFSET0
0000110 msb
1514131211109876543210
OFFS
ET0 OFFSET1 OFFSET2 OFFSET3
lsb msb lsb msb lsb msb lsb
Field Bits Type Description
MSG_ID 30:24 ADDR Message Identifier
000 0110 = PWM Offset (channel 0-3)
OFFSETx 19:15,
14:10,
9:5,
4:0
DATA Channelx Pulse Offset
1/32 of period set by N value (RESET Value = 0)
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 48 Rev. 1.0, 2010-02-09
Equation: Phase Sync Offset (3)
PWM
x
f*32
OFFSET
OffsetSynchPhase =
Data Sheet 49 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.9.2.8 SPI Message #7 - PWM Offset (channel 4-7)
Sent Values:
PWM Offset (channels 4-7)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID unused OFFSET4
0000111 msb
1514131211109876543210
OFFS
ET4 OFFSET5 OFFSET6 OFFSET7
lsb msb lsb msb lsb msb lsb
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:24 ADDR Message Identifier
000 0111 = PWM Offset (channel 4-7)
OFFSETx 19:15,
14:10,
9:5,
4:0
DATA Channelx Pulse Offset
1/32 of period set by N value (RESET Value = 0)
note: after exiting reset, a pulse on the PHASE_SYNC pin is needed
to synchronize the channels
Response Values:
PWM Offset (channels 4-7)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID 0 0 0 0 OFFSET4
0000111 msb
1514131211109876543210
OFFS
ET4 OFFSET5 OFFSET6 OFFSET7
lsb msb lsb msb lsb msb lsb
Field Bits Type Description
MSG_ID 30:24 ADDR Message Identifier
000 0111 = PWM Offset (channel 4-7)
OFFSETx 19:15,
14:10,
9:5,
4:0
DATA Channelx Pulse Offset
1/32 of period set by N value (RESET Value = 0)
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 50 Rev. 1.0, 2010-02-09
Equation: Phase Sync Offset (4)
PWM
x
f*32
OFFSET
OffsetSynchPhase =
Data Sheet 51 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.9.2.9 SPI Message #8 - Main Period Set
Sent Values:
Main Period Set
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID CHAN unused SAM
0001msb lsb
1514131211109876543210
Divider M Divider N
msb lsb msb lsb
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:27 ADDR Message Identifier
0001 = Main Period Set
CHAN 26:24 ADDR Channel Number
SAM 16 DATA Sample Summation Method
0 = Use all values of samples (RESET Value)
1 = throw out first ADC samples after an OUTx pin transition and
use previous sample twice in the average calculation
Divider M 15:14 DATA Divider M (Number of A/D samples per PWM period)
00 = 32 (RESET Value)
01 = 64
10 = 128
11 = 512 (Direct PWM) = 128 (Current Control)
Divider N 13:0 DATA Divider N (Number of main CLK periods between A/D samples)
(RESET Value = 271H or 625D)
TPWM = N*M*TCLK & TADC = N*TCLK
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 52 Rev. 1.0, 2010-02-09
Equation: Main Period Setting (5)
Response:
Main Period Set
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID CHAN 0 000000SAM
0001msb lsb
1514131211109876543210
Divider M Divider N
msb lsb msb lsb
Field Bits Type Description
MSG_ID 30:27 ADDR Message Identifier
0001 = Main Period Set
CHAN 26:24 ADDR Channel Number
SAM 16 DATA Sample Summation Method
0 = Use all values of samples (RESET Value)
1 = throw out first ADC samples after an OUTx pin transition and
use previous sample twice in the average calculation
Divider M 15:14 DATA Divider M (Number of A/D samples per PWM period)
00 = 32 (RESET value)
01 = 64
10 = 128
11 = 512 (Direct PWM) = 128 (Current Control)
Divider N 13:0 DATA Divider N (Number of main CLK periods between A/D samples)
(RESET Value = 271H or 625D)
TPWM = N*M*TCLK & TADC = N*TCLK
seconds][
f
MN
Period PWM
CLK
=
Data Sheet 53 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
5.9.2.10 SPI Message #9 - Control Variable Set (KP and KI)
Sent Values:
Control Variable Set
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID CHAN KP
0 0 1 0 msb lsb msb
1514131211109876543210
KP (cont) KI
lsb msb lsb
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:27 ADDR Message Identifier
0010 =Control Variable Set
CHAN 26:24 ADDR Channel Number
KP23:12 Control Loop Proportional Coefficient (RESET Value = 0)
KI11:0 Control Loop Integral Coefficient (RESET Value = 0)
Response:
Control Variable Set
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID CHAN KP
0 0 1 0 msb lsb msb
1514131211109876543210
KP (cont) KI
lsb msb lsb
Field Bits Type Description
MSG_ID 30:27 ADDR Message Identifier
0010 =Control Variable Set
CHAN 26:24 ADDR Channel Number
KP23:12 DATA Control Loop Proportional Coefficient (RESET Value = 0)
KI11:0 DATA Control Loop Integral Coefficient (RESET Value = 0)
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 54 Rev. 1.0, 2010-02-09
5.9.2.11 SPI Message #10 - Current and Dither Amplitude Set
Sent Values:
Current and Dither Amplitude Set
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID CHAN EN unuse
dDither Step Size
0011msb lsb msb
1514131211109876543210
Dither Step size (cont) Current Setpoint
lsb msb lsb
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:27 ADDR Message Identifier
0011 =Current and Dither Amplitude Set
CHAN 26:24 ADDR Channel Number
EN 23 DATA Operation during ENABLE deactivation
0 = disable (RESET Value)
1 = remain in operation at last setpoint including dither
Dither Step
Size
21:11 DATA Dither Step Size (LSb’s value is 2-2 of the current setpoint LSb)
(RESET Value = 0)
Note: A value of 0 will disable the dither function
Current
Setpoint
10:0 DATA Current Set Point
(RESET Value = 0)
Data Sheet 55 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
Equation: Dither Amplitude Setting (6)
Equation: Average Current Setting (7)
Response:
Current and Dither Amplitude Set
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID CHAN EN 0 Dither Step Size
0011msb lsb msb
1514131211109876543210
Dither Step Size (cont) Current Setpoint
lsb msb lsb
Field Bits Type Description
MSG_ID 30:27 ADDR Message Identifier
0011 =Current and Dither Amplitude set
CHAN 26:24 ADDR Channel Number
EN 23 DATA Operation during ENABLE deactivation
0 = disable (RESET Value)
1 = remain in operation at last setpoint including dither
Dither Step
Size
21:11 DATA Dither Step Size (LSb’s value is 2-2 of the current setpoint LSb)
(RESET Value = 0)
Note: A value of 0 will disable the dither function
Current
Setpoint
10:0 DATA Current Set Point
(RESET Value = 0)
[]
[Ohm]Rsense
[mV]320
2
StepsDitherStepsizeDither2
ppmA AmplitudeDither 13
=
[]
[Ohm]Rsense
[mV]320
2
SetpointCurrent
mASettingCurrentAverage 11 =
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 56 Rev. 1.0, 2010-02-09
5.9.2.12 SPI Message #11 - Dither Period Set
Sent Values:
Dither Period Set
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID CHAN unused
0100msb lsb
1514131211109876543210
unused Number of Steps
msb lsb
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:27 ADDR Message Identifier
0100 =Dither Period Set
CHAN 26:24 ADDR Channel Number
Number of
Steps
4:0 DATA Number of Dither Steps in 1/4 waveform
(RESET Value = 0)
Note: A value of 0 will disable the dither function
Response:
Dither Period Set
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID CHAN 0 0000000
0100msb lsb
1514131211109876543210
00000000000 Number of Steps
msb lsb
Field Bits Type Description
MSG_ID 30:27 ADDR Message Identifier
0100 =Dither Period Set
CHAN 26:24 ADDR Channel Number
Number of
Steps
4:0 DATA Number of Dither Steps in 1/4 waveform
(RESET Value = 0)
Note: A value of 0 will disable the dither function
Data Sheet 57 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
Equation: Dither Period Setting (8)
PWM
f
StepsofNumber4
PeriodDither
=
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 58 Rev. 1.0, 2010-02-09
5.9.2.13 SPI Message #12 - Max / Min Current Read
PEAK
Sent Values:
Max / Min Current Read
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID CHAN unused
0101msb lsb
1514131211109876543210
unused
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:27 ADDR Message Identifier
0101 =Max / Min Current Read
CHAN 26:24 ADDR Channel Number
Note: the channel selection for this message will also be the channel
selected for the Average Current Read over Dither Period.
Response:
Max / Min Current Read
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID CHAN 0 VALID MAX
0101msb lsb msb
1514131211109876543210
MAX (cont) MIN
lsb msb lsb
Field Bits Type Description
MSG_ID 30:27 ADDR Message Identifier
0101 =Current Read
CHAN 26:24 ADDR Channel Number
VALID 22 DATA VALID
Reset when the register is read or when the channel number is
changed (RESET Value = 0)
Set when a new data set is available.
Data Sheet 59 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
Equation: Maximum Dither Current Feedback (9)
Equation: Minimum Dither Current Feedback (10)
Note: When the selected channel is different than the previously selected channel (the last time this message was
addressed), the new Min and Max data will be available after no more than two dither cycles. When the selected
channel is the same as the previously selected channel, the new Min and Max data will be available in no more
than one dither cycle.
Note: When M=512 in Direct PWM mode, the following formula applies. The application software must ensure that
the register has not overflowed.
Equation: Min/Max Dither Current Feedback M=512 (11)
MAX 21:11 DATA The largest summation of “M” A/D samples (within one PWM
period) during the previous dither cycle. The 11 most significant
bits are reported.
Note: return value will be 0 until the first dither cycle is completed -
(RESET Value = 0)
MIN 10:0 DATA The smallest summation of “M” A/D samples (within one PWM
period) during the previous dither cycle. The 11 most significant
bits are reported.
Note: return value will be 2047until the first dither cycle is completed
- (RESET Value = 2047)
Field Bits Type Description
[]
[Ohm]Rsense
[mV]320
2
MAX
mAFeedbackCurrentMax 11 =
[]
[Ohm]Rsense
[mV]320
2
MIN
mAFeedbackCurrentMin 11 =
[]
[Ohm]Rsense
[mV]320
2
MAXor MIN
mAFeedbackCurrentMax Min / 13 =
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 60 Rev. 1.0, 2010-02-09
5.9.2.14 SPI Message #13 - Average Current Read Over Dither Period
Sent Values:
Average Dither Current Read
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID CHAN unused
0110msb lsb
1514131211109876543210
unused
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:27 ADDR Message Identifier
0110 =Dither Current Read
CHAN 26:24 ADDR Channel Number
Response:
Average Dither Current Read
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID CHAN 0 0 0 Valid Average Dither Current
0110msb lsb msb
1514131211109876543210
Average Dither Current (cont)
lsb
Field Bits Type Description
MSG_ID 30:27 ADDR Message Identifier
0110 =Dither Current Read
CHAN 26:24 ADDR Channel Number
Note: the channel selection for this message will also be the channel
selected for the Max / Min Current Read Command.
VALID 20 DATA VALID BIT
Reset when register is read or when channel number is changed.
Set when new data is available.
(RESET Value = 0)
Data Sheet 61 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
Equation: Average Dither Current Feedback with Dither enabled (12)
Equation: Average Dither Current Feedback with Dither disabled (13)
Note: When the selected channel is different than the previously selected channel (the last time this message was
addressed), the new Average Dither Current data will be available after no more than two dither cycles. When the
selected channel is the same as the previously selected channel, the new Average Dither Current data will be
available in no more than one dither cycle.
Note: When M=512 in Direct PWM mode, the following formula applies. The application software must ensure that
the register has not overflowed.
Equation: Average Dither Current Feedback M=512 with dither enabled
(14)
Equation: Average Dither Current Feedback M=512 with dither disabled (15)
Average
Dither
Current
19:0 DATA 20 bit summation of the total current over a dither period.
(RESET Value = 0)
Field Bits Type Description
[]
[Ohm]Rsense
[mV]320
StepsDither2
CurrentDither Avg
mAFeedbackCurrentDither 15
=
[]
[Ohm]Rsense
[mV]320
2
CurrentDither Avg
mAFeedbackCurrentDither 13 =
[]
[Ohm]Rsense
[mV]320
StepsDither2
CurrentDither Avg
mAFeedbackCurrentDither 17
=
[]
[Ohm]Rsense
[mV]320
2
CurrentDither Avg
mAFeedbackCurrentDither 15 =
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 62 Rev. 1.0, 2010-02-09
5.9.2.15 SPI Message #14 - Autozero Trigger / Read
Sent Values:
Autozero Trigger Read
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID CHAN unused
0111msb lsb
1514131211109876543210
unused
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:27 ADDR Message Identifier
0111 =Autozero Trigger / Read
CHAN 26:24 ADDR Channel Number
Response:
Autozero Trigger Read
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID CHAN 0 00000AZonAZoff
0111msb lsb
1514131211109876543210
AZon value AZoff value
msb lsb msb lsb
Field Bits Type Description
MSG_ID 30:27 ADDR Message Identifier
0111 =Autozero Trigger / Read
CHAN 26:24 ADDR Channel Number
AZon 17 DATA Autozero - Gate on has occurred since last read
0 = not occurred (RESET Value)
1 = has occurred
AZoff 16 DATA Autozero - Gate off has occurred since last read
0 = not occurred (RESET Value)
1 = has occurred
Data Sheet 63 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
When this register is written an Auto-Zero sequence is initiated for the selected channel, and the AZon and AZoff
bits are reset. The AZon and AZoff bits are set after the autozero sequence has completed.
When this register is read, the Auto-Zero sequence is not initiated, but the AZon and AZoff bits are reset.
Note: When a channel transitions from on to off, the autozero sequence for that channel must not be initiated until
the recirculation current has fully decayed to 0 mA. Otherwise, the calculated autozero values will be incorrect
resulting in inaccurate current regulation when a non-zero setpoint is programmed.
Equation: Auto-zero value (16)
AZ on value 15:8 DATA Autozero value - Gate On
AZ off value 7:0 DATA Autozero value - Gate Off
Field Bits Type Description
[]
[Ohm]Rsense
[mV]320
2
AZ_value
mAoffsetAutozero 11 =
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 64 Rev. 1.0, 2010-02-09
5.9.2.16 SPI Message #15 - PWM Duty Cycle
Sent Values:
PWM Duty Cycle
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID CHAN unused PWM duty cycle
1000msb lsb msb
1514131211109876543210
PWM duty cycle (cont)
lsb
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:27 ADDR Message Identifier
1000 =PWM Duty Cycle
CHAN 26:24 ADDR Channel Number
PWM duty
cycle
18:0 DATA PWM duty cycle
This is used when Control Mode is set to “direct PWM”. See the
“Control Method and Fault Mask Configuration” message. If this
message is written when the Control Mode is set to “Current Control”
the PWM data will be stored but not used until the control mode is
switched to “Direct PWM”.
(RESET Value = 0)
Data Sheet 65 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
Note: The Duty Cycle of 100% can be achieved. Although the above formula may result in duty cycle values
greater than 100%, the actual duty cycle is of course limited to 100%.
Equation: PWM duty cycle readout for constant current mode operation (17)
Equation: PWM duty cycle readout for direct PWM mode operation (18)
Note: The Duty Cycle of 100% can be achieved. Although the above formula may result in duty cycle values
greater than 100%, the actual duty cycle is of course limited to 100%.
Response:
PWM Duty Cycle
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID CHAN 0 0 0 PWM duty cycle
1 0 0 0 msb lsb msb
1514131211109876543210
PWM duty cycle (cont)
lsb
Field Bits Type Description
MSG_ID 30:27 ADDR Message Identifier
1000 =PWM Duty Cycle
CHAN 26:24 ADDR Channel Number
PWM duty
cycle
20:0 DATA PWM duty cycle
This will report the duty cycle bits in the register. If the channel is set
to “Current Control” the feedback will represent the value calculated
by the PI controller. If the channel is set to “direct PWM” the feedback
will represent the value in the register programmed by a SPI write with
bits 11 and 12 always read as 0. See the “Control Method and Fault
Mask Configuration” message.
(RESET Value = 0)
[]
100%
MN
cycledutyPWM
%CycleDuty
=
[]
100%
32N
cycledutyPWM
%CycleDuty
=
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 66 Rev. 1.0, 2010-02-09
5.9.2.17 SPI Message #16 - Current Profile Detection Setup 1
Sent Values:
Current Profile Detection Setup 1
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID CHAN Threshold 3 Threshold 2
10
1001msb lsbmsb lsbmsb lsb
1514131211109876543210
Threshold 1 Count 3 Count 2 Count 1
msb lsb msb lsb msb lsb msb lsb
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:27 ADDR Message Identifier
1001 =Current Profile Setup 1
CHAN 26:24 ADDR Channel Number
Threshold 3 23:20 DATA Threshold 3 (Zone 3)
(RESET Value = 0)
Threshold 2 19:16 DATA Threshold 2 (Zone 2)
(RESET Value = 0)
Threshold 1 15:12 DATA Threshold 1 (Zone 1)
(RESET Value = 0)
Count 3 11:8 DATA Count 3 (Zone 3)
(RESET Value = 0)
Count 2 7:4 DATA Count 2 (Zone 2
(RESET Value = 0)
Count 1 3:0 DATA Count 1 (Zone 1)
(RESET Value = 0)
Data Sheet 67 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
Response:
Current Profile Detection Setup 1
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID CHAN Threshold 3 Threshold 2
1 0 0 1 msb lsb msb lsb msb lsb
1514131211109876543210
Threshold 1 Count 3 Count 2 Count 1
msb lsb msb lsb msb lsb msb lsb
Field Bits Type Description
MSG_ID 30:27 ADDR Message Identifier
1001 =Current Profile Setup 1
CHAN 26:24 ADDR Channel Number
Threshold 3 23:20 DATA Threshold 3 (Zone 3)
(RESET Value = 0)
Threshold 2 19:16 DATA Threshold 2 (Zone 2)
(RESET Value = 0)
Threshold 1 15:12 DATA Threshold 1 (Zone 1)
(RESET Value = 0)
Count 3 11:8 DATA Count 3 (Zone 3)
(RESET Value = 0)
Count 2 7:4 DATA Count 2 (Zone 2)
(RESET Value = 0)
Count 1 3:0 DATA Count 1 (Zone 1)
(RESET Value = 0)
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 68 Rev. 1.0, 2010-02-09
5.9.2.18 SPI Message #17 - Current Profile Detection Setup 2
Sent Values:
Current Profile Detection Setup 2
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID CHAN unused
1010msb lsb
1514131211109876543210
unused Time out unused ZONE 3 SET
msb lsb
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:27 ADDR Message Identifier
1010 =Current Profile Setup 2
CHAN 26:24 ADDR Channel Number
Time out 9:4 DATA Current Profile Time out
1 lsb = 16 ADC sample periods (RESET Value = 0)
Zone 3 Set 1:0 DATA Zone 3 A/D setup
00: ADDIFF=A/Dm - A/Dm-1
01: ADDIFF=A/Dm - A/Dm-2
10: ADDIFF=A/Dm - A/Dm-3
11: ADDIFF=A/Dm - A/Dm-4
Response:
Current Profile Detection Setup 2
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID CHAN 0 0000000
1010msb lsb
1514131211109876543210
000000 Time out 00ZONE3 SET
msb lsb
Field Bits Type Description
MSG_ID 30:27 ADDR Message Identifier
1010 =Current Profile Setup 2
CHAN 26:24 ADDR Channel Number
Data Sheet 69 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
Time out 9:4 DATA Current Profile Time out
1 lsb = 16 ADC sample periods (RESET Value = 0)
Zone 3 Set 1:0 DATA Zone 3 A/D setup
00: ADDIFF=A/Dm - A/Dm-1
01: ADDIFF=A/Dm - A/Dm-2
10: ADDIFF=A/Dm - A/Dm-3
11: ADDIFF=A/Dm - A/Dm-4
Field Bits Type Description
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 70 Rev. 1.0, 2010-02-09
5.9.2.19 SPI Message #18 - Current Profile Detection Feedback
Sent Values:
Current Profile Detection Feedback
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID CHAN unused
1011msb lsb
1514131211109876543210
unused
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:27 ADDR Message Identifier
1011 =Current Profile Detection Feedback
CHAN 26:24 ADDR Channel Number
Response:
Current Profile Detection Feedback
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID CHAN 0 0000000
1011msb lsb
1514131211109876543210
0000000000000
Detect
Intrpt
Time-
out PASS
Field Bits Type Description
MSG_ID 30:27 ADDR Message Identifier
1011 =Current Profile Detection Feedback
CHAN 26:24 ADDR Channel Number
Detection
Interrupted
2DATADetect Interrupt Bit (RESET Value = 0)
Reset when this register is read.
Set when the gate of the external FET is commanded off before the
current profile detection sequence has completed.
Data Sheet 71 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
Time out 1 DATA Current Profile Timeout (RESET Value = 0)
Reset when this register is read.
Set when the programmable time-out timer expires before the Current
Profile Detection sequence has completed.
PASS 0 DATA Passed Since Last Read (RESET Value = 0)
Reset when this register is read.
Set when the Current Profile Detection sequence has completed
before the programmed time-out timer expired and before the gate is
turned off.
Table 7 Interpretation of bits 2 to 0
Detect Interrupt Bit Current Profile Timeout Passed Since Last Read Meaning
0 0 0 A current profile sequence
has not completed since
the last read of this register
X X 1 At least one current profile
sequence has completed
successfully since the last
read of this register
X 1 X At least one time out failure
has occurred since the last
read of this register
1 X X At least one detect
interrupt failure has
occurred since the last
read of this register.
Field Bits Type Description
TLE8242-2
Functional Description and Electrical Characteristics
Data Sheet 72 Rev. 1.0, 2010-02-09
5.9.2.20 SPI Message #19 - Read Generic Flag Bits
Sent Values:
Read Generic Flag Bits
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R/W MSG_ID unused
1111
1514131211109876543210
unused
Field Bits Type Description
R/W 31 Read / Write Bit
0 = Read
1 = Write
MSG_ID 30:27 ADDR Message Identifier
1111 = Read Generic Flag Bits
Response:
Read Generic Flag Bits
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 MSG_ID 00000000000
1111
1514131211109876543210
000000000000OVPSEN_LRB_L
Field Bits Type Description
MSG_ID 30:27 ADDR Message Identifier
1111 = Read Generic Flag Bits
OV 3 DATA Overvoltage has occurred since last read
0 = not occurred (RESET Value)
1 = has occurred
PS 2 DATA Phase Synch has occurred since last read
0 = not occurred (RESET Value)
1 = has occurred
EN_L 1 DATA Enable Latch bit (RESET Value = 1)
Set to 0 when this register is read and ENABLE pin is High
Set to 1 when the ENABLE pin is Low
Data Sheet 73 Rev. 1.0, 2010-02-09
TLE8242-2
Functional Description and Electrical Characteristics
RB_L 0 DATA RESET_B Latch bit (RESET Value = 1)
Set to 0 when this register is read.
Set to 1 when the a High to Low transition occurs on the RESET_B
pin
Field Bits Type Description
TLE8242-2
Application Information
Data Sheet 74 Rev. 1.0, 2010-02-09
6 Application Information
Note: The following information is given as a hint for the implementation of the device only and shall not be
regarded as a description or warranty of a certain functionality, condition or quality of the device.
Figure 20 Application Diagram
Note: This is a very simplified example of an application circuit. The function must be verified in the real application.
6.1 Further Application Information
Please contact us to get the Pin FMEA
For further information you may contact http://www.infineon.com/
Channel 7
Current ControlCurrent Control
•Protection
Diagnostic
•Dither
Cur r ent
Signature
Channel 6
Current ControlCurrent Control
•Protection
Diagnostic
Dither
Cur r ent
Signatur e
Channel 5
Current ControlCurrent Control
•Protection
Diagnostic
Dither
Current
Signature
Channel 4
Current ControlCurrent Control
•Protection
Diagnostic
•Dither
Cur r ent
Profile
Channel 3
Current ControlCurrent Control
•Protection
Diagnostic
Dither
Cur r ent
Signatur e
Channel 2
Current ControlCurrent Control
•Protection
Diagnostic
•Dither
Current
Signature
Channel 1
Current ControlCurrent Control
•Protection
Diagnostic
Dither
Cur r ent
Signatur e
Logic
SPI
µController
(example TC1767)
V_SIGNAL
CS_B
SCK
SI
SO
GNDA1
Power Supply
(example TLE7368)
V5D BAT
Channel 0
Current ControlCurrent Control
•Protection
Diagnostic
•Dither
Cur r ent
Profile
OUT0
NEG0
POS0
SPD15N06S2L-64
0.2 Ohm
Solenoid
BATTERY
uC I/O supply
+3.3V or +5.0V
+5V
Switched
Battery
OUT
+
GNDA2 GNDA3
GNDSDGNDD V5A1
+5V
analog
V5A2 V5A3
BATTERY
INPUT
On e capacito r for all
V5A pins may be
sufficien t
The GNDA pins must be
connected to a low
impedance ground plane
direct ly at the pin
PHASE_SYNC
RESET_B
ENABLE
CLK
FAULT
TEST
V_SIGNAL
GNDSA
Low Z paths are required
between POSx, NEGx an d
the sen se resisto r
TLE 8242
SCI3
SCO2
SCO3
AMUX
Data Sheet 75 Rev. 1.0, 2010-02-09
TLE8242-2
Package Outlines
7 Package Outlines
Figure 21 PG-LQFP-64
Green Product (RoHS-compliant)
To meet the world-wide customer requirements for environmentally friendly products and to be compliant with
government regulations the device is available as a green product. Green products are RoHS-Compliant (i.e Pb-
free finish on leads and suitable for Pb-free soldering according to IPC/JEDEC J-STD-020).
You can find all of our packages, sorts of packing and others in our
Infineon Internet Page “Products”: http://www.infineon.com/products.Dimensions in mm
TLE8242-2
Package Outlines
Data Sheet 76 Rev. 1.0, 2010-02-09
Data Sheet 77 Rev. 1.0, 2010-02-09
TLE8242-2
Revision History
8 Revision History
Revision Date Changes
1.0 2009-02-24 Page 6, Figures 1 and 2 : improved figure quality
Page 7, improved description of SAM bit functionality
Pages 24 to 26, Figures 10, 11, 13, and 14: improved figure quality
Pages 51 and 52: improved description of SAM bit functionality
Pages 72: corrected the name of the register in the MSG_ID descriptions
Page 74, Figure 21 : updated the package outline drawing
1.0 2009-12-09 Changes from TLE8242L Rev 1.0 datasheet
1.0 2009-12-09 Section 1.3.2, equation for duty-cycle: revised equation to include the M variable.
M is the # of ADC samples per PWM period. revised equation for calculating the
duration of the autozero procedure
1.0 2009-12-09 Section 5.3, added new filter times to table 2
1.0 2009-12-09 Section 5.3.2, electrical table, parameters 5.3.12 through 5.3.15 revised with new
filter times
1.0 2009-12-09 Section 5.9.2.1, revised IC version number
1.0 2009-12-09 Section 5.9.2.2, added new filter times.
1.0 2009-12-09 Section 5.9.2.14, added equations for current feedback value when dither is
disabled
1.0 2009-12-09 Section 5.9.2.14, added equation for autozero offset value
1.0 2009-12-09 Section 5.9.2.7 and 5.9.2.8, added note that a pulse is needed on the phase_sync
pin to synchronize the channels after exiting the reset state.
1.0 2009-12-09 Section 5.7.1, added maximum value of analog to digital converter sample rate
1.0 2009-12-09 Section 5.2, added note that a pulse is needed on the PHASE_SYNC pin in order
to synchronize the PWM periods of the channels after exiting the reset state
Edition 2010-02-09
Published by
Infineon Technologies AG
81726 Munich, Germany
© 2010 Infineon Technologies AG
All Rights Reserved.
Legal Disclaimer
The information given in this document shall in no event be regarded as a guarantee of conditions or
characteristics. With respect to any examples or hints given herein, any typical values stated herein and/or any
information regarding the application of the device, Infineon Technologies hereby disclaims any and all warranties
and liabilities of any kind, including without limitation, warranties of non-infringement of intellectual property rights
of any third party.
Information
For further information on technology, delivery terms and conditions and prices, please contact the nearest
Infineon Technologies Office (www.infineon.com).
Warnings
Due to technical requirements, components may contain dangerous substances. For information on the types in
question, please contact the nearest Infineon Technologies Office.
Infineon Technologies components may be used in life-support devices or systems only with the express written
approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure
of that life-support device or system or to affect the safety or effectiveness of that device or system. Life support
devices or systems are intended to be implanted in the human body or to support and/or maintain and sustain
and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may
be endangered.