Freescale Semiconductor Advance Information Document Number: MC12XSFD1 Rev. 1.0, 1/2015 17 mOhm and 7.0 mOhmHigh-side Switches The 12XSF is the latest SMARTMOS achievement in DC motors and lighting drivers. It belongs to an expanding family that helps to control and diagnose incandescent lamps and light-emitting diodes (LEDs), with enhanced precision. It combines flexibility through daisy chainable SPI 5.0 MHz, extended digital and analog feedbacks, safety, and robustness. Output edge shaping helps to improve electromagnetic performance. To avoid shutting off the device upon inrush current, while still being able to closely track the load current, a dynamic overcurrent threshold profile is featured. Current of each channel can be sensed with a programmable sensing ratio. Whenever communication with the external microcontroller is lost, the device enters a Fail operation mode, but remains operational, controllable, and protected. This new generation of high-side switch products family facilitates ECU design due to compatible MCU software and PCB foot prints for each device variant. Features • Quad or penta high-side switches with high transient capability • 16-bit 5.0 MHz SPI control of overcurrent profiles, channel control including PWM duty-cycles, output-ON and -OFF open load detections, thermal shutdown and prewarning, and fault reporting • Output current monitoring with programmable synchronization signal and supply voltage feedback • Limp home mode • External smart power switch control • Operating voltage is 7.0 V to 18 V with sleep current < 5.0 µA, extended mode from 6.0 V to 28 V • -16 V reverse polarity and ground disconnect protections • Compatible PCB foot print and SPI software driver among the family 12XSFD1 HIGH-SIDE SWITCHES EK SUFFIX (PB-FREE) 98ASA00367D 54-PIN SOIC-EP EK SUFFIX (PB-FREE) 98ASA00368D 32-PIN SOIC-EP 07XSF517B 17XSF500B 17XSF400 Applications • Low-voltage exterior lighting • Low-voltage industrial lighting • Halogen lamps • Incandescent bulbs • Light-emitting diodes (LEDs) • HID Xenon ballasts • DC Motors • Low voltage automation systems VPWR VPWR VPWR VCC 07XSF517B 5.0 V Regulator VCC GND Main MCU GND SO CSB SCLK SI RSTB CLK A/D1 TRG1 PORT PORT PORT PORT PORT A/D2 VPWR VCC SI CP CSB OUT1 SCLK SO OUT2 RSTB CLK OUT3 CSNS SYNCB OUT4 LIMP IN1 OUT5 IN2 IN3 IN4 GND OUT6 Solenoid LED Module DC Motor Resistive load Bulb OUT IN VPWR Smart Power CSNS GND Figure 1. Triple 7.0 m and Dual 17 m High-side Simplified Application Diagram * This document contains certain information on a new product. Specifications and information herein are subject to change without notice. © Freescale Semiconductor, Inc., 2015. All rights reserved. M Spare 1 Orderable Parts This section describes the part numbers available to be purchased along with their differences. Valid orderable part numbers are provided on the web. To determine the orderable part numbers for this device, go to http://www.freescale.com and perform a part number search for the following device numbers. Table 1. Orderable Part Variations Part Number Notes Temperature (TA) SOIC54 pins exposed pad MC07XSF517BEK MC17XSF500BEK MC17XSF400EK Package (1) -40 °C to 125 °C SOIC32 pins exposed pad OUT1 RDS(on) OUT2 RDS(on) OUT3 RDS(on) OUT4 RDS(on) OUT5 RDS(on) OUT6 17 m 17 m 7.0 m 7.0 m 7.0 m Yes 17 m 17 m 17 m 17 m 17 m Yes 17 m 17 m 17 m 17 m No Yes Notes 1. To order parts in Tape and Reel, add the R2 suffix to the part number. MC12XSFD1 2 Analog Integrated Circuit Device Data Freescale Semiconductor Table of Contents 1 2 3 4 5 6 7 8 9 Orderable Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Internal Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Pin Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.1 Pinout Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.2 Pin Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 General Product Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4.1 Relationship Between Ratings and Operating Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4.2 Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.4 Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4.5 Supply Currents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 General IC Functional Description and Application Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5.3 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 5.4 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 5.5 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5.6 SPI Interface and Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Functional Block Requirements and Behaviors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6.1 Self-protected High-side Switches Description and Application Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6.2 Power Supply Functional Block Description and Application Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.3 Communication Interface and Device Control Functional Block Description and Application Information . . . . . . . . . . . . . 53 Typical Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 7.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 7.2 EMC and EMI Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 7.3 Robustness Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 7.4 PCB Layout Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 7.5 Thermal Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Packaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 8.1 Marking Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 8.2 Package Mechanical Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 3 2 Internal Block Diagram CP VCC Power Supply Oscillator UVF Thermal Prewarning OTS1 Temperature Shutdown Charge Pump Selectable Slope Control SI SPIF Fault Management OC1 OLON1 OLOFF1 Selectable Overcurrent Protection Selectable OpenLoad Detection Selectable Current Sensing LIMP OUT1 IN1 Output Voltage Monitoring OUT1 OUT1 Channel OUT2 Channel OUT2 IN4 Logic VCC WAKEB OR RSTB OUT3 OUT4 OUT4Channel Channel OUT4 OUT5 Channel OUT5/ NC Clock Failure Detection CLK VCC CSNS SYNCB CSNS OUT3 Channel Selectable Delay VPWR_PROTECTED Selectable Analog Feedback OUT6 Smart Power Switch Drive PWM Module IN3 Power channels IN2 CLKF SPI Control OTW1 OTW2 SCLK Reference PWM Clock Limp Home Control Supply Clamp CPF SPI RSTB A to D Convertion Undervoltage Detection OVF SO CSB Reverse Supply Protection VBAT_PROTECTED VS Power-on Reset VPWR VPWR_PROTECTED Control die Temperature Monitoring Supply Voltage Monitoring GND Figure 2. 12XSF Simplified Internal Block Diagram (Penta version) MC12XSFD1 4 Analog Integrated Circuit Device Data Freescale Semiconductor 3 Pin Connections 3.1 Pinout Diagram Transparent Top View CP RSTB CSB 1 32 CLK 2 31 LIMP 3 30 IN4 SCLK SI 4 29 IN3 5 28 IN2 VCC SO 6 27 IN1 7 26 CSNS SYNCB OUT6 8 25 CSNS VPWR 33 GND 9 24 GND OUT2 OUT2 OUT4 10 23 OUT1 11 22 OUT1 12 21 OUT3 OUT4 OUT4 13 20 OUT3 14 19 OUT3 NC 15 18 OUT5/NC NC 16 17 OUT5/NC Figure 3. Pinout Diagram for 32 Pin SOIC-EP Package Transparent top view NC NC CP RSTB CSB SCLK SI VCC SO OUT6 GND OUT2 OUT2 OUT4 OUT4 OUT4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 NC NC NC NC NC NC NC NC NC NC 18 19 20 21 22 23 24 25 26 27 55 VPWR 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 NC NC CLK LIMP IN4 IN3 IN2 IN1 CSNS SYNCB CSNS GND OUT1 OUT1 OUT3 OUT3 OUT3 37 36 35 34 33 32 31 30 29 28 OUT5 OUT5 OUT5 OUT5 OUT5 OUT5 OUT5 OUT5 OUT5 OUT5 Figure 4. Pinout Diagram for 54 Pin SOIC-EP Package MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 5 3.2 Pin Definitions Table 2. 12XSF Pin Definitions Pin Number Pin Number Pin Name Pin Function 32 SOIC-EP 54 SOIC-EP (2) Formal Name Definition 1 3 CP Internal supply Charge-pump This pin is the connection for an external capacitor for charge pump use only. 2 4 RSTB SPI Reset This input pin is used to initialize the device configuration and fault registers, as well as place the device in a low-current Sleep mode. This pin has a passive internal pull-down. 3 5 CSB SPI Chip select This input pin is connected to a chip select output of a master microcontroller (MCU). When this digital signal is high, SPI signals are ignored. Asserting this pin low starts an SPI transaction. The transaction is indicated as completed when this signal returns to high level. This pin has a passive internal pull-up to VCC through a diode 4 6 SCLK SPI Serial clock This input pin is connected to the MCU providing the required bit shift clock for SPI communication. This pin has an passive internal pull-down. 5 7 SI SPI Serial input This pin is the data input of the SPI communication interface. The data at the input are sampled on the positive edge of the SCLK. This pin has a passive internal pull-down. 6 8 VCC Power supply MCU power supply This pin is a power supply pin for internal logic, the SPI I/Os and the OUT6 driver. 7 9 SO SPI Serial Output This output pin is connected to the SPI Serial Data Input pin of the MCU or to the SI pin of the next device of a daisychain of devices. The SPI changes on the negative edge of SCLK. When CSB is high, this pin is highimpedance. 8 10 OUT6 Output External Solid State This output pin controls an external Smart Power Switch by logic level. This pin has a passive internal pull-down. 9 and 24 11 and 14 GND Ground Ground These pins are the ground for the logic and analog circuitries of the device. For ESD and electrical parameter accuracy purpose, the ground pins must be shorted on the board. 10 to 11 12 to 13 OUT2 Output Channel #2 Protected high-side power output pins to the load. 12 to 14 14 to 16 OUT4 Output Channel #4 Protected high-side power output pins to the load. 15, 16 1, 2, 18 to 27, 53, 54 NC N/A Not connected These pins are not connected. It is recommended to connect these pint to ground 17 to 18 28 to 37 OUT5 Output Channel #5 Protected high-side power output pins to the load. This channel is not connected for the Quad version 17XS6400. It is recommended to connect those pins to ground for this device. 19 to 21 39 to 41 OUT3 Output Channel #3 Protected high-side power output pins to the load. 22 to 23 42 to 43 OUT1 Output Channel #1 Protected high-side power output pins to the load. 25 45 CSNS Feedback Current sense This pin reports an analog value proportional to the designated OUT[1:5] output current or the temperature of the exposed pad or the supply voltage. It is used externally to generate a ground-referenced voltage for the microcontroller (MCU). Current recopy and analog voltage feedbacks are SPI programmable. 26 46 CSNS SYNCB Feedback Current sense synchronization This open drain output pin allows synchronizing the MCU A/D conversion. This pin requires an external pull-up resistor to VCC. 27 47 IN1 Input Direct input #1 This input wakes up the device. This input pin is used to directly control corresponding channel in Fail mode. During Normal mode the control of the outputs by the control inputs is SPI programmable.This pin has a passive internal pull-down. Direct input #2 This input wakes up the device. This input pin is used to directly control corresponding channel in Fail mode. During Normal mode the control of the outputs by the control inputs is SPI programmable.This pin has a passive internal pull-down. 28 48 IN2 Input MC12XSFD1 6 Analog Integrated Circuit Device Data Freescale Semiconductor Table 2. 12XSF Pin Definitions (continued) Pin Number Pin Number Pin Name Pin Function 32 SOIC-EP 54 SOIC-EP (2) 29 49 IN3 Input Formal Name Definition Direct input #3 This input wakes up the device. This input pin is used to directly control corresponding channel in Fail mode. During Normal mode the control of the outputs by the control inputs is SPI programmable.This pin has a passive internal pull-down. 30 50 IN4 Input Direct input #4 This input wakes up the device. This input pin is used to directly control corresponding channel in Fail mode. During Normal mode the control of the outputs by the control inputs is SPI programmable.This pin has a passive internal pull-down. 31 51 LIMP Input Limp Home The Fail mode can be activated by this digital input. This pin has a passive internal pull-down. This pin is an input/output pin. It is used to report the device sleep-state information. It is also used to apply reference PWM clock which is divided by 28 in Normal operating mode. This pin has a passive internal pull-down. This exposed pad connects to the positive power supply and is the source of operational power for the device. 32 52 CLK Input/Output Device mode feedback Reference PWM clock 33 55 VPWR Power supply Power supply Notes 2. Pins 17 and 38 are omitted. MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 7 4 General Product Characteristics 4.1 Relationship Between Ratings and Operating Requirements The analog portion of device is supplied by the voltage applied to the VPWR exposed pad. Thereby the supply of internal circuitry (logic in case of a VCC disconnect, charge pump, gate drive,...) is derived from the VPWR pin. In case of a reverse supply: Fatal Range Reverse protection Probable permanent failure Degraded Operating Range Normal Operating Range V 40 V 18 32 V V 7. 0 -1 6 V Un 5. de 5 rv V o l ta ge • the internal supply rail is protected (max. -16 V) • the output drivers (OUT1:OUT4/5) are switched on, to reduce the power consumption in the drivers when using incandescent bulbs Degraded Operating Range - Reduced performance Full performance - Reduced performance - Full protection but - Full protection but accuracy not accuracy not guaranteed guaranteed - no PMW feature for UV to 6.0 V Potential Failure Fatal Range - Reduced performance - Probable failure in case of short-circuit Probable permanent failure Fatal Range 40 V -1 6V Operating Range Accepted Industry Standard Practices Probable permanent failure Fatal Range Probable permanent failure Correct operation Handling Conditions (Power OFF) Fatal Range Probable permanent failure Not Operating Range Degraded Operating Range Normal Operating Range Reduced performance Full performance V 7. 5. 5 0 V V 4. 5 -0 . 6 V VC (2 C .0 PO V R to 4. 0 V) Figure 5. Ratings vs. Operating Requirements (VPWR pin) The device’s digital circuitry is powered by the voltage applied to the VCC pin. If VCC is disconnected, the logic part is supplied by the VPWR pin. The output driver for SPI signals, CLK pin (wake feedback), and OUT6 are supplied by the VCC pin only. This pin shall be protected externally in case of a reverse polarity, and in case of a high-voltage disturbance. Degraded Operating Range Fatal Range Probable Reduced performance permanent failure Operating Range Figure 6. Ratings vs. Operating Requirements (VCC pin) MC12XSFD1 8 Analog Integrated Circuit Device Data Freescale Semiconductor 4.2 Maximum Ratings Table 3. Maximum Ratings All voltages are with respect to ground, unless otherwise noted. Exceeding these ratings may cause a malfunction or permanent damage to the device. Symbol Description (Rating) Min. Max. Unit Notes VPWR Voltage Range -16 40 V VCC VCC Logic Supply Voltage -0.3 7.0 V VIN Digital Input Voltage • IN1:IN4 and LIMP • CLK, SI, SCLK, CSB, and RSTB -0.3 -0.3 40 20 V (3) VOUT Digital Output Voltage • SO, CSNS, SYNC, OUT6, CLK -0.3 20 V (3) ICL Negative Digital Input Clamp Current – 5.0 mA (4) Power Channel Current • 7.0 mchannel • 17 m channel – – 11 5.5 A (5) – – – – 200 100 100 50 mJ (6) -8000 -2000 -750 -500 +8000 +2000 +750 +500 V (7) ELECTRICAL RATINGS VPWR IOUT Power Channel Clamp Energy Capability • 7.0 m channel - Initial TJ = 25 °C ECL VESD • 7.0 m channel - Initial TJ = 150 °C • 17 m channel - Initial TJ = 25 °C • 17 m channel - Initial TJ = 150 °C ESD Voltage • Human Body Model (HBM) - VPWR, Power Channel, and GND pins • Human Body Model (HBM) - All other pins • Charge Device Model (CDM) - Corner pins • Charge Device Model (CDM) - All other pins Notes 3. Exceeding voltage limits on those pins may cause a malfunction or permanent damage to the device. 4. Maximum current in negative clamping for IN1:IN4, LIMP, RSTB, CLK, SI, SO, SCLK, and CSB pins. 5. Continuous high-side output current rating so long as maximum junction temperature is not exceeded. Calculation of maximum output current using package thermal resistance is required. 6. Active clamp energy using single-pulse method (L = 2.0 mH, RL = 0 , VPWR = 14 V). Refer to Output Clamps section. 7. ESD testing is performed in accordance with the Human Body Model (HBM) (CZAP = 100 pF, RZAP = 1500 ), and the Charge Device Model. MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 9 4.3 Thermal Characteristics Table 4. Thermal Ratings All voltages are with respect to ground unless otherwise noted. Exceeding these ratings may cause a malfunction or permanent damage to the device. Symbol Description (Rating) Min. Max. Unit Notes Operating Temperature • Ambient • Junction -40 -40 +125 +150 °C TSTG Storage Temperature -55 + 150 °C TPPRT Peak Package Reflow Temperature During Reflow – 260 °C (9) (10) (11) THERMAL RATINGS TA TJ (8) THERMAL RESISTANCE AND PACKAGE DISSIPATION RATINGS RJB Junction-to-Board – 2.5 °C/W RJA Junction-to-Ambient, Natural Convection, Four-Layer Board (2s2p) RJA - 54 SOIC-EP RJA - 32 SOIC-EP – – 17.4 19.4 °C/W RJC Junction-to-Case (Case top surface) – 10.6 °C/W (12) (13) (14) Notes 8. To achieve high reliability over 10 years of continuous operation, the device's continuous operating junction temperature should not exceed 125 °C. 9. Pin soldering temperature limit is for 10 seconds maximum duration. Not designed for immersion soldering. Exceeding these limits may cause malfunction or permanent damage to the device. 10. Freescale’s Package Reflow capability meets Pb-free requirements for JEDEC standard J-STD-020C. For Peak Package Reflow Temperature and Moisture Sensitivity Levels (MSL), Go to www.freescale.com, search by part number [e.g. remove prefixes/suffixes and enter the core ID to view all orderable parts. (i.e. MC33xxxD enter 33xxx), and review parametrics. 11. Thermal resistance between the die and the printed circuit board per JEDEC JESD51-8. Board temperature is measured on the top surface of the board near the package. 12. Junction temperature is a function of die size, on-chip power dissipation, package thermal resistance, mounting site (board) temperature, ambient temperature, air flow, power dissipation of other components on the board, and board thermal resistance. 13. Per JEDEC JESD51-6 with the board (JESD51-7) horizontal. 14. Thermal resistance between the die and the case top surface as measured by the cold plate method (MIL SPEC-883 Method 1012.1). 4.4 Operating Conditions This section describes the operating conditions of the device. Conditions apply to all the following data, unless otherwise noted. Table 5. Operating Conditions All voltages are with respect to ground unless otherwise noted. Exceeding these ratings may cause a malfunction or permanent damage to the device. Symbol Ratings Min. Max. Unit 7.0 18 V – – 28 40 V Reverse supply -16 – V Functional operating supply voltage - Device is fully functional. All features are operating. 4.5 5.5 V Functional operating supply voltage - Device is fully functional. All features are operating. VPWR VCC Overvoltage range • Jump Start • Load dump Notes MC12XSFD1 10 Analog Integrated Circuit Device Data Freescale Semiconductor 4.5 Supply Currents This section describes the current consumption characteristics of the device. Table 6. Supply Currents Characteristics noted under conditions 4.5 V VCC 5.5 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Ratings Min. Typ. Max. Unit Notes – – 1.2 10 5.0 30 µA (15) (16) – 7.0 8.0 mA (16) Sleep mode measured at VCC = 5.5 V – 0.05 5.0 µA Operating mode measured at VPWR = 5.5 V (SPI frequency 5.0 MHz) – 2.8 4.0 mA VPWR CURRENT CONSUMPTIONS IQVPWR Sleep mode measured at VPWR = 12 V • TA = 25 °C • TA = 125 °C IVPWR Operating mode measured at VPWR = 18 V VCC CURRENT CONSUMPTIONS IQVCC IVCC Notes 15. With the OUT1:OUT4/5 power channels grounded. 16. With the OUT1:OUT4/5 power channels opened. MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 11 5 General IC Functional Description and Application Information 5.1 Introduction The 12XSF is an evolution of the successful 12XSC by providing improved features of a complete family of devices using Freescale's latest and unique technologies for the controller and the power stages. The 12XSF consists of a scalable family of devices with different RDS(on) and different number of outputs, compatible in terms of software driver and package footprint. It allows diagnosing the light-emitting diodes (LEDs) with an enhanced current sense precision with synchronization pin as well as driving high power motors with a perfect control of its current consumption. It combines flexibility through daisy chainable SPI 5.0 MHz, extended digital and analog feedback, safety, and robustness. It integrates an enhanced PWM module with 8-bit duty cycle capability and PWM frequency prescaler per power channel. 5.2 Features The main attributes of the 12XSF are: • Quad or Penta high-side switches with overload, overtemperature, and undervoltage protection • Control output for one external smart power switch • 16-bit SPI communication interface with daisy chain capability • Dedicated control inputs for use in Fail mode • Analog feedback pin with SPI programmable multiplexer and sync signal • Channel diagnosis by SPI communication • Advanced current sense mode for LED usage • Synchronous PWM module with external clock, prescaler and multiphase feature • Excellent EMC behavior • Power net and reverse polarity protection • Ultra Low-power mode • Scalable and flexible family concept • Board layout compatible SOIC54 and SOIC32 package with exposed pad MC12XSFD1 12 Analog Integrated Circuit Device Data Freescale Semiconductor 5.3 Block Diagram The choice of multi-die technology in an SOIC exposed pad package, including a low cost vertical trench FET power die associated with Smart Power control die, lead to an optimized solution. 12XSF - Functional Block Diagram Power Supply MCU Interface and Device Control SPI Interface Parallel Control Inputs MCU Interface Self-protected High-side Switches OUT[x] PWM Controller Supply MCU Interface and Output Control Self-protected High-side Switches Figure 7. Functional Block Diagram 5.3.1 Self-protected High-side Switches OUT1: OUT4/5 are the output pins of the power switches. The power channels are protected against various kinds of short-circuits, and have active clamp circuitry which may be activated when switching off inductive loads. Many protective and diagnostic functions are available. 5.3.2 Power Supply The device operates with supply voltages from 5.5 V to 40 V (VPWR), but is full spec. compliant only between 7.0 V and 18 V. The VPWR pin supplies power to the internal regulator, analog, and logic circuit blocks. The VCC pin (5.0 V typ.) supplies the output register of the serial peripheral interface (SPI). Consequently, the SPI registers cannot be read without presence of VCC. The employed IC architecture guarantees a low quiescent current in Sleep mode. 5.3.3 MCU Interface and Device Control In Normal mode the power output channels are controlled by the embedded PWM module, which is configured by the SPI register settings. For bidirectional SPI communication, VCC has to be in the authorized range. Failure diagnostics and configuration are also performed through the SPI port. The reported failure types are: open load, short-circuit to supply, severe short-circuit to ground, overcurrent, overtemperature, clock-fail, and under and overvoltage. The device allows driving loads at different frequencies up to 400 Hz. 5.4 Functional Description The device has four fundamental operating modes: Sleep, Normal, Fail, and Power off. It possesses multiple high-side switches (power channels) each of which can be controlled independently: • In Normal mode by SPI interface. A second supply voltage (VCC) is required for bidirectional SPI communication • In Fail mode by the corresponding direct inputs IN1:IN4. The OUT5 for the Penta version and the OUT6 are off in this mode MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 13 5.5 Modes of Operation The operating modes are based on the signals: • wake = (IN1_ON) OR (IN2_ON) OR (IN3_ON) OR (IN4_ON) OR (RSTB). More details in the Logic I/O Plausibility Check section • fail = (SPI_fail) OR (LIMP). More details in the Loss of Communication Interface section The following chapters provide information for a five output device. (Do not consider OUT5 for the Quad version.) Sleep wake = [0] wake = [0] wake = [1] (VPWR < VPWRPOR) and (VCC < VCCPOR) (VPWR < VPWRPOR) and (VCC < VCCPOR) Fail (VPWR > VPWRPOR) or (VCC > VCCPOR) Power off (VPWR < VPWRPOR) and (VCC < VCCPOR) fail = [0] and valid watchdog toggle Normal fail = [1] Figure 8. General IC Operating Modes 5.5.1 Power Off Mode The power off mode is applied when VPWR and VCC are below the power on reset threshold (VPWR POR, VCC POR). No functionality is available, but the device is protected by the clamping circuits In power off. Refer to Supply Voltages Disconnection. 5.5.2 Sleep Mode The Sleep mode is used to provide ultra low-current consumption. During Sleep mode: • the component is inactive and all outputs are disabled • the outputs are protected by the clamping circuits • the pull-up/pull-down resistors are present Sleep mode is the default mode of the device after applying the supply voltages (VPWR or VCC) prior to any wake-up condition (wake = [0]). Wake-up from Sleep mode is provided by the wake signal. 5.5.3 Normal Mode The Normal mode is the regular operating mode of the device. The device is in Normal mode, when the device is in the wake state (wake = [1]) and no fail condition (fail = [0]) is detected. During Normal mode: • the power outputs are under control of the SPI • the power outputs are controlled by the programmable PWM module • the power outputs are protected by the overload protection circuit • the control of the power outputs by SPI programming • the digital diagnostic feature transfers status of the smart switch via the SPI • the analog feedback output (CSNS and CSNS SYNC) can be controlled by the SPI MC12XSFD1 14 Analog Integrated Circuit Device Data Freescale Semiconductor The channel control (CHx) can be summarized: • CH1:4 controlled by ONx or iINx (if it is programmed by the SPI) • CH5:6 controlled by ONx • Rising CHx by definition means starting overcurrent window for OUT1:5 5.5.4 Fail Mode The device enters the Fail mode, when: • the LIMP input pin is high (logic [1]) • or a SPI failure is detected During Fail mode (wake = [1] & fail = [1]): • the OUT1:OUT4 outputs are directly controlled by the corresponding control inputs (IN1:IN4) • the OUT5:OUT6 are turned off • the PWM module is not available • while no SPI control is feasible, the SPI diagnosis is functional (depending on the Fail mode condition): • SO reports the content of SO register defined by SOA0 to 3 bits • the outputs are fully protected in case of an overload, overtemperature, and undervoltage • no analog feedback is available • the max. output overcurrent profile is activated (OCLO and window times) • in case of an overload condition or undervoltage, the autorestart feature controls the OUT1:OUT4 outputs • in case of an overtemperature condition, OCHI1 detection, or severe short-circuit detection, the corresponding output is latched OFF until a new wake-up event The channel control (CHx) can be summarized: • CH1:4 controlled by iINx, while the overcurrent windows are controlled by IN_ONx • CH5:6 are off 5.5.5 Mode Transitions After a wake-up: • a power on reset is applied and all SPI SI and SO registers are cleared (logic[0]) • the faults are blanked during tBLANKING The device enters in Normal mode after start-up if following sequence is provided: • VPWR and VCC power supplies must be above their undervoltage thresholds (Sleep mode) • generate wake-up event (wake =1) setting RSTB from 0 to 1 The device initialization is completed after 50 µsec (typ). During this time, the device is robust in case of VPWR interrupts higher than 150 nsec. The transition from “Normal mode” to “Fail mode” is executed immediately when a fail condition is detected. During the transition, the SPI SI settings are cleared and the SPI SO registers are not cleared. When the Fail mode condition is a: • LIMP input, WD toggle timeout, WD toggle sequence, or a SPI modulo 16 error, the SPI diagnosis is available during Fail mode • SI/SO stuck to static level, the SPI diagnosis is not available during Fail mode The transition from “Fail mode” to “Normal mode” is enabled when: • the fail condition is removed and • two SPI commands are sent within a valid watchdog cycle (first WD=[0] and then WD=[1]) During this transition: • all SPI SI and SO registers are cleared (logic[0]) • the DSF (device status flag) in the registers #1:#7 and the RCF (Register Clearer flag) in the device status register #1 are set (logic[1]) To delatch the RCF diagnosis, a read command of the quick status register #1 must be performed. MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 15 5.6 SPI Interface and Configurations 5.6.1 Introduction The SPI is used to: • control the device in case of Normal mode • provide diagnostics in case of Normal and Fail mode The SPI is a 16-bit full-duplex synchronous data transfer interface with daisy chain capability. The interface consists of four I/O lines with 5.0 V CMOS logic levels and termination resistors: • The SCLK pin clocks the internal shift registers of the device • The SI pin accepts data into the input shift register on the rising edge of the SCLK signal • The SO pin changes its state on the rising edge of SCLK and reads out on the falling edge • The CSB enables the SPI interface: • with the leading edge of CSB, the registers loads • while CSB is logic [0], SI/SO data shifts • with the trailing edge of the CSB signal, SPI data latches into the internal registers • when CSB is logic [1], the signals at the SCLK and SI pins are ignored and SO is high-impedance When the RSTB input is: • low (logic [0]), the SPI and the fault registers are reset. The Wake state then depends on the status of the input pins (IN_ON1:IN_ON4) • high (logic[1]), the device is in Wake status and the SPI is enabled The functionality of the SPI is checked by a plausibility check. During a SPI failure, the device enters Fail mode. 5.6.2 SPI Input Register and Bit Descriptions The first nibble of the 16-bit data word (D15:D12) serves as address bits. SI address SI data Register # name 8 D15 D14 D13 4 Bit address D12 D11 WD D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 11 Bit address 11 bits (D10:D1) are used as data bits. The D11 bit is the WD toggle bit. This bit has to be toggled with each write command. When the toggling of the bit is not executed within the WD timeout, a SPI fail is detected. All register values are logic [0] after a reset. The predefined value is off/inactive unless otherwise noted. MC12XSFD1 16 Analog Integrated Circuit Device Data Freescale Semiconductor Register SI address # D15 D14 SI data D13 D12 D11 D10 D9 D8 SYNC EN0 Initialisation 1 0 0 0 0 0 WD WD SEL SYNC EN1 initialisation 2 1 0 0 0 1 WD OCHI THERMAL OCHI TRANSIENT CH1 control 2 0 0 1 0 WD PH11 PH01 ON1 CH2 control 3 0 0 1 1 WD PH12 PH02 ON2 CH3 control 4 0 1 0 0 WD PH13 PH03 CH4 control 5 0 1 0 1 WD PH14 CH6 control 7 0 1 1 1 WD PH16 output control Global PWM control over current control input enable prescaler settings D7 D6 D5 D4 D3 D2 D1 D0 SOA3 SOA2 SOA1 SOA0 OCHI OD2 OCHI OD1 PWM sync OTW SEL MUX1 MUX0 X OCHI OD4 SOA MODE OCHI OD3 PWM71 PWM61 PWM51 PWM41 PWM31 PWM21 PWM11 PWM01 PWM72 PWM62 PWM52 PWM42 PWM32 PWM22 PWM12 PWM02 ON3 PWM73 PWM63 PWM53 PWM43 PWM33 PWM23 PWM13 PWM03 PH04 ON4 PWM74 PWM64 PWM54 PWM44 PWM34 PWM24 PWM14 PWM04 PH06 ON6 PWM76 PWM66 PWM56 PWM46 PWM36 PWM26 PWM16 PWM06 MUX2 NO HID1 NO HID0 8 1 0 0 0 WD X PSF4 PSF3 PSF2 PSF1 ON6 X ON4 ON3 ON2 ON1 9-1 1 0 0 1 WD 0 X X X X GPWM EN6 X GPWM EN4 GPWM EN3 GPWM EN2 GPWM EN1 9-2 1 0 0 1 WD 1 X X GPWM7 GPWM6 GPWM5 GPWM4 GPWM3 GPWM2 GPWM1 GPWM0 10-1 1 0 1 0 WD 0 X OCLO4 OCLO3 OCLO2 OCLO1 X NO OCHI3 NO OCHI2 NO OCHI1 X SHORT OCHI4 SHORT OCHI3 SHORT OCHI2 ACM EN1 SHORT OCHI1 ACM EN4 ACM EN3 ACM EN2 10-2 1 0 1 0 WD 1 X NO OCHI4 11 1 0 1 1 WD 0 X X INEN14 INEN04 INEN13 INEN03 INEN12 INEN02 INEN11 INEN01 12-1 1 1 0 0 WD 0 X X PRS14 PRS04 PRS13 PRS03 PRS12 PRS02 PRS11 PRS01 12-2 1 1 0 0 WD 1 X X X X X X OLON DGL3 OLON DGL2 OLON DGL1 OLLED TRIG X X PRS16 PRS06 OLOFF EN4 OLLED EN4 OLOFF EN3 OLLED EN3 OLOFF EN2 OLLED EN2 OLOFF EN1 OLLED EN1 OL control 13-1 1 1 0 1 WD 0 X OLON DGL4 OLLED control 13-2 1 1 0 1 WD 1 res res res res X X INCR14 INCR04 INCR13 INCR03 INCR12 INCR02 INCR11 INCR01 X X X X X X X X X X #0 MUX2 0 0 0 0 1 1 1 1 MUX1 0 0 1 1 0 0 1 1 SYNC EN1 0 0 1 1 MUX0 0 1 0 1 0 1 0 1 SYNC EN0 0 1 0 1 PH 1x 0 0 1 1 PH 0x 0 1 0 1 increment / dercrement testmode 14 1 1 1 0 WD INCR SGN 15 1 1 1 1 X X WD #0~#14 = watchdog toggle bit SOA0 ~ SOA3 SOA MODE MUX0 ~ MUX2 SYNC EN0~ SYNC EN1 WD SEL OTW SEL PWM SYNC OCHI ODx NO HIDx OCHI THERMAL OCHI TRANSIENT PWM0x ~ PWM7x PH0x ~ PH1x ONx PSFx GPWM ENx GPWM1 ~ GPWM7 ACM ENx OCLOx SHORT OCHIx NO OCHIx INEN0x ~ INEN1x PRS0x ~ PRS1x OLOFF ENx OLON DGLx OLLED ENx OLLED TRIG INCR SGN INCR0x ~ INCR1x #0 #0 #0 #0 #0 #1 #1 #1 #1 #1 #1 #2~#7 #2~#7 #2~#8 #8 #9-1 #9-2 #10-1 #10-1 #10-2 #10-2 #11 #12 #13-1 #13-1 #13-2 #13-2 #14 #14 = address of next SO data word = single read address of next SO data word = CSNS multiplexer setting = SYNC delay setting = watchdog timeout select = over temperature warning threshold selection = reset clock module = OCHI window on load demand = HID outputs selection = OCHI1 level depending on control die temperature = OCHIx levels adjusted during OFF-to-ON transition = PWM value (8Bit) = phase control = channel on/off incl. OCHI control = pulse skipping feature for power output channels = global PWM enable = global PWM value (8Bit) = advanced current sense mode enable = OCLO level control = use short OCHI window time = start with OCLO threshold = input enable control = pre scaler setting = OL load in off state enable = OL ON deglitch time = OL LED mode enable = trigger for OLLED detetcion in 100% d.c. = PWM increment / decrement sign = PWM increment / decrement setting #0 #2~#7 #11 0 1 #12 #1 NO HID1 NO HID0 0 0 0 1 1 0 1 1 HID Selection available for all channels available for channel 3 only available for channels 3 and 4 only unavailable for all channels ONx #14 #14 X X CSNS off OUT1 current OUT2 current OUT3 current OUT4 current unused VPWR monitor control die temp.monitor Sync status sync off valid trig0 trig1/2 Phase 0° 90° 180° 270° INx=0 GPWM INEN1x INEN0x OUTx PWMx ENx x x x OFF x individual 0 ON 0 0 global 1 ON individual 0 OFF 0 1 global 1 OFF individual 0 OFF 1 0 global 1 OFF individual 0 ON 1 1 global 1 ON PRS 1x PRS 0x PRS divider 0 0 /4 25Hz .... 100Hz 0 1 /2 50Hz .... 200Hz 1 x /1 100Hz .... 400Hz INCR SGN increment/decrement 0 decrement 1 increment INCR 1x INCR 0x increment/decrement 0 0 no increment/decrement 4 LSB 0 1 0 8 LSB 1 1 1 16 LSB INx=1 OUTx PWMx OFF x individual ON global ON individual ON global ON individual ON global ON global ON individual ON MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 17 5.6.3 SPI Output Register and Bit Descriptions The first nibble of the 16-bit data word (D12:D15) serves as address bits. All register values are logic [0] after a reset, except DSF and RCF bits. The predefined value is off/inactive unless otherwise noted. Register SO address SO data # D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 not used 0 0 0 0 0 X X X X X X X X X X X X quick status 1 0 0 0 1 FM DSF OVLF OLF CPF RCF CLKF X QSF4 QSF3 QSF2 QSF1 CH1 status 2 0 0 1 0 FM DSF OVLF OLF res OTS1 OTW1 OC21 OC11 OC01 OLON1 OLOFF1 CH2 status 3 0 0 1 1 FM DSF OVLF OLF res OTS2 OTW2 OC22 OC12 OC02 OLON2 OLOFF2 CH3 status 4 0 1 0 0 FM DSF OVLF OLF res OTS3 OTW3 OC23 OC13 OC03 OLON3 OLOFF3 CH4 status 5 0 1 0 1 FM DSF OVLF OLF res OTS4 OTW4 OC24 OC14 OC04 OLON4 OLOFF4 device status 7 0 1 1 1 FM DSF OVLF OLF res res res TMF OVF UVF SPIF iLIMP I/O status 8 1 0 0 0 FM res TOGGLE iIN4 device ID 9 1 0 0 1 FM res res res not used testmode 10-14 15 1 adress from 1010 to 1110 1 1 1 iIN3 iIN2 iIN1 X OUT4 OUT3 OUT2 OUT1 DEVID 6 X DEVID 5 X DEVID 4 X DEVID 3 X DEVID 2 X DEVID 1 X DEVID 0 X X X X X X X X X X X X DEVID 7 X X X X X X QSFx #1 = quick status (OC or OTW or OTS or OLON or OLOFF) CLKF #1 = PWM clock fail flag 0 0 0 no overcurrent RCF #1 = registers clear flag 0 0 1 OCHI1 CPF #1 = charge pump flag 0 1 0 OCHI2 OLF #1~#7 = open load flag (wired or of all OL signals) 0 1 1 OCHI3 OVLF #1~#7 = over load flag (wired or of all OC and OTS signals) 1 0 0 OCLO DSF #1~#7 = device status flag (RCF or UVF or OVF or CPF or CLKF or TMF) 1 0 1 OCHIOD #2~#6 OC2x OC1x OC0x over current status FM #1~#8 = fail mode flag 1 1 0 SSC OLOFFx #2~#6 = open load in off state status bit 1 1 1 not used OLONx #2~#6 = open load in on state status bit OTWx #2~#6 = over temperature warning bit 0 0 0 Penta3/2 OTSx #2~#6 = over temperature shutdown bit 0 0 1 Penta0/5 iLIMP #7 = limp input pin status 0 1 0 Quad2/2 SPIF #7 = SPI fail flag 0 1 1 Quad0/4 #9 DEVID2 DEVID1 DEVID0 device type UVF #7 = under voltage flag 1 0 0 Triple1/2 OVF #7 = over voltage flag 1 0 1 Triple0/3 TMF #7 = testmode activation flag 1 1 0 res OUTx #8 = status of VPWR/2 comparator (reported in real time) 1 1 1 res iINx #8 = status of iINx signal (reported in real time) TOGGLE #8 = status of INx_ON signals (IN1_ON or IN2_ON or IN3_ON or IN4_ON) DEVID0 ~ DEVID2 #9 = device type DEVID3 ~ DEVID4 #9 = device family DEVID5 ~ DEVID7 #9 = design status (incremented number) D0 MC12XSFD1 18 Analog Integrated Circuit Device Data Freescale Semiconductor 5.6.4 Timing Diagrams RSTB VIH 10% VCC VIL tWRST tCS tENBL CSB 90% VCC VIH 10% VCC VIL tRSI tWSCLKh tLEAD tLAG VIH 90% VCC SCLK 10% VCC VIL tSI(SU) tWSCLKl tFSI tSI(H) SI VIH 90% VCC 10% VCC Don’t Care Must be Valid Don’t Care Don’t Care Must be Valid VIL tSOEN tSODIS Tri-stated Tri-stated SO VIH VIL Figure 9. Timing Requirements During SPI Communication tFSI tRSI VOH 90% VCC 50% SCLK 10% VCC VOL VOH 10% VCC SO VOL tRSO Low to High tVALID tFSO SO VOH High To Low 90% VCC 10% VC VOL Figure 10. Timing Diagram for Serial Output (SO) Data Communication MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 19 5.6.5 Electrical Characterization Table 7. Electrical Characteristics Characteristics noted under conditions 4.5 V VCC 5.5 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit Notes SPI SIGNALS CSB, SI, SO, SCLK, SO fSPI SPI Clock Frequency 0.5 – 5.0 MHz VIH Logic Input High State Level (SI, SCLK, CSB, RSTB) 3.5 – – V Logic Input High State Level for wake-up (RSTB) 3.75 – – V – – 0.85 V VIH(WAKE) VIL Logic Input Low State Level (SI, SCLK, CSB, RSTB) VOH Logic Output High State Level (SO) VCC - 0.4 – – V VOL Logic Output Low State Level (SO) – – 0.4 V Logic Input Leakage Current in Inactive State (SI = SCLK = RSTB = [0] and CSB = [1]) -0.5 – +0.5 µA Logic Output Tri-state Leakage Current (SO from 0 V to VCC) -10 – +1.0 µA Logic Input Pull-up/Pull-down Resistor 25 – 100 k Logic Input Capacitance – – 20 pF 7.5 10 12.5 µs SO Rising and Falling Edges with 80 pF – – 20 ns tWCLKh Required High State Duration of SCLK (Required Setup Time) 80 – – ns tWCLKl Required Low State Duration of SCLK (Required Setup Time) 80 – – ns tCS Required Duration from the Rising to the Falling Edge of CSB (Required Setup Time) 1.0 – – µs tRST Required Low State Duration for reset RST\ 1.0 – – µs tLEAD Falling Edge of CSB to Rising Edge of SCLK (Required Setup Time) 320 – – ns tLAG Falling Edge of SCLK to Rising Edge of CSB (Required Setup Lag Time) 100 – – ns tSI(SU) SI to Falling Edge of SCLK (Required Setup Time) 20 – – ns tSI(H) Falling Edge of SCLK to SI (Required hold Time of the SI Signal) 20 – – ns tRSI SI, CSB, SCLK, Max. Rise Time Allowing Operation at Maximum fSPI – 20 50 ns tFSI SI, CSB, SCLK, Max. Fall Time Allowing Operation at Maximum fSPI – 20 50 ns tSO(EN) Time from Falling Edge of CSB to Reach Low-impedance on SO (access time) – – 60 ns tSO(DIS) Time from Rising Edge of CSB to Reach Tri-state on SO – – 60 ns IIN IOUT RPULL CIN tRST_DGL tSO RSTB Deglitch Time (17) Notes 17. Parameter is derived from simulations. MC12XSFD1 20 Analog Integrated Circuit Device Data Freescale Semiconductor 6 Functional Block Requirements and Behaviors 6.1 Self-protected High-side Switches Description and Application Information 6.1.1 Features Up to five power outputs are foreseen to drive light as well as DC motor applications. The outputs are optimized for driving bulbs, HID ballasts, LEDs, and other resistive or low inductive loads. The smart switches are controlled by use of high sophisticated gate drivers. The gate drivers provide: • output pulse shaping • output protections • active clamps • output diagnostics 6.1.2 Output Pulse Shaping The outputs are controlled with a closed loop active pulse shaping to provide the best compromise between: • low switching losses • low EMC emission performance • minimum propagation delay time Depending on the programming of the prescaler setting register #12-1, #12-2, the switching speeds of the outputs are adjusted to the output frequency range of each channel. The edge shaping shall be designed according the following table: divider factor PWM freq. (Hz) PWM period (ms) d.c. range (hex) d.c. range (LSB) min. max. min. max. min. max. min. max min. on/off duty cycle time (s) 4 25 100 10 40 03 FB 4 252 156 2 50 200 5 20 07 F7 8 248 156 1 100 400 2.5 10 07 F7 8 248 78 The edge shaping provides full symmetry for rising and falling transition: • the slopes for the rising and falling edge are matched to provide the best EMC emission performance • the shaping of the upper edges and the lower edges are matched to provide the best EMC emission performance • the propagation delay time for the rising edge and the falling edge is matched to provide true duty cycle control of the output duty cycle error, < 1 LSB at max. frequency • a digital regulation loop is used to minimize the duty cycle error of the output signal MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 21 Figure 11. Typical Power Output Switching (slow and fast slew rate) 6.1.2.1 SPI Control and Configuration For optimized control of the outputs, a synchronous clock module is integrated. The PWM frequency and output timing during Normal mode are generated from the clock input (CLK) by the integrated PWM module. In case of clock fail (very low frequency, very high frequency), the output duty cycle is 100%. Each output (OUT1:OUT6) can be controlled by an individual channel control register: SI address SI data Register # CHx control 2-7 D15 D14 D13 channel address D12 D11 D10 D9 D8 WD PH1x PH0x Onx D7 D6 D5 D4 D3 D2 D1 D0 PWM7 PWM6 PWM5 PWM4 PWM3 PWM2 PWM1 PWM0 x x x x x x x x Where: • PH0x:PH1x: phase assignment of the output channel x • ONx: on/off control including overcurrent window control of the output channel x • PWM0x:PWM7x: 8-bit PWM value individually for each output channel x The ONx bits are duplicated in the output control register #8 to control the outputs with either the CHx control register or the output control register. The PRS1x:PRS0x prescaler settings can be set in the prescaler settings register #12-1 and #12-2. The following changes of the duty cycle are performed asynchronous (with positive edge of CSB signal): • turn on with 100% duty cycle (CHx = ON) • change of duty cycle value to 100% • turn off (CHx = OFF) • phase setting (PH0x:PH1x) • prescaler setting (PRS1x:PRS0x) A change in phase setting or prescaler setting during CHx = ON may cause an unwanted long ON-time. Therefore it is recommended to turn off the output(s) before execution of this change. The following changes of the duty cycle are performed synchronous (with the next PWM cycle): • turn on with less than 100% duty cycle (OUTx = ONx) • change of duty cycle value to less than 100% A change of the duty cycle value can be achieved by a change of the: • PWM0x: PWM7x bits in individual channel control register #2:#7 • GPWM EN1: GPWM EN6 bits (change between individual PWM and global PWM settings) in global PWM control register #9-1 • incremental/decremental register #14 MC12XSFD1 22 Analog Integrated Circuit Device Data Freescale Semiconductor The synchronization of the switching phases between different devices is provided by the PWM SYNC bit in the initialization 2 register #1. On a SPI write into initialization 2 register (#1): • initialization when the bit D1 (PWM SYNC) is logic[1], all counters of the PWM module are reset with the positive edge of the CSB, i.e. the phase synchronization is performed immediately within one SPI frame. It could help to synchronize different 12XSF devices in the board • when the bit D1 is logic[0], no action is executed The switching frequency can be adjusted for the corresponding channel as described in the following table: CLK freq. (kHz) min. 25.6 prescaler setting max. 102.4 PWM freq. (Hz) PWM resolution) PRS1x PRS0x divider factor 0 0 4 25 100 slow 0 1 2 50 200 slow 1 X 1 100 400 fast slew rate min. max. (Bit) (steps) 8 256 No PWM feature is provided in case of: • Fail mode • clock input signal failure 6.1.2.2 Global PWM Control In addition to the individual PWM register, each channel can be assigned independently to a global PWM register. The setting is controlled by the GPWM EN bits inside the global PWM control register #9-1. When no control by direct input pin is enabled and the GPWM EN bit is: • low (logic[0]), the output is assigned to individual PWM (default status) • high (logic[1]), the output is assigned to global PWM The PWM value of the global PWM channel is controlled by the global PWM control register #9-2. Table 8. Global PWM Register INx = 0 ONx 0 INEN1x INEN0x x x 0 0 INx = 1 GPWM ENx CHx PWMx CHx PWMx x OFF x OFF x 0 ON individual ON individual 1 ON global ON global 0 1 0 OFF individual ON individual 1 0 1 OFF global ON global 0 ON individual ON global 1 1 1 ON global ON individual 1 When a channel is assigned to global PWM, the switching phase the prescaler and the pulse skipping are according the corresponding output channel setting. 6.1.2.3 Incremental PWM Control To reduce the control overhead during soft start/stop of bulbs or DC motors (e.g. theatre dimming), an incremental PWM control feature is implemented. With the incremental PWM control feature the PWM values of all internal channels OUT1:OUT4/5 can be incremented or decremented with one SPI frame. The incremental PWM feature is not available for: • the global PWM channel • the external channel OUT6 The control is according the increment/decrement register #14: • INCR SGN: sign of incremental dimming (valid for all channels) • INCR 1x, INCR 0x increment/decrement MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 23 INCR SG N increm ent/decre me nt 0 de creme nt 1 incre ment INCR 1x INCR 0x incre ment/decreme nt 0 0 n o i ncrement/d ecre me nt 0 1 1 0 8 1 1 16 4 This feature limits the duty cycle to the rails (00 resp. FF) to avoid any overflow. 6.1.2.4 Pulse Skipping Due to the output pulse shaping feature and the resulting switching delay time of the smart switches, duty cycles close to 0% resp. 100% can not be generated by the device. Therefore the pulse skipping feature (PSF) is integrated to interpolate this output duty cycle range in Normal mode. The pulse skipping provides a fixed duty cycle pattern with eight states to interpolate the duty cycle values between F7 (Hex) and FF (Hex). The range between 00 (Hex) and 07 (Hex) is not considered to be provided. The pulse skipping feature: • is available individually for the power output channels (OUT1:OUT5) • is not available for the external channel (OUT6) The feature is enabled with the PSF bits in the output control register #8. When the corresponding PSF bit is: • low (logic[0]), the pulse skipping feature is disabled on this channel (default status) • high (logic[1]), the pulse skipping feature is enabled on this channel hex FF FE FD FC FB FA F9 F8 F7 F6 F5 F4 . . . . 03 02 01 00 PWM duty cycle dec [%] 256 100,00% 255 99,61% 254 99,22% 253 98,83% 252 98,44% 251 98,05% 250 97,66% 249 97,27% 96,88% 248 96,48% 247 96,09% 246 245 95,70% . . . . . . . . 4 1,56% 3 1,17% 2 0,78% 1 0,39% S0 FF F7 F7 F7 F7 F7 F7 F7 pulse skipping frame S1 S2 S3 S4 S5 S6 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F7 FF FF FF F7 FF F7 FF FF FF F7 FF F7 FF F7 F7 F7 FF F7 FF F7 F7 F7 FF F7 F7 F7 F7 F7 F7 F7 F7 F7 S7 FF FF FF FF FF FF FF FF MC12XSFD1 24 Analog Integrated Circuit Device Data Freescale Semiconductor 6.1.2.5 Input Control Up to four dedicated control inputs (IN1:IN4) are foreseen to: • wake-up the device • fully control the corresponding output in case of Fail mode • control the corresponding output in case of Normal mode The control during Normal mode is according the INEN0x and INEN1x bits in the input enable register #11 and according the logic table in Table 8. An input deglitcher is provided at each control input to avoid high frequency control of the outputs. The internal signal is called iINx. The channel control (CHx) can be summarized: • Normal mode: • CH1: 4 controlled by ONx or INx (if it is programmed by the SPI) • CH5: 6 controlled by ONx • Rising CHx by definition means starting overcurrent window for OUT1:5 • Fail mode: • CH1: 4 controlled by iINx, while the overcurrent windows are controlled by IN_ONx • CH5: 6 are off Even so, the input thresholds are logic level compatible, the input structure of the pins is able to withstand supply voltage levels (max.40 V) without damage. External current limit resistors (i.e. 1.0 k:10 k) can be used to handle reverse current conditions. The inputs have an integrated pull-down resistor. 6.1.2.6 Electrical Characterization Table 9. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. – – – – – 7.0 – – – – 8.0 12.9 10.5 13 18.2 – – – – 17 – – – – 19 30.9 25.5 31 43.5 Sleep Mode Output Leakage Current (Output shorted to GND) per Channel • TJ = 25 °C, VPWR = 12 V • TJ = 125 °C, VPWR = 12 V • TJ = 25 °C, VPWR = 35 V • TJ = 125 °C, VPWR = 35 V – – – – – – – – 0.5 5.0 5.0 25 Operational Output Leakage Current in OFF-State per Channel • TJ = 25 °C, VPWR = 18 V • TJ = 125 °C, VPWR = 18 V – – – – 10 20 Output PWM Duty Cycle Range (measured at VOUT = VPWR/2) • Low Frequency Range (25 to 100 Hz) • Medium Frequency Range (50 to 200 Hz) • High Frequency Range (100 to 400 Hz) 4.0 8.0 8.0 – – – 252 248 248 Unit Notes POWER OUTPUTS OUT1:OUT5 RDS(on) ON-Resistance, Drain-to-Source for 7.0 m Power Channel • TJ = 25 °C, VPWR > -12 V • TJ = 150 °C, VPWR > -12 V • TJ = 25 °C, VPWR = 7.0 V • TJ = 25 °C, VPWR = -12 V • TJ = 150 °C, VPWR = -12 V RDS(on) ON-Resistance, Drain-to-Source for 17 m Power Channel • TJ = 25 °C, VPWR > -12 V • TJ = 150 °C, VPWR > -12 V • TJ = 25 °C, VPWR = 7.0 V • TJ = 25 °C, VPWR = -12 V • TJ = 150 °C, VPWR = -12 V ILEAK SLEEP IOUT OFF PWM m m µA µA LSB MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 25 Table 9. Electrical Characteristics (continued) Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit Notes SR Rising and Falling Edges Slew-Rate at VPWR= 14 V (measured from VOUT = 2.5 V to VPWR - 2.5 V) • Low Frequency Range • Medium Frequency Range • High Frequency Range 0.25 0.25 0.55 0.42 0.42 0.84 0.6 0.6 1.25 V/µs (18) SR Rising and Falling Edges Slew Rate Matching at VPWR = 14 V (SRr/ SRf) 0.9 1.0 1.1 tDLY Turn-on and Turn-off Delay Times at VPWR = 14 V • Low Frequency Range • Medium Frequency Range • High Frequency Range 20 20 10 70 70 30 120 120 50 Turn-on and Turn-off Delay Times Matching at VPWR= 14 V • Low Frequency Range • Medium Frequency Range • High Frequency Range -20 -20 -10 0.0 0.0 0.0 20 20 10 Shutdown Delay Time in case of Fault 0.5 2.5 4.5 µs 25.6 – 102.4 kHz tDLY tOUTPUT SD (18) µs (18) µs (18) REFERENCE PWM CLOCK fCLK Clock Input Frequency Range Notes 18. With nominal resistive load: 2.5 and 5.0 respectively for 7.0 m and 17 m channel. 6.1.3 Output Protections The power outputs are protected against fault conditions in Normal and Fail mode in case of: • overload conditions • harness short-circuit • overcurrent protection against ultra-low resistive short-circuit conditions due to a smart overcurrent profile and severe short-circuit protection • overtemperature protection including overtemperature warning • under and overvoltage protections • charge pump monitoring • reverse polarity protection In case a fault condition is detected, the corresponding output is commanded off immediately after the deglitch time tFAULT SD. The turn off in case of a fault shutdown (OCHI1, OCHI2, OCHI3, OCLO, OTS, UV, CPF, OLOFF) is provided by the FTO feature (fast turn off). The FTO: • does not use edge shaping • is provided with high slew rate to minimize the output turn-off time tOUTPUT SD, in regards to the detected fault • uses a latch which keeps the FTO active during an undervoltage condition (0 < VPWR < VPWR UVF) MC12XSFD1 26 Analog Integrated Circuit Device Data Freescale Semiconductor Figure 12. Power Output Switching in Nominal Operation and In Case of Fault Normal mode In case of a fault condition during Normal mode: • the status is reported in the quick status register #1 and the corresponding channel status register #2:#6 To restart the output: • the channel must be restarted by writing the corresponding ON bit in the channel control register #2:#6 or output control register #8 MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 27 OLOFF (Ioutx > I oloff thres) or (t > t oloff) OUTx = 1 (OLOFF ENx = 1) (rewrite CHx=1) & (tochi1+tochi2< t <tochi1+tochi2+tochi3) (rewrite CHx=1) & (tochi1< t <tochi1+tochi2) off [(set CHx=1) & (fault x=0)] or [(rewrite CHx=1) & (t<tochi1)] OCHI1 OCHI2 OUTx = HSONx OUTx = HSONx OUTx = off (t>tochi1 + tochi2) & (fault x=0) (t > tochi1) & (fault x=0) OCHI3 OUTx = HSONx (CHx=0) or (fault x=1) (CHx=0) or (fault x=1) (CHx=0) or (fault x=1) (OCLOx=1) & (OCHI ODx=1) (NO OCHIx=1) & (fault x=0) (NO OCHIx =1) & (fault x=0) (CHx=0) or (fault x=1) OCLO OUTx = HSONx [(rewrite CHx=1) & (t>tochi1+tochi2+tochi3)] or [(set CHx=1) & (NO OCHIx=1)] [(t > tochi1+tochi2+tochi3) & (fault x=0)] or [(NO OCHIx=1) & (fault x=0)] Definitions of key logic signals (fault x):= (UV) or (OCHI1x) or (OCHI2x) or (OCHI3x) or (OCLOx) or (OTx) or (SSCx) (set CHx=1):= [(ONx=0) then (ONx=1)] or [(iINx=0) then (iINx=1)] (rewrite CHx=1):= (rewrite ONx=1) after (fault x=1) SSCx:= severe short circuit detection tochi2 is depending on NO_HID settings and output current during OCHI2 state Figure 13. Output Control Diagram in Normal Mode MC12XSFD1 28 Analog Integrated Circuit Device Data Freescale Semiconductor Fail mode In an overcurrent (OCHI2, OCHI3, OCLO) or undervoltage is detected, the restart is controlled by the autorestart feature. I threshold I OCHI2 I OCHI3 driver turned off in case of fault_fail x ( = OC or UV) event during autorestart driver turned on again with OCHI2 after fault_fail x I OCLO In case of successful autorestart (no fault_fail x event) OCLO remains active tOCHI2 time t AUT ORESTART Figure 14. Autorestart in Fail Mode During overtemperature (OTSx), severe short-circuit (SSCx), or OCHI1 overcurrent, the corresponding output enters the latch off state until the next wake-up cycle or mode change. (INx_ON=0) auto restart autorestart x=1 OC_fail x=0 OUTx=off (UV =1) (UV =1) or (OCLOx=1) (UV =1) or (OCHI3x=1) (UV=0) & (t > t autorestart) (UV =1) or (OCHI2x=1) (t > tochi1+tochi2) & (autorestart=1) (INx_ON=1) off OCHI1 OUTx=off autorestart x=0 OUTx=iINx OCHI2 (t > tochi1) OUTx=iINx (t > tochi1+tochi2) & (autorestart x=0) OCHI3 (t >tochi1+ tochi2+ tochi3) OUTx=iINx OCLO OUTx=iINx (INx_ON=0) (INx_ON=0) (INx_ON=0) (OTSx=1) or (SSCx=1) (INx_ON=0) (OTSx=1) or (SSCx=1) or (OCHI1x=1) Definitions of key signals iINx:= external Inputs IN1~IN4 after deglitcher SSCx := severe short circuit detection latch OFF (OTSx=1) or (SSCx=1) (OTSx=1) or (SSCx=1) OUTx=off tochi2 is depending on output current during OCHI2 state Figure 15. Output Control Diagram in Fail Mode MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 29 6.1.3.1 Overcurrent Protections Each output channel is protected against overload conditions by use of a multilevel overcurrent shutdown. current IOCHI1 IOCHI2 Overcurrent Threshold Profile IOCHI3 IOCLO Lamp Current tOCHI1 tOCHI2 tOCHI3 Figure 16. Transient Overcurrent Profile The current thresholds and the threshold window times are fixed for each type of power channel. When the output is in PWM mode, the clock for the OCHI time counters (tOCHI1:tOCHI3) is gated (logic AND) with the referring output control signal: • the clock for the tOCHI counter is activated when the output = [1] respectively CHx = 1 • the clock for the tOCHI counter is stopped when the output = [0] respectively CHx = 0 current IOCHI1 IOCHI2 IOCHI3 IOCLO time cumulative tOCHI1 cumulative tOCHI2 cumulative tO CHI3 Figure 17. Transient Overcurrent Profile in PWM mode This strategy counts the OCHI time only when the bulb is actually heated up. The window counting is stopped in case of UV, CPF and OTS. A severe short-circuit protection (SSC) is implemented to limit the power dissipation in Normal and Fail modes, in case of severe short-circuit event. This feature is active only for a very short period of time, during OFF-to-ON transition. The load impedance is monitored during the output turn-on. MC12XSFD1 30 Analog Integrated Circuit Device Data Freescale Semiconductor Normal mode The enabling of the high current window (OCHI1:OCHI3) is dependent on CHx signal. When no control input pin is enabled, the control of the overcurrent window depends on the ON bits inside channel control registers #2:#7 or the output control register #8. When the corresponding CHx signal is: • toggled (turn OFF and then ON), the OCHI window counter resets and the full OCHI windows is applied current IOCHI1 Overcurrent Threshold Profile IOCHI2 IOCHI3 OCLO fault detection IOCLO Channel Current time ON bit =0 ON bit =1 Figure 18. Resetable Overcurrent Profile • rewritten (logic [1]), the OCHI window time is proceeding without reset of the OCHI counter current OCLO fault detection I OCLO time ON bit =1 rewriting Figure 19. Overcurrent Level Fixed to OCLO Fail mode The enabling of the high current window (OCHI1:OCHI3) is dependent on INx_ON toggle signal. The enabling of output (OUT1:5) is dependent on CHx signal. 6.1.3.1.1 Overcurrent Control Programming A set of overcurrent control programming functions are implemented to provide a flexible and robust system behavior: HID Ballast Profile (NO_HID) A smart overcurrent window control strategy is implemented to turn on an HID ballast, even in the case of a long power on reset time. When the output is in 100% PWM mode (including PWM clock failure in Normal mode and iINx = 1 in Fail mode), the clock for the OCHI2 time counter is divided by 8, when no load current is demanded from the output driver: • the clock for the tOCHI2 counter is divided by 8 when the open load signal is high (logic[1]), to accommodate the HID ballast while in power on reset mode • the clock for the tOCHI2 counter is connected directly to the window time counter when the open load signal is low (logic[0]), to accommodate the HID demanding load current from the output MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 31 current IOCHI1 IOCHI2 Over Current Threshold Profile IOCHI3 IOCLO Channel Current tOCHI1 8 x tOCHI2 tOCHI3 time Figure 20. HID Ballast Overcurrent Profile This feature extends the OCHI2 time, depending on the status of the HID ballast, and ensures to bypass even a long power on reset time of HID ballast. Nominal tOCHI2 duration is up to 64 ms (instead of 8.0 ms). This feature is automatically active at the beginning of smart overcurrent window, except for OCHI On Demand as described by the following. The functionality is controlled by the NO_HID1 and NO_HID0 bits inside the initialization #2 register. When the NO_HID1 and NO_HID0 bits are respectively: • [0 0]: smart HID feature is available for all channels (default status and during Fail mode) • [0 1]: smart HID feature is available for channel 3 only • [1 0]: smart HID feature is available for channels 3 and 4 only • [1 1]: smart HID feature is not available for any channel OCHI On Demand (OCHI OD) In some instances, a lamp might be de-powered when its supply is interrupted by the opening of a switch (as in a door), or by disconnecting the load (as in a trailer harness). In these cases, the driver should be tolerant of the inrush current occurring when the load is reconnected. The OCHI On Demand feature allows such control individually for each channel through the OCHI ODx bits inside the Initialization #2 register. When the OCHI ODx bit is: • low (logic[0]), the channel operates in its Normal, Default mode. After end of OCHI window timeout the output is protected with an OCLO threshold • high (logic[1], the channel operates in the OCHI On Demand mode and uses the OCHI2 and OCHI3 windows and times after an OCLO event To reset the OCHI ODx bit (logic[0]) and change the response of the channel, first change the bit in the Initialization #2 register and then turn the channel off. The OCHI ODx bit is also reset after an overcurrent event at the corresponding output. The fault detection status is reported in the quick status register #1 and the corresponding channel status registers #2:#6, as presented in Figure 21. MC12XSFD1 32 Analog Integrated Circuit Device Data Freescale Semiconductor current solid line: nominal operation dotted lines: fault conditions OCHI2 fault reported IOCHI2 OCHI3 fault reported IOCHI3 OCLO fault reported IOCLO OCHI OD fault reported tOCHI2 tOCHI3 time Figure 21. OCHI On Demand Profile OCLO Threshold Setting The static overcurrent threshold can be programmed individually for each output in two levels to adapt low duty cycle dimming and a variety of loads. The CSNS recopy factor and OCLO threshold depend on OCLO and ACM settings. The OCLO setting is controlled by the OCLOx bits inside the overcurrent control register #10-1. When the OCLOx bit is • low (logic[0]), the output is protected with the higher OCLO threshold (default status and during Fail mode) • high (logic[1]), the lower OCLO threshold is applied Short OCHI The length of the OCHI windows can be shortened by a factor of 2, to accelerate the availability of the CSNS diagnosis and to reduce the potential stress inside the switch during an overload condition. The setting is controlled individually for each output by the SHORT OCHIx bits inside the overload control register #10-2. When the SHORT OCHIx bit is: • low (logic[0]), the default OCHI window times are applied (default status and during Fail mode) • high (logic[1]), the short OCHI window times are applied (50% of the regular OCHI window time) NO OCHI The switch on process of an output can be done without an OCHI window, to accelerate the availability of the CSNS diagnosis. The setting is controlled individually for each channel by the NO OCHIx bits inside the overcurrent control register #10-2. When the NO OCHIx bit is: • low (logic[0]), the regular OCHI window is applied (default status and during Fail mode) • high (logic[1]), the turn on of the output is provided without OCHI windows The NO OCHI bit is applied in real time. The OCHI window is left immediately when the NO OCHI is high (logic[1]). The overcurrent threshold is set to OCLO when: • the NO OCHIx bit is set to logic [1] while CHx is ON or • CHx turns ON if NO OCHIx is already set Thermal OCHI To minimize the electro-thermal stress inside the device in case of a short-circuit, the OCHI1 level can be automatically adjusted in regards to the control die temperature. The functionality is controlled for all channels by the OCHI THERMAL bit inside the initialization 2. When the OCHI THERMAL bit is: • low (logic[0]), the output is protected with default OCHI1 level • high (logic[1]), the output is protected with the OCHI1 level reduced by RTHERMAL OCHI = 15% (typ) when the control die temperature is above TTHERMAL OCHI = 63 °C (typ.) MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 33 Transient OCHI To minimize the electro-thermal stress inside the device in case of a short-circuit, the OCHIx levels can be dynamically evaluated during the OFF-to-ON output transition. The functionality is controlled for all channels by the OCHI TRANSIENT bit inside the initialization 2 register. When the OCHI TRANSIENT bit is: • low (logic[0]), the output is protected with default OCHIx levels • high (logic[1]), the output is protected with an OCHIx levels depending on the output voltage (VOUT): • OCHIx level reduced by RTRANSIENT OCHI = 50% typ for 0 < VOUT < VOUT DETECT (VPWR/2 typ) • Default OCHIx level for VOUT DETECT < VOUT If the resistive load is less than VPWR/IOCHI1, the overcurrent threshold is exceeded before output reaches VPWR/2, and the output current reaches IOCHI1. The output is then switched off at much lower and safer currents. When the load has significant series inductance, the output current transition falls behind voltage with LLOAD/RLOAD constant time. The intermediate overcurrent threshold could not reach and the output current continues to rise up to OCHIx levels. 6.1.3.1.2 Electrical Characterization Table 10. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25°C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit Notes POWER OUTPUTS OUT1:OUT5 IOCHI1 High Overcurrent Level 1 for 7.0 m Power Channel • TJ = -40 °C and 25 °C • TJ = 150 °C 100 96 111 106 126.5 126.5 A IOCHI2 High Overcurrent Level 2 for 7.0 m Power Channel • TJ = -40 °C and 25 °C • TJ = 150 °C 61.2 60 70 69 77.5 77.5 A IOCHI3 High Overcurrent Level 3 for 7.0 m Power Channel 34 39 43.5 A IOCLO Low Overcurrent for 7.0 m Power Channel • High Level • Low Level 17.6 8.8 21.9 10.8 26.4 13.2 A Low Overcurrent for 7.0 m Power Channel in ACM Mode • High Level • Low Level 8.8 4.4 10.8 5.5 13.2 6.6 A IOCHI1 High Overcurrent Level 1 for 17 m Power Channel • TJ = -40 °C and 25 °C • TJ = 150 °C 42 40 48 46 54.4 54.4 A IOCHI2 High Overcurrent Level 2 for 17 m Power Channel 24.5 28.2 32.2 A IOCHI3 High Overcurrent Level 3 for 17 m Power Channel 14.8 17.3 19.5 A IOCLO Low Overcurrent for 17 m Power Channel • High Level • Low Level 8.8 4.4 10.8 5.3 13.2 6.6 A Low Overcurrent for 17 m Power Channel in ACM Mode • High Level • Low Level 4.4 2.2 5.3 2.6 6.6 3.3 A RTRANSIENT OCHI High Overcurrent Ratio 1 0.45 0.5 0.55 RTHERMAL OCHI High Overcurrent Ratio 2 0.835 0.85 0.865 TTHERMAL OCHI Temperature Threshold for IOCHI1 Level Adjustment 50 63 70 IOCLO ACM IOCLO ACM °C MC12XSFD1 34 Analog Integrated Circuit Device Data Freescale Semiconductor Table 10. Electrical Characteristics (continued) Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25°C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit Notes POWER OUTPUTS OUT1:OUT5 (Continued) tOCHI1 High Overcurrent Time 1 • Default Value • Short OCHI option 1.5 0.75 2.0 1.0 2.5 1.25 ms tOCHI2 High Overcurrent Time 2 • Default Value • Short OCHI option 6.0 3.0 8.0 4.0 10 5.0 ms tOCHI3 High Overcurrent Time 3 • Default Value • Short OCHI option 48 24 64 32 80 40 ms Minimum Severe Short-circuit Detection • 7.0 m Power Channel • 17 m Power Channel 5.0 10 – – – – m tFAULT SD Fault Deglitch Time • OCLO and OCHI OD • OCHI1:3 and SSC 1.0 1.0 2.0 2.0 3.0 3.0 µs tAUTO RESTART Fault Autorestart Time in Fail Mode 48 64 80 ms tBLANKING Fault Blanking Time after Wake-up – 50 100 µs RSC MIN (19) Notes 19. Guaranteed by test mode. 6.1.3.2 Overtemperature Protection A dedicated temperature sensor is located on each power transistor, to protect the transistors and provide SPI status monitoring. The protection is based on a two stage strategy. When the temperature at the sensor exceeds the: • selectable overtemperature warning threshold (TOTW1, TOTW2), the output stays on and the event is reported in the SPI • overtemperature threshold (TOTS), the output is switched off immediately after the deglitch time tFAULT SD and the event is reported in the SPI after the deglitch time tFAULT SD 6.1.3.2.1 Overtemperature Warning (OTW) In case of an overtemperature warning: • the output remains in current state • the status is reported in the quick status register #1 and the corresponding channel status register #2:#6 The OTW threshold can be selected by the OTW SEL bit inside the initialization 2 register #1. When the bit is: • low (logic[0]), the high overtemperature threshold is enabled (default status) • high (logic[1]), the low overtemperature threshold is enabled To delatch the OTW bit (OTWx): • the temperature has to drop below the corresponding overtemperature warning threshold • a read command of the corresponding channel status register #2:#6 must be performed MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 35 6.1.3.2.2 Overtemperature Shutdown (OTS) During an overtemperature shutdown: • the corresponding output is disabled immediately after the deglitch time tFAULT SD • the status is reported after tFAULT SD in the quick status register #1 and the corresponding channel status register #2:#6 To restart the output after an overtemperature shutdown event in Normal mode: • the overtemperature condition must be removed, and the channel must be restarted by a write command of the ON bit in the corresponding channel control register #2:#6, or in the output control register #8 To delatch the diagnosis: • the overtemperature condition must be removed • a read command of the corresponding channel status register #2:#6 must be performed To restart the output after an overtemperature shutdown event in Fail mode: • a mode transition is needed. Refer to Mode Transitions 6.1.3.2.3 Electrical Characterization Table 11. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit Notes POWER OUTPUTS OUT1:OUT5 TOW Overtemperature Warning • TOW1 level • TOW2 level 100 120 115 135 130 150 °C (20) TOTS Overtemperature Shutdown 155 170 185 °C (20) Fault Deglitch Time • OTS 2.0 5.0 10 µs tFAULT SD Notes 20. Guaranteed by testmode. 6.1.3.3 6.1.3.3.1 Undervoltage and Overvoltage Protections Undervoltage During an undervoltage condition (VPWRPOR < VPWR < VPWR UVF), all outputs (OUT1:OUT5) are switched off immediately after deglitch time tFAULT SD. The undervoltage condition is reported after the deglitch time tFAULT SD: • in the device status flag (DSF) in the registers #1:#7 • in the undervoltage flag (UVF) inside the device status register #7 Normal mode The reactivation of the outputs is controlled by the microcontroller. To restart, the output the undervoltage condition must be removed and: • a write command of the ON Bit must be performed in the corresponding channel control register #2:#6 or in the output control register #8 To delatch the diagnosis: • the undervoltage condition must be removed • a read command of the device status register #7 must be performed Fail mode When the device is in Fail mode, the restart of the outputs is controlled by the autorestart feature. MC12XSFD1 36 Analog Integrated Circuit Device Data Freescale Semiconductor 6.1.3.3.2 Overvoltage The device is protected against overvoltage on VPWR. • During the jump start condition, the device may be operated, but with respect to the device limits • During the load dump condition (VPWR LD MAX = 40 V) the device does not conduct energy to the loads The overvoltage condition (VPWR > VPWR OVF) is reported in the: • device status flag (DSF) in the registers #1:#7 • overvoltage flag (OVF) inside the device status register #7 To delatch the diagnosis: • the overvoltage condition must be removed • a read command of the device status register #7 must be performed During an overvoltage (VPWR > VPWR HIGH), the device is not “short-circuit” proof. 6.1.3.3.3 Electrical Characterization Table 12. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit Supply Undervoltage 5.0 5.25 5.5 V Supply Undervoltage Hysteresis 200 350 500 mV Supply Overvoltage 28 30 32 V VPWR OVF HYS Supply Overvoltage Hysteresis 0.5 1.0 1.5 V VPWR LD MAX Supply Load Dump Voltage (2.0 min at 25 °C) 40 – – V Maximum Supply Voltage for Short-circuit Protection 32 – – V Fault Deglitch Time • UV and OV 2.0 3.5 5.5 µs Notes SUPPLY VPWR VPWR UVF VPWR UVF HYS VPWR OVF VPWR HIGH tFAULT SD 6.1.3.4 Charge Pump Protection The charge pump voltage is monitored in order to protect the smart switches in case of: • power up • failure of external capacitor • failure of charge pump circuitry During power up, when the charge pump voltage has not yet settled to its nominal output voltage range, the outputs can not be turned on. Any turn on command during this phase is executed immediately after settling of the charge pump. When the charge pump voltage is not within its nominal output voltage range: • the power outputs are disabled immediately after the deglitch time tFAULT SD • the failure status is reported after tFAULT SD in the device status flag DSF in the registers #1:#7 and the CPF in the quick status register #1 • Any turn on command during this phase is executed including the OCHI windows immediately after the charge pump output voltage has reached its valid range To delatch the diagnosis: • the charge pump failure condition must be removed • a read command of the quick status register #1 is necessary MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 37 6.1.3.4.1 Electrical Characterization Table 13. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit Charge Pump Capacitor Range (Ceramic type X7R) 47 – 220 nF VCP MAX Maximum Charge Pump Voltage – – 16 V tFAULT SD Fault Deglitch Time • CPF – 4.0 6.0 µs Notes CHARGE PUMP CP CCP 6.1.3.5 Reverse Supply Protection The device is protected against reverse polarity of the VPWR line. In reverse polarity condition: • the output transistors OUT1:5 are turned ON in order to prevent the device from thermal overload • the OUT6 pin is pulled down to GND. An external current limit resistor shall be added in series with OUT6 pin • no output protection is available in this condition 6.1.4 Output Clamps 6.1.4.1 Negative Output Clamp In case of an inductive load (L), the energy is dissipated after the turn-off inside the N-channel MOSFET. When tCL (=Io x L/VCL) > 1.0 ms, the turn-off waveform can be simplified with a rectangle as shown in Figure 22. Output Current Io time Output Voltage tCL VBAT time time VCL Figure 22. Simplified Negative Output Clamp Waveform The energy dissipated in the N-Channel MOSFET is: ECL = 1/2 x L x Io² x (1+ VPWR/|VCL|). In the case of tCL < 1.0 ms, contact the factory for guidance. MC12XSFD1 38 Analog Integrated Circuit Device Data Freescale Semiconductor 6.1.4.2 Supply Clamp The device is protected against dynamic overvoltage on the VPWR line by means of an active gate clamp, which activates the output transistors in order to limit the supply voltage (VDCCLAMP). In case of an overload on an output the corresponding switch is turned off, which leads to high voltage at VPWR with an inductive VPWR line. The maximum VPWR voltage is limited at VDCCLAMP by active clamp circuitry through the load. 6.1.4.3 Electrical Characterization Table 14. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit 41 – 50 V -20.5 -21 – – -17.5 -18 Notes Supply VPWR VDCCLAMP Supply Clamp Voltage POWER OUTPUTS OUT1:OUT5 VCL 6.1.5 Negative Power Channel Clamp Voltage • 7.0 m • 17 m V Digital Diagnostics The device offers several modes for load status detection in on state and off state through the SPI. 6.1.5.1 Open Load Detections 6.1.5.1.1 Open Load in ON State Open load detection during ON state is provided for each power output (OUT1:OUT5), based on the current monitoring circuit. The detection is activated automatically when the output is in on state. The detection threshold is dependent on: • the OLLED EN bits inside the OLLED control register #13-2 The detection result is reported in: • the corresponding QSFx bit in the quick status register #1 • the global open load flag OLF (registers #1:#7) • the OLON bit of the corresponding channel status registers #2:#6 To delatch the diagnosis: • the open load condition must be removed • a read command of the corresponding channel status register #2:#6 must be performed When an open load has been detected, the output remains in on state. The deglitch time of the open load in on state can be controlled individually for each output to be compliant with different load types. The setting is dependent on the OLON DGL bits inside the open load control register #13-1: • low (logic[0]) the deglitch time is tOLON DGL = 64 µs typ (bulb mode) • high (logic[1]) the deglitch time is tOLON DGL = 2.0 ms typ (converter mode) The deglitching filter is reset whenever output falls low and is only active when the output is high. 6.1.5.1.2 Open Load in ON State for LED For detection of small load currents (e.g. LED) in on state of the switch a special low current detection mode is implemented by using the OLLED EN bit. The detection principle is based on a digital decision during regular switch off of the output. Thereby a current source (IOLLED) is switched on and the falling edge of the output voltage is evaluated by a comparator at VPWR- 0.75 V (typ). MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 39 Figure 23. Open Load in ON State Diagram for LED The OLLED fault is reported when the output voltage is above VPWR - 0.75 V after 2.0 ms off-time or at each turn-on command in case of off-time < 2.0 ms. The detection mode is enabled individually for each channel with the OLLED EN bits inside the LED control register #13-2. When the corresponding OLLED EN bit is: • low (logic[0]), the standard open load in on state (OLON) is enabled • high (logic[1]), the OLLED detection is enabled The detection result is reported in: • the corresponding QSFx bit in the quick status register #1 • the global open load flag OLF (register #1:#7) • the OLON bit of the corresponding channel status register #2:#6 When an open load has been detected, the output remains in the on state. When output is in PWM operation: • the detection is performed at the end of the on time of each PWM cycle • the detection is active during the off time of the PWM signal, up to 2.0 ms max. The current source (IOLLED) is disabled after “no OLLED” detection or after 2.0 ms. hson_1 128*DCLOCK (prescaler = ‘0’) En_OLLed_1 OUT_1 VBAT-0.75 OUT_high check Analog Comparator output TimeOut = 2.0 msec 1 : olled detected 0 : no olled detected Figure 24. Open Load in ON State for LED in PWM Operation (OFF time > 2.0 ms) MC12XSFD1 40 Analog Integrated Circuit Device Data Freescale Semiconductor hson_1 128*DCLOCK (prescaler=‘0’) En_OLLed_1 OUT_1 VBAT-0.75 OUT_high check Analog Comparator output 1 : olled detected 0 : no olled detected TimeOut = 2.0 msec Figure 25. Open Load in ON State for LED in PWM Operation (OFF time < 2.0 ms) When output is in fully ON operation (100% PWM): • the detection on all outputs is triggered by setting the OLLED TRIG bit inside the LED control register #13-2 • at the end of detection time, the current source (IOLLED) is disabled 100 µsec (typ.) after the output reactivation OLLED TRIG 1 Note: OLLED TRIG bit is reset after the detection ONoff & PWM FF hson_1 100 sec 100 sec En_OLLed_1 VBAT-0.75 OUT_1 check OUT_high Analog Comparator output Check Precision ~ 9600 ns TimeOut = 2.0 msec 1 : olled detected 0 : no olled detected Figure 26. Open Load in ON State for LED in Fully ON Operation The OLLED TRIG bit is reset after the detection. To delatch the diagnosis: • a read command of the corresponding channel status register #2:#6 must be performed A false “open” result could be reported in the OLON bit: • for high duty cycles, the PWM off-time becomes too short • for capacitive load, the output voltage slope becomes too slow MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 41 6.1.5.1.3 Open Load in OFF State An open load in off state detection is provided individually for each power output (OUT1:OUT5). The detection is enabled individually for each channel by the OLOFF EN bits inside the open load control register #13-1. When the corresponding OLOFF EN is: • low (logic[0]), the diagnosis mode is disabled (default status) • high (logic[1]), the diagnosis mode is started for tOLOFF. It is not possible to restart any OLOFF or disable the diagnosis mode during active OLOFF state This detection can be activated independently for each power output (OUT1:OUT5). When it is activated, it is always activated synchronously for all selected outputs (with positive edge of CSB). When the detection is started, the corresponding output channel is turned on with a fixed overcurrent threshold of IOLOFF threshold. When this overcurrent threshold is: • reached within the detection timeout tOLOFF, the output is turned off and the OLOFF EN bit is reset. No OCLOx and no OLOFFx is reported • not reached within the detection timeout tOLOFF, the output is turned off after tOLOFF and the OLOFF EN bit is reset. The OLOFFx is reported The overcurrent behavior as commanded by the overcurrent control settings (NO OCHIx, OCHI ODx, SHORTOCHIx, OCLOx, and ACM ENx) is not be affected by applying the OLOFF ENx bit. The same is true for the output current feedback and the current sense synchronization. The detection result is reported in: • the corresponding QSFx bit in the quick status register #1 • the global open load flag OLF (register #1:#7) • the OLOFF bit of the corresponding channel status register #2:#6 To delatch the diagnosis, a read command of the corresponding channel status register #2:#6 must be performed. In case of any fault during tOLOFF (OTS, UV, CPF,), the open load in off state detection is disabled and the output(s) is (are) turned off after the deglitch time tFAULT SD. The corresponding fault is reported in the SPI SO registers. 6.1.5.1.4 Electrical Characterization Table 15. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit Open Load Current Threshold in ON State • 7.0 m Power Channel at TJ = -40 °C • 7.0 m Power Channel at TJ = 25 °C and 125 °C • 17 m Power Channel at TJ = -40 °C • 17 m Power Channel at TJ = 25 °C and 125 °C 50 100 30 50 200 200 100 100 350 300 160 150 Output PWM Duty Cycle Range for Open Load Detection in ON state • Low Frequency Range (25 to 100 Hz) • Medium Frequency Range (100 to 200 Hz) • High Frequency Range (200 to 400 Hz) 18 18 17 – – – – – – Open Load Current Threshold in ON state/OLLED mode 2.0 4.0 5.0 mA Maximum Open Load Detection Time/OLLED mode with 100% duty cycle 1.5 2.0 2.6 ms Open Load Detection Time in OFF State 0.9 1.2 1.5 ms Fault Deglitch Time • OLOFF • OLON with OLON DGL = 0 • OLON with OLON DGL = 1 2.0 48 1.5 3.3 64 2.0 5.0 80 2.5 µs ms ms 0.77 0.385 1.1 0.55 1.43 0.715 A Notes POWER OUTPUTS OUT1:OUT5 IOL PWM OLON IOLLED tOLLED100 tOLOFF tFAULT SD IOLOFF Open Load Current Threshold in OFF state • 7.0 m power channel • 17 m power channel mA LSB MC12XSFD1 42 Analog Integrated Circuit Device Data Freescale Semiconductor 6.1.5.2 Output Shorted to VPWR in OFF State A short to VPWR detection during OFF state is provided individually for each power output OUT1:OUT5, based on an output voltage comparator referenced to VPWR/2 (VOUT DETECT) and an external pull-down circuitry. The detection result is reported in the OUTx bits of the I/O status register #8 in real time. In case of UVF, the OUTx bits are undefined. 6.1.5.2.1 Electrical Characterization Table 16. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit 0.42 0.5 0.58 VPWR Notes POWER OUTPUTS OUT1:OUT5 VOUTDETECT 6.1.5.3 Output Voltage Comparator Threshold SPI Fault Reporting Protection and monitoring of the outputs during normal mode is provided by digital switch diagnosis via the SPI. The selection of the SO data word is controlled by the SOA0:SOA3 bits inside the initialization 1 register #0. The device provides two different reading modes, depending on the SOA MODE bit. When the SOA MODE bit is: • low (logic[0]), the programmed SO address is used for a single read command. After the reading, the SO address returns to quick status register #1 (default state) • high (logic[1]), the programmed SO address is used for the next and all further read commands until a new programming The “quick status register” #1 provides one glance failure overview. As long as no failure flag is set (logic[1]), no control action by the microcontroller is necessary. SO address SO data Register quick address # D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 1 0 0 0 1 FM DSF OVLF OLF CPF RCF CLKF QSF5 QSF4 QSF3 QSF2 QSF1 • FM: Fail mode indication. This bit is also present in all other SO data words, and indicates the fail mode by a logic[1]. When the device is in Normal mode, the bit is logic[0] • global device status flags (D10:D8): These flags are also present in the channel status registers #2:#6, the device status register #7, and are cleared when all fault bits are cleared by reading the registers #2:#7 • DSF = device status flag (RCF, or UVF, or OVF, or CPF, or CLKF, or TMF). UVF and TMF are also reported in the device status register #7 • OVLF = over load flag (wired OR of all OC and OTS signals) • OLF = open load flag • CPF: charge pump flag • RCF: registers clear flag: this flag is set (logic[1]) when all SI and SO registers are reset • CLKF: clock fail flag. Refer to Logic I/O Plausibility Check • QSF1:QSF5: channel quick status flags (QSFx = OC0x, or OC1x, or OC2x, or OTWx, or OTSx, or OLONx, or OLOFFx) The SOA address #0 is also mapped to register #1 (D15:D12 bits report logic [0001]). When a fault condition is indicated by one of the quick status bits (QSF1:QSF5, OVLF, OLF), the detailed status can be evaluated by reading of the corresponding channel status registers #2:#6. SO address SO data Register # D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 CH1 status 2 0 0 1 0 FM DSF OVLF OLF res OTS1 OTW1 OC21 OC11 OC01 OLON1 OLOFF1 CH2 status 3 0 0 1 1 FM DSF OVLF OLF res OTS2 OTW2 OC22 OC12 OC02 OLON2 OLOFF2 CH3 status 4 0 1 0 0 FM DSF OVLF OLF res OTS3 OTW3 OC23 OC13 OC03 OLON3 OLOFF3 MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 43 SO address SO data Register # D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 CH4 status 5 0 1 0 1 FM DSF OVLF OLF res OTS4 OTW4 OC24 OC14 OC04 OLON4 OLOFF4 CH5 status 6 0 1 1 0 FM DSF OVLF OLF res OTS5 OTW5 OC25 OC15 OC05 OLON5 OLOFF5 • OTSx: overtemperature shutdown flag • OTWx: overtemperature warning flag • OC0x:OC2x: overcurrent status flags • OLONx: open load in on state flag • OLOFFx: open load in off state flag The most recent OC fault is reported by the OC0x:OC2x bits, if a new OC occurs before an old OC on the same output that was read. #2~ #6 OC2x 0 OC1x OC0x over current status 0 0 no ov erc urrent 0 0 1 OCHI1 0 1 0 OCHI2 0 1 1 OCHI3 1 0 0 OCLO 1 0 1 OCHIOD 1 1 0 SSC 1 1 1 not us ed When a fault condition is indicated by one of the global status bits (FM, DSF), the detailed status can be evaluated by reading of the device status registers #7: SO address SO data Register device status # D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 7 0 1 1 1 FM DSF OVLF OLF res res res TMF OVF UVF SPIF iLMP • TMF: testmode activation flag. Testmode is used for manufacturing testing only. If this bit is set to logic [1], the MCU shall reset the device • OVF: overvoltage flag • UVF: undervoltage flag • SPIF: SPI fail flag • iLIMP (real time reporting after the tIN_DGL, not latched) The I/O status register #8 can be used for system test, fail mode test and the power down procedure: SO address SO data Register I/O status # D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 8 1 0 0 0 FM res TOGG LE iIN4 iIN3 iIN2 iIN1 D4 D3 D2 D1 D0 OUT5 OUT4 OUT3 OUT2 OUT1 The register provides the status of the control inputs, the toggle signal, and the power outputs state in real time (not latched). • TOGGLE = status of the 4 input toggle signals (IN1_ON, or IN2_ON, or IN3_ON, or IN4_ON), reported in real time • iINx = status of iINx signal (real time reporting after the tIN_DGL, not latched) • OUTx = status of output pins OUTx (the detection threshold is VPWR/2) when undervoltage condition does not occur The device can be clearly identified by the device ID register #9 when the supply voltage is within its nominal range: MC12XSFD1 44 Analog Integrated Circuit Device Data Freescale Semiconductor SO address SO data Register device ID # D15 D14 D13 D12 D11 D10 D9 D8 9 1 0 0 1 X X X X4 D7 D6 D5 D4 D3 D2 D1 D0 DEVID DEVID DEVID DEVID DEVID DEVID DEVID DEVID 7 6 5 4 3 2 1 0 The register delivers DEVIDx bits = 40hex for the 07XS6517. During undervoltage condition (UVF = 1), DEVIDx bits report 00hex. 6.1.6 Analog Diagnostics The analog feedback circuit (CSNS) is implemented to provide load and device diagnostics during Normal mode. During Fail and Sleep modes, the analog feedback is not available. The routing of the integrated multiplexer is controlled by MUX0:MUX2 bits inside the initialization 1 register #0. 6.1.6.1 Output Current Monitoring The current sense monitor provides a current proportional to the current of the selected output (OUT1:OUT5). CSNS output delivers 1.0 mA full scale range current source reporting channel 1:5 current feedback (IFSR). ICSNS 1.0 mA ICSNS / IOUT = 1.0 mA / (100% FSR) typ Note: FSR value depends on SPI setting IOUT 0 mA 1% FSR 100% FSR Figure 27. Output Current Sensing The feedback is suppressed during OCHI window (t < tOCHI1 + tOCHI2 + tOCHI3) and only enabled during low overcurrent shutdown threshold (OCLO). During PWM operation, the current feedback circuit (CSNS) delivers current only during the on time of the output switch. Current sense settling time, tCSNS(SET), varies with current amplitude. Current sense valid time, tCSNS(VAL), depends on the PWM frequency (see Electrical Characterization). An advanced current sense mode (ACM) is implemented in order to diagnose LED loads in Normal mode and to improve current sense accuracy for low current loads. In the ACM mode, the offset sign of current sense amplifier is toggled on every CSNS SYNCB rising edge. The error amplifier offset contribution to the CSNS error can be fully eliminated from the measurement result by averaging each two sequential current sense measurements. The ACM mode is enabled with the ACM ENx bits inside the ACM control register #10-1. When the ACM ENx bit is: • low (logic[0]), ACM disabled (default status and during Fail mode) • high (logic[1]), ACM enabled In ACM mode: • the precision of the current recopy feature (CSNS) is improved, especially at low output currents by averaging CSNS reporting on sequential PWM periods • the current sense full scale range (FSR) is reduced by a factor of two • the overcurrent protection threshold OCLO is reduced by a factor of two Figure 28 describes the timings between the selected channel current and the analog feedback current. Current sense validation time pertains to stabilization time needed after turn on. Current sense settling time pertains to the stabilization time needed after the load current changes while the output is continuously on or when another output signal is selected. MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 45 HSONx tDLY(ON) time tDLY(OFF) IOUTx tCSNS(SET) tCSNS(VAL) time CSNS +/- 5% of new value time Figure 28. Current Sensing Response Time Internal circuitry limits the voltage of the CSNS pin when its sense resistor is absent. This feature prevents damage to other circuitry sharing that electrical node, such as a microcontroller pin, for example. Several 12XSF may be connected to one shared CSNS resistor. 6.1.6.2 Supply Voltage Monitoring The VPWR monitor provides a voltage proportional to the supply tab. The CSNS voltage is proportional to the VPWR voltage as shown in Figure 29. VCSNS 5.0 V VCSNS / VBAT = ¼ typ VBAT 0V VBATPOR 20 V Figure 29. Supply Voltage Reporting 6.1.6.3 Temperature Monitoring The average temperature of the control die is monitored by an analog temperature sensor. The CSNS pin can report the voltage of this sensor. The chip temperature monitor output voltage is independent of the resistor connected to the CSNS pin, provided the resistor is within the min/max range of 5.0 k to 50 k. Temperature feedback range, TFB, -40 °C to 150 °C. MC12XSFD1 46 Analog Integrated Circuit Device Data Freescale Semiconductor VCSNS VCSNS / TJ = VFBS VFB -40°C 25°C 150°C TJ Figure 30. Temperature Reporting 6.1.6.4 Analog Diagnostic Synchronization A current sense synchronization pin is provided to simplify the synchronous sampling of the CSNS signal. The CSNS SYNCB pin is an open drain requiring an external 5.0 k (min.) pull-up resistor to VCC. The CSNS SYNC signal is: • available during Normal mode only • behavior depends on the type of signal selected by the MUX2:MUX0 bits in the initialization 1 register #0. This signal is either a current proportional to an output current or a voltage proportional to temperature or the supply voltage Current sense signal When a current sense signal is selected: • the pin delivers a recopy of the output control signal during on phase of the PWM defined by the SYNC EN0, SYNC EN1 bits inside the initialization 1 register #0 SYNC EN1 SYNC EN0 Setting Behavior 0 0 OFF 0 1 VALID CSNS SYNC is active (low) when CSNS is valid. During switching the output of MUXMUX, the CSNS SYNC is inactive (high) 1 0 TRIG0 As in setting VALID, but after a change of the MUX, the CSNS SYNC is inactive (high) until the next PWM cycle is started 1 1 TRIG1/2 Pulses (active low) from the middle of the CSNS pulse to its end are generated. Switching phases (output and MUX) and the time from the MUX switching to the next middle of the CSNS pulse are blanked (high) CSNS SYNC is inactive (high) MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 47 . OUT1 time OUT2 CSNS SYNCB CSNS SYNC\ CSNS SYNC\ blanked active (low) time tDLY(ON)+tCSNS(SET) time change of CSNS MUX from OUT1 to OUT2 OUT1 for CSNS selected OUT2 for CSNS selected Figure 31. CSNS SYNCB Valid Setting OUT1 time OUT2 CSNS SYNC\ blanked until rising edge of the 1st complete PWM cycle CSNS SYNC\ time change of CSNS MUX from OUT1 to OUT2 OUT1 for CSNS selected time OUT2 for CSNS selected Figure 32. CSNS SYNCB TRIG0 Setting MC12XSFD1 48 Analog Integrated Circuit Device Data Freescale Semiconductor OUT1 time CSNS SYNC\ active (low) OUT2 CSNS SYNC\ CSNS SYNC\ blanked until 1rst valid edge generated in the middle of the OUT2 pulse time change of CSNS MUX from OUT1 to OUT2 OUT1 for CSNS selected time OUT2 for CSNS selected Figure 33. CSNS SYNCB TRIG1/2 Setting • the CSNS SYNCB pulse is suppressed during OCHI and during OFF phase of the PWM • the CSNS SYNCB is blanked during settling time of the CSNS multiplexer and ACM switching by a fixed time of tDLY(ON) + tCSNS(SET) • when a PWM clock fail is detected, the CSNS SYNCB delivers a signal with 50% duty cycle at a fixed period of 6.5 ms • when the output is programmed with 100% PWM, the CSNS SYNCB delivers a logic[0] a high pulse with the length of 100 µs (typ.) during the PWM counter overflow for TRIG0 and TRIG1/2 settings, as shown in Figure 34 OUT1 time OUT2 time CSNS SYNC\ tDLY(ON)+tCSNS(SET) time change of CSNS MUX from OUT1 to OUT2 OUT1 for CSNS selected OUT2 for CSNS selected Figure 34. CSNS SYNCB when the output is programmed with 100% • In case of output fault, the CSNS SYNCB signal for current sensing does not deliver a trigger signal until the output is enabled again MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 49 Temperature signal or VPWR monitor signal When a voltage signal (average control die temperature or supply voltage) is selected: • the CSNS SYNCB delivers a signal with 50% duty cycle and the period of the lowest prescaler setting (fCLK/1024) • and a PWM clock fail is detected, the CSNS SYNCB delivers a signal with 50% duty cycle at a fixed period of 6.5 ms (tSYNC DEFAULT) 6.1.6.5 Electrical Characterization Table 17. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit Current Sense Resistor Range 5.0 – 50 k Current Sense Leakage Current when CSNS is disabled -1.0 – +1.0 µA VCS Current Sense Clamp Voltage 6.0 – 8.0 V IFSR Current Sense Full Scale Range for 7.0 m Power Channel • High OCLO and ACM = 0 • Low OCLO and ACM = 0 • High OCLO and ACM = 1 • Low OCLO and ACM = 1 – – – – 22 11 11 5.5 – – – – -11 -14 -20 -29 – – – – +11 +14 +20 +29 Notes CURRENT SENSE CSNS RCSNS ICSNS LEAK ACC ICSNS Current Sense Accuracy for 9.0 V < VPWR < 18 V for 7.0 m Power Channel • IOUT = 80% FSR • IOUT = 25% FSR • IOUT = 10% FSR • IOUT = 5.0% FSR ACC ICSNS 1 CAL ACC ICSNS 2 CAL Current Sense Accuracy for 9.0 V < VPWR < 18 V with one calibration point at 25 °C for 50% FSR and VPWR = 14 V for 7.0 m Power Channel • IOUT = 80% FSR • IOUT = 25% FSR • IOUT = 10% FSR • IOUT = 5.0% FSR Current Sense Accuracy for 9.0 V < VPWR < 18 V with two calibration points at 25 °C for 2.0% and 50% FSR and VPWR = 14 V for 7.0 m Power Channel • IOUT = 80% FSR • IOUT = 25% FSR • IOUT = 10% FSR • IOUT = 5.0% FSR ICSNSMIN IFSR Minimum Current Sense Reporting for 7.0 m • 9.0 V < VPWR < 18 V Current Sense Full Scale Range for 17 m Power Channel • High OCLO and ACM = 0 • Low OCLO and ACM = 0 • High OCLO and ACM = 1 • Low OCLO and ACM = 1 A % (25) (23) -7.0 -7.0 -20 -29 – – – – +7.0 +7.0 +20 +29 % (25) (23) -6.0 -6.0 -8.0 -12 – – – – +6.0 +6.0 +8.0 +12 – – 1.0 – – – – 11 5.5 5.5 2.75 – – – – % (21) (24) % A MC12XSFD1 50 Analog Integrated Circuit Device Data Freescale Semiconductor Table 17. Electrical Characteristics (continued) Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit Notes CURRENT SENSE CSNS (Continued) ACC ICSNS Current Sense Accuracy for 9.0 V < VPWR < 18 V for 17 m Power Channel • IOUT = 80% FSR • IOUT = 25% FSR • IOUT = 10% FSR • IOUT = 5.0% FSR ACC ICSNS 1 CAL Current Sense Accuracy for 9.0 V < VPWR < 18 V with one calibration point at 25 °C for 2% or 50% FSR and VPWR = 14 V for 17 m Power Channel • IOUT = 80% FSR • IOUT = 25% FSR • IOUT = 10% FSR • IOUT = 5.0% FSR ACC ICSNS 2 CAL Current Sense Accuracy for 9.0 V < VPWR < 18 V with two calibration points at 25 °C for 2.0% and 50% FSR and VPWR = 14 V for 17 m Power Channel • IOUT = 80% FSR • IOUT = 25% FSR • IOUT = 10% FSR • IOUT = 5.0% FSR ICSNSMIN VPWR Minimum Current Sense Reporting for 17 m • 9.0 V < VPWR < 18 V Supply Voltage Feedback Range (21) -11 -14 -20 -29 – – – – +11 +14 +20 +29 % (21) (23) -7.0 -7.0 -20 -29 – – – – +7.0 +7.0 +20 +29 % (21) (23) -6.0 -6.0 -8.0 -12 – – – – +6.0 +6.0 +8.0 +12 – – 1.0 % VPWRMAX – 20 V % (21) (24) (23) Supply Feedback Precision • Default • 1 calibration point at 25 °C and VPWR= 12 V, for 7.0 V < VPWR < 20 V • 1 calibration point at 25 °C and VPWR= 12 V, for 6.0 V < VPWR < 7.0 V -7.0 -1.5 -2.2 – – – +7.0 +1.5 +2.2 TFB Temperature Feedback Range -40 – 150 °C VFB Temperature Feedback Voltage at 25 °C – 2.31 – V Temperature Feedback Thermal Coefficient – 7.72 – mV/°C -15 -5.0 – – +15 +5.0 °C ACC VPWR COEF VFB ACCTFB tCSNS(SET) Temperature Feedback Voltage Precision • Default • 1 calibration point at 25 °C and VPWR = 7.0 V Current Sense Settling Time • Current Sensing Feedback for IOUT from 75% FSR to 50% FSR • Current Sensing Feedback for IOUT from 10% FSR to 1.0% FSR Temperature and Supply Voltage Feedbacks tCSNS(VAL) tSYNC DEFAULT Current Sense Valid Time Current Sensing Feedback • Low/Medium Frequency • High Frequency Temperature and Supply Voltage Feedback Current Sense Synchronization Period for PWM Clock Failure % (22) (23) (23) (22) – – – – – – 40 260 10 µs (25) – – – – – – 100 50 10 µs 4.8 6.5 8.2 ms MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 51 Table 17. Electrical Characteristics (continued) Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit 5.0 – – k – – 0.4 V -1.0 – +1.0 µA Notes CURRENT SENSE SYNCHRONIZATION CSNS SYNCB RCSNS SYNC VOL Current Sense Synchronization Logic Output Low State Level at 1.0 mA IOUT MAX Notes 21. 22. 23. 24. 25. Pull-up Current Sense Synchronization Resistor Range Current Sense Synchronization Leakage Current in Tri-state (CSNS SYNC from 0 to 5.5 V) Precision either OCLO and ACM setting. Parameter is derived mainly from simulations. Parameter is guaranteed by design characterization. Measurements are taken from a statistically relevant sample size across process variations. Error of 100% without calibration for all modes and 50% with 1 calibration point done at 25 °C in ACM mode (+/-70% in non-ACM). Tested at 5.0% of final value @ VPWR = 14 V, current step from 0 A to 2.8 A (or 5.6 A). Parameter guaranteed by design at 1% of final value. 6.2 Power Supply Functional Block Description and Application Information 6.2.1 Introduction The device is functional when wake = [1] with supply voltages from 5.5 to 40 V (VPWR), but is fully specification compliant only between 7.0 and 18 V. The VPWR pin supplies power to the internal regulator, analog, and logic circuit blocks. The VCC pin (5.0 V typ.) supplies the output register of the Serial Peripheral Interface (SPI) and the OUT6 driver. Consequently, the SPI registers cannot be read without presence of VCC. The employed IC architecture guarantees a low quiescent current in Sleep mode (wake = [0]). 6.2.2 Wake State Reporting The CLK input/output pin is also used to report the wake state of the device to the microcontroller as long as RSTB is logic [0]. When the device is in: • “wake state” and RSTB is inactive, the CLK pin reports a high signal (logic[1]) • “sleep mode” or the device is wake by the RSTB pin, the CLK is an input pin 6.2.2.1 Electrical Characterization Table 18. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit VCC - 0.6 – – V Notes CLOCK INPUT/OUTPUT CLK VOH Logic Output High State Level (CLK) at 1.0 mA MC12XSFD1 52 Analog Integrated Circuit Device Data Freescale Semiconductor 6.2.3 Supply Voltages Disconnection 6.2.3.1 Loss of VPWR In case of VPWR disconnection (VPWR < VPWR POR) the device behavior depends on VCC voltage value: • VCC < VCC POR: the device enters the power off mode. All outputs are shut off immediately. All registers and faults are cleared • VCC > VCC POR: all registers and faults are maintained. OUT1:5 are shut off immediately. The ON/OFF state of OUT6 depends on the current SPI configuration. SPI reporting is available when VCC remains within its operating voltage range (4.5 to 5.5 V) The wake-up event is not reported to the CLK pin. The clamping structures (supply clamp, negative output clamp) are available to protect the device. No current is conducted from VCC to VPWR. An external current path shall be available to drain the energy from an inductive load, in case a supply disconnection occurs when an output is ON. 6.2.3.2 Loss of VCC In case of a VCC disconnection, the device behavior depends on VPWR voltage: • VPWR < VPWR POR: the device enters the power off mode. All outputs are shut off immediately. All registers and faults are cleared • VPWR > VPWR POR: the SPI is not available. Therefore, the device enters WD timeout The clamping structures (supply clamp, negative output clamp) are available to protect the device. No current is conducted from VPWR to VCC. 6.2.3.3 Loss of Device GND During loss of ground, the device cannot drive the loads, therefore the OUT1:OUT5 outputs are switched off and the OUT6 voltage is pulled up. The device shall not be damaged by this failure condition. For protection of the digital inputs series resistors (1.0 k typ) can be provided externally in order to limit the current to ICL. 6.2.3.4 Electrical Characterization Table 19. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit Supply Power On Reset 2.0 3.0 4.0 V VCC Power On Reset 2.0 3.0 4.0 V Maximum Ground Shift between GND Pin and Load Grounds -1.5 – +1.5 V Notes Supply VPWR VPWR POR VCC VCC POR GROUND GND VGND SHIFT 6.3 Communication Interface and Device Control Functional Block Description and Application Information 6.3.1 Introduction In Normal mode, the power output channels are controlled by the embedded PWM module, which is configured by the SPI register settings. For bidirectional SPI communication, VCC has to be in the authorized range. Failure diagnostics and configuration are also performed through the SPI port. The reported failure types are: open load, short-circuit to supply, severe short-circuit to ground, overcurrent, overtemperature, clock fail, and under and overvoltage. For direct input control, the device shall be in Fail-safe mode. VCC is not required and this mode can be forced by the LIMP input pin. MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 53 6.3.2 Fail Mode Input (LIMP) The Fail mode of the component can be activated by LIMP direct input. The Fail mode is activated when the input is logic [1]. In Fail mode, the channel power outputs are controlled by the corresponding inputs. Even though the input thresholds are logic level compatible, the input structure of the pins are able to withstand supply voltage level (max. 40 V) without damage. External current limit resistors (i.e. 1.0 k:10 k) can be used to handle reverse current conditions. The direct inputs have an integrated pull-down resistor. The LIMP input has an integrated pull-down resistor. The status of the LIMP input can be monitored by the LIMP IN bit inside the device status register #7. 6.3.2.1 Electrical Characterization Table 20. Electrical Characteristics Characteristics noted under conditions 4.5 V VPWR 5.5 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit Notes FAIL MODE INPUT LIMP VIH Logic Input High State Level 3.5 – – V VIL Logic Input Low State Level – – 1.5 V IIN Logic Input Leakage Current in Inactive State (LIMP = [0]) -0.5 – +0.5 µA Logic Input Pull-down Resistor 25 – 100 k – – 20 pF Logic Input High State Level 3.5 – – V Logic Input High State Level for wake-up 3.75 – – V – – 1.5 V RPULL FAIL MODE INPUT LIMP (Continued) CIN Logic Input Capacitance (26) DIRECT INPUTS IN1:IN4 VIH VIH(WAKE) VIL Logic Input Low State Level IIN Logic Input Leakage Current in Inactive State (forced to [0]) -0.5 – +0.5 µA Logic Input Pull-down Resistor 25 – 100 k Logic Input Capacitance – – 20 pF RPULL CIN (26) Notes 26. Parameter is derived mainly from simulations. 6.3.3 MCU Communication Interface Protections 6.3.3.1 Loss of Communication Interface If a SPI communication error occurs, the device is switched into Fail mode. A SPI communication fault is detected if: • the WD bit is not toggled with each SPI message or • WD timeout is reached or • protocol length error (modulo 16 check) The SI stuck to static levels during CSB period and VCC fail (SPI not functional) are indirectly detected by a WD toggle error. The SPI communication error is reported in: • SPI failure flag (SPIF) inside the device status register #7 in the next SPI communication As long as the device is in Fail mode, the SPIF bit retains its state. The SPIF bit is delatched during the transition from fail-to-normal modes. MC12XSFD1 54 Analog Integrated Circuit Device Data Freescale Semiconductor 6.3.3.2 Logic I/O Plausibility Check The logic and signal I/O are protected against fatal mistreatment by a signal plausibility check, according following table: I/O Signal check strategy IN1 ~ IN4 frequency above limit (low pass filter) LIMP frequency above limit (low pass filter) RSTB frequency above limit (low pass filter) CLK frequency above limit (low pass filter) The LIMP and IN1:IN4 have an input symmetrically deglitch time tIN_DGL = 200 µs (typ). If the LIMP input is set to logic [1] for a delay longer than 200 µs typ, the device is switched into Fail mode (internal signal called iLIMP). LIMP tIN_DGL 200µs typ. tIN_DGL 200µs typ. time iLIMP time Figure 35. LIMP and iLIMP signal If the INx input is set to logic [1] for a delay longer than 200 µs (typ.), the corresponding channel is controlled by the direct signal (internal signal called iINx). INx tIN_DGL tIN_DGL time tIN_DGL tIN_DGL tIN_DGL iINx tIN_DGL 200µs typ. ttoggle 1024ms typ. time ttoggle INx_ON time Figure 36. IN, iIN and IN_ON signal MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 55 The RSTB has an input deglitch time tRST_DGL = 10 µs (typ.) for the falling edge only. The CLK has an input symmetrically deglitch time tCLK_DGL = 2.0 µs (typ). Due to the input deglitcher (at the CLK input) a very high input frequency leads to a clock fail detection. The CLK fail detection (clock input frequency detection fCLK LOW) is started immediately with the positive edge of RSTB signal. If the CLK frequency is below fCLK LOW limit, the output state depends on the corresponding CHx signal. As soon as the CLK signal is valid, the output duty cycle depends on the corresponding SPI configuration. To delatch the CLK fail diagnosis: • the clock failure condition must be removed • a read command of the quick status register #1 must be performed 6.3.3.3 Electrical Characterization Table 21. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit SPI Watchdog Timeout • WD SEL = 0 • WD SEL = 1 24 96 32 128 40 160 ms Input Toggle Time for IN1:IN4 768 1024 1280 ms Input Deglitching Time • LIMP and IN1:IN4 • CLK • RST\ 150 1.5 7.5 200 2.0 10 250 2.5 12.5 Clock Low Frequency Detection 50 100 200 Notes LOGIC I/O LIMP IN1:IN4 CLK tWD tTOGGLE tDGL fCLOCK LOW 6.3.4 µs Hz External Smart Power Control (OUT6) The device provides a control output to drive an external smart power device in Normal mode only. The control is according to the channel 6 settings in the SPI input data register. • The protection and current feedback of the external SmartMOS device are under the responsibility of the microcontroller • The output delivers a 5.0 V CMOS logic signal from VCC The output is protected against overvoltage. An external current limit resistor (i.e. 1.0 k:10 k) shall be used to handle negative output voltage conditions. The output has an integrated pull-down resistor to provide a stable OFF condition in Sleep mode and Fail mode. In case of a ground disconnection, the OUT6 voltage is pulled up. External components are mandatory to define the state of external smart power device and to limit possible reverse OUT6 current (i.e. resistor in series). 6.3.4.1 Electrical Characterization Table 22. Electrical Characteristics Characteristics noted under conditions 7.0 V VPWR 18 V, - 40 C TA 125 C, GND = 0 V, unless otherwise noted. Typical values noted reflect the approximate parameter means at TA = 25 °C under nominal conditions, unless otherwise noted. Symbol Characteristic Min. Typ. Max. Unit – – 5.0 µs 5.0 10 20 k Notes EXTERNAL SMART POWER OUTPUT OUT6 tOUT6 RISE OUT6 Rising Edge for 100 pF capacitive load ROUT6 DWN OUT6 Pull-down Resistor VOH Logic Output High State Level (OUT6) VCC - 0.6 – – V VOL Logic Output Low State Level (OUT6) – – 0.6 V MC12XSFD1 56 Analog Integrated Circuit Device Data Freescale Semiconductor 7 Typical Applications 7.1 Introduction The 12XSF is the latest achievement in DC motors and lighting drivers. 7.1.1 Application Diagram VBAT RIGHT 20V 5V Regulator VBAT VCC 10µ 10n…100n GND VCC SO SI CS\ CS\ SCLK VCC 100n 100n 5k GND 10n Parking Light SO OUT2 RST\ RST\ CLK CLK A/D1 10n Flasher OUT3 10n Low Beam CSNS 10k TRIG1 GND OUT1 SCLK Main MCU SI VCC Clamp VCC VBAT CP SYNC\ A/D2 LIMP A/D3 IN1 10n OUT4 10n Fog Light OUT5 10n High Beam IN2 1k 1k 5k IN3 OUT6 1k IN4 VBAT IN OUT 10n Spare Smart Power GND CSNS GND 1k CSNS GND IN4 IN3 OUT6 IN IN2 OUT5 SYNC\ CLK 10n Low Beam OUT3 10n RST\ Flasher LIMP 1k SO 1k SCLK 1k CS\ 1k SI OUT2 10n IN1 Parking Light OUT1 10n IN3 IN4 Spare 10n Fog Light OUT4 CSNS GND OUT 10n LIMP Watchdog IN2 VBAT High Beam IN1 VBAT GND Smart Power 1k VCC VBAT CP 1k 100n 10n…100n 20V 100n VBAT LEFT Figure 37. Typical Front Lighting application MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 57 7.1.2 Application Instructions 7.1.3 Bill of Materials Table 23. 12XSF Bill of Materials (27) Signal Location Mission Value VPWR close to 12XSF eXtreme Switch improve emission and immunity performances 100 nF (X7R 50 V) CP close to 12XSF eXtreme Switch charge pump tank capacitor 100 nF (X7R 50 V) VCC close to 12XSF eXtreme Switch improve emission and immunity performances 10 to 100 nF (X7R 16 V) OUT1:OUT4/5 close to output connector sustain ESG gun and fast transient pulses improve emission and immunity performances 10 to 22 nF (X7R 50 V) CSNS close to MCU output current sensing CSNS close to MCU low pass filter removing noise CSNS SYNCB N/A pull-up resistor for the synchronization of A/D conversion IN1:IN4 N/A sustain high-voltage 1.0 k (1.0%) OUT6 N/A sustain reverse polarity 1.0 k (1.0%) 5.0 k (1.0%) 10 k (1.0%) and 10 nF (X7R 16 V) 5.0 k (1.0%) To Increase Fast Transient Pulses Robustness VPWR close to connector sustain pulse #1 in case of LED loads or without loads VPWR close to 12XSF eXtreme Switch sustain pulse #2 without loads 20 V zener diode and diode in series per supply line additional 10 µF (X7R 50 V) To Sustain 5.0 V Voltage Regulator Failure Mode VCC close to 5.0 V voltage regulator prevent high-voltage application on the MCU 5.0 V zener diode and a bipolar transistor Notes 27. Freescale does not assume liability, endorse, or warrant components from external manufacturers that are referenced in circuit drawings or tables. While Freescale offers component recommendations in this configuration, it is the customer’s responsibility to validate their application. MC12XSFD1 58 Analog Integrated Circuit Device Data Freescale Semiconductor 7.2 EMC and EMI Considerations 7.2.1 EMC/EMI Tests This paragraph gives EMC/EMI performances. Further generic design recommendations can be found on the Freescale website www.freescale.com. Table 24. EMC/EMI Performances Test Signals Conditions VPWR Conducted Emission Conducted Immunity 7.2.2 150 Method Global pins: VPWR and OUT1:OUT5 Local pins: VCC, CP, and CSNS outputs off outputs on in PWM Global pins: VPWR and OUT1:OUT5 Local pins: VCC Standard Criteria CISPR25 Class 5 IEC 61967-4 150 Method Global pins: 12-K level for VPWR pin - 11-L for OUT1: 5 pins Local pins: 10-J level IEC 62132-4 Class A related to the outputs state and the analog diagnostics (20%) 30 dBm for Global pins 12 dBm for Local pins Fast Transient Pulse Tests This paragraph gives the device performances.against fast transient disturbances. Table 25. Fast Transient Capability on VPWR Test Pulse 1 Pulse 2a Pulse 3a/3b Pulse 5b (40 V) 7.3 Conditions outputs loaded with lamps other cases with external transient voltage suppressor outputs loaded outputs unloaded Standard Criteria ISO 7637-2 (for automotive) Class A Robustness Considerations The short-circuit protections embedded in 12XSF are preferred to conventional current limitations, to minimize the thermal overstress within the device in case of an overload condition. The junction temperature elevation is drastically reduced to a value which does not affect the device’s reliability. Moreover, the availability of the lighting is guaranteed in fail mode by the unlimited autorestart feature. The chapter 12 of AEC-Q100 specification published by the Automotive Electronics Council presents turn-on into short-circuit condition. It is not enough, because the short-circuit event can also occur in on-state. The test plan at TA = 70 °C is presented in Table 26. The tests are performed on 30 parts from three engineering lots (total 90 pieces). Table 26. 12XSF Repetitive Short-circuit Test Results at TA = 70 °C Short-circuit Case Turn-on into short-circuit condition Supply Voltage Supply Line Load Line 7.0 m output cycle without Failure 17 m output cycle without Failure 5.0 m/1.0 mm² 500 k 500 k 500 k 500 k 500 k 500 k 500 k 500 k 500 k 500 k 500 k 500 k 0.3 m/2.5 mm² 16 V 0.3 m/1.0 mm² 5.0 m/2.5 mm² 5.0 m/1.0 mm² Short-circuit in On-state (28) 0.3 m/2.5 mm² 14 V 0.3 m/1.0 mm² 5.0 m/2.5 mm² MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 59 Table 26. 12XSF Repetitive Short-circuit Test Results at TA = 70 °C Short-circuit Case Supply Voltage Supply Line Load Line 7.0 m output cycle without Failure 17 m output cycle without Failure On-state overload 95% of min OCHI1/2/3 levels 16 V 0.3 m/6.0 mm² 0.3 m/6.0 mm² 500 k 500 k Notes 28. The channel was loaded in the on-state with 100 mA. 7.4 PCB Layout Recommendations This new generation of high-side switch products family facilitates ECU design thanks to compatible MCU software and PCB foot print for each device variant. The PCB Copper layer is similar for all devices in the 12XSF family, only the solder Stencil opening is different. Figure 38 shows superposition of SOIC54 (in black) and SOIC32 packages (in blue). To keep pin-to-pin compatibility in the same PCB footprint, pin 1 of the SOIC32 package must be located at pin 3 of the SOIC54 package. Figure 38. PCB Copper Layer and Solder Stencil Opening Recommendations MC12XSFD1 60 Analog Integrated Circuit Device Data Freescale Semiconductor 7.5 Thermal Information This section provides thermal information. 7.5.1 Thermal Transient Figure 39. Transient Thermal Response Curve 7.5.2 R/C Thermal Model Contact the local Field Application Engineer (email: [email protected]). MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 61 8 Packaging 8.1 Marking Information Device markings indicate information on the week and year of manufacturing. The date is coded with the last four characters of the nine character build information code (e.g. “CTKAH1229”). The date is coded as four numerical digits where the first two digits indicate the year and the last two digits indicate the week. For instance, the date code “1229” indicates the 29th week of the year 2012. 8.2 Package Mechanical Dimensions Package dimensions are provided in package drawings. To find the most current package outline drawing, go to www.freescale.com and perform a keyword search for the drawing’s document number. Table 27. Package Outline Package Suffix Package Outline Drawing Number 32-Pin SOICEP EK 98ASA00368D 54-Pin SOICEP EK 98ASA00367D MC12XSFD1 62 Analog Integrated Circuit Device Data Freescale Semiconductor MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 63 MC12XSFD1 64 Analog Integrated Circuit Device Data Freescale Semiconductor MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 65 MC12XSFD1 66 Analog Integrated Circuit Device Data Freescale Semiconductor MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 67 MC12XSFD1 68 Analog Integrated Circuit Device Data Freescale Semiconductor 9 Revision History Revision Date 1.0 1/2015 Description of Changes • Initial release MC12XSFD1 Analog Integrated Circuit Device Data Freescale Semiconductor 69 How to Reach Us: Information in this document is provided solely to enable system and software implementers to use Freescale products. Home Page: freescale.com on the information in this document. Web Support: freescale.com/support There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits based Freescale reserves the right to make changes without further notice to any products herein. Freescale makes no warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters that may be provided in Freescale data sheets and/or specifications can and do vary in different applications, and actual performance may vary over time. All operating parameters, including “typicals,” must be validated for each customer application by customer’s technical experts. Freescale does not convey any license under its patent rights nor the rights of others. Freescale sells products pursuant to standard terms and conditions of sale, which can be found at the following address: freescale.com/SalesTermsandConditions. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. SMARTMOS is a trademark of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2015 Freescale Semiconductor, Inc. Document Number: MC12XSFD1 Rev. 1.0 1/2015