Freescale Semiconductor Advance Information Document Number: MC33996 Rev. 8.0, 8/2008 16 Output Switch with SPI Control 33996 The 33996 is a 16-output low side switch with a 24-bit serial input control. It is designed for a variety of applications including inductive, incandescent, and LED loads. The Serial Peripheral Interface (SPI) provides both input control and diagnostic readout. A Pulse Width Modulation (PWM) control input is provided for pulse width modulation of multiple outputs at the same duty cycle. A dedicated reset input provides the ability to clear all internal registers and turn all outputs off. The 33996 directly interfaces with micro controllers and is compatible with both 3.3 and 5.0V CMOS logic levels. The 33996, in effect, serves as a bus expander and buffer with fault management features that reduce the MCU’s fault management burden. LOW SIDE SWITCH Features • Designed to operate 5.0V < VPWR < 27V • 24 Bit SPI for control and fault reporting, 3.3/5.0V compatible • Outputs are current limited (0.9 to 2.5A) to drive incandescent lamps • Output voltage clamp of +50V during inductive switching • On/Off control of open load detect current (LED application) • VPWR standby current < 10μA • RDS(ON) of 0.55Ω at 25°C typical • Independent over-temperature protection • Output selectable for PWM control • Output ON short-to-VBAT and off short-to-ground /open detection • Pb-free packaging designated by suffix code EK Vdd 3.3 V/5.0 V VDD EK SUFFIX (PB-FREE) 98ARL10543D 32-PIN SOICW EXPOSED PAD ORDERING INFORMATION Device MC33996EK/R2 MCZ33996EK/R2 VPWR VPWR SCLK CS SI SO PWM RST OUT0 OUT1 OUT2 OUT3 OUT4 OUT5 OUT6 OUT7 OUT8 OUT9 OUT10 OUT11 OUT12 OUT13 OUT14 OUT15 MCU SCLK CS MISO MOSI PWM RST Solenoid/Relay LED /8 Lamp GND Figure 1. 33996 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., 2007-2008. All rights reserved. Package -40°C to 125°C 32 SOICW-EP VBAT 33996 SOPWR Temperature Range (TA) IINTERNAL BLOCK DIAGRAM IINTERNAL BLOCK DIAGRAM VPWR OUT0 VDD PWM 10μA RST 25μA CS 10μA SCLK Input Buffers 10μA SI 10 μA SO SOPWR Serial D/O Line Driver Over-voltage Detect Voltage Regulator OVD VDD RB SFPDB SFL CS SCLK SI SO CSI CSBI GE OT SF OF Open Load Detect Enable SPI Interface Logic VDD Bias 50V Gate Control To Gates 1 to 15 OUT1-15 VRef ILimit RS 50μA Short and Open Load Detect GND (8) Over-temperature Detect From Detectors 1 to 15 Figure 2. 33996 Simplified Internal Block Diagram 33996 2 Analog Integrated Circuit Device Data Freescale Semiconductor PIN CONNECTIONS PIN CONNECTIONS 1 32 2 31 3 30 4 29 5 28 OUT15 OUT14 PWM OUT13 OUT12 6 27 RST 7 26 8 25 9 24 10 23 11 22 12 21 13 20 CS 14 19 OUT6 OUT7 15 18 16 17 GND GND GND GND SO OUT11 OUT10 SI OUT9 OUT8 OUT0 OUT1 SOPWR OUT2 OUT3 VPWR GND GND GND GND SCLK OUT4 OUT5 Figure 3. 33996 Pin Locations Table 1. Pin Definitions A functional description of each pin can be found in the Functional Pin Description section beginning on page 10. Pin Pin Name Formal Name Definition 1, 2, 4, 5, 12, 13, 15 – 18, 20, 21, 28, 29, 31, 32 OUT0 – OUT15 Output 0 – Output 15 3 SOPWR SOPWR Supply 6 VPWR Battery Input 7– 10, 23 – 26 GND Ground Ground for logic, analog, and power output devices. 11 SCLK System Clock System Clock for internal shift registers of the 33996. 14 CS Chip Select SPI control chip select input pin from the MCU to the 33996. 19 SI Serial Input Serial data input pin to the 33996. 22 SO Serial Output 27 RST Reset 30 PWM PWM Control PWM control input pin. Supports PWM on any combination of outputs. 33 EP Exposed Pad Device will perform as specified with the Exposed Pad un-terminated (floating) however, it is recommended that the Exposed Pad be terminated to system ground. Open drain output pin. Power supply pin to the SO output driver. Battery supply input pin. Serial data output pin. Active low reset input pin. 33996 Analog Integrated Circuit Device Data Freescale Semiconductor 3 ELECTRICAL CHARACTERISTICS MAXIMUM RATINGS ELECTRICAL CHARACTERISTICS MAXIMUM RATINGS Table 2. Maximum Ratings All voltages are with respect to ground unless otherwise noted. Rating Symbol Value Unit VPWR -1.5 to 50 V SOPWR -0.3 to 7.0 V VIN -0.3 to 7.0 V VD -0.3 to 45 V fSPI 6.0 MHz ECLAMP 50 mJ Human Body Model VESD1 ±2000 Machine Model VESD2 ±200 TA -40 to 125 ELECTRICAL RATINGS VPWR Supply Voltage (1) SO Output Driver Power Supply Voltage (1) SPI Interface Logic Input Voltage (CS, PWM, SI, SO, SCLK, RST) Output Drain Voltage Frequency of SPI Operation (2) Output Clamp Energy (3) ESD Voltage (1) (4) V THERMAL RATINGS °C Operating Temperature Ambient Junction Case Storage Temperature Power Dissipation (TA = 25°C) (5) Peak Package Reflow Temperature During Reflow (6), (7) TJ -40 to 150 TC -40 to 125 TSTG -55 to 150 °C PD 1.7 W TPPRT Note 7 °C RθJA 75 RθJL 8.0 RθJC 1.2 Thermal Resistance Junction-to-Ambient Junction- to-Lead (9) Junction-to-Flag Notes 1. 2. 3. 4. 5. 6. 7. 8. 9. °C/W (8) Exceeding these limits may cause malfunction or permanent damage to the device. This parameter is guaranteed by design but not production tested. Maximum output clamp energy capability at 150°C junction temperature using single nonrepetitive pulse method. ESD data available upon request. ESD testing is performed in accordance with the Human Body Model (CZAP = 100pF, RZAP = 1500Ω) and the Machine Model (CZAP = 200pF, RZAP = 0Ω). Maximum power dissipation with no heat sink used. 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. 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. Tested per JEDEC test JESD52-2 (single-layer PWB). Tested per JEDEC test JESD51-8 (two-layer PWB). 33996 4 Analog Integrated Circuit Device Data Freescale Semiconductor ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS Table 3. STATIC ELECTRICAL CHARACTERISTICS Characteristics noted under conditions 3.1V ≤ SOPWR ≤ 5.5V, 5.0V ≤ VPWR ≤ 18V, -40°C ≤ TA ≤ 125°C unless otherwise noted. Where applicable, typical values noted reflect the parameter ‘s approximate value with VPWR = 13V, TA = 25°C. Characteristic Symbol Min Typ Max 5.0 – 27 – 4.0 8.0 Unit POWER SUPPLY (VPWR) Supply Voltage Range Fully Operational VPWR (FO) Supply Current All Outputs ON, IOUT = 0.3A IPWR (ON) Sleep State Supply Current at RST ≤ 0.8 and/or SOPWR ≤ 1.5V IPWR (SS) _ 1.0 10 μA VOV 27.5 31.5 35 V Over-voltage Shutdown Hysteresis VOV (HYS) 0.6 1.4 2.3 V VPWR Under-voltage Shutdown VPWR (UV) – 3.2 4.0 V SOPWR 3.1 – 5.5 V SPI Interface Logic Supply Current (RST Pin High) ISOPWR(RSTH) 100 – 500 μA SPI Interface Logic Supply Current (RST Pin Low) ISOPWR(RSTL) -10 – 10 μA SPI Interface Logic Supply Under-voltage Lockout Threshold SOPWR (UNVOL) 1.5 2.5 3.0 V – 0.75 1.1 – 0.55 – – 0.45 – Over-voltage Shutdown SPI Interface Logic Supply Voltage V mA POWER OUTPUT (VPWR) Drain-to-Source ON Resistance (IOUT = 0.35A, VPWR = 13V) Ω RDS(ON) TJ = 125°C TJ = 25°C TJ = -40°C Output Self-Limiting Current I OUT (lim) Outputs Programmed ON Output Fault Detect Threshold (10) 0.9 1.2 2.5 2.5 3.0 3.5 25 50 100 45 50 55 -10 2.0 10 TLIM 155 165 180 °C TLIM (hys) 5.0 10 20 °C VOUTth (F) Outputs Programmed OFF Output Off Open Load Detect Current (11) Over-temperature Shutdown Hysteresis (12) V μA IOUT(lkg) SOPWR ≤ 1.5V, VOUT 1-16 = 18V Over-temperature Shutdown (Outputs OFF) (12) μA VCL IOUT = 20mA Output Leakage Current V I OCO Outputs Programmed OFF (VPWR = 5.0V, 13V, 18V) Output Clamp Voltage A Notes 10. Output Fault Detect Thresholds with outputs programmed OFF. Output Fault Detect Thresholds are the same for output open and shorts. 11. Output OFF Open Load Detect Current is the current required to flow through the load for the purpose of detecting the existence of an open load condition when the specific output is commanded to be OFF. 12. This parameter is guaranteed by design; however, it is not production tested. 33996 Analog Integrated Circuit Device Data Freescale Semiconductor 5 ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS Table 3. STATIC ELECTRICAL CHARACTERISTICS Characteristics noted under conditions 3.1V ≤ SOPWR ≤ 5.5V, 5.0V ≤ VPWR ≤ 18V, -40°C ≤ TA ≤ 125°C unless otherwise noted. Where applicable, typical values noted reflect the parameter ‘s approximate value with VPWR = 13V, TA = 25°C. Characteristic Symbol Min Typ Max Unit VINLOGIC 0.8 – 2.2 V VINRST 0.8 – 2.2 V 2.0 10 30 -30 -10 -2.0 2.0 10 30 DIGITAL INTERFACE (RST, SI, CS, SCLK, SO, PWM) Input Logic Voltage Thresholds (13) Input Logic Voltage Thresholds for RST SI Pull-down Current CS Pull-up Current PWM Pull-down Current I PWM SO High State Output Voltage VSOH ISO-high = -1.6 mA 5.0 25 50 2.0 10 30 SOPWR - 0.4 SOPWR - 0.2 – – – 0.4 CIN – – 20 μA V VSOL ISO-low = 1.6 mA Input Capacitance on SCLK, SI, Tri-State SO, RST (14) μA I RST RST = 5.0 V SO Low State Output Voltage μA I SCLK SCLK = 5.0 V RST Pull-down Current μA I CS CS = 0 V SCLK Pull-down Current μA I SI SI = 5.0 V V pF Notes 13. Upper and lower logic threshold voltage levels apply to SI, CS, SCLK, and PWM. 14. This parameter is guaranteed by design; however, it is not production tested. 33996 6 Analog Integrated Circuit Device Data Freescale Semiconductor ELECTRICAL CHARACTERISTICS DYNAMIC ELECTRICAL CHARACTERISTICS DYNAMIC ELECTRICAL CHARACTERISTICS Table 4. DYNAMIC ELECTRICAL CHARACTERISTICS Characteristics noted under conditions of 3.1 V ≤ SOPWR ≤ 5.5 V, 5.0 V ≤ VPWR ≤ 18 V, -40°C ≤ TA ≤ 125°C unless otherwise noted. Where applicable, typical values reflect the parameter’s approximate average value with VPWR = 13 V, TA = 25°C. Characteristic Symbol Min Typ Max Unit 1.0 2.0 10 tDLY (ON) 1.0 2.0 10 μs t DLY(OFF) 1.0 4.0 10 μs tDLY (SHORT) 100 – 450 μs t DLY(OPEN) 100 – 450 μs t FREQ – – 2.0 kHz – – 10 100 – – 50 – – 16 – – 20 – – t R (SI) – 5.0 – ns t F (SI) – 5.0 – ns Time from Falling Edge of CS to SO Low-impedance (20) t SO (EN) – – 50 ns (21) t SO (DIS) – – 50 ns t VALID – 25 80 ns POWER OUTPUT TIMING (VPWR) Output Slew Rate RL = 60Ω SR (15) Output Turn ON Delay Time (16) Output Turn OFF Delay Time (16) Output ON Short Fault Disable Report Delay (17) Output OFF Open Fault Delay Time (17) Output PWM Frequency V/μs DIGITAL INTERFACE TIMING (CS, SO, SI, SCLK) (23) Required Low State Duration on VPWR for Reset Falling Edge of CS to Rising Edge of SCLK t LEAD Required Setup Time Falling Edge of SCLK to Rising Edge of CS SI to Falling Edge of SCLK ns t SI (su) Required Setup Time Falling Edge of SCLK to SI ns t SI (hold) Required Hold Time SI, CS, SCLK Signal Rise Time (19) (19) Time from Rising Edge of CS to SO High-impedance Time from Rising Edge of SCLK to SO Data Valid (22) Notes 15. 16. 17. 18. 19. 20. 21. 22. 23. ns t LAG Required Setup Time SI, CS, SCLK Signal Fall Time μs t RST VPWR ≤ 0.2V (18) ns Output slew rate measured across a 60Ω resistive load. Output turn ON and OFF delay time measured from 50% rising edge of CS to 80% and 20% of initial voltage. Duration of fault before fault bit is set. Duration between access times must be greater than 450μs to read faults. This parameter is guaranteed by design; however, it is not production tested. Rise and Fall time of incoming SI, CS, and SCLK signals suggested for design consideration to prevent the occurrence of double pulsing. Time required for valid output status data to be available on SO pin. Time required for output states data to be terminated at SO pin. Time required to obtain valid data out from SO following the rise of SCLK with 200pF load. This parameter is guaranteed by design. Production test equipment used 4.16MHz, 5.5/3.1V SPI Interface. 33996 Analog Integrated Circuit Device Data Freescale Semiconductor 7 ELECTRICAL CHARACTERISTICS TIMING DIAGRAM TIMING DIAGRAM CS 0.2 VDD t LAG t LEAD 0.7 VDD SCLK 0.2 VDD tSI(su) 0.7 VDD 0.2 VDD SI tSI(hold) MSB IN tSO(en) SO t SO(dis) t VALID 0.7 VDD 0.2 VDD MSB OUT LSB OUT VTri-State Figure 4. SPI Timing Characteristics 33996 8 Analog Integrated Circuit Device Data Freescale Semiconductor ELECTRICAL CHARACTERISTICS ELECTRICAL PERFORMANCE CURVES ELECTRICAL PERFORMANCE CURVES 12 1.4 VPWR @ 13V VPWR @ 13V 1.2 10 1.0 RDS(ON) (Ω) IPWR Current into VPWR Pin (mA) 14 8 6 4 0.8 0.6 0.4 2 -40 -25 0 25 50 75 100 125 -40 -25 TA, Ambient Temperature (°C) IPWR Current into VPWR Pin (uA) IPWR Current into VPWR Pin (µA) 25 50 75 100 125 TA, Ambient Temperature (°C) Figure 5. IPWR vs. Temperature 1.4 14 1.2 12 0 Figure 7. RDS(ON) vs. Temperature Sleep State IPWR versus Temperature 1.4 VPWR @ 13V 1.2 1.0 10 0.8 8 0.6 6 0.4 4 0.2 2 TA = 125°C RDS(ON) (Ω) 1.0 0.8 TA = 25°C TA = -40°C 0.6 0.4 0.2 -40 -25 -40 -25 0 0 25 50 75 100 125 25 50 75 100 125 TA, Ambient Temperature (°C) TA Ambient Temperature Figure 6. Sleep State IPWR vs. Temperature 0 5 10 15 20 25 VPWR (V) Figure 8. RDS(ON) vs. VPWR 33996 Analog Integrated Circuit Device Data Freescale Semiconductor 9 FUNCTIONAL DESCRIPTION FUNCTIONAL PIN DESCRIPTION FUNCTIONAL DESCRIPTION The 33996 is designed and developed for automotive and industrial applications. It is a 16 output power switch having 24 bit serial control. The 33996 incorporates SMARTMOS technology having CMOS logic, bipolar / MOS analog circuitry, and independent DMOS power output transistors. Many benefits are realized as a direct result of using this mixed technology. A simplified internal block diagram of the 33996 is shown in Figure 2, page 2. FUNCTIONAL PIN DESCRIPTION CHIP SELECT (CS) The system MCU selects the 33996 to be communicated with through the use of the Chip Select (CS) pin. When the CS pin is in a logic low state, data can be transferred from the MCU to the 33996 and vise versa. Clocked-in data from the MCU is transferred from the 33996 Shift register and latched into the power outputs on the rising edge of the CS signal. On the falling edge of the CS signal, output fault status information is transferred from the Power Outputs Status register into the device’s SO Shift register. The SO pin output driver is enabled when CS is low, allowing information to be transferred from the 33996 to the MCU. To avoid any spurious data, it is essential the high-to-low transition of the CS signal occur only when SCLK is in a logic low state. SYSTEM CLOCK (SCLK) The System Clock (SCLK) pin clocks the Internal Shift registers of the 33996. The Serial Input (SI) pin accepts data into the Input Shift register on the falling edge of the SCLK signal, while the Serial Output (SO) pin shifts data information out of the Shift register on the rising edge of the SCLK signal. False clocking of the Shift register must be avoided, ensuring validity of data. It is essential that the SCLK pin be in a logic low state whenever the CS pin makes any transition. For this reason, it is recommended, though not necessary, that the SCLK pin is commanded to a low logic state as long as the device is not accessed (CS in logic high state). When the CS is in a logic high state, any signal at the SCLK and SI pins is ignored and the SO is tri-stated (high impedance). SERIAL INPUT (SI) The Serial Input (SI) pin is used to enter one of seven serial instructions into the 33996. SI SPI bits are latched into the Input Shift register on each falling edge of SCLK. The Shift register is full after 24 bits of information are entered. The 33996 operates on the command word on the rising edge of CS. To preserve data integrity, exercise care not to transition SI as SCLK transitions from high to low state (see Figure 4, page 8). SERIAL OUTPUT (SO) The Serial Output (SO) pin transfers fault status data from the 33996 to the MCU. The SO pin remains tri-state until the CS pin transitions to a logic low state. All faults on the 33996 are reported to the MCU as logic . Conversely, normal operating outputs with nonfaulted loads are reported as logic . On the falling edge of the CS signal, output fault status information is transferred from the Power Outputs Status register into the device’s SO Shift register. The first eight positive transitions of SCLK will provide Any Fault (bit 23), over-voltage fault (bit 22), followed by six logic s (bits 21 to 16). The next 16 successive positive transitions of SCLK provides fault status for output 15 to output 0. Refer to the LOGIC OPERATION section (below) for more information. The SI / SO shifting of data follows a first-in, firstout protocol, with both input and output words transferring the Most Significant Bit (MSB) first. OUTPUT DRIVER POWER SUPPLY (SOPWR) The SOPWR pin is used to supply power to the 33996 SO output driver and Power-ON Reset (POR) circuit. To achieve low standby current on VPWR supply, power must be removed from the SOPWR pin. The 33996 will be in reset with all drivers OFF when SOPWR is below 2.5V. The 33996 does not detect over-voltage on the SOPWR supply pin. OUTPUT/INPUT (OUT0 – OUT15) These pins are low side output switches controlling the load. RESET (RST) The Reset (RST) pin is the active low reset input pin used to turn OFF all outputs, thereby clearing all internal registers. BATTERY INPUT (VPWR) The VPWR pin is used as the input power source for the 33996. The voltage on VPWR is monitored for over-voltage protection and shutdown. An over-voltage condition (> 50μs) on the VPWR pin will cause the 33996 to shut down all outputs until the over-voltage condition is removed. Upon return to normal input voltage, the outputs will respond as programmed by the over-voltage bit in the Global Shutdown / Retry Control register. The over-voltage threshold on the VPWR pin is specified as 27.5 to 35 V with 1.4V typical hysteresis. Following an over-voltage shutdown of output drivers, the over-voltage Fault and the Any Fault bits in the SO bit stream will be logic . PWM CONTROL (PWM) The PWM Control pin is provided to support PWM of any combination of outputs. The LOGIC OPERATION section describes the logic for PWM control. 33996 10 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DESCRIPTION OPERATIONAL MODES OPERATIONAL MODES On each SPI communication, a 24 bit command word is sent to the 33996 and 24 bit fault word is received from the 33996. The Most Significant Bit (MSB) is sent and received first. Command Register Definition: 0 = Output Command Off 1 = Output Command On SO Definition: 0 = No fault 1 = Fault Table 5. Fault Operation Serial Output (SO) Pins Reports Over-temperature Fault reported by Serial Output (SO) pin. Over-current SO pin reports short to battery/supply or over-current condition. Output “ON’ Open Load Fault Not reported. Output “OFF’” Open Load Fault SO pin reports output “OFF’” open load condition. Device Shutdowns Over-voltage Total device shutdown at VPWR = 27.5 V to 35 V. Resumes normal operation with proper voltage. Upon recovery all outputs assume previous state or OFF based on the Overvoltage bit in the Global Shutdown/Retry Control Register. Over-temperature Only the output experiencing an over-temperature fault shuts down. Output may auto-retry or remain off according to the control bits in the Global Shutdown/Retry Control Register. Over-current Output will remain in current limit 0.9 A to 2.5 A until thermal limit is reached. When thermal limit is reached, device will enter over-temperature shutdown. Output will operate as programmed in the Global Shutdown/Retry Control Register. Fault flag in SO Response word will be set. MCU INTERFACE DESCRIPTION In operation the 33996 functions as a 16-output serial switch serving as a microcontroller (MCU) bus expander and buffer with fault management and fault reporting features. In doing so, the device directly relieves the MCU of the fault management functions. The 33996 directly interfaces to an MCU and operates at system clock serial frequencies up to 6.0MHz using a Serial Peripheral Interface (SPI) for control and diagnostic readout. Figure 9 shows the basic SPI configuration between an MCU and one 33996. MC68HCXX Microcontroller Shift Register 33996 MOSI SI MISO SO 24-Bit Shift Register SCLK Receive Buffer To Logic RST Parallel Ports CS PWM Figure 9. 33996 SPI Interface with Microcontroller All inputs are compatible with 3.3 / 5.0V CMOS logic levels and incorporate positive logic. An input that is programmed to a logic low state (< 0.8V) will have the corresponding output OFF. Conversely, an input programmed to a logic high state (> 2.2V) will have the output being controlled ON. 33996 Analog Integrated Circuit Device Data Freescale Semiconductor 11 FUNCTIONAL DESCRIPTION OPERATIONAL MODES Diagnostics is treated in a similar manner — outputs with a fault will feedback (via SO) to the MCU a logic , while normal operating outputs will provide a logic . The 33996 may be controlled and provide diagnostics using a daisy chain configuration or in parallel mode. Figure 10 shows the daisy chain configuration using the 33996. Data from the MCU is clocked daisy chain through each device while the Chip Select bit (CS) is commanded low by the MCU. During each clock cycle, output status from the daisy-chained 33996s is being transferred back to the MCU via the Master In Slave Out (MISO) line. On rising edge of CS, data stored in the input register is transferred to the output driver. Daisy chain control of the 33996 requires 24 bits per device. Multiple 33996 devices can be controlled in a parallel input fashion using the SPI. Figure 11, page 12, illustrates potentially 32 loads being controlled by two dedicated parallel MCU ports used for chip select. MC68HCXX Microcontroller 33996 MOSI Shift Register MISO SCLK PWM1 PWM2 Parallel Ports SI SO SCLK CS PWM RST 33996 SI SO SCLK CS PWM RST Figure 10. 33996 SPI System Daisy Chain MC68HCXX Microcontroller 33996 MOSI Shift Register MISO SCLK PWM1 Parallel Ports SI SO SCLK CS PWM PWM2 RST 33996 SI SO SCLK CS PWM RST Figure 11. Parallel Inputs SPI Control 33996 12 Analog Integrated Circuit Device Data Freescale Semiconductor LOGIC COMMANDS AND REGISTERS INTRODUCTION LOGIC COMMANDS AND REGISTERS INTRODUCTION The 33996 provides flexible control of 16 low-side driver outputs. The device allows PWM and ON /OFF control through the use of several 24 bit input command words. This section describes the logic operation and command registers of the 33996. The 33996 message set consists of seven messages as shown in Table 6. Bits 23 through18 determine the specific command and bits 15 through 0 determine how a specific output will operate. The 33996 operates on the command word on the rising edge of CS. Note Upon Power-ON Reset all bits are defined as shown in Table 6. Table 6. SPI Control Commands MSB Commands Bits LSB 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ON/OFF Control 0 = off, 1 = on 0 0 0 0 0 0 X X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Open Load Current Enable 0 = disable, 1 = enable 0 0 0 0 0 1 X X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Global Shutdown/Retry Control 0 = shutdown, 1 = retry 0 0 0 0 1 0 Thermal Bit 0 Overvoltage 0 X X X X X X X X X X X X X X X X SFPD Control 1 = therm only, 0 = VDS 0 0 0 0 1 1 X X 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 PWM Enable 0 = SPI only, 1 = PWM 0 0 0 1 0 0 X X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 AND/OR Control 0 = PWM pin AND with SPI 1 = PWM pin OR with SPI 0 0 0 1 0 1 X X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Reset 0 0 0 1 1 0 X X X X X X X X X X X X X X X X X X 0 0 0 0 0 0 SO Response 0 = No Fault, 1 = Fault Any overvoltFault age OUT OUT OUT OUT OUT OUT OUT OUT OUT OUT OUT OUT OUT OUT OUT OUT 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ON/OFF CONTROL REGISTER To program the 16 outputs of the 33996 ON or OFF, a 24 bit serial stream of data is entered into the SI pin. The first 8 bits of the control word are used to identify the on/off command and the remaining 16 bits are used to turn ON or OFF the specific output driver. OPEN LOAD CURRENT ENABLE CONTROL REGISTER The Open Load Current Enable Control register is provided to enable or disable the 50μA open load detect pulldown current. This feature allows the device to be used in LED applications. Power-ON Reset (POR) or the RST pin or the RESET command disables the 50μA pull-down current. No open load fault will be reported with the pull-down current disabled. For open load to be active, the user must program the Open Load Current Enable Control register with logic . GLOBAL SHUTDOWN/RETRY CONTROL REGISTER The Global Shutdown/Retry Control register allows the user to select the global fault strategy for the outputs. The over-voltage control bit (bit 16) sets the operation of the outputs when returning from over-voltage. Setting the overvoltage bit to logic  will force all outputs to remain off when VPWR returns to normal level. Setting the over-voltage bit to logic  will command outputs to resume their previous state when VPWR returns to normal level. Bit 17 is the global thermal bit. When bit 17 is set to logic , all outputs will shut down when thermal limit is reached and remain off even after cooled. With bit 17 set to logic , all outputs will shut down when thermal limit is reached and will retry when cooled. SHORT FAULT PROTECT DISABLE (SFPD) CONTROL REGISTER All outputs contain current limit and thermal shutdown with programmable retry. The SFPD control bits are used for fast shutdown of the output when over-current condition is detected but thermal shutdown has not been achieved. The SFPD Control register allows the user to select specific outputs for incandescent lamp loads and specific outputs for inductive loads. By programming the specific SFPD bit as logic , output will rely on over-temperature shutdown only. Programming the specific SFPD bit as logic  will shut down the output after 100 to 450μs during turn on into short circuit. The decision for shutdown is based 33996 Analog Integrated Circuit Device Data Freescale Semiconductor 13 LOGIC COMMANDS AND REGISTERS INTRODUCTION on output drain-to-source voltage (VDS ) > 2.7V. This feature is designed to provide protection to loads that experience more than expected currents and require fast shutdown. The 33996 is designed to operate in both modes with full device protection. OR control to occur, the PWM Enable bit must be set to logic . On/Off Control Bit On/Off Control Bit PWM ENABLE REGISTER The PWM Enable register determines the outputs that are PWM controlled. The first 8 bits of the 24 bit SPI message word are used to identify the PWM enable command, and the remaining 16 bits are used to enable and disable the PWM of the output drivers. A logic  in the PWM Enable register will disable the outputs as PWM. A logic  in the PWM Enable register will set the specific output as a PWM. Power-ON Reset or the RST pin or the RESET command will set the PWM Enable register to logic . AND/OR CONTROL REGISTER The AND /OR Control register describes the condition by which the PWM pin controls the output driver. A logic  in the AND /OR Control register will AND the PWM input pin with the ON /OFF Control register bit. Likewise, a logic  in the AND /OR Control register will OR the PWM input pin with the ON /OFF Control register bit (see Figure 12). For the AND / PWM Enable Bit To Gate Control PWM IN AND/OR Control Bit On/Off control Bit PWM IN Figure 12. PWM Control Logic Diagram SERIAL OUTPUT (SO) RESPONSE REGISTER Fault reporting is accomplished through the SPI interface. All logic [1s] received by the MCU via the SO pin indicate fault. All logic [0s] received by the MCU via the SO pin indicate no fault. All fault bits are cleared on the positive edge of CS. SO bits 15 to 0 represent the fault status of outputs 15 to 0. SO bits 21 to 16 will always return logic . Bit 22 provides over-voltage condition status and bit 23 is set when any fault is present in the IC. The timing between two write words must be greater than 450μs to allow adequate time to sense and report the proper fault status. RESET COMMAND The RESET command turns all outputs OFF and sets the following registers to a POR state (refer to Table 6). • ON/OFF Control Register • SFPD Control Register • PWM Enable Register • AND/OR Control Register The Open Load Current Enable and the Global Shutdown Registers are not affected by the RESET command. 33996 14 Analog Integrated Circuit Device Data Freescale Semiconductor TYPICAL APPLICATIONS INTRODUCTION TYPICAL APPLICATIONS Power Consumption The 33996 has been designed with one Sleep mode and one Operational mode. In Sleep mode (SOPWR ≤ 2.0V) the current consumed by the VPWR pin is less than 10μA. To place the 33996 in Sleep mode, turn all outputs OFF and remove power from the SOPWR pin. During normal operation, 500μA is drawn from the SOPWR supply and 8.0mA from the VPWR supply. Paralleling of Outputs Using MOSFETs as output switches allows the connection of any combination of outputs together. The RDS(ON) of MOSFETs has an inherent positive temperature coefficient, providing balanced current sharing between outputs without destructive operation. This mode of operation may be desirable in the event the application requires lower power dissipation or the added capability of switching higher currents. Performance of parallel operation results in a corresponding decrease in RDS(ON), while the Output Current Limit increases correspondingly. Output OFF Open Load Detect current may increase based on how the Output OFF Open Load Detect is programmed. Paralleling outputs from two or more different IC devices is possible but not recommended. Care must be taken when paralleling outputs for inductive loads. The Output Voltage Clamp of the output drivers may not match. One MOSFET output must be capable of the inductive energy from the load turn OFF. SPI Integrity Check Checking the integrity of the SPI communication is recommended upon initial power-up of the SOPWR pin. After initial system start-up or reset, the MCU writes one 48-bit pattern to the 33996. The first 24 bits read by the MCU is the fault status of the outputs, while the second 24 bits is the first bit pattern sent. By the MCU receiving the same bit pattern it sent, bus integrity is confirmed. Please note the second 24 bits the MCU sends to the 33996 are the command bits and will program registers or activate outputs on the rising edge of CS. Output OFF Open Load Fault An Output OFF Open Load Fault is the detection and reporting of an open load when the corresponding output is disabled (input bit programmed to a logic low state). The Output OFF Open Load Fault is detected by comparing the drain-to-source voltage of the specific MOSFET output to an internally generated reference. Each output has one dedicated comparator for this purpose. Each 33996 output has an internal 50μA pull-down current source. The pull-down current is disabled on power-up and must be enabled for Open Load Detect to function. Once enabled, the 33996 will only shut down the pull-down current in Sleep mode or when disabled via the SPI. During output switching, especially with capacitive loads, a false Output OFF Open Load Fault may be triggered. To prevent this false fault from being reported, an internal fault filter of 100 to 450μs is incorporated. The duration for which a false fault may be reported is a function of the load impedance, RDS(ON), COUT of the MOSFET, as well as the supply voltage, VPWR. The rising edge of CS triggers the builtin fault delay timer. The timer must time out before the fault comparator is enabled to detect a faulted threshold. Once the condition causing the Open Load Fault is removed, the device resumes normal operation. The Open Load Fault, however, will be latched in the output SO Response register for the MCU to read. Shorted Load Fault A shorted load (over-current) fault can be caused by any output being shorted directly to supply, or by an output experiencing a current greater than the current limit. Three safety circuits progressively in operation during load short conditions afford system protection: 1. The device’s output current is monitored in an analog fashion using a SENSEFET approach and is current limited. 2. With the output in current limit, the drain-to-source voltage will increase. By setting the SFPD bit to 0, the output will shut down on VDS > 2.7V typical after 450μs. 3. The device’s output thermal limit is sensed and when attained causes only the specific faulted output to shutdown. The device remains OFF until cooled. The device then operates as programmed by the shutdown/ retry bit. The cycle continues until the fault is removed or the command bit instructs the output OFF. All three protection schemes set the Fault Status bit (bit 23 in the SO Response register) to logic . Under-voltage Shutdown An under voltage SOPWR condition results in the global shutdown of all outputs and reset of all control registers. The under-voltage threshold is between 2.0 and 3.0V. An under-voltage condition at the VPWR pin results in an output shutdown and reset. The under-voltage threshold is between 3.2 and 3.5V. When VPWR is between 5.0 and 3.5V, the output may operate per the command word and the status is reported on SO pin, though this is not guaranteed. Output Voltage Clamp Each output of the 33996 incorporates an internal voltage clamp to provide fast turn-OFF and transient protection of each output. Each clamp independently limits the drain-tosource voltage to 50V. The total energy clamped (EJ) can be 33996 Analog Integrated Circuit Device Data Freescale Semiconductor 15 TYPICAL APPLICATIONS INTRODUCTION calculated by multiplying the current area under the current curve (IA) times the clamp voltage (VCL) (see Figure 13). Characterization of the output clamps, using a single pulse non-repetitive method at 0.3A, indicates the maximum energy to be 50mJ at 150°C junction temperature per output. Drain-to-Source C lamp Drain-to-Source Voltage (V CL =Clamp 45 V) V) 50 Voltage (VCL = 50V) Drain DrainVoltage Voltage Drain-to-Source ON Drain-to-Source ON Voltage (V (O N) ) Voltage (VDS DS(ON)) GND G ND Over-temperature Fault Clamp Energy Clamp Energy (EJ(E= IAVG VCL)) = I xx V DrainCurrent Current Drain 0.3 A) (I(IDD==0.3A) J A Curren t Area (IA ) All outputs consist of a power MOSFET with an integral substrate diode. During reverse battery condition, current will flow through the load via the substrate diode. Under this circumstance relays may energize and lamps will turn on. If load reverse battery protection is desired, a diode must be placed in series with the load. CL Time Time Figure 13. Output Voltage Clamping Reverse Battery Protection Over-temperature detect circuits are specifically incorporated for each individual output. The shutdown following an over temperature condition depends on the control bit set in the Global Shutdown / Retry Control register. Each independent output shuts down at 155°C to 180°C. When an output shuts down due to an Over-temperature Fault, no other outputs are affected. The MCU recognizes the fault by a logic  in the Fault Status bit (bit 23 in the SO Response register). After the 33996 has cooled below the switch point temperature and 10°C hysteresis, the output will function as defined by the shutdown / retry bit 17 in the Global Shutdown/Retry Control register. The 33996 device requires external reverse battery protection on the VPWR pin. 33996 16 Analog Integrated Circuit Device Data Freescale Semiconductor PACKAGING PACKAGE DIMENSIONS PACKAGING PACKAGE DIMENSIONS Important: For the most current package revision, visit www.freescale.com and search on keyword for 98A number listed below. EK SUFFIX (PB-FREE) 32-PIN SOICW EP 98ARL10543D REVISION C 33996 Analog Integrated Circuit Device Data Freescale Semiconductor 17 PACKAGING PACKAGE DIMENSIONS (CONTINUED) PACKAGE DIMENSIONS (CONTINUED) EK SUFFIX (PB-FREE) 32-PIN SOICW EP 98ARL10543D REVISION C 33996 18 Analog Integrated Circuit Device Data Freescale Semiconductor PACKAGING PACKAGE DIMENSIONS (CONTINUED) EK SUFFIX (PB-FREE) 32-PIN SOICW EP 98ARL10543D REVISION C 33996 Analog Integrated Circuit Device Data Freescale Semiconductor 19 ADDITIONAL DOCUMENTATION THERMAL ADDENDUM (REV 2.0) ADDITIONAL DOCUMENTATION 33996EK THERMAL ADDENDUM (REV 2.0) Introduction This thermal addendum is provided as a supplement to the MC33996 technical datasheet. The addendum provides thermal performance information that may be critical in the design and development of system applications. All electrical, application, and packaging information is provided in the datasheet. 32-PIN SOICW-EP Packaging and Thermal Considerations The MC33996 is offered in a 32 pin SOICW exposed pad, single die package. There is a single heat source (P), a single junction temperature (TJ), and thermal resistance (RθJA). TJ = RθJA . P The stated values are solely for a thermal performance comparison of one package to another in a standardized environment. This methodology is not meant to and will not predict the performance of a package in an application-specific environment. Stated values were obtained by measurement and simulation according to the standards listed below. EK (PB-FREE) SUFFIX 98ARL10543D 32-PIN SOICW-EP Note For package dimensions, refer to the 33996 data sheet. Standards Table 7. Thermal Performance Comparisons Thermal Resistance [°C/W] RθJA (1), (2) 29 RθJB (2), (3) 9.0 RθJA (1), (4) 69 RθJC (5) 2.0 Notes: 1. Per JEDEC JESD51-2 at natural convection, still air condition. 2. 2s2p thermal test board per JEDEC JESD51-5 and JESD51-7. 3. Per JEDEC JESD51-8, with the board temperature on the center trace near the center lead. 4. Single layer thermal test board per JEDEC JESD51-3 and JESD51-5. 5. Thermal resistance between the die junction and the exposed pad surface; cold plate attached to the package bottom side, remaining surfaces insulated. *All Measurements are in Millimeters 1.0 1.0 0.2 0.2 32 Pin SOICW-EP 0.65 Pitch 11.0 mm x 7.5mm Body 4.6 mm x 5.7 mm Exposed Pad Figure 14. Surface Mount for SOICW Exposed Pad 33996 20 Analog Integrated Circuit Device Data Freescale Semiconductor ADDITIONAL DOCUMENTATION THERMAL ADDENDUM (REV 2.0) A OUT0 OUT1 SOPWR OUT2 OUT3 VPWR GND GND GND GND SCLK OUT4 OUT5 CS OUT6 OUT7 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 OUT15 OUT14 PWM OUT13 OUT12 RST GND GND GND GND SO OUT11 OUT10 SI OUT9 OUT8 33996 Pin Connections 32-Pin SOICW EP 0.65 mm Pitch 11.0mm x 7.5mm Body 4.6 x 5.7mm exposed pad Device on Thermal Test Board Material: Outline: Figure 15. Thermal Test Board Table 8. Thermal Resistance Performance Single layer printed circuit board FR4, 1.6mm thickness Cu traces, 0.07 mm thickness 80 mm x 100mm board area, including edge connector for thermal testing Area A: Cu heat-spreading areas on board surface Ambient Conditions: Natural convection, still air A [mm2] RθJA [°C/W] 0 70 300 49 600 47 RθJA is the thermal resistance between die junction and ambient air. 33996 Analog Integrated Circuit Device Data Freescale Semiconductor 21 ADDITIONAL DOCUMENTATION THERMAL ADDENDUM (REV 2.0) 80 Thermal Resistance [ºC/W] 70 60 50 40 30 x 20 RθJA [°C/W] 10 0 0 300 600 Heat Spreading Area A [mm²] Figure 16. Device on Thermal Test Board RθJA Thermal Resistance [ºC/W] 100 10 x 1 0.1 1.00E-03 1.00E-02 1.00E-01 RθJA [°C/W] 1.00E+00 1.00E+01 1.00E+02 1.00E+03 1.00E+04 Time[s] Figure 17. Transient Thermal Resistance RθJA, 1 W Step response, Device on Thermal Test Board Area A = 600 (mm2) 33996 22 Analog Integrated Circuit Device Data Freescale Semiconductor REVISION HISTORY REVISION HISTORY REVISION DATE DESCRIPTION OF CHANGES 3 12/2005 • • Implemented Revision History page Changed Static Electrical Table, IPWR (SS) Min characteristics, from “-10” to “-”. 4 9/2006 • Added Thermal Addendum 4/2007 • • Minor labeling corrections to 33996 Simplified Internal Block Diagram on page 2 - changed pins SCLK to CS and CSB to SCLK. Removed Peak Package Reflow Temperature During Reflow (solder reflow) parameter from MAXIMUM RATINGS on page 4. Added note with instructions from www.freescale.com. Added the EK package type to the included thermal addendum. 5 • 6 6/2007 • Added MCZ33996EK/R2. 7 8/2008 • Updated package drawing 8.0 8/2008 • Added Exposed Pad pin to Pin Definitions (Table 1) on page 3. 33996 Analog Integrated Circuit Device Data Freescale Semiconductor 23 How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 +1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 [email protected] Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 [email protected] For Literature Requests Only: Freescale Semiconductor Literature Distribution Center P.O. Box 5405 Denver, Colorado 80217 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 [email protected] MC33996 Rev. 8.0 8/2008 RoHS-compliant and/or Pb-free versions of Freescale products have the functionality and electrical characteristics of their non-RoHS-compliant and/or non-Pb-free counterparts. For further information, see http://www.freescale.com or contact your Freescale sales representative. For information on Freescale’s Environmental Products program, go to http:// www.freescale.com/epp. Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor 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 Semiconductor 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 Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc., 2007-2008. All rights reserved.