0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
TLE8242-2

TLE8242-2

  • 厂商:

    INFINEON

  • 封装:

  • 描述:

    TLE8242-2 - 8 Channel Fixed Frequency Constant Current Control With Current Profile Detection - Infi...

  • 数据手册
  • 价格&库存
TLE8242-2 数据手册
Data Sheet, Rev. 1.0, Feb 2010 TLE8242-2 8 Channel Fixed Frequency Constant Current Control With Current Profile Detection Automotive Power TLE8242-2 Table of Contents Table of Contents Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1 1.1 1.2 1.3 1.3.1 1.3.2 2 3 3.1 3.2 4 4.1 4.2 4.3 5 5.1 5.2 5.3 5.3.1 5.3.2 5.4 5.5 5.6 5.7 5.7.1 5.7.2 5.8 5.8.1 5.8.2 5.8.3 5.8.4 5.9 5.9.1 5.9.2 5.9.2.1 5.9.2.2 5.9.2.3 5.9.2.4 5.9.2.5 5.9.2.6 5.9.2.7 5.9.2.8 5.9.2.9 5.9.2.10 5.9.2.11 5.9.2.12 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Direct PWM Mode Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Constant Current Mode Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 4 5 5 5 6 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Pin Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Pin Definitions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 General Product Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functional Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Thermal Resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functional Description and Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Supply and Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Input / Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . On-State Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Off-State Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Output Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Current Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Current Feedback Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Direct PWM control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting the Frequency of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting the Duty Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Current Profile Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Zone 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Zone 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Zone 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Current Profile Time out & Detection Interrupted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial Peripheral Interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Signal Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #0 - IC Version / Manufacturer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #1 - Control Method and Fault Mask Configuration . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #2 - Diagnostic Configuration (channel 0-3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #3 - Diagnostic Configuration (channel 4-7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #4 - Diagnostic Read (channel 0-3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #5 - Diagnostic Read (channel 4-7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #6 - PWM Offset (channel 0-3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #7 - PWM Offset (channel 4-7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #8 - Main Period Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #9 - Control Variable Set (KP and KI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #10 - Current and Dither Amplitude Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #11 - Dither Period Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 15 15 16 16 17 17 18 20 22 24 28 28 29 30 30 30 31 33 33 33 34 35 36 38 38 39 41 43 45 46 47 49 51 53 54 56 Data Sheet Rev. 1.0, 2010-02-09 TLE8242-2 Table of Contents 5.9.2.13 5.9.2.14 5.9.2.15 5.9.2.16 5.9.2.17 5.9.2.18 5.9.2.19 5.9.2.20 6 6.1 7 8 SPI Message #12 - Max / Min Current Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #13 - Average Current Read Over Dither Period . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #14 - Autozero Trigger / Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #15 - PWM Duty Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #16 - Current Profile Detection Setup 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #17 - Current Profile Detection Setup 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #18 - Current Profile Detection Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SPI Message #19 - Read Generic Flag Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 60 62 64 66 68 70 72 Application Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Further Application Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Package Outlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Data Sheet 3 Rev. 1.0, 2010-02-09 8 Channel Fixed Frequency Constant Current Control With Current Profile Detection TLE8242-2 1 1.1 • • • Overview 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) PG-LQFP-64 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 Type TLE8242-2 Data Sheet Package PG-LQFP-64 4 Marking TLE8242-2L 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.2Ω for 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. Data Sheet 5 Rev. 1.0, 2010-02-09 TLE8242-2 Overview Electronic Module PWM or On/Off Solenoid 0.2 Ω 10nF Vs POSx NEGx OUTx 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. Vs Electronic Module Constant Current Solenoid 0.2 Ω 10nF Vs POSx NEGx OUTx 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 Data Sheet 6 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: F PWM = F CLK M ∗N 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: CurrentSetpoint[mA]= setpoint(11bit) 320[mV] ∗ 211 R SENSE[ohm] 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: DutyCycle (k ) = KP ∗ Rsense [Ohm ] * error (k − 1) [ A] + INT ( k ) 0.04 ∗ M ∗ N Rsense [Ohm ] * error (k − 1) [ A] + INT ( k − 1) INT ( k ) = KI ∗ 0.04 ∗ M ∗ N 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. Data Sheet 7 Rev. 1.0, 2010-02-09 TLE8242-2 Overview Autozero Value “ON” Autozero Value “OFF” Auto Zero AVG CURRENT READ MIN CURRENT READ MAX CURRENT READ DUTY CYCLE POSx Current Readout Average + A/D Amp NEGx CURRENT SET POINT + + Dither Generation + KP + + PWM Block OUTx DITHER STEP SIZE DITHER STEPS KI Σ DIRECT PWM CL K Underlined = CAN BE PROGRAMMED VIA SPI Italics = CAN BE MONITORED VIA SPI Figure 3 Control Loop - Simplified Diagram Table 1 describes the effect on the integrator of the PI controller of several events. Table 1 Condition Reset Active V5D undervoltage V5Ax undervoltage ENABLE pin low (SPI message #10 bit EN = 0) ENABLE pin low (SPI message #10 bit EN = 1) VBAT overvoltage Short to BAT Phase_Sync Transition Control Loop Integrator Control Action to Integrator Cleared Cleared Cleared Cleared Remains Operational Held at current value Cleared Remains Operational Integrator value for first PWM cycle = value from end of last complete PWM cycle. Cleared Cleared Remains Operational Remains Operational Average Current set to 0 Control Mode set to Direct PWM Main Period Set (N, M) Changed KP, KI settings Changed Data Sheet 8 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: TAZ = 4∗M∗ N FCLK 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. PWM_START Dither Dither Parameter Change 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. Data Sheet 9 Rev. 1.0, 2010-02-09 TLE8242-2 Block Diagram 2 Block Diagram BAT V5D GND_D V5A1 V5A2 V5A3 GNDA1 GNDA2 GNDA3 V_SIGNAL SCK SI SO CS_B SO Supply SPI Interface Current Control, Dither, PWM, Autozero, Channel Logic, Current Profile A/D Converter PWM Diagnostics Power POS0 NEG0 OUT0 POS1 NEG1 OUT1 Diagnostics Current Control, Dither, PWM, Autozero, Channel Logic, Current Profile A/D Converter PWM Current Control, Dither, PWM, Autozero, Channel Logic, Current Profile A/D Converter PWM Diagnostics POS2 NEG2 OUT2 POS3 NEG3 OUT3 Diagnostics PHASE_SYNC ENABLE FAULT RESET_B Logic Current Control, Dither, PWM, Autozero, Channel Logic, Current Profile A/D Converter PWM Current Control, Dither, PWM, Autozero, Channel Logic, Current Profile Current Control, Dither, PWM, Autozero, Channel Logic, Current Profile A/D Converter PWM Diagnostics POS4 NEG4 OUT4 POS5 NEG5 OUT5 Diagnostics A/D Converter PWM CLK TEST SCI3 SCO2 SCO3 AMUX GNDSA GNDSD Current Control, Dither, PWM, Autozero, Channel Logic, Current Profile A/D Converter PWM Diagnostics POS6 NEG6 OUT6 POS7 NEG7 OUT7 Diagnostics Current Control, Dither, PWM, Autozero, Channel Logic, Current Profile A/D Converter PWM Figure 5 Block Diagram Data Sheet 10 Rev. 1.0, 2010-02-09 TLE8242-2 Pin Configuration 3 3.1 Pin Configuration Pin Assignment OUT1 GNDA3 NC V5A3 NC NEG1 POS1 NC OUT0 NEG2 NEG3 POS3 OUT2 OUT3 NC POS2 64 1 NEG0 POS0 NC V5A1 SCO2 SCO3 GNDA1 GNDSA GNDA2 AMUX TEST V5A2 NC BAT POS4 NEG4 49 48 NC CS_B SCK SI SO V_SIGNAL FAULT GNDSD GND_D CLK RESET_B PHASE_SYNC V5D NC ENABLE NC TLE8242L ADLER2 16 17 NC NEG5 POS5 NC OUT4 OUT5 NC SCI3 NC OUT6 OUT7 NC POS6 NEG6 NEG7 POS7 33 32 Figure 6 Pin Configuration 3.2 Pin Definitions and Functions Pin 1 2 3 4 5 6 7 8 Symbol NEG0 POS0 NC V5A1 (T) SCO2 (T) SCO3 GND_A1 GNDSA Function Channel #0 Negative sense pin; Connect to the “FET” side of the external sense resistor Channel #0 Positive sense pin; Connect to the “load” side of the external sense resistor Not Connected; do not connect to external supply, ground, or signal Supply Voltage; 5V input for analog circuits. An external capacitor is to be connected between this pin and GND_A near this pin Test Pin; Used for IC test. Must be connected to GND_D for specified operation of the IC Test Pin; Used for IC test. Must be connected to GND_D for specified operation of the IC Ground; ground pin for analog circuits Ground; ground pin for substrate connection near analog circuits 11 Rev. 1.0, 2010-02-09 Data Sheet TLE8242-2 Pin Configuration Pin 9 10 11 12 13 14 Symbol GND_A2 (T) AMUX (T) TEST V5A2 NC BAT Function Ground; ground pin for analog circuits Test Pin; Used for IC test. Must be connected to GND_D for specified operation of the IC Test Pin; Used for IC test. Must be connected to GND_D for specified operation of the IC Supply Voltage; 5V input for analog. An external capacitor is to be connected between this pin and GND_A near this pin Not Connected; do not connect to external supply, ground, or signal 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 Channel #4 Positive sense pin; Connect to the “load” side of the external sense resistor Channel #4 Negative sense pin; Connect to the “FET” side of the external sense resistor Not Connected; do not connect to external supply, ground, or signal Channel #5 Negative sense pin; Connect to the “FET” side of the external sense resistor Channel #5 Positive sense pin; Connect to the “load” side of the external sense resistor Not Connected; do not connect to external supply, ground, or signal Gate driver output for channel #4; Connect to the gate of the external MOSFET Gate driver output for channel #5; Connect to the gate of the external MOSFET Not Connected; do not connect to external supply, ground, or signal Test Pin; Used for IC test. Must be connected to GND_D for specified operation of the IC Not Connected; do not connect to external supply, ground, or signal Gate driver output for channel #6; Connect to the gate of the external MOSFET Gate driver output for channel #7; Connect to the gate of the external MOSFET Not Connected; do not connect to external supply, ground, or signal Channel #6 Positive sense pin; Connect to the “load” side of the external sense resistor Channel #6 Negative sense pin; Connect to the “FET” side of the external sense resistor Channel #7 Negative sense pin; Connect to the “FET” side of the external sense resistor Channel #7 Positive sense pin; Connect to the “load” side of the external sense resistor Not Connected; do not connect to external supply, ground, or signal 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 POS4 NEG4 NC NEG5 POS5 NC OUT4 OUT5 NC (T) SCI3 NC OUT6 OUT7 NC POS6 NEG6 NEG7 POS7 NC Data Sheet 12 Rev. 1.0, 2010-02-09 TLE8242-2 Pin Configuration Pin 34 Symbol ENABLE Function 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 Not Connected; do not connect to external supply, ground, or signal Supply Voltage; 5V input for digital circuits. An external capacitor is to be connected between this pin and GND_D near this pin Phase Synchronization Input: Used to synchronize the rising edges of the PWM signal on the OUTx pins for each channel 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 CLOCK; Main clock input for the chip. A clock input of 20 MHz to 40 MHz is required Ground; ground pin for digital circuits Ground; ground pin for substrate connection near digital circuits Fault Output Pin; Open drain output pin is pulled low when a fault condition is detected. Certain faults can be masked via SPI 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 SPI Serial Data Out SPI Serial Data In SPI Serial Clock Input SPI Chip Select Bar; active low signal Not Connected; do not connect to external supply, ground, or signal Channel #3 Positive sense pin; Connect to the “load” side of the external sense resistor Channel #3 Negative sense pin; Connect to the “FET” side of the external sense resistor Channel #2 Negative sense pin; Connect to the “FET” side of the external sense resistor Channel #2 Positive sense pin; Connect to the “load” side of the external sense resistor Not Connected; do not connect to external supply, ground, or signal Gate driver output for channel #3; Connect to the gate of the external MOSFET Gate driver output for channel #2; Connect to the gate of the external MOSFET Supply Voltage;5V input for analog. An external capacitor is to be connected between this pin and GND_A near this pin. Not Connected; do not connect to external supply, ground, or signal Ground; ground pin for analog circuits Gate driver output for channel #1; Connect to the gate of the external MOSFET 35 36 37 38 NC V5D PHASE_SYNC RESET_B 39 40 41 42 43 CLK GND_D GNDSD FAULT V_SIGNAL 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 SO SI SCK CS_B NC POS3 NEG3 NEG2 POS2 NC OUT3 OUT2 V5A3 NC GND_A3 OUT1 Data Sheet 13 Rev. 1.0, 2010-02-09 TLE8242-2 Pin Configuration Pin 60 61 62 63 64 Symbol OUT0 NC POS1 NEG1 NC Function Gate driver output for channel #0; Connect to the gate of the external MOSFET Not Connected; do not connect to external supply, ground, or signal Channel #1 Positive sense pin; Connect to the “load” side of the external sense resistor Channel #1 Negative sense pin; Connect to the “FET” side of the external sense resistor Not Connected; do not connect to external supply, ground, or signal Data Sheet 14 Rev. 1.0, 2010-02-09 TLE8242-2 General Product Characteristics 4 4.1 General Product Characteristics Maximum Ratings Absolute Maximum Ratings 1) Tj = -40 °C to +150 °C; all voltages with respect to ground, positive current flowing into pin (unless otherwise specified) Pos. Voltages 4.1.1 4.1.2 Battery Input (VBAT) Supply Voltage (logic) Parameter Symbol Limit Values Min. Max. 50 6.0 V V – – Unit Conditions 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 Currents 4.1.9 POSx, NEGx POSx-NEGx OUTx VBAT V5D,V5A1 V5A2,V5A3 Vsignal Vpos, Vneg Vpos-Vneg Vout -13 -0.3 -0.3 -0.2 -0.3 -0.3 -0.3 -500 50 13 min(V5D+ 0.3; 6) min(V5D+ 0.3; 6) V V V V – – – – – – RESET_B, SI, SCK, CS_B, CLK, TEST, Vio PHASE_SYNC, ENABLE SO, FAULT Maximum difference between V5D and V5Ax pins Input Clamp Current ENABLE, PHASE_SYNC, RESET_B, SI, SCK, CS_B, CLK Storage Temperature Junction Temperature HBM CDM all pins CDM corner pins Vio min(Vsignal V + 0.3; 6) 500 mV ICLAMP 5 –5 mA 2) Temperatures 4.1.10 4.1.11 4.1.12 4.1.13 4.1.14 1) 2) 3) 4) Tstg Tj -65 -40 -2 -500 -750 150 150 2 500 750 °C °C kV V V – – 3) 4) 4) ESD Susceptibility Not subject to production test, specified by design. Current needs to be limited only when maximum voltages are exceeded ESD Susceptibility HBM according to EIA/JESD 22-A 114B ESD Susceptibility CDM according to EIA/JESD22-C101 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. Data Sheet 15 Rev. 1.0, 2010-02-09 TLE8242-2 General Product Characteristics 4.2 Functional Range Tj = -40 °C to +150 °C; all voltages with respect to ground, positive current flowing into pin (unless otherwise specified) Pos. 4.2.1 4.2.2 Parameter Supply Voltage Range for Normal Operation - VBAT Supply Voltage Range for Normal Operation - V5D, V5A1, V5A2, V5A3 Supply Voltage Range for Normal Operation -V_SIGNAL Clock Frequency PWM Frequency for Normal Operation Symbol Min. Limit Values Max. 42 5.25 V V – – 5.5 Unit Conditions VBAT 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 VV5D 4.75 VV5A1, VV5A2, VV5A3 VV_SIGNAL 3.0 fCLK fPWM 20 10 10 5.25 40 4000 8000 30 V MHz Hz Hz V – Extended PWM Frequency Range fPWM Parameter deviations possible – Common Mode Voltage Range for Vpos ,Vneg 0 Normal Operation - POSx, NEGx pins. Extended Common Mode Voltage Vpos ,Vneg 0 Range for Operation - POSx, NEGx pins. 4.2.8 42 V Parameter deviations possible 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. 4.3.1 Parameter Junction to Ambient1) Symbol Min. Limit Values Typ. 38 Max. – K/W 2) Unit Conditions RthJA – 1) Not subject to production test, specified by design. 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 16 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. 5.1.1 Parameter Symbol Min. Undervoltage reset (internally VV5A1, generated) V5A1, V5A2, and V5A3 VV5A2, 3.5 Limit Values Typ. – Max. 4.5 V Internal reset occurs if V5A1 V5A2, or V5A3 is below the undervoltage limit Internal reset occurs if V5D is under the undervoltage limit Unit Conditions VV5A3 5.1.2 Undervoltage reset (internally generated) V5D VV5D 1.0 – 4.5 V 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 V5D supply current V5A1 supply current V5A2 supply current V5A3 supply current V_SIGNAL supply current VBAT current VBAT current - unpowered IV5D IV5A1 IV5A2 IV5A3 IV_SIGNAL IVBAT IVBAT – – – – – – – – – – – – – – 75 40 20 20 5 300 80 5 mA mA mA mA mA µA µA µA fCLK=40MHz fCLK=20MHz VSIGNAL=5.25V SO = Hi-Z state full operating range V5D=V5Ax=0V, BAT=14V Data Sheet 17 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 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. 1/f clk t14 CLK VIH min VILmax t15 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: Toffset = PhaseSynchOffset 32 * FPWM 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 Data Sheet 18 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics norm al turn off tim e gate turns off on-tim e cut short OUTx T1 PWM/32 CLK T1 Program m ed delay = 8/32 PWM periods PHASE_SYNC 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. 5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 Parameter Logic input low voltage Logic input high voltage Logic output low voltage Logic output high voltage Pull down digital input (SI, CLK, SCK, PHASE_SYNC, ENABLE) Pull up digital input (CS_B, RESET_B) Fault pin voltage Fault pin current CLK high time (rise 2.0V to fall 2.0V) Symbol Min. Limit Values Typ. – – – Max. 0.8 – 0.2 – 50 -10 V V V V µA µA – 2.0 – SIGNAL Unit Conditions VILMAX VIHMIN VOLMAX VOHMIN Ipd Ipu Vfault.low Ifault,max t14 0.8*V_ – 10 -50 – – IL=200µA IL=-200µA Vin=V_SIGNAL Vin=0V (Current drain from V_SIGNAL) Active state; 5.2.7 5.2.8 5.2.9 5.2.10 – 2.0 8 8 – – – – 0.4 V mA Ifault=2mA Active state; Vfault=0.4V – – ns ns CLK low time (fall 0.8V to rise 0.8V) t15 Data Sheet 19 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 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. Table 2 Timebase for Diagnostics DIAG_TMR0 Pre-divider nfault min ... max 10 ... 11 10 ... 11 2 ... 3 10 ... 11 Tested Timer and Fault Detection Timer Period. fCLK=20 MHz 0 0 1 1 0 1 0 1 128 192 128 256 64 µsec 96 µsec 12.8 µsec 128 µsec fCLK=40 MHz 32 µsec 48 µsec 6.4 µsec 64 µsec DIAG_TMR1 t DIAG_PERIO D = n fault * predivider FCLK Three unique fault types are detected using 4 different fault bits The fault bit is set to a “1“ if the fault is detected. Table 3 Fault Type Short to Ground Fault Short to Battery Fault Open Load Fault Diagnostic Flags / Bits Abr. SG SB OL Gate is ON OL-ON-F reported (=0 in ON/OFF mode) Bit SB-F BIT OL-ON-F (=0 in ON/OFF mode) Bit OL-OFF-F Gate is OFF Bit SG-F 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 Data Sheet 20 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. Table 4 Diagnostics Tested Bits / Flags OUTx High OUTx Low Bit OFF-T Bit SB-T Tested Type Short to Ground and Open load OFF tested Short to Battery tested Each fault type can be described by the two bits: FAULT and TESTED. Table 5 FAULT 0 0 1 1 FAULT vs. TESTED Bits Matrix and Interpretation TESTED 0 1 0 1 Interpretation by microcontroller This fault type has not been tested No Fault - The fault type has been tested and no fault is present This combination cannot occur Fault - This particular fault type has occurred Data Sheet 21 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Divider Select (SPI register) read SPI fault register Predivider Masterclock 1:128 1:192 1:256 Tested timer 1..10 (shared) clear SG-F (Short to Ground Fault) LOGIC OFF-T (Short to Ground and Open Load Off Tested) fault filter timer (1..10) (shared) clear clear clear SB-F (Short to Battery Fault) OL-OFF-FD VPOS VOL VPOS VSG VPOS VSB digital filter OL-FA open load OFF (only while OFF) SG-FD SB-FD OL-ON-F SB-T (Short to Battery Tested) OL-OFF-F (Open Load Off Fault) digital filter SG-FA short to ground (only while OFF) OL-ON-F (Open Load On Fault) digital filter SB-FA short to battery (only while ON) PWM mode enabled PWM Start Gate is ON Gate On Counter 1..64 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 OLOFF-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. Data Sheet 22 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics PWM_Start OUTx Fault Retry Time Tested Timer Tested Timer SB-T short LOAD ok VPOS Vsb SB-F Fault Filter Fault Filter Load Current Diagnostic Read via SPI Short to Vbat Figure 10 On-State Diagnostic Timing - Short to Vbat Data Sheet 23 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics PWM_Start OUTx VPOS 64 * PWM period OL-ON-F SPI DIAGNOSTIC READ 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). Data Sheet 24 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics V SUPPLY V5A (Vol+Vsg)/2 (2.5V) + Ipu(sg) (150ua) OA POSx Ipd(ol) (150ua) NEGx Cpos SG/OL-OFF TESTED latch Tested Timer (OFF) OL-OFFFAULT latch OL-OFF-FD Digital Filter OL-FA CMP + - Vol (3V) SGFAULT OUTx latch SG-FD Digital Filter SG-FA CMP + Vsg (1.7V) Figure 12 Off-State Diagnostics OUTx OFF-T open Tested Timer Tested Timer LOAD ok Vol VPOS Vsg OL-OFF-F SPI Diagnostic Read Fault Filter Fault Filter Figure 13 Off-State Diagnostics Timing Diagram - open Data Sheet 25 Solenoid Cneg Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics OUTx Tested Timer OFF-T Short to ground Tested Timer LOAD ok VPOS Vsg Vol SG-F SPI Diagnostic Read Fault Filter Fault Filter 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. 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 Parameter Over voltage shutdown Open load detection voltage POS pin OL pull down current Short to GND detection voltage POS pin SG pull-up current Symbol Min. Limit Values Typ. – Max. – V Rising voltage on BAT V5A=5V, VPOS=VNEG=V5A V5A=5V, VPOS=VNEG=0V V5A=5V, VPOS=VNEG=0V V5A=5V, VPOS=VNEG=V5A 42 Unit Conditions VBATOV VPOS(OL) IPD(OL) V5A-2.5 – 90 150 V5A-1.5 V 225 µA VPOS(SHG) V5A-3.8 – IPU(SHG) -280 -150 -40 0 – – V5A-2.8 V -90 10 60 µA µA µA NEG bias current - Low common INEG(L) mode NEG bias current - High common INEG(H) mode Data Sheet 26 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and 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. 5.3.8 Parameter POS Fault Threshold Voltage Symbol Min. Limit Values Typ. 0.7 Max. 0.8 V POS voltage required to trigger a short to battery fault: config bits = 00 POS voltage required to trigger a short to battery fault: config bits = 01 POS voltage required to trigger a short to battery fault: config bits = 10 POS voltage required to trigger a short to battery fault: config bits = 11 0.6 Unit Conditions VFLT 5.3.9 POS Fault Threshold Voltage VFLT 0.8 0.9 1.0 V 5.3.10 POS Fault Threshold Voltage VFLT 1.0 1.1 1.2 V 5.3.11 POS Fault Threshold Voltage VFLT 1.2 1.3 1.4 V 5.3.12 5.3.13 5.3.14 Fault Filter Timer Fault Filter Timer Fault Filter Time nfault nfault 10 2 11 3 clock DIAG_TMR = 00, cycles 01 and 11 clock DIAG_TMR = 10 cycles Clock Divider (SPI Message 7) 00, 10- Predivider 128 01 - Predivider 192 11 - Predivider 256 Clock Divider (SPI Message 7) 00, 10 - Predivider 128 01 - Predivider 192 11 - Predivider 256 Tff n fault ⋅ predivider f CLK 5.3.15 Tested Timer Time Ttt n fault ⋅ predivider f CLK Data Sheet 27 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 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 turnoff 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) Pos. 5.4.1 Parameter Passive Gate Pull Down Resistance OUTx source current OUTx sink current Symbol Min. Limit Values Typ. – Max. 200 kΩ Internal pull down resistor present at each OUTx pin VOUT = V5D-2V VOUT = 2V 50 Unit Conditions RPD 5.4.2 5.4.3 IO_SRC IO_SNK -30 15 – – -15 30 mA mA 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. 5.5.1 Parameter Offset Error Output from Average block in Figure 3. 1 count = 320/Rsense * 2-13 mA Gain Error Symbol Min. 0 Limit Values Typ. – Max. 120 counts Autozero disabled.VposVneg=0mV Vpos, Vneg ≤ 30V Dither disabled % Autozero Enabled.VposVneg=300mV Vpos, Vneg ≤ 30V Unit Conditions 5.5.2 -2 – 2 Data Sheet 28 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: Dither Current Feedback [mA ] = Avg Dither Current 320 [mV] ∗ 15 2 ∗ Dither Steps Rsense [Ohm] 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. Data Sheet 29 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 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: TPWM = TCLK * M * N or f PWM = f CLK M*N 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: T ON = T CLK * PWM duty cycle ∗ M 32 PWM duty cycle is a 19 bit value programmed in SPI message # 15 “PWM duty cycle”. or Duty Cycle [%] = The maximum duty cycle is clipped to 100% PWM duty cycle ∗ 100% 32 ∗ N Data Sheet 30 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. OUTx Voltage Zone 1 Zone 2 Measured Current (Differential Voltage ) Zone 3 Time Out Timer Timeout for Failure A/D Samples Detect Interrupt Time Out PASS Figure 15 Current Profile Diagram - Waveform Showing Valve Movement OUTx Voltage Measured Current (Differential Voltage ) Zone 1 Zone 2 Zone 3 Time Out Timer Timeout for Failure A/D Samples Detect Interrupt Time Out PASS Figure 16 Current Profile Diagram - Waveform Showing Valve Movement with Non-Zero Threshold in Zone 2 Data Sheet 31 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics OUTx Voltage Measured Current (Differential Voltage ) Zone 1 Zone 2 Time Out Timer Timeout for Failure A/D Samples Detect Interrupt Time Out PASS Figure 17 Current Profile Diagram - Time Out Failure OUTx Voltage Zone 1 Time Out Timer Timeout for Failure A/D Samples Detect Interrupt Time Out PASS 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. Data Sheet 32 Zone 2 Measured Current (Differential Voltage ) 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 = 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 34 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). Data Sheet 35 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 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. 5.9.1 5.9.2 Parameter Lead Time Lag Time Symbol Min. Limit Values Typ. – – Max. – – ns ns CS_B falling (0.8V) to SCK rising (0.8V) SCK falling (0.8V) to CS_B rising (0.8V) CS_B rise (2.0V) to CS_B fall (2.0V) SCK rise to rise SCK falling (0.8V) to CS_B fall (2.0V) SCK high time (rise 2.0V to fall 2.0V) SCK low time (fall 0.8V to rise 0.8V) CS_B rise (2.0V) to SCK rise (0.8V) SI setup time to SCK rise (0.8V) SI hold time after SCK rise (2.0V) CS_B fall (2.0V) to SO Bit0 valid SO data valid after SCK rise (2.0V) SO tristate after CS_B rise (2.0V) 140 50 Unit Conditions t1 t2 5.9.3 5.9.4 5.9.5 5.9.6 5.9.7 5.9.8 5.9.9 5.9.10 5.9.11 5.9.12 5.9.13 5.9.14 5.9.15 5.9.16 5.9.17 5.9.18 Dead time 1/FSCK Period of SCK SCK to CSB set up time SCK high time SCK low time CSB to SCK hold time SI setup time SI hold time SO enable SO valid time SO disable time Number of clock pulses while CS_B low SO rise time SO fall time Input pin capacitance. CS_B, SI, and SCK SO pin capacitance t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 450 100 10 40 40 10 20 20 – – – 32 – – – – – – – – – – – – – – – – – – – – – – – – 110 80 110 32 50 50 20 25 ns ns ns ns ns ns ns ns ns ns ns cycles ns ns pF pF TSO_RISE TSO_FALL Cin Cso – – – – (20% to 80%) (80% to 20%) Tristate Data Sheet 36 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics t1 t2 t3 CS_B t4 t5 t6 t7 t8 time SCK don’t care clock 1 clock 2 clock 3 clock 31 clock 32 don’t care time t9 t 10 SI don’t care Bit 31 MSB Bit 30 Bit 29 Bit 1 Bit 0 LSB don’t care time t 11 t 12 Bit 31 MSB Bit 0 LSB t13 high impedance time SO Figure 19 high impedance Bit 30 Bit 29 Bit 1 don’t care SPI Timing Diagram Data Sheet 37 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 5.9.2 5.9.2.1 SPI Message Structure SPI Message #0 - IC Version / Manufacturer Sent Values: IC Version / Manufacturer 31 R/W 0 15 14 0 13 0 12 30 29 28 27 MSG_ID 0 11 0 10 0 9 0 8 7 6 5 4 3 2 1 0 26 25 24 23 22 21 20 19 18 17 16 not used not used Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID 30:24 ADDR Message Identifier 000 0000 = IC Version / Manufacturer Response: IC Version / Manufacturer 31 0 30 29 28 27 MSG_ID 26 25 24 23 22 21 20 19 18 17 16 IC Manuf ID 15 14 13 12 11 10 9 8 7 0 6 0 5 0 4 0 3 0 2 0 1 0 0 0 Version Number Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID IC Manuf ID Version Number 30:24 23:16 15:8 ADDR DATA DATA Message Identifier 000 0000 = IC Version / Manufacturer IC Manufacturer ID Number 1100 0001= Infineon Technologies Version Number 0000 0010 = B21 Data Sheet 38 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 R/W 0 15 FM0 14 FM1 0 13 FM2 0 12 FM3 30 29 28 27 MSG_ID 0 11 FM4 0 10 FM5 0 9 FM6 1 8 FM7 7 FMR 6 FME 5 4 3 2 1 0 26 25 24 23 CM0 22 CM1 21 CM2 20 CM3 19 CM4 18 CM5 17 CM6 16 CM7 DIAG_TMR msb lsb unused Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID CMx 30:24 23:16 ADDR DATA Message Identifier 000 0001 = Control Method and Fault Mask Configuration Control Mode for Channel #x 0 = Current Control (RESET value) 1 = Direct PWM Fault Mask for Channel #x 0 = faults don’t trigger FAULT pin (RESET value) 1 = fault triggers FAULT pin 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 Fault Mast for ENABLE pin 0 = ENABLE=Low doesn’t trigger FAULT pin (RESET value) 1 = ENABLE=Low does trigger FAULT pin 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 FMx 15:8 DATA FMR 7 DATA FME 6 DATA DIAG_TMR 5:4 DATA Data Sheet 39 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Response: Control Method and Fault Mask Configuration 31 0 0 15 FM0 14 FM1 0 13 FM2 0 12 FM3 30 29 28 27 MSG_ID 0 11 FM4 0 10 FM5 0 9 FM6 1 8 FM7 7 FMR 6 FME msb 26 25 24 23 CM0 22 CM1 21 CM2 20 CM3 19 CM4 18 CM5 17 CM6 16 CM7 5 4 3 0 2 0 1 0 0 0 DIAG_TMR msb lsb Field MSG_ID CMx Bits 30:24 23:16 Type ADDR DATA Description Message Identifier 000 0001 = Control Method and Fault Mask Configuration Control Mode of Channel #x 0 = Current Control (RESET value) 1 = direct PWM Fault Mask of Channel #x 0 = faults don’t trigger FAULT pin (RESET value) 1 = fault triggers FAULT pin 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 Fault Mast for ENABLE pin 0 = ENABLE=Low doesn’t trigger FAULT pin (RESET value) 1 = ENABLE=Low does trigger FAULT pin 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 FMx 15:8 DATA FMR 7 DATA FME 6 DATA DIAG_TMR 5:4 DATA Data Sheet 40 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 R/W 0 15 14 0 13 0 12 30 29 28 27 MSG_ID 0 11 SB2 lsb msb lsb msb 0 10 1 9 0 8 26 25 24 23 SB0 msb 7 lsb 6 msb 5 SB3 lsb msb lsb msb 4 3 22 21 20 19 18 17 SB1 lsb 2 msb 1 lsb 0 16 SB_RETRY0 SB_RETRY1 msb SB_RETRY2 SB_RETRY3 lsb Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID SBx 30:24 23:22, 17:16, 11:10, 5:4 ADDR DATA Message Identifier 000 0010 = Diagnostic Configuration (channel 0-3) Short To Battery Threshold 00 = 0.7V 01 = 0.9V 10 = 1.1V 11 = 1.3V (RESET value) Short to Battery Retry Time Retry after 16* xxxx periods (RESET Value = 1111b or 240 PWM periods) SB_RETRYx 21:18, 15:12, 9:6, 3:0 DATA Response Values: Diagnostic Configuration (channels 0-3) 31 0 0 15 14 0 13 0 12 30 29 28 27 MSG_ID 0 11 SB2 lsb msb lsb msb 0 10 1 9 0 8 26 25 24 23 SB0 msb 7 lsb 6 msb 5 SB3 lsb msb lsb msb 4 3 22 21 20 19 18 17 SB1 lsb 2 msb 1 lsb 0 16 SB_RETRY0 SB_RETRY1 msb SB_RETRY2 SB_RETRY3 lsb Field MSG_ID Bits 30:24 Type ADDR Description Message Identifier 000 0010 = Diagnostic Configuration (channel 0-3) Data Sheet 41 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Field SBx Bits 23:22, 17:16, 11:10, 5:4 Type DATA Description Short To Battery Threshold 00 = 0.7V 01 = 0.9V 10 = 1.1V 11 = 1.3V (RESET value) Short to Battery Retry Time Retry after 16* xxxx periods (RESET Value = 1111b or 240 PWM periods) SB_RETRYx 21:18, 15:12, 9:6, 3:0 DATA Retry Period = Equation: Short to Battery Retry Period 16 ∗ SB_Retryx f PWM (1) Data Sheet 42 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 R/W 0 15 14 0 13 0 12 30 29 28 27 MSG_ID 0 11 SB6 lsb msb lsb msb 0 10 1 9 1 8 26 25 24 23 SB4 msb 7 lsb 6 msb 5 SB7 lsb msb lsb msb 4 3 22 21 20 19 18 17 SB5 lsb 2 msb 1 lsb 0 16 SB_RETRY4 SB_RETRY5 msb SB_RETRY6 SB_RETRY7 lsb Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID SBx 30:24 23:22, 17:16, 11:10, 5:4 ADDR DATA Message Identifier 000 0011 = Diagnostic Configuration (channel 4-7) Short To Battery Threshold 00 = 0.7V 01 = 0.9V 10 = 1.1V 11 = 1.3V (RESET value) Short to Battery Retry Time Retry after 16 * xxxx periods (RESET Value = 1111b or 240 PWM periods) SB_RETRYx 21:18, 15:12, 9:6, 3:0 DATA Response Values: Diagnostic Configuration (channels 4-7) 31 0 0 15 14 0 13 0 12 30 29 28 27 MSG_ID 0 11 SB6 lsb msb lsb msb 0 10 1 9 1 8 26 25 24 23 SB4 msb 7 lsb 6 msb 5 SB7 lsb msb lsb msb 4 3 22 21 20 19 18 17 SB5 lsb 2 msb 1 lsb 0 16 SB_RETRY4 SB_RETRY5 msb SB_RETRY6 SB_RETRY7 lsb Field MSG_ID Bits 30:24 Type ADDR Description Message Identifier 000 0011 = Diagnostic Configuration (channel 4-7) 43 Rev. 1.0, 2010-02-09 Data Sheet TLE8242-2 Functional Description and Electrical Characteristics Field SBx Bits 23:22, 17:16, 11:10, 5:4 Type DATA Description Short To Battery Threshold 00 = 0.7V 01 = 0.9V 10 = 1.1V 11 = 1.3V (RESET value) Short to Battery Retry Time Retry after 16* xxxx periods (RESET Value = 1111b or 240 PWM periods) SB_RETRYx 21:18, 15:12, 9:6, 3:0 DATA Retry Period = Equation: Short to Battery Retry Period 16 ∗ SB_Retryx f PWM (2) Data Sheet 44 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 R/W 0 15 14 0 13 0 12 30 29 28 27 MSG_ID 0 11 1 10 0 9 0 8 7 6 5 4 3 2 1 0 26 25 24 23 22 21 20 19 18 17 16 unused unused Field R/W Bits 31 Type Description 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 0 0 15 SB1 14 0 13 0 12 OLON1 30 29 28 27 MSG_ID 0 11 SG2 1 10 OFFTST2 0 9 SB2 0 8 7 6 OLON2 5 SG3 4 OFFTST3 3 SB3 2 1 0 OLON3 26 25 24 23 SG0 22 OFFTST0 21 SB0 20 19 18 OLON0 17 SG1 16 OFFTST1 SBOLTST0 OFF0 SBOLTST1 OFF1 SBOLTST2 OFF2 SBOLTST3 OFF3 Field MSG_ID SGx OFF-TSTx SBx SB-TSTx OL-OFFx OL-ONx Bits 30:24 Type ADDR Description Message Identifier 000 0100 = Diagnostic Read (channel 0-3) Short to Ground - Fault (RESET value = 0) Short to Ground & Open Ld (Gate Off) - Tested (RESET value = 0) Short to Battery - Fault (RESET value = 0) Short to Battery - Tested (RESET value = 0) Open Load (Gate Off) - Fault (RESET value = 0) Open Load (Gate On) - Fault (RESET value = 0) 23, 17, 11, 5 DATA 22, 16, 10, 4 DATA 21, 15, 9, 3 20, 14, 8, 2 19, 13, 7, 1 18, 12, 6, 0 DATA DATA DATA DATA Data Sheet 45 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 5.9.2.6 SPI Message #5 - Diagnostic Read (channel 4-7) Sent Values: Diagnostic Read (channels 4-7) 31 R/W 0 15 14 0 13 0 12 30 29 28 27 MSG_ID 0 11 1 10 0 9 1 8 7 6 5 4 3 2 1 0 26 25 24 23 22 21 20 19 18 17 16 unused unused Field R/W Bits 31 Type Description 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 0 0 15 SB5 14 0 13 0 12 OLON5 30 29 28 27 MSG_ID 0 11 SG6 1 10 OFFTST6 0 9 SB6 1 8 7 6 OLON6 5 SG7 4 OFFTST7 3 SB7 2 1 0 OLON7 26 25 24 23 SG4 22 OFFTST4 21 SB4 20 19 18 OLON4 17 SG5 16 OFFTST5 SBOLTST4 OFF4 SBOLTST5 OFF5 SBOLTST6 OFF6 SBOLTST7 OFF7 Field MSG_ID SGx OFF-TSTx SBx SB-TSTx OL-OFFx OL-ONx Bits 30:24 Type ADDR Description Message Identifier 000 0101 = Diagnostic Read (channel 4-7) Short to Ground - Fault (RESET value = 0) Short to Ground & Open Load (Gate Off) - Tested (RESET value = 0) Short to Battery - Fault (RESET value = 0) Short to Battery - Tested (RESET value = 0) Open Load (Gate Off) - Fault (RESET value = 0) Open Load (Gate On) - Fault (RESET value = 0) 23, 17, 11, 5 DATA 22, 16, 10, 4 DATA 21, 15, 9, 3 20, 14, 8, 2 19, 13, 7, 1 18, 12, 6, 0 DATA DATA DATA DATA Data Sheet 46 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 R/W 0 15 OFFS ET0 lsb msb 14 0 13 0 12 OFFSET1 lsb msb 30 29 28 27 MSG_ID 0 11 1 10 1 9 0 8 7 OFFSET2 lsb msb 6 5 4 26 25 24 23 22 21 20 19 18 17 16 unused msb 3 OFFSET0 2 OFFSET3 1 0 lsb Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID OFFSETx 30:24 19:15, 14:10, 9:5, 4:0 ADDR DATA Message Identifier 000 0110 = PWM Offset (channel 0-3) 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 0 0 15 OFFS ET0 lsb msb 14 0 13 0 12 OFFSET1 lsb msb 30 29 28 27 MSG_ID 0 11 1 10 1 9 0 8 7 OFFSET2 lsb msb 6 5 4 26 25 24 23 0 22 0 21 0 20 0 msb 3 2 OFFSET3 lsb 1 0 19 18 17 16 OFFSET0 Field MSG_ID OFFSETx Bits 30:24 19:15, 14:10, 9:5, 4:0 Type ADDR DATA Description Message Identifier 000 0110 = PWM Offset (channel 0-3) Channelx Pulse Offset 1/32 of period set by N value (RESET Value = 0) Data Sheet 47 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics PhaseSynchOffset= Equation: Phase Sync Offset OFFSET x 32* f PWM (3) Data Sheet 48 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 R/W 0 15 OFFS ET4 lsb msb 14 0 13 0 12 OFFSET5 lsb msb 30 29 28 27 MSG_ID 0 11 1 10 1 9 1 8 7 OFFSET6 lsb msb 6 5 4 26 25 24 23 22 21 20 19 18 17 16 unused msb 3 OFFSET4 2 OFFSET7 1 0 lsb Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID OFFSETx 30:24 19:15, 14:10, 9:5, 4:0 ADDR DATA Message Identifier 000 0111 = PWM Offset (channel 4-7) 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 0 0 15 OFFS ET4 lsb msb 14 0 13 0 12 OFFSET5 lsb msb 30 29 28 27 MSG_ID 0 11 1 10 1 9 1 8 7 OFFSET6 lsb msb 6 5 4 26 25 24 23 0 22 0 21 0 20 0 msb 3 2 OFFSET7 lsb 1 0 19 18 17 16 OFFSET4 Field MSG_ID OFFSETx Bits 30:24 19:15, 14:10, 9:5, 4:0 Type ADDR DATA Description Message Identifier 000 0111 = PWM Offset (channel 4-7) Channelx Pulse Offset 1/32 of period set by N value (RESET Value = 0) Data Sheet 49 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Phase Synch Offset = Equation: Phase Sync Offset OFFSETx 32 * f PWM (4) Data Sheet 50 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 R/W 0 15 14 30 29 28 27 26 25 CHAN 1 11 msb 10 9 lsb 8 7 6 5 4 3 2 1 0 24 23 22 21 20 unused 19 18 17 16 SAM MSG_ID 0 13 0 12 Divider M msb lsb msb Divider N lsb Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID CHAN SAM 30:27 26:24 16 ADDR ADDR DATA Message Identifier 0001 = Main Period Set Channel Number 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 (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 (Number of main CLK periods between A/D samples) (RESET Value = 271H or 625D) TPWM = N*M*TCLK & TADC = N*TCLK Divider M 15:14 DATA Divider N 13:0 DATA Data Sheet 51 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Response: Main Period Set 31 0 0 15 14 30 29 28 27 26 25 CHAN 1 11 msb 10 9 lsb 8 7 6 5 4 3 2 1 0 24 23 0 22 0 21 0 20 0 19 0 18 0 17 0 16 SAM MSG_ID 0 13 0 12 Divider M msb lsb msb Divider N lsb Field MSG_ID CHAN SAM Bits 30:27 26:24 16 Type ADDR ADDR DATA Description Message Identifier 0001 = Main Period Set Channel Number 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 (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 (Number of main CLK periods between A/D samples) (RESET Value = 271H or 625D) TPWM = N*M*TCLK & TADC = N*TCLK Divider M 15:14 DATA Divider N 13:0 DATA PWM Period = Equation: Main Period Setting N∗M [seconds] f CLK (5) Data Sheet 52 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 R/W 0 15 14 30 29 28 27 26 25 CHAN 0 11 msb 10 9 lsb 8 msb 7 6 KI lsb msb lsb 5 4 3 2 1 0 24 23 22 21 20 KP 19 18 17 16 MSG_ID 0 13 1 12 KP (cont) Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID CHAN KP KI 30:27 26:24 23:12 11:0 ADDR ADDR Message Identifier 0010 =Control Variable Set Channel Number Control Loop Proportional Coefficient (RESET Value = 0) Control Loop Integral Coefficient (RESET Value = 0) Response: Control Variable Set 31 0 0 15 14 30 29 28 27 26 25 CHAN 0 11 msb 10 9 lsb 8 msb 7 6 KI lsb msb lsb 5 4 3 2 1 0 24 23 22 21 20 KP 19 18 17 16 MSG_ID 0 13 1 12 KP (cont) Field MSG_ID CHAN KP KI Bits 30:27 26:24 23:12 11:0 Type ADDR ADDR DATA DATA Description Message Identifier 0010 =Control Variable Set Channel Number Control Loop Proportional Coefficient (RESET Value = 0) Control Loop Integral Coefficient (RESET Value = 0) Data Sheet 53 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 5.9.2.11 SPI Message #10 - Current and Dither Amplitude Set Sent Values: Current and Dither Amplitude Set 31 R/W 0 15 14 30 29 28 27 26 25 CHAN 1 11 msb 10 9 lsb 8 7 6 24 23 EN 22 unuse d msb 5 4 3 2 1 0 21 20 19 18 17 16 MSG_ID 0 13 1 12 Dither Step Size Dither Step size (cont) lsb msb Current Setpoint lsb Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID CHAN EN 30:27 26:24 23 ADDR ADDR DATA Message Identifier 0011 =Current and Dither Amplitude Set Channel Number Operation during ENABLE deactivation 0 = disable (RESET Value) 1 = remain in operation at last setpoint including dither 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 Set Point (RESET Value = 0) Dither Step Size Current Setpoint 21:11 DATA 10:0 DATA Data Sheet 54 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Response: Current and Dither Amplitude Set 31 0 0 15 14 30 29 28 27 26 25 CHAN 1 11 msb 10 9 lsb 8 7 6 24 23 EN 22 0 msb 5 4 3 2 1 0 21 20 19 18 17 16 MSG_ID 0 13 1 12 Dither Step Size Dither Step Size (cont) lsb msb Current Setpoint lsb Field MSG_ID CHAN EN Bits 30:27 26:24 23 Type ADDR ADDR DATA Description Message Identifier 0011 =Current and Dither Amplitude set Channel Number Operation during ENABLE deactivation 0 = disable (RESET Value) 1 = remain in operation at last setpoint including dither 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 Set Point (RESET Value = 0) Dither Step Size Current Setpoint 21:11 DATA 10:0 DATA Dither Amplitude [mA pp ] = Equation: Dither Amplitude Setting 2 ∗ Dither Stepsize ∗ Dither Steps 320 [mV] ∗ 13 Rsense [Ohm] 2 (6) Average Current Setting [mA] = Equation: Average Current Setting Current Setpoint 320[mV] ∗ 11 Rsense[Ohm] 2 (7) Data Sheet 55 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 5.9.2.12 SPI Message #11 - Dither Period Set Sent Values: Dither Period Set 31 R/W 0 15 14 30 29 28 27 26 25 CHAN 0 11 msb 10 unused msb 9 lsb 8 7 6 5 4 3 2 1 0 24 23 22 21 20 19 18 17 16 MSG_ID 1 13 0 12 unused Number of Steps lsb Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID CHAN Number of Steps 30:27 26:24 4:0 ADDR ADDR DATA Message Identifier 0100 =Dither Period Set Channel Number 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 0 0 15 0 14 0 30 29 28 27 26 25 CHAN 0 11 0 msb 10 0 9 0 lsb 8 0 7 0 6 0 5 0 msb 4 3 2 1 0 24 23 0 22 0 21 0 20 0 19 0 18 0 17 0 16 0 MSG_ID 1 13 0 0 12 0 Number of Steps lsb Field MSG_ID CHAN Number of Steps Bits 30:27 26:24 4:0 Type ADDR ADDR DATA Description Message Identifier 0100 =Dither Period Set Channel Number Number of Dither Steps in 1/4 waveform (RESET Value = 0) Note: A value of 0 will disable the dither function Data Sheet 56 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Dither Period = Equation: Dither Period Setting 4 ∗ Number of Steps f PWM (8) Data Sheet 57 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 5.9.2.13 SPI Message #12 - Max / Min Current Read Sent Values: Max / Min Current Read 31 R/W 0 15 14 30 29 28 27 26 25 CHAN 1 11 msb 10 9 lsb 8 7 6 5 4 3 2 1 0 24 23 22 21 20 19 18 17 16 MSG_ID 1 13 0 12 unused unused Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID CHAN 30:27 26:24 ADDR ADDR Message Identifier 0101 =Max / Min Current Read Channel Number Note: the channel selection for this message will also be the channel selected for the Average Current Read over Dither Period. PEAK Response: Max / Min Current Read 31 0 0 15 14 30 29 28 27 26 25 CHAN 1 11 msb 10 9 lsb 8 7 6 24 23 0 22 VALID msb 5 MIN lsb msb lsb 4 3 2 1 0 21 20 19 MAX 18 17 16 MSG_ID 1 13 MAX (cont) 0 12 Field MSG_ID CHAN VALID Bits 30:27 26:24 22 Type ADDR ADDR DATA Description Message Identifier 0101 =Current Read Channel Number 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 58 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Field MAX Bits 21:11 Type DATA Description 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) 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) MIN 10:0 DATA Max Current Feedback [mA] = Equation: Maximum Dither Current Feedback 320[mV] MAX ∗ 11 Rsense[Ohm] 2 (9) Min Current Feedback [mA] = Equation: Minimum Dither Current Feedback MIN 320 [mV] ∗ 11 Rsense [Ohm] 2 (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. Min / Max Current Feedback [mA ] = Equation: Min/Max Dither Current Feedback M=512 MIN or MAX 320 [mV] ∗ 13 2 Rsense [Ohm] (11) Data Sheet 59 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 5.9.2.14 SPI Message #13 - Average Current Read Over Dither Period Sent Values: Average Dither Current Read 31 R/W 0 15 14 30 29 28 27 26 25 CHAN 0 11 msb 10 9 lsb 8 7 6 5 4 3 2 1 0 24 23 22 21 20 19 18 17 16 MSG_ID 1 13 1 12 unused unused Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID CHAN 30:27 26:24 ADDR ADDR Message Identifier 0110 =Dither Current Read Channel Number Response: Average Dither Current Read 31 0 0 15 14 30 29 28 27 26 25 CHAN 0 11 msb 10 9 lsb 8 7 6 5 4 24 23 0 22 0 21 0 20 Valid 19 18 17 16 MSG_ID 1 13 1 12 Average Dither Current msb 3 2 1 0 Average Dither Current (cont) lsb Field MSG_ID CHAN Bits 30:27 26:24 Type ADDR ADDR Description Message Identifier 0110 =Dither Current Read Channel Number Note: the channel selection for this message will also be the channel selected for the Max / Min Current Read Command. VALID BIT Reset when register is read or when channel number is changed. Set when new data is available. (RESET Value = 0) VALID 20 DATA Data Sheet 60 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Field Average Dither Current Bits 19:0 Type DATA Description 20 bit summation of the total current over a dither period. (RESET Value = 0) Dither Current Feedback [mA ] = Avg Dither Current 320 [mV] ∗ 15 2 ∗ Dither Steps Rsense [Ohm] (12) Equation: Average Dither Current Feedback with Dither enabled Dither Current Feedback [mA ] = Avg Dither Current 320 [mV] ∗ 13 2 Rsense [Ohm] (13) Equation: Average Dither Current Feedback with Dither disabled 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. Dither Current Feedback [mA ] = Avg Dither Current 320 [mV] ∗ 17 2 ∗ Dither Steps Rsense [Ohm] (14) Equation: Average Dither Current Feedback M=512 with dither enabled Dither Current Feedback [mA ] = Avg Dither Current 320 [mV] ∗ 15 Rsense [Ohm] 2 (15) Equation: Average Dither Current Feedback M=512 with dither disabled Data Sheet 61 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 5.9.2.15 SPI Message #14 - Autozero Trigger / Read Sent Values: Autozero Trigger Read 31 R/W 0 15 14 30 29 28 27 26 25 CHAN 1 11 msb 10 9 lsb 8 7 6 5 4 3 2 1 0 24 23 22 21 20 19 18 17 16 MSG_ID 1 13 1 12 unused unused Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID CHAN 30:27 26:24 ADDR ADDR Message Identifier 0111 =Autozero Trigger / Read Channel Number Response: Autozero Trigger Read 31 0 0 15 14 30 29 28 27 26 25 CHAN 1 11 msb 10 9 lsb 8 7 6 5 4 3 2 1 0 24 23 0 22 0 21 0 20 0 19 0 18 0 17 16 MSG_ID 1 13 1 12 AZon AZoff AZon value msb lsb msb AZoff value lsb Field MSG_ID CHAN AZon Bits 30:27 26:24 17 Type ADDR ADDR DATA Description Message Identifier 0111 =Autozero Trigger / Read Channel Number Autozero - Gate on has occurred since last read 0 = not occurred (RESET Value) 1 = has occurred Autozero - Gate off has occurred since last read 0 = not occurred (RESET Value) 1 = has occurred 62 Rev. 1.0, 2010-02-09 AZoff 16 DATA Data Sheet TLE8242-2 Functional Description and Electrical Characteristics Field AZ on value AZ off value Bits 15:8 7:0 Type DATA DATA Description Autozero value - Gate On Autozero value - Gate Off 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. Autozero offset [mA] = Equation: Auto-zero value AZ_value 320[mV] ∗ 11 2 Rsense[Ohm] (16) Data Sheet 63 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 5.9.2.16 SPI Message #15 - PWM Duty Cycle Sent Values: PWM Duty Cycle 31 R/W 1 15 14 30 29 28 27 26 25 CHAN 0 11 msb 10 9 lsb 8 7 msb 6 5 4 3 2 1 0 24 23 22 21 unused 20 19 18 17 16 MSG_ID 0 13 0 12 PWM duty cycle PWM duty cycle (cont) lsb Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID CHAN PWM duty cycle 30:27 26:24 18:0 ADDR ADDR DATA Message Identifier 1000 =PWM Duty Cycle Channel Number 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 64 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Response: PWM Duty Cycle 31 0 1 15 14 30 29 28 27 26 25 CHAN 0 11 msb 10 9 lsb 8 7 24 23 0 22 0 msb 6 5 4 3 2 1 0 21 0 20 19 18 17 16 MSG_ID 0 13 0 12 PWM duty cycle PWM duty cycle (cont) lsb Field MSG_ID CHAN PWM duty cycle Bits 30:27 26:24 20:0 Type ADDR ADDR DATA Description Message Identifier 1000 =PWM Duty Cycle Channel Number 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) Duty Cycle [%] = PWM duty cycle ∗100% N∗M 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) Duty Cycle [%] = PWM duty cycle ∗100% N ∗ 32 (18) Equation: PWM duty cycle readout for direct PWM mode operation 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%. Data Sheet 65 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 5.9.2.17 SPI Message #16 - Current Profile Detection Setup 1 Sent Values: Current Profile Detection Setup 1 31 R/W 1 30 29 28 27 26 25 CHAN 24 23 22 21 20 19 18 17 16 MSG_ID 1 14 0 Threshold 3 lsb msb 7 6 5 lsb 4 msb 3 Threshold 2 lsb 2 1 0 0 13 0 12 1 11 msb 10 9 15 8 Threshold 1 msb lsb msb Count 3 lsb msb Count 2 lsb msb Count 1 lsb Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID CHAN Threshold 3 Threshold 2 Threshold 1 Count 3 Count 2 Count 1 30:27 26:24 23:20 19:16 15:12 11:8 7:4 3:0 ADDR ADDR DATA DATA DATA DATA DATA DATA Message Identifier 1001 =Current Profile Setup 1 Channel Number Threshold 3 (Zone 3) (RESET Value = 0) Threshold 2 (Zone 2) (RESET Value = 0) Threshold 1 (Zone 1) (RESET Value = 0) Count 3 (Zone 3) (RESET Value = 0) Count 2 (Zone 2 (RESET Value = 0) Count 1 (Zone 1) (RESET Value = 0) Data Sheet 66 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Response: Current Profile Detection Setup 1 31 0 1 15 14 30 29 28 27 26 25 CHAN 1 11 msb 10 9 lsb 8 msb 7 6 5 24 23 22 21 20 19 18 17 16 MSG_ID 0 13 0 12 Threshold 3 lsb 4 msb 3 Threshold 2 lsb 2 1 0 Threshold 1 msb lsb msb Count 3 lsb msb Count 2 lsb msb Count 1 lsb Field MSG_ID CHAN Threshold 3 Threshold 2 Threshold 1 Count 3 Count 2 Count 1 Bits 30:27 26:24 23:20 19:16 15:12 11:8 7:4 3:0 Type ADDR ADDR DATA DATA DATA DATA DATA DATA Description Message Identifier 1001 =Current Profile Setup 1 Channel Number Threshold 3 (Zone 3) (RESET Value = 0) Threshold 2 (Zone 2) (RESET Value = 0) Threshold 1 (Zone 1) (RESET Value = 0) Count 3 (Zone 3) (RESET Value = 0) Count 2 (Zone 2) (RESET Value = 0) Count 1 (Zone 1) (RESET Value = 0) Data Sheet 67 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 5.9.2.18 SPI Message #17 - Current Profile Detection Setup 2 Sent Values: Current Profile Detection Setup 2 31 R/W 1 15 14 30 29 28 27 26 25 CHAN 0 11 msb 10 9 lsb 8 7 6 5 4 3 2 1 0 24 23 22 21 20 19 18 17 16 MSG_ID 0 13 1 12 unused unused msb Time out lsb unused ZONE 3 SET Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID CHAN Time out Zone 3 Set 30:27 26:24 9:4 1:0 ADDR ADDR DATA DATA Message Identifier 1010 =Current Profile Setup 2 Channel Number Current Profile Time out 1 lsb = 16 ADC sample periods (RESET Value = 0) 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 0 1 15 0 14 0 30 29 28 27 26 25 CHAN 0 11 0 msb 10 0 msb 9 lsb 8 7 6 5 4 3 0 lsb 2 0 1 0 24 23 0 22 0 21 0 20 0 19 0 18 0 17 0 16 0 MSG_ID 0 13 0 1 12 0 Time out ZONE3 SET Field MSG_ID CHAN Bits 30:27 26:24 Type ADDR ADDR Description Message Identifier 1010 =Current Profile Setup 2 Channel Number Data Sheet 68 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Field Time out Zone 3 Set Bits 9:4 1:0 Type DATA DATA Description Current Profile Time out 1 lsb = 16 ADC sample periods (RESET Value = 0) 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 Data Sheet 69 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 5.9.2.19 SPI Message #18 - Current Profile Detection Feedback Sent Values: Current Profile Detection Feedback 31 R/W 1 15 14 30 29 28 27 26 25 CHAN 1 11 msb 10 9 lsb 8 7 6 5 4 3 2 1 0 24 23 22 21 20 19 18 17 16 MSG_ID 0 13 1 12 unused unused Field R/W Bits 31 Type Description Read / Write Bit 0 = Read 1 = Write MSG_ID CHAN 30:27 26:24 ADDR ADDR Message Identifier 1011 =Current Profile Detection Feedback Channel Number Response: Current Profile Detection Feedback 31 0 1 15 0 14 0 30 29 28 27 26 25 CHAN 1 11 0 msb 10 0 9 0 lsb 8 0 7 0 6 0 5 0 4 0 3 0 2 1 0 24 23 0 22 0 21 0 20 0 19 0 18 0 17 0 16 0 MSG_ID 0 13 0 1 12 0 Detect TimePASS Intrpt out Field MSG_ID CHAN Detection Interrupted Bits 30:27 26:24 2 Type ADDR ADDR DATA Description Message Identifier 1011 =Current Profile Detection Feedback Channel Number Detect 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 70 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Field Time out Bits 1 Type DATA Description 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. 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. PASS 0 DATA Table 7 Interpretation of bits 2 to 0 Current Profile Timeout 0 Passed Since Last Read Meaning 0 A current profile sequence has not completed since the last read of this register At least one current profile sequence has completed successfully since the last read of this register At least one time out failure has occurred since the last read of this register At least one detect interrupt failure has occurred since the last read of this register. 0 Detect Interrupt Bit X X 1 X 1 X 1 X X Data Sheet 71 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics 5.9.2.20 SPI Message #19 - Read Generic Flag Bits Sent Values: Read Generic Flag Bits 31 R/W 1 15 14 30 29 28 27 26 25 24 23 22 21 unused 1 11 10 9 8 7 6 5 4 3 2 1 0 20 19 18 17 16 MSG_ID 1 13 1 12 unused Field R/W Bits 31 Type Description 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 0 1 15 0 14 0 30 29 28 27 26 0 1 11 0 10 0 9 0 8 0 7 0 6 0 5 0 4 0 3 OV 2 PS 1 0 25 0 24 0 23 0 22 0 21 0 20 0 19 0 18 0 17 0 16 0 MSG_ID 1 13 0 1 12 0 EN_L RB_L Field MSG_ID OV Bits 30:27 3 Type ADDR DATA Description Message Identifier 1111 = Read Generic Flag Bits Overvoltage has occurred since last read 0 = not occurred (RESET Value) 1 = has occurred Phase Synch has occurred since last read 0 = not occurred (RESET Value) 1 = has occurred 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 PS 2 DATA EN_L 1 DATA Data Sheet 72 Rev. 1.0, 2010-02-09 TLE8242-2 Functional Description and Electrical Characteristics Field RB_L Bits 0 Type DATA Description 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 Data Sheet 73 Rev. 1.0, 2010-02-09 TLE8242-2 Application Information 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. BATTERY BATTERY INPUT Power Supply (example TLE7368) +5V analog Switched Battery OUT + uC I/O supply +3.3V or +5.0V +5V One capacitor for all V5A pins may be sufficient GNDD GNDSD V5D V_SIGNAL V5A1 V5A2 V5A3 Channel 7 Channel 6 Control Current Channel 5 Control Current Channel • Protection 4 Control Current ••Diagnostic Protection Current ••Dither • Diagnostic Protection ••Current • Dither Diagnostic Signature • Protection •• Current • Dither Diagnostic Signature •• Current Dither Signature • Current Profile BAT Solenoid Low Z paths are required between POSx, NEGx and the sense resistor Control CS_B SCK SI SPI µController (example TC1767) SO Channel 3 Channel 2 Control Current Channel 1 Control Current Channel • Protection 0 Control Current • Diagnostic • Protection • •DitherCurrent Diagnostic • Protection •• Current Dither ••Diagnostic Signature Protection • •Current •Dither Diagnostic • Signature •Current Dither Signature • Current Profile PHASE_SYNC RESET_B ENABLE CLK V_SIGNAL TEST SCI3 SCO2 SCO3 AMUX Control POS0 NEG0 0.2 Ohm OUT0 SPD15N06S2L-64 Logic FAULT GNDA1 GNDA2 GNDA3 GNDSA TLE 8242 The GNDA pins must be connected to a low impedance ground plane directly at the pin 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/ Data Sheet 74 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 Pbfree 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. Data Sheet 75 Dimensions in mm Rev. 1.0, 2010-02-09 TLE8242-2 Package Outlines Data Sheet 76 Rev. 1.0, 2010-02-09 TLE8242-2 Revision History 8 Revision 1.0 Revision History Date 2009-02-24 Changes 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 1.0 2009-12-09 2009-12-09 Changes from TLE8242L Rev 1.0 datasheet 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 Section 5.3, added new filter times to table 2 Section 5.3.2, electrical table, parameters 5.3.12 through 5.3.15 revised with new filter times Section 5.9.2.1, revised IC version number Section 5.9.2.2, added new filter times. Section 5.9.2.14, added equations for current feedback value when dither is disabled Section 5.9.2.14, added equation for autozero offset value 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. Section 5.7.1, added maximum value of analog to digital converter sample rate 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 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 2009-12-09 2009-12-09 2009-12-09 2009-12-09 2009-12-09 2009-12-09 2009-12-09 2009-12-09 2009-12-09 Data Sheet 77 Rev. 1.0, 2010-02-09 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.
TLE8242-2 价格&库存

很抱歉,暂时无法提供与“TLE8242-2”相匹配的价格&库存,您可以联系我们找货

免费人工找货