Freescale Semiconductor Advance Information Document Number: MC12XSFD4 Rev. 1.0, 2/2015 Dual 8.0 mOhm and Dual 21 mOhm High-side Switch 12XSFD4 The 12XSF is the latest SMARTMOS achievement in DC motors and lighting drivers for industrial applications. 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 12XSF facilitates ECU design due to compatible MCU software and PCB foot prints for each device variant. Features • Dual 8.0 m and dual 21 m high-side switches with high transient current 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 to 18 V with sleep current < 5.0 µA, extended mode from 6.0 to 28 V • -16 V reverse polarity and ground disconnect protections • Compatible PCB foot print and SPI software driver among the family QUAD HIGH-SIDE SWITCH EK SUFFIX (PB-FREE) 98ASA00368D 32-PIN SOICW-EP 08XSF421 Applications • Low-voltage lighting • Halogen lamps • Incandescent bulbs • Light-emitting diodes (LEDs) • HID Xenon ballasts • Low voltage DC motor • Factory automation VPWR VPWR VPWR VCC 08XSF421 5.0 V Regulator GND VCC 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 IN2 IN3 IN4 GND OUT6 Solenoid LED Module DC Motor Resistive load OUT Smart Power CSNS GND IN VPWR Figure 1. Dual 8.0 m and Dual 21 m 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 MC08XSF421EK Notes Temperature (TA) (1) -40 °C to 125 °C Package SOICW 32-pin exposed pad OUT1 RDS(on) OUT2 RDS(on) OUT3 RDS(on) OUT4 RDS(on) OUT6 21 m 21 m 8.0 m 8.0 m Yes Notes 1. To order parts in Tape and Reel, add the R2 suffix to the part number. MC12XSFD4 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 General Product Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4.1 Relationship Between Ratings and Operating Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4.2 Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4.3 Thermal Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.4 Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.5 Supply Currents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 General IC Functional Description and Application Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5.3 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5.4 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5.5 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 5.6 SPI Interface and Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Functional Block Requirements and Behaviors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 6.1 Self-protected High-side Switches Description and Application Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 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 Application Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 7.2 EMC and EMI Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 7.3 PCB Layout Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 7.3 PCB Layout Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 7.4 Thermal Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Packaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 8.1 Marking Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 8.2 Package Mechanical Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 3 Internal Block Diagram CP VCC Power Supply Oscillator UVF Thermal Prewarning OTS1 Temperature Shutdown SI SPIF Fault Management OC1 OLON1 OLOFF1 Charge Pump Selectable Slope Control Selectable Overcurrent Protection Selectable OpenLoad Detection Selectable Current Sensing LIMP OUT1 IN1 Output Voltage Monitoring OUT1 Channel OUT1 IN2 PWM Module IN3 OUT2 Channel IN4 Logic VCC WAKEB OR RSTB OUT2 OUT3 Channel OUT3 OUT4 OUT4Channel Channel OUT4 VCC CSNS SYNCB Selectable Delay VPWR_PROTECTED Selectable Analog Feedback Smart Power Switch Drive Clock Failure Detection CLK CSNS 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 VPWR_PROTECTED VS Power-on Reset VPWR Power channels 2 OUT6 VPWR_PROTECTED Control die Temperature Monitoring Supply Voltage Monitoring GND Figure 2. Simplified Internal Block Diagram (Quad version) MC12XSFD4 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 NC NC 16 17 NC Figure 3. 12XSF Pinout Diagram 3.2 Pin Definitions Table 2. 12XSF Pin Definitions Pin Number Pin Name Pin Function Formal Name 1 CP Internal supply Charge Pump 2 RSTB SPI Reset Definition This pin is the connection for an external capacitor for charge pump use only. 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 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 the SPI transaction. The transaction is indicated as completed when this signal returns to a high level. This pin has a passive internal pull-up to VCC through a diode. 4 SCLK SPI Serial Clock This input pin is connected to the MCU providing the required bit shift clock for SPI communication. This pin has a passive internal pull-down. 5 SI SPI Serial input This pin is the data input of the SPI communication interface. The data at the input is sampled on the positive edge of the SCLK. This pin has a passive internal pulldown. 6 VCC This pin is a power supply pin is for internal logic, the SPI I/Os, and the OUT6 Power Supply MCU Power Supply driver. MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 5 Table 2. 12XSF Pin Definitions (continued) Pin Number Pin Name Pin Function Formal Name Definition 7 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 daisy chain of devices. The SPI changes on the negative edge of SCLK. When CSB is high, this pin is high-impedance. 8 OUT6 Output 9, 24 GND Ground Ground 10, 11 OUT2 Output Channel #2 Protected high-side power output pins to the load. 12, 13, 14 OUT4 Output Channel #4 Protected high-side power output pins to the load. 15, 16, 17, 18 NC N/A Not Connected 19, 20, 21 OUT3 Output Channel #3 Protected high-side power output pins to the load. 22, 23 OUT1 Output Channel #1 Protected high-side power output pins to the load. This output pin controls an external Smart Power Switch by logic level. This pin has External Solid State a passive internal pull-down. 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 in the board. These pins may not be connected. It is recommended to put these pins to ground. 25 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 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. 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. 27 IN1 Input 28 IN2 Input 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. 29 IN3 Input 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 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 LIMP Input Limp Home The Fail mode can be activated by this digital input. This pin has a passive internal pull-down. Device Mode Feedback 32 CLK Input/Output Reference PWM Clock 33 VPWR Power Supply Supply Power Supply This pin is an input/output pin. It is used to report the device sleep-state information. It is also used to apply the 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. MC12XSFD4 6 Analog Integrated Circuit Device Data Freescale Semiconductor 4 General Product Characteristics 4.1 Relationship Between Ratings and Operating Requirements Fatal Range Reverse protection Probable permanent failure Degraded Operating Range Normal Operating Range V 40 V 18 32 V V 0 7. -1 6 V Un 5. de 5 rv V o lt a ge 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: • the internal supply rail is protected (max. -16 V) • the output drivers (OUT1:OUT4) 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 Not Operating Range Probable permanent failure V 5. 5 7. 0 V V 4. 5 -0 .6 V VC (2 C .0 P O V R to 4. 0 V) Figure 4. 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 Normal Operating Range Reduced performance Full performance Degraded Operating Range Fatal Range Probable Reduced performance permanent failure Operating Range Figure 5. Ratings vs. Operating Requirements (VCC pin) MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 7 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 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 VOUT Digital Output Voltage • SO, CSNS, SYNC, OUT6, CLK -0.3 20 ICL Negative Digital Input Clamp Current – 5.0 mA Power Channel Current • 8.0 m channel • 21 m channel – – 11 5.5 A Notes ELECTRICAL RATINGS VPWR IOUT Power Channel Clamp Energy Capability • 8.0 m channel - Initial TJ = 25 °C ECL • 8.0 m channel - Initial TJ = 150 °C • 21 m channel - Initial TJ = 25 °C • 21 m channel - Initial TJ = 150 °C VESD 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 (2) V (2) (3) (4) (5) – – – – 200 100 75 50 -8000 -2000 -750 -500 +8000 +2000 +750 +500 mJ (6) V Notes 2. Exceeding voltage limits on those pins may cause a malfunction or permanent damage to the device. 3. Maximum current in negative clamping for IN1:IN4, LIMP, RSTB, CLK, SI, SO, SCLK, and CSB pins. 4. 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. 5. Active clamp energy using single-pulse method (L = 2.0 mH, RL = 0 , VPWR = 14 V). Please refer to Output Clamps section. 6. ESD testing is performed in accordance with the Human Body Model (HBM) (CZAP = 100 pF, RZAP = 1500 ), and the Charge Device Model. MC12XSFD4 8 Analog Integrated Circuit Device Data Freescale Semiconductor 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 (8) (9) THERMAL RATINGS TA TJ (7) THERMAL RESISTANCE AND PACKAGE DISSIPATION RATINGS RJB Junction-to-Board – 8.0 °C/W (10) RJA Junction-to-Ambient, Natural Convection, Four-Layer Board (2s2p) – 21 °C/W (11) (12) RJC Junction-to-Case (Case top surface) – 17 °C/W (13) Notes 7. To achieve high reliability over 10 years of continuous operation, the device's continuous operating junction temperature should not exceed 125 °C. 8. 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. 9. 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. 10. 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. 11. 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. 12. Per JEDEC JESD51-6 with the board (JESD51-7) horizontal. 13. 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 VPWR VCC Ratings Min. Max. Unit Functional operating supply voltage - Device is fully functional. All features are operating. 7.0 18 V Reverse Supply -16 – V Functional operating supply voltage - Device is fully functional. All features are operating. 4.5 5.5 V Notes MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 9 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 Sleep mode measured at VPWR = 12 V • TA = 25 °C • TA = 125 °C – – 1.2 10 5.0 30 µA (14) (15) Operating mode measured at VPWR = 18 V – 7.0 8.0 mA (15) – 0.05 5.0 µA – 2.8 4.0 VPWR CURRENT CONSUMPTIONS IQVPWR IVPWR VCC CURRENT CONSUMPTIONS IQVCC IVCC Sleep mode measured at VCC = 5.5 V Operating mode measured at VPWR = 5.5 V (SPI frequency 5.0 MHz) mA Notes 14. With the OUT1:OUT4 power channels grounded. 15. With the OUT1:OUT4 power channels opened. MC12XSFD4 10 Analog Integrated Circuit Device Data Freescale Semiconductor 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. It consists of a scalable family of devices compatible in terms of software driver and package footprint. It allows diagnosing the lightemitting 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 feedbacks, 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 12XSF are: • Dual, Triple, 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 MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 11 5.3 Block Diagram The choice of multi-die technology in SOIC exposed pad package including 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 6. Functional Block Diagram 5.3.1 Self-protected High-side Switches OUT1:OUT4 are the output pins of the power switches. The power channels are protected against various kinds of short-circuits and have active clamp circuitry that 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. VCC must be in the authorized range for bidirectional SPI communication. 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 the direct inputs IN1:IN4. OUT6 is off in this mode MC12XSFD4 12 Analog Integrated Circuit Device Data Freescale Semiconductor 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 Logic I/O Plausibility Check section • fail = (SPI_fail) OR (LIMP). More details in Loss of Communication Interface section 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 7. 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). In power off, no functionality is available but the device is protected by the clamping circuits. Refer to Supply Voltages Disconnection section. 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 The 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]). The 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 MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 13 The channel control (CHx) can be summarized: • CH1:4 controlled by ONx or iINx (if it is programmed by the SPI) • CH6 controlled by ONx • Rising CHx by definition means starting overcurrent window for OUT1:4 5.5.4 Fail Mode The device enters the Fail mode, when: • the LIMP input pin is high (logic [1]) • or the 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 OUT6 is 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): • the SO shall report 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 • CH6 is 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 was a: • LIMP input, WD toggle timeout, WD toggle sequence, or the 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. MC12XSFD4 14 Analog Integrated Circuit Device Data Freescale Semiconductor 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 are loaded • while CSB is logic [0] SI/SO data are shifted • with the trailing edge of the CSB signal, SPI data is latched 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. In case of the SPI failure the device enters the 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. Register name SI address # 8 D15 D14 SI data 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, the SPI fail is detected. All register values are logic [0] after a reset. The predefined value is off/inactive unless otherwise noted. MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 15 Register SI address SI data # D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 Initialisation 1 0 0 0 0 0 WD WD SEL SYNC EN1 SYNC EN0 MUX2 MUX1 MUX0 initialisation 2 1 0 0 0 1 WD OCHI THERMAL OCHI TRANSIENT X OCHI OD4 SOA MODE OCHI OD3 CH1 control 2 0 0 1 0 WD PH11 PH01 ON1 PWM71 PWM61 PWM51 CH2 control 3 0 0 1 1 WD PH12 PH02 ON2 PWM72 PWM62 CH3 control 4 0 1 0 0 WD PH13 PH03 ON3 PWM73 PWM63 CH4 control 5 0 1 0 1 WD PH14 PH04 ON4 PWM74 CH6 control 7 0 1 1 1 WD PH16 PH06 ON6 output control 8 1 0 0 0 WD X PSF4 PSF3 Global PWM control over current control D3 D2 D1 D0 SOA3 SOA2 SOA1 SOA0 OCHI OD2 OCHI OD1 PWM sync OTW SEL PWM41 PWM31 PWM21 PWM11 PWM01 PWM52 PWM42 PWM32 PWM22 PWM12 PWM02 PWM53 PWM43 PWM33 PWM23 PWM13 PWM03 PWM64 PWM54 PWM44 PWM34 PWM24 PWM14 PWM04 PWM76 PWM66 PWM56 PWM46 PWM36 PWM26 PWM16 PWM06 PSF2 PSF1 ON6 X ON4 ON3 ON2 ON1 GPWM EN3 GPWM EN2 GPWM EN1 NO HID1 NO HID0 D4 9-1 1 0 0 1 WD 0 X X X X GPWM EN6 X GPWM EN4 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 ACM EN4 SHORT OCHI4 ACM EN3 SHORT OCHI3 ACM EN2 SHORT OCHI2 ACM EN1 SHORT OCHI1 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 X X PRS16 PRS06 OL control 13-1 1 1 0 1 WD 0 X OLON DGL4 OLON DGL3 OLON DGL2 OLLED control 13-2 1 1 0 1 WD 1 res res res res OLON DGL1 OLLED TRIG OLOFF EN4 OLLED EN4 OLOFF EN3 OLLED EN3 OLOFF EN2 OLLED EN2 OLOFF EN1 OLLED EN1 14 1 1 1 0 WD INCR SGN X X INCR14 INCR04 INCR13 INCR03 INCR12 INCR02 INCR11 INCR01 15 1 1 1 1 X X 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 input enable prescaler settings increment / dercrement testmode 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 ENx OUTx PWMx x x x OFF x individual 0 ON 0 0 global 1 ON 0 OFF individual 0 1 global 1 OFF 0 OFF individual 0 1 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 x /1 100Hz .... 400Hz 1 INCR SGN increment/decrement 0 decrement 1 increment INCR 1x INCR 0x increment/decrement 0 0 no increment/decrement 4 LSB 0 1 8 LSB 0 1 16 LSB 1 1 INx=1 OUTx PWMx OFF x individual ON global ON individual ON global ON individual ON global ON global ON individual ON MC12XSFD4 16 Analog Integrated Circuit Device Data Freescale Semiconductor 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 iIN3 iIN2 iIN1 X OUT4 OUT3 OUT2 OUT1 device ID 9 1 0 0 1 FM res res res not used testmode 10-14 X X X X DEVID 7 X 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 X 15 adress from 1010 to 1110 1 1 1 1 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 #2~#6 OC2x OC1x OC0x over current status 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 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 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 1 1 1 res #8 = status of VPWR/2 comparator (reported in real time) 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) #9 D0 DEVID2 DEVID1 DEVID0 device type MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 17 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 tSI(SU) VIL 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 SO tSODIS Tri-stated Tri-stated VIH VIL Figure 8. 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 High To Low VOH 90% VCC 10% VC VOL Figure 9. Timing Diagram for Serial Output (SO) Data Communication MC12XSFD4 18 Analog Integrated Circuit Device Data Freescale Semiconductor 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 CS\ 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 (16) Notes 16. Parameter is derived from simulations. MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 19 6 Functional Block Requirements and Behaviors 6.1 Self-protected High-side Switches Description and Application Information 6.1.1 Features Up to four power outputs are foreseen to drive light as well as DC motor applications. The outputs are optimized for driving bulbs, but also 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) DC Range (hex) DC 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 MC12XSFD4 20 Analog Integrated Circuit Device Data Freescale Semiconductor Figure 10. 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: Register CHx control SI address # 2-7 D15 D14 SI data 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 pos. 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 MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 21 The synchronization of the switching phases between different devices is provided by the PWM SYNC bit in the initialization 2 register #1. On the 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) PRS1x PRS0x divider factor 0 0 4 25 100 slow 0 1 2 50 200 slow 1 X 1 100 400 fast min. max. PWM resolution) slew rate (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 ONx INEN1x INEN0x GPWM ENx 0 x x 0 0 0 1 INx = 0 INx = 1 CHx PWMx CHx PWMx x OFF x OFF x 0 ON individual ON individual 1 ON global ON global 1 0 OFF individual ON individual 1 0 1 OFF global ON global 1 1 0 ON individual ON global 1 ON global ON individual 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 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 MC12XSFD4 22 Analog Integrated Circuit Device Data Freescale Semiconductor 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 INCR SG N increm ent/decre me nt 0 de creme nt incre ment 1 INCR 1x INCR 0x incre ment/decreme nt 0 0 n o i ncrement/d ecre me nt 0 1 4 1 0 8 1 1 16 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:OUT4) • 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 MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 23 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. See 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) • CH6 controlled by ONx • Rising CHx by definition means starting overcurrent window for OUT1:4 • Fail mode: • CH1:4 controlled by iINx, while the over current windows are controlled by IN_ONx • CH6 are off The input thresholds are logic level compatible, so 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 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. RDS(on) ON-Resistance, Drain-to-Source for 8.0 m Power Channel • TJ = 25 °CV • TJ = 150 °C • TJ = 25 °C, VPWR = -12 V • TJ = 150 °C, VPWR = -12 V – – – – 7.5 – – – – 14.8 14 18 RDS(on) ON-Resistance, Drain-to-Source for 21 m Power Channel • TJ = 25 °C • TJ = 150 °C • TJ = 25 °C, VPWR = -12 V • TJ = 150 °C, VPWR = -12 V – – – – 19 – – – – 35.7 36 47 – – – – – – – – 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 Hz to 100 Hz) • Medium Frequency Range (50 Hz to 200 Hz) • High Frequency Range (100 Hz to 400 Hz) 4.0 8.0 8.0 – – – 252 248 248 Unit Notes POWER OUTPUTS OUT1:OUT4 ILEAK SLEEP IOUT OFF PWM 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 m m µA µA LSB MC12XSFD4 24 Analog Integrated Circuit Device Data Freescale Semiconductor 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.5 0.42 0.42 0.84 0.6 0.6 1.25 V/µs (17) 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 60 60 30 100 100 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 POWER OUTPUTS OUT1:OUT4 (Continued) tDLY tOUTPUT SD (17) µs (17) µs (17) REFERENCE PWM CLOCK fCLK Clock Input Frequency Range Notes 17. With nominal resistive load: 2.5 and 5.0 respectively for 8.0 m and 21 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 thanks to smart overcurrent profile and severe shortcircuit 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) MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 25 Figure 11. 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:#5. To restart the output: • the channel must be restarted by writing the corresponding ON bit in the channel control register #2:#5 or output control register #8 MC12XSFD4 26 Analog Integrated Circuit Device Data Freescale Semiconductor 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: 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 12. Output Control Diagram in Normal Mode MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 27 Fail mode In case of an overcurrent (OCHI2, OCHI3, OCLO) or undervoltage, 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 13. Autorestart in Fail Mode In case of an overtemperature (OTSx), severe short-circuit (SSCx), or OCHI1 overcurrent, the corresponding output enters 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 Definition of key logicIN1~IN4 signals:after deglitcher iINx:= external Inputs (OTSx=1) or (SSCx=1) latch OFF (OTSx=1) or (SSCx=1) OUTx=off SSCx := severe short circuit detection tochi2 is depending on output current during OCHI2 state Figure 14. Output Control Diagram in Fail Mode MC12XSFD4 28 Analog Integrated Circuit Device Data Freescale Semiconductor 6.1.3.1 Overcurrent Protections Each output channel is protected against overload conditions by use of a multilevel overcurrent shutdown. current IOCHI1 IOCHI2 Over Current Threshold Profile IOCHI3 IOCLO Lamp Current tOCHI1 tOCHI2 tOCHI3 Figure 15. 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 16. Transient Over Current 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 in order 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. MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 29 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 over current 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 is reset and the full OCHI windows are applied current IOCHI1 Overcurrent Threshold Profile IOCHI2 IOCHI3 OCLO fault detection IOCLO Channel Current time ON bit =0 ON bit =1 Figure 17. 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 18. 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:4) is dependent on CHx signal. MC12XSFD4 30 Analog Integrated Circuit Device Data Freescale Semiconductor 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 eight, when no load current is demanded from the output driver. • the clock for the tOCHI2 counter is divided by eight 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 current IOCHI1 IOCHI2 Over Current Threshold Profile IOCHI3 IOCLO Channel Current tOCHI1 8 x t OCHI2 tOCHI3 time Figure 19. 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 that will occur 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 MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 31 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 20. 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 20. 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 MC12XSFD4 32 Analog Integrated Circuit Device Data Freescale Semiconductor 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) 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:OUT4 IOCH1 High Overcurrent Level 1 for 8.0 m Power Channel 96 111 126.5 A IOCHI2 High Overcurrent Level 2 for 8.0 m Power Channel 60 70 77.5 A IOCHI3 High Overcurrent Level 3 for 8.0 m Power Channel 33.5 39 43.5 A IOCLO Low Overcurrent for 8.0 m Power Channel • High Level • Low Level 17.6 8.8 21.9 10.8 26.4 13.2 Low Overcurrent for 8.0 m Power Channel in ACM Mode • High Level • Low Level 8.8 4.4 10.8 5.5 13.2 6.6 IOCHI1 High Overcurrent Level 1 for 21 m Power Channel 40 48 54.4 A IOCHI2 High Overcurrent Level 2 for 21 m Power Channel 24.5 28.2 32.2 A IOCHI3 High Overcurrent Level 3 for 21 m Power Channel 14.8 17.3 19.5 A IOCLO Low Overcurrent for 21 m Power Channel • High Level • Low Level 8.8 4.4 10.8 5.3 13.2 6.6 A Low Overcurrent for 21 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 A A °C MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 33 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:OUT4 (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 • 8.0 m Power Channel • 21 m Power Channel 5.0 10 – – – – m Fault Deglitch Time • OCLO and OCHI OD • OCHI1:3 and SSC 1.0 1.0 2.0 2.0 3.0 3.0 µs tAUTORESTART Fault Autorestart Time in Fail Mode 48 64 80 ms tBLANKING Fault Blanking Time after Wake-up – 50 100 µs RSC MIN tFAULT SD (18) Notes 18. Guaranteed by testmode. 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) Receiving 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:#5 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:#5 must be performed MC12XSFD4 34 Analog Integrated Circuit Device Data Freescale Semiconductor 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:#5. 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:#5, 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:#5 must be performed To restart the output after an overtemperature shutdown event in Fail mode: • a mode transition is needed. Refer to Mode Transitions section 6.1.3.2.3 Electrical Characterization Table 11. Electrical Characteristic 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:OUT4 TOW Overtemperature Warning • TOW1 level TOTS tFAULT SD (19) 100 120 115 135 130 150 °C Overtemperature Shutdown 155 170 185 °C Fault Deglitch Time • OTS 2.0 5.0 10 • TOW2 level (19) µs Notes 19. 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:OUT4) 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:#5 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. MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 35 6.1.3.3.2 Overvoltage 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 In case of 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 Notes Supply VPWR VPWR UVF VPWR UVF HYS VPWR OVF VPWR HIGH tFAULT SD 6.1.3.4 µs 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 MC12XSFD4 36 Analog Integrated Circuit Device Data Freescale Semiconductor 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 Notes CHARGE PUMP CP CCP 6.1.3.5 µs Reverse Supply Protection The device is protected against reverse polarity of the VPWR line. In reverse polarity condition: • the output transistors OUT1:4 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 6.1.4.1 Output Clamps 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 21. Output Current Io time Output Voltage tCL VPWR BAT time time VCL Figure 21. 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 tCL < 1.0 ms, please contact the factory for guidance. MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 37 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. In case of an open load condition, the positive transient pulses (acc. ISO 7637/pulse 2 and inductive supply line) are handled by the application. In case of negative transients on the VPWR line (acc. automotive ISO7637-2/pulse 1), the energy of the pulses are dissipated inside the load, or drained by an external clamping circuit, during a high ohmic 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 V Notes Supply VPWR VDCCLAMP Supply Clamp Voltage POWER OUTPUTS OUT1:OUT4 Negative Power Channel Clamp Voltage • 8.0 m • 21 m VCL 6.1.5 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:OUT4), 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:#5 To delatch the diagnosis: • the open load condition must be removed • a read command of the corresponding channel status register #2:#5 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 in order 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. MC12XSFD4 38 Analog Integrated Circuit Device Data Freescale Semiconductor 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). VPWR VPWR Figure 22. 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:#5 When an open load has been detected, the output remains in 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. MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 39 hson_1 128*DCLOCK (prescaler = ‘0’) En_OLLed_1 OUT_1 VPWR BAT-0.75 OUT_high check Analog Comparator output 1 : olled detected TimeOut = 2.0 msec 0 : no olled detected Figure 23. Open Load in ON State for LED in PWM Operation (OFF time > 2.0 ms) hson_1 128*DCLOCK (prescaler=‘0’) En_OLLed_1 OUT_1 OUT_high Analog Comparator output VPWR BAT-0.75 check 1 : olled detected 0 : no olled detected TimeOut = 2.0 msec Figure 24. 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 MC12XSFD4 40 Analog Integrated Circuit Device Data Freescale Semiconductor OLLED TRIG 1 Note: OLLED TRIG bit is reset after the detection ONoff & PWM FF hson_1 En_OLLed_1 100 sec 100 sec VVPWR -0.75 BAT-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 25. 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 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:OUT4). 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:OUT4). 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:#5 To delatch the diagnosis, a read command of the corresponding channel status register #2:#5 must be performed. During 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. MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 41 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 Notes POWER OUTPUTS OUT1:OUT4 IOL PWM OLON IOLLED tOLLED100 tOLOFF tFAULT SD IOLOFF 6.1.5.2 Open load Current Threshold in ON State • 8.0 m Power Channel at TJ = -40 °C • 8.0 m Power Channel at TJ = 25 °C and 125 °C • 21 m Power Channel at TJ = -40 °C • 21 m Power Channel at TJ = 25 °C and 125 °C 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) mA 50 100 30 50 200 200 100 100 350 300 160 150 LSB 18 18 17 – – – – – – Open load Current Threshold in ON state/OLLED mode 2.0 4.0 5.0 Maximum Open load Detection Time/OLLED mode with 100% duty cycle 1.5 2.0 2.6 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 µs ms 0.77 0.385 1.1 0.55 1.43 0.715 A Open load Current Threshold in OFF state • 8.0 m power channel • 21 m power channel mA ms Output Shorted to VPWR in OFF State A short to VPWR detection during OFF state is provided individually for each power output OUT1:OUT4, 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:OUT4 VOUTDETECT Output Voltage Comparator Threshold MC12XSFD4 42 Analog Integrated Circuit Device Data Freescale Semiconductor 6.1.5.3 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. Register quick address SO address SO data # 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 X 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:#5, 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 section • 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. Register SO address SO data # 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 CH4 status 5 0 1 0 1 FM DSF OVLF OLF res OTS4 OTW4 OC24 OC14 OC04 OLON4 OLOFF4 • 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: MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 43 #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 0 1 0 OCHI3 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 Register device status SO data # 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 Register I/O status SO data # D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 8 1 0 0 0 FM res TOGG LE iIN4 iIN3 iIN2 iIN1 X D3 D2 D1 D0 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: SO address Register device ID SO data # D15 D14 D13 D12 D11 D10 D9 D8 9 1 0 0 1 X X X X 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 = 42hex for the 08XSF421. During an 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. MC12XSFD4 44 Analog Integrated Circuit Device Data Freescale Semiconductor 6.1.6.1 Output Current Monitoring The current sense monitor provides a current proportional to the current of the selected output (OUT1:OUT4). CSNS output delivers 1.0 mA full scale range current source reporting channel 1:4 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 26. 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 current 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 27 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. MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 45 HSONx tDLY(ON) tDLY(OFF) IOUTx tCSNS(SET) tCSNS(VAL) time time CSNS +/- 5% of new value time Figure 27. 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 devices from the 12XSF family 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 28. VCSNS 5.0 V VPWR VCSNS / V BAT = ¼ typ 0V V PWR BATPOR 20 V VVPWR BAT Figure 28. Supply Voltage Reporting MC12XSFD4 46 Analog Integrated Circuit Device Data Freescale Semiconductor 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. VCSNS VCSNS / TJ = VFBS VFB -40°C 25°C TJ 150°C Figure 29. 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) MC12XSFD4 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 30. 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 31. CSNS SYNCB TRIG0 Setting MC12XSFD4 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 32. 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 33 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 33. CSNS SYNCB when the output is programmed with 100% • During an output fault, the CSNS SYNCB signal for current sensing does not deliver a trigger signal until the output is enabled again MC12XSFD4 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 8.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 – – – – Notes CURRENT SENSE CSNS RCSNS ICSNS LEAK ACC ICSNS Current Sense Accuracy for 9.0 V < VPWR < 18 V for 8.0 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 50% FSR and VPWR = 14 V for 8.0 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 8.0 m Power Channel • IOUT = 80% FSR • IOUT = 25% FSR • IOUT = 10% FSR • IOUT = 5.0% FSR ICSNSMIN IFSR A (20) -11 -14 -20 -29 – – – – +11 +14 +20 +29 % (24) (22) -7.0 -7.0 -20 -29 – – – – +7.0 +7.0 +20 +29 % (24) (22) -6.0 -6.0 -8.0 -11 – – – – +6.0 +6.0 +8.0 +11 Minimum Current Sense Reporting for 8.0 m • 9.0 V < VPWR < 18 V – – 1.0 Current Sense Full Scale Range for 21 m Power Channel • High OCLO and ACM = 0 • Low OCLO and ACM = 0 • High OCLO and ACM = 1 • Low OCLO and ACM = 1 – – – – 11 5.5 5.5 2.75 – – – – % (20)(23) % A MC12XSFD4 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 21 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 50% FSR and VPWR = 14 V for 21 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 21 m Power Channel • IOUT = 80% FSR • IOUT = 25% FSR • IOUT = 10% FSR • IOUT = 5.0% FSR ICSNSMIN VPWR ACC VPWR Minimum Current Sense Reporting for 21 m • for 9.0 V < VPWR < 18 V Supply Voltage Feedback Range 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 -11 -14 -20 -29 – – – – +11 +14 +20 +29 % (20) (22) -7.0 -7.0 -20 -29 – – – – +7.0 +7.0 +20 +29 % (20) (22) -6.0 -6.0 -10 -17 – – – – +6.0 +6.0 +10 +17 % (20) (23) – – 1.0 % VPWRMAX – 20 V -8.0 -1.5 – – +8.0 +1.5 -2.2 – +2.2 -40 – 150 °C (22) % (21) TFB Temperature Feedback Range VFB Temperature Feedback Voltage at 25 °C – 2.31 – V Temperature Feedback Thermal Coefficient – 7.72 – mV/°C COEF VFB ACC TFB Temperature Feedback Voltage Precision • Default • 1 calibration point at 25 °C and VPWR = 7.0 V tCSNS(SET) 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 Notes 20. 21. 22. 23. (20) (22) (22) -15 -5.0 – – +15 +5.0 – – 40 – – 260 – – 10 °C (21) µs 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 in all modes and 50% with 1 calibration point done at 25 °C in ACM mode (+/-85% in non-ACM). MC12XSFD4 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 Notes CURRENT SENSE CSNS (Continued) tCSNS(VAL) tSYNC DEFAULT (24) Current Sense Valid Time Current Sensing Feedback • Low/Medium Frequency Ranges for IOUT > 20% FSR • Low/Medium Frequency Ranges for IOUT < 20% FSR • High Frequency Range for IOUT > 20% FSR • High Frequency Range for IOUT < 20% FSR Temperature Voltage Feedback Supply Voltage Feedback 10 70 5.0 70 – – – – – – – – 150 300 75 300 10 15 Current Sense Synchronization Period for PWM Clock Failure 4.8 6.5 8.2 ms 5.0 – – k – – 0.4 V -1.0 – +1.0 µA µs CURRENT SENSE SYNCHRONIZATION CSNS SYNCB RCSNS SYNC Pull-up Current Sense Synchronization Resistor Range Current Sense Synchronization Logic Output Low State Level at 1.0 mA VOL IOUT max Current Sense Synchronization Leakage Current in Tri-state (CSNS SYNC from 0 to 5.5 V) Notes 24. Tested at 5% of final value at 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 MC12XSFD4 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:4 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:OUT4 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. MC12XSFD4 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 Logic Input Capacitance – – 20 pF Logic Input High State Level 3.5 – – V Logic Input High State Level for wake-up 3.75 – – V – – 1.5 V -0.5 – +0.5 µA Logic Input Pull-down Resistor 25 – 100 k Logic Input Capacitance – – 20 pF RPULL CIN (25) DIRECT INPUTS IN1:IN4 VIH VIH(WAKE) VIL Logic Input Low State Level IIN Logic Input Leakage Current in Inactive State (forced to [0]) RPULL CIN (25) Notes 25. Parameter is derived mainly from simulations. 6.3.3 MCU Communication Interface Protections 6.3.3.1 Loss of Communication Interface If the SPI communication error occurs, the device is switched into Fail mode. The 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. MC12XSFD4 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 34. LIMP and iLIMP signal In case 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 iINx tIN_DGL tIN_DGL tIN_DGL time tIN_DGL 200µs typ. ttoggle 1024ms typ. ttoggle time INx_ON time Figure 35. IN, iIN and IN_ON signal MC12XSFD4 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 will depend 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) is 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 Notes EXTERNAL SMART POWER OUTPUT OUT6 tOUT6 RISE OUT6 Rising Edge for 100 pF capacitive load ROUT6 DWN OUT6 Pull-down Resistor 5.0 10 20 k VOH Logic Output High State Level (OUT6) VCC - 0.6 – – V VOL Logic Output Low State Level (OUT6) – – 0.6 V MC12XSFD4 56 Analog Integrated Circuit Device Data Freescale Semiconductor 7 Typical Applications 7.1 Application Diagram VBAT RIGHT 20V 5V Regulator VBAT VCC 10µ 10n…100n GND VCC SO SI CS\ CS\ SCLK VCC VCC Clamp 100n 100n 5k SO 10n OUT2 RST\ RST\ CLK CLK A/D1 Parking Light 10n OUT3 Flasher 10n Low Beam CSNS 10k TRIG1 GND OUT1 SCLK Main MCU SI GND VCC VBAT CP SYNC\ A/D2 LIMP A/D3 IN1 10n OUT4 10n OUT5 Fog Light 10n High Beam IN2 1k 1k 5k IN3 OUT6 IN4 IN 1k GND VBAT OUT 10n Smart Power CSNS GND CSNS GND Spare 1k GND IN4 IN3 Smart Power 1k OUT6 IN IN2 OUT5 SYNC\ Fog Light OUT4 10n CSNS CLK Watchdog IN2 IN3 GND Low Beam OUT3 10n RST\ IN1 IN4 Spare 10n 10n LIMP LIMP OUT High Beam IN1 VBAT VBAT 1k SO 1k SCLK 1k CS\ 1k SI Flasher OUT2 10n Parking Light OUT1 10n VCC VBAT CP 1k 100n 10n…100n 20V 100n VBAT LEFT Figure 36. Typical Front Lighting Application MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 57 7.1.1 Bill of Materials Table 23. 12XSF Bill of Materials (26) 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 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 16V) 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 26. 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. MC12XSFD4 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. 12XSF EMC/EMI Performances Test Conducted Emission Conducted Immunity 7.2.2 Signals Conditions Standard Criteria VPWR CISPR25 Class 5 150 Method Global pins: VPWR and OUT1:OUT4 Local pins: VCC, CP, and CSNS 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 outputs off outputs on in PWM Global pins: VPWR and OUT1:OUT4 Local pins: VCC Fast Transient Pulse Tests This paragraph gives the device performances.against fast transient disturbances. Table 25. 12XSF Fast Transient Capability on VPWR Test Pulse 1 Pulse 2a Pulse 3a/3b Pulse 5b (40 V) Conditions Standard Criteria ISO 7637-2 Class A outputs loaded with lamps other cases with external transient voltage suppressor outputs loaded outputs unloaded MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 59 7.3 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 37 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 37. PCB Copper Layer and Solder Stencil Opening Recommendations MC12XSFD4 60 Analog Integrated Circuit Device Data Freescale Semiconductor 7.4 Thermal Information This section is to provide thermal information. 7.4.1 Thermal Transient Figure 38. Transient Thermal Response Curve 7.4.2 R/C Thermal Model Contact our local Field Application Engineer (email: [email protected]). MC12XSFD4 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 26. Package Outline Package Suffix 32-Pin SOICW-EP EK Package Outline Drawing Number 98ASA00368D MC12XSFD4 62 Analog Integrated Circuit Device Data Freescale Semiconductor MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 63 MC12XSFD4 64 Analog Integrated Circuit Device Data Freescale Semiconductor MC12XSFD4 Analog Integrated Circuit Device Data Freescale Semiconductor 65 9 Revision History Revision 1.0 Date Description of Changes 1/2015 • Initial release 2/2015 • Corrected typos. Replaced VBAT with VPWR MC12XSFD4 66 Analog Integrated Circuit Device Data Freescale Semiconductor 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 There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits based Web Support: freescale.com/support Freescale reserves the right to make changes without further notice to any products herein. Freescale makes no on the information in this document. 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: MC12XSFD4 Rev. 1.0 2/2015