Freescale Semiconductor Advance Information Document Number: MC33999 Rev. 5.0, 12/2011 16-Output Switch with SPI and PWM Control 33999 The 33999 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. Eight parallel inputs are also provided for direct Pulse Width Modulation (PWM) control of eight dedicated outputs. Additionally, an output-programmable PWM input provides PWM of any combination of outputs. A dedicated reset input provides the ability to clear all internal registers and turn all outputs off. The 33999 directly interfaces with microcontrollers and is compatible with both 3.3 V and 5.0 V CMOS logic levels. The 33999, in effect, serves as a bus expander and buffer with fault management features that reduces the MCU’s fault management burden. POWER DUAL OCTAL SERIAL SWITCH WITH SERIAL PERIPHERAL INTERFACE I/O EK SUFFIX (PB-FREE) 98ASA10506D 54-PIN SOICW EXPOSED PAD Features ORDERING INFORMATION • Designed to Operate 5.0 V < VPWR < 27 V • 24-Bit SPI for Control and Fault reporting, 3.3 V/5.0 V Compatible Temperature Device Package • Outputs Are Current Limited (0.9 A to 2.5 A) to Drive Range (TA) Incandescent Lamps MCZ33999EK/R2 -40°C to 125°C 54 SOICW-EP • Output Voltage Clamp of +50 V 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 Overtemperature Protection • Output Selectable for PWM Control • Output ON Short-to-VBAT and OFF Short-to-Ground /Open Detection • 54-Pin Exposed Pad Package for Thermal Performance • Pb-Free Packaging Designated by Suffix Code EK 3.3 V/5.0 V VDD VPWR 33999 SOPWR VPWR SCLK CS SI SO PWM RST PWM0 PWM1 PWM6 PWM7 PWM8 PWM9 PWM14 PWM15 OUT0 OUT1 OUT2 OUT3 OUT4 OUT5 OUT6 OUT7 OUT8 OUT9 OUT10 OUT11 OUT12 OUT13 OUT14 OUT15 VBAT MCU SCLK CS MISO MOSI PWM RST Solenoid/Relay LED Lamp GND Figure 1. 33999 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 - 2011. All rights reserved. INTERNAL BLOCK DIAGRAM INTERNAL BLOCK DIAGRAM VPWR VDD PWM 50 10 A RST 47 25 A CS 23 10 A SCLK 20 SI 32 SO 35 Input Buffers 10 A 10 A Overvoltage Detect Voltage Regulator OVD VDD RB SFPDB SFL CS SCLK SI SO CSI CSBI PWM1 4 PWM6 24 PWM7 27 PWM8 28 PWM9 31 PWM14 51 PWM15 54 GE OT SF OF Serial D/O Line Driver OUT0 2 VDD Bias 50 V Gate Control OUT1– OUT 15: 3, 6, 7, 21, 22, 25, 26, 29, 30, 33, 34, 48, 49, 52, 53 To Gates 1 to 15 VRef Open Load Detect Enable SPI Interface Logic ILIMIT RS 50 A GND Pins: 10 – 18 37 – 40 42 – 45 Short and Open Circuit Detect Overtemperature Detect SOPWR 5 PWM0 1 8 PWM0 From Detectors 1 to 15 10 A PWM1 10 A PWM6 10 A PWM7 10 A PWM8 10 A PWM9 10 A PWM14 10 A PWM15 10 A Figure 2. 33999 Simplified Internal Block Diagram 33999 2 Analog Integrated Circuit Device Data Freescale Semiconductor PIN CONNECTIONS PIN CONNECTIONS PWM0 OUT0 OUT1 PWM1 SOPWR OUT2 OUT3 VPWR NC NC GND GND GND GND GND GND GND NC NC SCLK OUT4 OUT5 1 54 2 53 3 52 4 51 5 50 6 49 7 48 PWM15 OUT15 OUT14 PWM14 PWM OUT13 OUT12 8 47 RST 9 46 10 45 11 44 12 43 13 42 14 41 15 40 16 39 17 38 18 37 19 36 20 35 21 34 22 33 CS 23 32 PWM6 OUT6 OUT7 PWM7 24 31 25 30 26 29 27 28 NC NC GND GND GND NC GND GND GND NC NC SO OUT11 OUT10 SI PWM9 OUT9 OUT8 PWM8 Figure 3. 33999 Pin Connections Table 1. 33999 Pin Definitions A functional description of each pin can be found in the Functional Pin Description section beginning on page 10. Pin Name Pin Function Formal Name 1, 4, 24, 27, 28, 31, 51, 54 PWM0, PWM1, PWM6 – PWM9, PWM14, PWM15 Input PWMn Input 2, 3, 6, 7, 21, 22, 25, 26, 29, 30, 33, 34, 48, 49, 52, 53 OUT0 – OUT15 Output Output 0 – Output 15 5 SOPWR Power SOPWR Supply 8 VPWR Input Battery Input Battery supply input pin. 9, 10, 18, 19, 36, 37, 41, 45, 46 NC N/C No Connect These pins have no connection. 11 –17, 38 – 40, 42 – 44 GND Ground Ground Ground for logic, analog, and power output devices. 20 SCLK Input System Clock System Clock for internal shift registers of the 33999. 23 CS Input Chip Select SPI control chip select input pin from MCU to 33999. 32 SI Input Serial Input Serial data input pin to the 33999. 35 SO Output Serial Output 47 RST Input Reset 50 PWM Input PWM Control Pin Pin Number Definition Parallel PWM control Input pins. Allows direct PWM control of eight outputs. Low-side driver outputs. Power supply pin to the SO output driver. Serial data output pin. Active low reset input pin. PWM control input pin. Supports PWM on any combination of outputs. 33999 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. Exceeding these ratings may cause a malfunction or permanent damage to the device. Ratings Symbol Value Unit VPWR -1.5 to 50 V SOPWR -0.3 to 7.0 V VIN -0.3 to 7.0 V VDS -0.3 to 45 V fSPI 6.0 MHz ECLAMP 50 mJ ELECTRICAL RATINGS VPWR Supply Voltage (1) SPI Interface Logic Supply Voltage (1) SPI Interface Logic Input Voltage (CS, PWM, SI, SO, SCLK, RST, PWMn) Output Drain Voltage Frequency of SPI Operation Output Clamp Energy ESD Voltage (2) (3) (1) (4) V Human Body Model VESD1 ±2000 Machine Model VESD2 ±200 TA -40 to 125 THERMAL RATINGS C Operating Temperature Ambient Junction TJ -40 to 150 TC -40 to 125 TSTG -55 to 150 PD 1.7 W TPPRT Note 7 °C Junction-to-Ambient (8) RJA 75 Junction- to-Lead (9) RJL 8.0 Junction-to-Flag RJC 1.2 Case Storage Temperature Power Dissipation (TA 25C) (5) Peak Package Reflow Temperature During Reflow (6), (7) Thermal Resistance Notes 1. 2. 3. 4. 5. 6. 7. 8. 9. C C/W 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 non-repetitive pulse method. ESD data is available upon request. ESD testing is performed in accordance with the Human Body Model (CZAP = 100 pF, RZAP = 1500 ) and the Machine Model (CZAP = 200 pF, 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). 33999 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.1 V SOPWR 5.5 V, 5.0 V VPWR 18 V, -40°C TC 125°C unless otherwise noted. Typical values noted reflect the approximate parameter means at VPWR = 13 V, TA = 25°C under nominal conditions unless otherwise noted. Characteristic Symbol Min Typ Max Unit POWER INPUT Supply Voltage Range VPWR(FO) Fully Operational V 5.0 – 27 – 4.0 8.0 IPWR(SS) – 1.0 10 A VOV 27.5 31.5 35 V Overvoltage Shutdown Hysteresis VOV (HYS) 0.6 1.4 2.3 V VPWR Undervoltage 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 SOPWR (UNVOL) 1.5 2.5 3.0 V Supply Current IPWR(ON) All Outputs ON, IOUT = 0.3 A Sleep State Supply Current at RST 0.2 SOPWR and / or SOPWR 0.5 V Overvoltage Shutdown SPI Interface Logic Supply Voltage SPI Interface Logic Supply Undervoltage Lockout Threshold mA POWER OUTPUT Drain-to-Source ON Resistance (IOUT = 0.35 A, VPWR = 13 V) RDS(ON) TJ = 125C – 0.75 1.1 TJ = 25C – 0.55 – TJ = -40C – 0.45 – 0.9 1.2 2.5 2.5 3.0 3.5 25 50 100 45 50 55 Output Self-Limiting Current IOUT (LIM) Outputs Programmed ON Output Fault Detect Threshold (10) VOUTTH(F) Outputs Programmed OFF Output Off Open Load Detect Current (11) V A I OCO Outputs Programmed OFF (VPWR = 5.0 V, 13 V, 18 V) Output Clamp Voltage VCL 2.0 mA IOUT 200 mA Output Leakage Current V A IOUT (LKG) SOPWR 2.0 V Overtemperature Shutdown (Outputs OFF) Overtemperature Shutdown Hysteresis A (12) (12) -10 2.0 10 TLIM 155 165 180 C TLIM (HYS) 5.0 10 20 C 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 but is not production tested. 33999 Analog Integrated Circuit Device Data Freescale Semiconductor 5 ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS Table 3. Static Electrical Characteristics (continued) Characteristics noted under conditions 3.1 V SOPWR 5.5 V, 5.0 V VPWR 18 V, -40°C TC 125°C unless otherwise noted. Typical values noted reflect the approximate parameter means at VPWR = 13 V, TA = 25°C under nominal conditions unless otherwise noted. Characteristic Symbol Min Typ Max Unit VINLOGIC 0.8 – 2.2 V VINRST 0.8 – 2.2 V DIGITAL INTERFACE Input Logic Voltage Thresholds (13) Input Logic Voltage Thresholds for RST SI Pulldown Current CS Pullup Current 10 30 -30 -10 -2.0 2.0 10 30 5.0 25 50 A A ISCLK SCLK = 5.0 V RST Pulldown Current 2.0 ICS CS = 0 V SCLK Pulldown Current A ISI SI = 5.0 V A IRST RST = 5.0 V PWM and PWMn Pulldown Current IPWM 2.0 10 30 A SO High-State Output Voltage VSOH SOPWR 0.4 SOPWR 0.2 – V – – 0.4 – – 20 ISO-high = -1.6 mA SO Low-State Output Voltage VSOL ISO-low = 1.6 mA Input Capacitance on SCLK, SI, Tri-State SO, RST (14) CIN V pF Notes 13. Upper and lower logic threshold voltage levels apply to SI, CS, SCLK, PWM, and PWMn. 14. This parameter is guaranteed by design but is not production tested. 33999 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 3.1 V SOPWR 5.25 V, 9.0 V VPWR 16 V, -40°C TC 125°C unless otherwise noted. Typical values noted reflect the approximate parameter means at VPWR = 13 V, TA = 25°C under nominal conditions unless otherwise noted. Characteristic Symbol Min Typ Max Unit POWER OUTPUT TIMING Output Slew Rate RL = 60 Output Turn ON Delay Time V/s SR (15) (16) Output Turn OFF Delay Time (16) Output ON Short Fault Disable Report Delay Output OFF Open Fault Delay Time (17) (17) Output PWM Frequency 1.0 2.0 10 T DLY (ON) 1.0 2.0 10 s T DLY(OFF) 1.0 4.0 10 s T DLY(SHORT) 100 – 450 s T DLY (OPEN) 100 – 450 s T FREQ – – 2.0 kHz – – 10 DIGITAL INTERFACE TIMING (23) Required Low State Duration on VPWR for Reset s T RST VPWR 0.2 V (18) Falling Edge of CS to Rising Edge of SCLK (Required Setup Time) T LEAD 100 – – ns Falling Edge of SCLK to Rising Edge of CS (Required Setup Time) T LAG 50 – – ns SI to Falling Edge of SCLK (Required Setup Time) T SI (SU) 16 – – ns Falling Edge of SCLK to SI (Required Setup Time) T SI (HOLD) 20 – – ns T R (SI) – 5.0 – ns SI, CS, SCLK Signal Rise Time SI, CS, SCLK Signal Fall Time (19) (19) T F (SI) – 5.0 – ns Time from Falling Edge of CS to SO Low Impedance (20) T SO (EN) – – 50 ns Time from Rising Edge of CS to SO High Impedance (21) T SO (DIS) – – 50 ns T VALID – 25 80 ns Time from Rising Edge of SCLK to SO Data Valid (22) Notes 15. Output slew rate measured across a 60 resistive load. 16. Output turn ON and OFF delay time measured from 50% rising edge of CS to 80% and 20% of initial voltage. 17. 18. 19. 20. 21. 22. 23. 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 but 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 status data to be terminated at SO pin. Time required to obtain valid data out from SO following the rise of SCLK with 200 pF load. This parameter is guaranteed by design. Production test equipment used 4.16 MHz, 5.5 V/3.1 V SPI Interface. 33999 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 Don't Care 0.2 V MSB OUT LSB OUT VTri-State DD Figure 4. SPI Timing Characteristics 33999 8 Analog Integrated Circuit Device Data Freescale Semiconductor ELECTRICAL CHARACTERISTICS ELECTRICAL PERFORMANCE CURVES ELECTRICAL PERFORMANCE CURVES 14 1.4 10 1.0 RDS(ON) () 1.2 8 6 4 0.8 0.6 0.4 2 -40 -25 1.4 Currentinto intoVPWR VPWR IIPWR , Current PinPin (µA)(uA) PWR VPWR @ 13 V 12 0 25 50 75 100 125 -40 -25 0 25 50 75 100 TA, Ambient Temperature (C) TA, Ambient Temperature (C) Figure 5. IPWR vs. Temperature Figure 7. RDS(ON) vs. Temperature Sleep State IPWR versus Temperature 14 125 1.4 VPWR @ 13 V 1.2 12 1.2 1.0 1.0 10 0.8 RDS(ON) () IPWR, Current into VPWR Pin (mA) VPWR @ 13 V 8 0.6 6 0.4 4 0.2 TA = 125C 0.8 TA = 25C TA = -40C 0.6 0.4 0.2 2 -40 -25 -40 -25 0 0 25 25 50 50 75 75 100 100 125 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 33999 Analog Integrated Circuit Device Data Freescale Semiconductor 9 FUNCTIONAL DESCRIPTION INTRODUCTION FUNCTIONAL DESCRIPTION INTRODUCTION The 33999 is designed and developed for automotive and industrial applications. It is a 16-output power switch having 24-bit serial control. The 33999 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. Figure 2, page 2, illustrates a simplified internal block diagram of the 33999. FUNCTIONAL PIN DESCRIPTION CHIP SELECT (CS) The system MCU selects which 33999 is 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 33999 and vise versa. Clocked-in data from the MCU is transferred from the 33999 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 33999 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 register of the 33999. 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 the SCLK pin be in a logic low state whenever the Chip Select (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 33999. 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 33999 operates on the command word on the rising edge of CS. To preserve data integrity, exercise care to not transition SI as the 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 33999 to the MCU. The SO pin remains tri-state until the CS pin transitions to a logic low state. All faults on the 33999 are reported to the MCU as logic [1]. Conversely, normal operating outputs with nonfaulted loads are reported as logic [0]. 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), Overvoltage Fault (bit 22), followed by six logic [0]s (bits 21 to 16). The next 16 successive positive clock provides fault status for output 15 to output 0. The SI / SO shifting of data follows a first-in, first-out protocol with both input and output words transferring the Most Significant Bit (MSB) first. SO OUTPUT DRIVER POWER SUPPLY (SOPWR) The SOPWR pin is used to supply power to the 33999 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 33999 will be in reset with all drivers OFF when SOPWR is below 2.5 V. The 33999 does not detect overvoltage 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 33999. The voltage on VPWR is monitored for overvoltage protection and shutdown. An overvoltage condition (> 50 s) on the VPWR pin causes the 33999 to shut down all outputs until the overvoltage condition is removed. Upon return to normal input voltage, the outputs respond as programmed by the overvoltage bit in the Global Shutdown/Retry Control register. The overvoltage threshold on the VPWR pin is specified as 27.5 V to 35 V with 1.4 V typical hysteresis. Following an overvoltage shutdown of output drivers, the Overvoltage Fault and the Any Fault bits in the SO bit stream will be logic [1]. 33999 10 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DESCRIPTION FUNCTIONAL PIN DESCRIPTION PWM CONTROL PIN (PWM) The PWM Control pin is provided to support PWM of any combination of outputs. Logic for PWM control is provided in the LOGIC Commands and Registers section (page 15). PULSE WIDTH MODULE (PWMn) PWM0, PWM1, PWM6, PWM7, PWM8, PWM9, PWM14, and PWM15 input pins allow direct PWM control of OUT0, OUT1, OUT6, OUT7, OUT8, OUT9, OUT14, and OUT15, respectively. Logic for PWM control is provided in the LOGIC Commands and Registers section. 33999 Analog Integrated Circuit Device Data Freescale Semiconductor 11 FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES MCU INTERFACE DESCRIPTION In operation the 33999 functions as a 16-output serial switch serving as a microcontroller unit (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 33999 directly interfaces to an MCU, operating at system clock serial frequencies up to 6.0 MHz using a Serial Peripheral Interface (SPI) for control and diagnostic readout. Figure 9 illustrates the basic SPI configuration between an MCU and one 33999. 33999 MOSI MISO Parallel Ports SI MISO SO Shift Register SI SO MOSI SCLK 24-Bit Shift Register SCLK CS Parallel Ports PWM1 PWM2 PWM RST SCLK Receive Buffer MC68HCXX Microcontroller 33999 MC68HCXX Microcontroller Shift Register 33999. 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 33999s 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 then transferred to the output driver. Daisy chain control of the 33999 requires 24 bits per device. RST To Logic CS PWM Figure 9. 33999 SPI Interface with Microcontroller All inputs are compatible with 3.3 V/ 5.0 V CMOS logic levels and incorporate positive logic. An input programmed to a logic low state (< 0.8 V) has the corresponding output OFF. Conversely, an input programmed to a logic high state (> 2.2 V) has the output being controlled ON. Diagnostics is treated in a similar manner—outputs with a fault will feed back (via SO) to the microcontroller a logic [1], while normal operating outputs will provide a logic [0]. The 33999 may be controlled and provide diagnostics using a daisy chain configuration or in parallel mode. Figure 10 shows the daisy chain configuration using the 33999 SI SO SCLK CS PWM RST Figure 10. 33999 SPI System Daisy Chain Multiple 33999 devices can be controlled in a parallel input fashion using the SPI. Figure 11, page 13, illustrates potentially 32 loads being controlled by two dedicated parallel MCU ports used for chip select. 33999 12 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES MC68HCXX Microcontroller 33999 MOSI Shift Register MISO SCLK Parallel Ports PWM1 SI SO SCLK CS PWM PWM2 RST 33999 SI SO SCLK CS PWM RST Figure 11. Parallel Inputs SI Control POWER CONSUMPTION SPI INTEGRITY CHECK The 33999 is designed with one Sleep mode and one Operational mode. In Sleep mode (SOPWR 2.0 V), the current consumed by the VPWR pin is less than 50 A.To place the 33999 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.0 mA from the VPWR supply. Checking the integrity of the SPI communication is recommended upon initial power-up of the SOPWR pin. After initial system startup or reset, the MCU writes one 48-bit pattern to the 33999. 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 33999 are the command bits to program registers or activate outputs on the rising edge of CS. 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. 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 33999 output has an internal 50 A pulldown current source. The pulldown current is disabled on power-up and must be enabled for Open Load Detect to function. Once enabled, the 33999 will only shut down the pulldown current in Sleep mode or when disabled via 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 33999 Analog Integrated Circuit Device Data Freescale Semiconductor 13 FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES filter of 100 µs 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 (overcurrent) 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 increases. By setting the SFPD bit to 0, the output shuts down on VDS > 2.7 V typical after 450 s. 3. The output thermal limit of the device is sensed and, when attained, causes only the specific faulted output to shut down. 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 [1]. UNDERVOLTAGE SHUTDOWN An undervoltage SOPWR condition results in the global shutdown of all outputs and reset of all control registers. The undervoltage threshold is between 2.0 V and 3.0 V. An undervoltage condition at the VPWR pin results in an output shutdown and reset. The undervoltage threshold is between 3.2 V and 3.5 V. When VPWR is between 5.0 V and 3.5 V, 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. Each clamp independently limits the drain-tosource voltage to 50 V. The total energy clamped (EJ) can be calculated by multiplying the current area under the current curve (IA) times the clamp voltage (VCL) (see Figure 12). Characterization of the output clamps, using a single pulse non-repetitive method at 0.3 A, indicates the maximum energy to be 50 mJ at 150C junction temperature per output. Drain-to-Source C lamp Drain-to-Source Voltage (V CL =Clamp 45 50 V) V) Voltage (VCL = 50 V) Drain DrainVoltage Voltage Clamp Energy Clamp Energy (E(E J = I= A Ix V x CL V) ) DrainCurrent Current Drain 0.3A) A) (I(IDD==0.3 Drain-to-Source ON Drain-to-Source ON Voltage (V (O N) ) Voltage (VDS DS(ON)) GND GND J A Curren t Area (IA ) CL Time Time Figure 12. Output Voltage Clamping REVERSE BATTERY PROTECTION The 33999 device requires external reverse battery protection on the VPWR pin. 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. OVERTEMPERATURE FAULT Overtemperature Detect circuits are specifically incorporated for each individual output. The shutdown following an overtemperature condition depends on the control bit set in the Retry / Shutdown Control register. Each independent output shuts down at 155C to 180C. When an output shuts down due to an Overtemperature Fault, no other outputs are affected. The MCU recognizes the fault by a logic [1] in the Fault Status bit (bit 23 in the SO Response register). After the 33999 has cooled below the switch point temperature and 10C hysteresis, the output functions as defined by the retry / shutdown bit 17 in the Global Shutdown / Retry Control register. Each output of the 33999 incorporates an internal voltage clamp to provide fast turn-OFF and transient protection of 33999 14 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS LOGIC COMMANDS AND REGISTERS INTRODUCTION The 33999 message set consists of seven messages as shown in Table 5. Bits 23 through 18 determine the specific command and bits 15 through 0 determine how a specific output will operate. The 33999 operates on the command word on the rising edge of CS. Note Upon Power-ON Reset all bits are defined as shown in Table 5. The 33999 provides flexible control of 16 low-side driver outputs. The device allows PWM and ON /OFF control through the use of several input command words. This section describes the logic operation and command registers of the 33999. Table 5. SPI Control Commands MSB Bits Commands 23 22 ON/OFF Control Register 0 = off, 1 = on 0 0 0 0 0 Open Load Current Enable 0 = disable, 1 = enable 0 0 0 0 Global Shutdown / Retry Control 0 = shutdown, 1 = retry 0 0 0 SFPD Control 1 = therm only, 0 = VDS 0 0 PWM Enable 0 = SPI only, 1 = PWM 0 AND/OR Control 0 = PWM pin AND with SPI 1 = PWM pin OR with SPI Reset SO Response 0 = No Fault, 1 = Fault LSB 17 16 0 X X 0 0 0 0 0 0 1 X X 0 0 0 0 0 1 0 Thermal Bit 0 Overvoltage 0 X X X 0 0 1 1 X X 1 1 0 0 1 0 0 X X 0 0 0 0 1 0 1 X X 0 0 0 1 1 0 X X 0 0 0 0 0 0 Any OverFault voltage 21 20 19 18 ON /OFF CONTROL REGISTER To program the 16 outputs of the 33999 ON or OFF, a 24bit 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 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 pulldown current. No open load fault will be reported with the pulldown current disabled. For open load to be active, the user must program the Open Load Current Enable Control register with logic [1]. GLOBAL SHUTDOWN/RETRY CONTROL REGISTER The Global Shutdown/Retry Control register allows the user to select the global fault strategy for the outputs. The Overvoltage control bit (bit 16) sets the operation of the outputs when returning from overvoltage. Setting the Overvoltage bit to logic [0] will force all outputs to remain OFF 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 X X X X X X X X X X X X X 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 X X X X X X X X X X X X X X X X 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 when VPWR returns to normal level. Setting the Overvoltage bit to logic [1] 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 [0], all outputs will shut down when thermal limit is reached and remain off even after cooled. With bit 17 set to logic [1], 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 a current limit and thermal shutdown with programmable retry. The SFPD control bits are used for fast shutdown of the output when an overcurrent condition is detected but thermal shutdown has not been achieved. The SFPD Control register allows selection of specific outputs for incandescent lamp loads and specific outputs for inductive loads. By programming the specific SFPD bit as logic [1], output will rely on Overtemperature Shutdown only. Programming the specific SFPD bit as logic [0] will shut down the output after 100 s to 450 s during turn on into short circuit. The decision for shutdown is based on output drainto-source voltage (VDS ) > 2.7 V. This feature is designed to provide protection to loads that experience more than expected currents and require fast shutdown. The 33999 is designed to operate in both modes with full device protection. 33999 Analog Integrated Circuit Device Data Freescale Semiconductor 15 FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS PWM ENABLE REGISTER SERIAL OUTPUT (SO) RESPONSE 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 or disable the PWM of the output drivers. A logic [1] in the PWM Enable register allows the user to OR / AND the PWM input with SPI Control bit and disables the specific parallel control input (PWM0, PWM1, PWM6, PWM7, PWM8, PWM9, PWM14, and PWM15). A logic [0] in the PWM Enable register will disable the PWM to a specific output and allow the user to use the parallel PWM control inputs (PWM0, PWM1, PWM6, PWM7, PWM8, PWM9, PWM14, and PWM15) and the SPI ON /OFF Control bits. Power-ON Reset (POR) or the RST pin or the RESET command will set the PWM enable register to logic[0]. Fault reporting is accomplished through the SPI interface. All logic [1]s received by the MCU via the SO pin indicate fault. All logic [0]s 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 [0]. Bit 22 provides overvoltage 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 all internal registers to their Power-ON Reset state (refer to Table 5). FAULT OPERATION AND /OR Control Register The AND /OR Control register describes the condition by which the PWM pin controls the output driver. A logic [0] in the AND / OR Control register will AND the PWM pin with the control bit in the SPI Control register. Likewise, a logic [1] in the AND / OR Control register will OR the PWM pin with the control bit in the ON/OFF Control register (see Figure 13). On/Off Control Bit On/Off Control Bit On each SPI communication, a 24-bit command word is sent to the 33999 and a 24-bit fault word is received from the 33999. 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 PWM Enable Bit PWM IN To Gate Control AND/OR Control Bit On/Off control Bit PWM IN Figure 13. PWM Control Logic Diagram 33999 16 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS Table 6. Fault Operation SERIAL OUTPUT (SO) PIN REPORTS Overtemperature Fault reported by Serial Output (SO) pin. Overcurrent SO pin reports short-to-battery/supply or overcurrent condition. Output ON Open Load Fault Not reported. Output OFF Open Load Fault SO pin reports output “OFF” open load condition. DEVICE SHUTDOWNS Overvoltage 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. Overtemperature Only the output experiencing an overtemperature shuts down. Output may auto-retry or remain OFF according to the control bits in the Global Shutdown / Retry Control register. Overcurrent 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 overtemperature shutdown. Output will operate as programmed in the Global Shutdown/Retry Control register. Fault flag in SO Response word will be set. 33999 Analog Integrated Circuit Device Data Freescale Semiconductor 17 PACKAGING PACKAGE DIMENSIONS PACKAGING PACKAGE DIMENSIONS For the most current package revision, visit www.freescale.com and perform a keyword search using the “98A” listed below. EK SUFFIX (PB-FREE) 54-PIN 98ASA10506D REVISION C 33999 18 Analog Integrated Circuit Device Data Freescale Semiconductor PACKAGING PACKAGE DIMENSIONS EK SUFFIX (PB-FREE) 54-PIN 98ASA10506D REVISION C 33999 Analog Integrated Circuit Device Data Freescale Semiconductor 19 REVISION HISTORY REVISION HISTORY REVISION DATE 2.0 2/2005 3.0 4/2006 4.0 4/2007 5.0 1/2011 DESCRIPTION OF CHANGES • Implemented Revision History page • Converted to Freescale format • Updated status to “Advanced” • Changed orderable Part Number from PC33999EK/R2 to MC33999EK/R2 • Minor labeling corrections to 33999 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 MCZ33999EK/R2 to the Ordering Information. • Removed Part Number MC33999EK/R2 from the Ordering Information Table on page 1. 33999 20 Analog Integrated Circuit Device Data Freescale Semiconductor 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 +1-303-675-2140 Fax: +1-303-675-2150 [email protected] 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 to products herein. Freescale Semiconductor makes no warranty, representation or regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the 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”, be validated for each customer application by technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are 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 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., Reg. U.S. Pat. & Tm. Off. Qorivva, S12 MagniV, SMARTMOS and Xtrinsic are trademarks of Freescale Semiconductor, Inc. ARM is the registered trademark of ARM Limited. The Power Architecture and Power.org word marks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org. All other product or service names are the property of their respective owners. ©2011 Freescale Semiconductor, Inc. MC33999 Rev. 5.0 12/2011