L9950 DOOR ACTUATOR DRIVER 1 ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ 2 FEATURES Figure 1. Package One full bridge for 6A load (ron = 150mΩ ) Two half bridges for 3A load (ron = 300mΩ ) Two half bridges for 1.5A load (ron = 800mΩ ) One highside driver for 6A load (ron = 100mΩ ) Four highside drivers for 1.5A load (ron = 800 mΩ ) Programmable Softstart function to drive loads with higher inrush currents (i.e. current >6A,>3A,>1.5A) Very low current consumption in standby mode IS < 6µA, typ. Tj ≤ 85 °C) All outputs short circuit protected Current monitor output for 300mΩ ,150mΩ and 100m highside drivers All outputs over temperature protected Open load diagnostic for all outputs Overload diagnostic for all outputs Seperated half bridges for door lock motor PWM control of all outputs Charge Pump output for reverse polarity protection APPLICATIONS Door Actuator Driver with bridges for door lock and safe lock, mirror axis control, mirror fold and highside PowerSO36 Table 1. Order Codes Part Number Package L9950 PowerSO36 L9950TR Tape & Reel driver for mirror defroster and four 5W-light bulbs. 3 DESCRIPTION The L9950 is a microcontroller driven multifunctional door actuator driver for automotive applications.Up to five DC motors and five grounded resistive loads can be driven with six half bridges and five highside drivers. The integrated standard serial peripheral interface (SPI) controls all operation modes (forward, reverse, brake and high impedance). All diagnostic informations are available via SPI. Figure 2. Block Diagram 100k VBAT VCC CP 1k PWM2 DI 1k DO 1k CSN 1k PWM1 1k SPI µC 1k CLK Driver Interface & Diagnostic MUX CM/PWM2 10k OUT1 Reverse Polarity Protection ratings in case of an unexpected freewheeling condition (e.g. TSD, POR) xy-Mirror Motors OUT2 M OUT3 M OUT4 M OUT5 Lock OUT6 M Safe Lock M OUT7 Note: value of capacitor has to be choosen carefully to limit the VS VS voltage below absolute maximum Mirror Fold Exteriour Light OUT8 Note: resistors between µC and L9950 are recommended to limit currents for negative voltage transients at VBAT (e.g. ISO type 1 pulse). OUT9 OUT10 OUT11 Footstep Light Safety Light Turn Indicator Defroster GND July 2004 REV. 3 1/23 L9950 3.1 Dual Power Supply: VS and VCC The power supply voltage VS supplies the half bridges and the highside drivers. An internal charge-pump is used to drive the highside switches. The logic supply voltage VCC (stabilized 5 V) is used for the logic part and the SPI of the device. Due to the independent logic supply voltage the control and status information will not be lost, if there are temporary spikes or glitches on the power supply voltage. In case of power-on (VCC increases from undervoltage to VPOR OFF = 4.2 V) the circuit is initialized by an internally generated power-on-reset (POR). If the voltage VCC decreases under the minimum threshold (VPOR ON = 3.4 V), the outputs are switched to tristate (high impedance) and the status registers are cleared. 3.2 Standby-Mode The standby mode of the L9950 is activated by clearing the bit 23 of the Input Data Register 0. All latched data will be cleared and the inputs and outputs are switched to high impedance. In the standby mode the current at VS (VCC) is less than 6 µA (50µA) for CSN = high (DO in tristate). By switching the VCC voltage a very low quiescent current can be achieved. If bit 23 is set, the device will be switched to active mode. 3.3 Inductive Loads Each half bridge is built by an internally connected highside and a lowside power DMOS transistor. Due to the built-in reverse diodes of the output transistors, inductive loads can be driven at the outputs OUT1 to OUT6 without external free-wheeling diodes. The highside drivers OUT7 to OUT11 are intended to drive resistive loads. Hence only a limited energy (E<1mJ) can be dissipated by the internal ESD-diodes in freewheeling condition. For inductive loads (L>100µH) an external free-wheeling diode connected to GND and the corresponding output is needed. 3.4 Diagnostic Functions All diagnostic functions (over/open load, power supply over-/undervoltage, temperature warning and thermal shutdown) are internally filtered and the condition has to be valid for at least 32 µs (open load: 1ms, respectively) before the corresponding status bit in the status registers will be set. The filters are used to improve the noise immunity of the device. Open load and temperature warning function are intended for information purpose and will not change the state of the output drivers. On contrary, the overload and thermal shutdown condition will disable the corresponding driver (overload) or all drivers (thermal shutdown), respectively. Without setting the over-current recovery bits in the Input Data Register, the microcontroller has to clear the over-current status bits to reactivate the corresponding drivers. 3.5 Overvoltage and Undervoltage Detection If the power supply voltage VS rises above the overvoltage threshold VSOV OFF (typical 21 V), the outputs OUT1 to OUT11 are switched to high impedance state to protect the load. When the voltage VS drops below the undervoltage threshold VSUV OFF (UV-switch-OFF voltage), the output stages are switched to the high impedance to avoid the operation of the power devices without sufficient gate driving voltage (increased power dissipation). If the supply voltage VS recovers to normal operating voltage the outputs stages return to the programmed state (input register 0: bit 20=0). If the undervoltage/overvoltage recovery disable bit is set, the automatic turn-on of the drivers is deactivated. The microcontroller needs to clear the status bits to reactivate the drivers. It is recommended to set bit 20 to avoid a possible high current oscillation in case of a shorted output to GND and low battery voltage. 3.6 Temperature Warning and Thermal Shutdown If junction temperature rises above Tj TW a temperature warning flag is set and is detectable via the SPI. If junction temperature increases above the second threshold Tj SD, the thermal shutdown bit will be set and power DMOS transistors of all output stages are switched off to protect the device. In order to reactivate the output stages the junction temperature must decrease below Tj SD - Tj SD HYS and the thermal shutdown bit has to be cleared by the microcontroller. 2/23 L9950 3.7 Open Load Detection The open load detection monitors the load current in each activated output stage. If the load current is below the open load detection threshold for at least 1 ms (tdOL) the corresponding open load bit is set in the status register. Due to mechanical/electrical inertia of typical loads a short activation of the outputs (e.g. 3ms) can be used to test the open load status without changing the mechanical/electrical state of the loads. 3.8 Over Load Detection In case of an over-current condition a flag is set in the status register in the same way as open load detection. If the over-current signal is valid for at least tISC = 32 µs, the over-current flag is set and the corresponding driver is switched off to reduce the power dissipation and to protect the integrated circuit. If the over-current recovery bit of the output is zero the microcontroller has to clear the status bits to reactivate the corresponding driver. 3.9 Current monitor The current monitor output sources a current image at the current monitor output which has a fixed ratio (1/10000) of the instantaneous current of the selected highside driver. The bits 18 and 19 of the Input Data Register 0 control which of the outputs OUT1, OUT4, OUT5, OUT6 and OUT11 will be multiplexed to the current monitor output. The current monitor output allows a more precise analysis of the actual state of the load rather than the detection of an open- or overload condition. For example this can be used to detect the motor state (starting, free-running, stalled). Moreover, it is possible to regulate the power of the defroster more precise by measuring the load current. The current monitor output is bidirectional (c.f. PWM inputs). 3.10 PWM inputs Each driver has a corresponding PWM enable bit which can be programmed by the SPI interface. If the PWM enable bit is set, the output is controlled by the logically AND-combination of the PWM signal and the output control bit in Input Data Register. The outputs OUT1-OUT8 and OUT11 are controlled by the PWM1 input and the outputs OUT9/10 are controlled by the bidirectional input CM/PMW2. For example, the two PWM inputs can be used to dim two lamps independently by external PWM signals. 3.11 Cross-current protection The six half-brides of the device are cross-current protected by an internal delay time. If one driver (LS or HS) is turned-off the activation of the other driver of the same half bridge will be automatically delayed by the cross-current protection time. After the cross-current protection time is expired the slew-rate limited switch-off phase of the driver will be changed to a fast turn-off phase and the opposite driver is turned-on with slew-rate limitation. Due to this behaviour it is always guaranteed that the previously activated driver is totally turned-off before the opposite driver will start to conduct. 3.12 Programmable Softstart Function to drive loads with higher inrush currrent Loads with start-up currents higher than the over-current limits (e.g. inrush current of lamps, start current of motors and cold resistance of heaters) can be driven by using the programmable softstart function (i.e. overcurrent recovery mode). Each driver has a corresponding over-current recovery bit. If this bit is set, the device will automatically switch-on the outputs again after a programmable recovery time. The duty cycle in over-current condition can be programmed by the SPI interface to be about 12% or 25%. The PWM modulated current will provide sufficient average current to power up the load (e.g. heat up the bulb) until the load reaches operating condition. The device itself cannot distinguish between a real overload and a non linear load like a light bulb. A real overload condition can only be qualified by time. As an example the microcontroller can switch on light bulbs by setting the over-current Recovery bit for the first 50ms. After clearing the recovery bit the output will be automatically disabled if the overload condition still exits 3/23 L9950 Example of programmable softstart function for inductive loads Figure 3. Figure 4. Pin Connection 36 GND GND 1 OUT11 2 Power SO36 34 OUT10 OUT2 4 33 OUT9 OUT3 5 32 VS VS 6 31 OUT8 VS 7 30 OUT7 29 VS DI 8 CM/PWM2 9 Chip 28 VS 27 PWM1 CSN 10 DO 11 26 CP VCC 12 25 VS CLK 13 24 VS VS 14 23 VS VS 15 22 OUT6 OUT4 16 OUT4 17 GND 18 4/23 35 OUT11 OUT1 3 Leadframe 21 OUT5 20 OUT5 19 GND L9950 Table 2. Pin Description Pin 1, 18, 19, 36 Symbol GND 2.35 OUT11 3 4 5 OUT1 OUT2 OUT3 6, 7, 14, 15, 23, 24, 25, 28, 29, 32 VS 8 DI 9 CM/PWM2 10 CSN 11 DO 12 VCC 13 CLK 16,17, 20,21, 22 OUT4 OUT5 OUT6 26 CP 27 PWM1 30 31 33 34 OUT7, OUT8, OUT9, OUT10 Function Ground: Reference potential Important: For the capability of driving the full current at the outputs all pins of GND must be externally connected ! Highside-driver-output 11: The output is built by a highside switch and is intended for resistive loads, hence the internal reverse diode from GND to the output is missing. For ESD reason a diode to GND is present but the energy which can be dissipated is limited. The highside driver is a power DMOS transistor with an internal parasitic reverse diode from the output to VS (bulk-draindiode). The output is over-current and open load protected. Important: For the capability of driving the full current at the outputs both pins of OUT11 must be externally connected ! Halfbridge-output 1,2,3: The output is built by a highside and a lowside switch, which are internally connected. The output stage of both switches is a power DMOS transistor. Each driver has an internal parasitic reverse diode (bulk-drain-diode: highside driver from output to VS, lowside driver from GND to output). This output is over-current and open load protected. Power supply voltage (external reverse protection required): For this input a ceramic capacitor as close as possible to GND is recommended. Important: For the capability of driving the full current at the outputs all pins of VS must be externally connected ! Serial data input: The input requires CMOS logic levels and receives serial data from the microcontroller. The data is an 24bit control word and the least significant bit (LSB, bit 0) is transferred first. Current monitor output/PWM2 input: Depending on the selected multiplexer bits of Input Data Register this output sources an image of the instant current through the corresponding highside driver with a ratio of 1/ 10.000. This pin is bidirectional. The microcontroller can overdrive the current monitor signal to provide a second PWM input for the outputs OUT9 and OUT10. Chip Select Not input / Testmode : This input is low active and requires CMOS logic levels. The serial data transfer between L9950 and micro controller is enabled by pulling the input CSN to low level. If an input voltage of more than 7.5V is applied to CSN pin the L9950 will be switched into a test mode. Serial data output: The diagnosis data is available via the SPI and this tristate-output. The output will remain in tristate, if the chip is not selected by the input CSN (CSN = high) Logic supply voltage: For this input a ceramic capacitor as close as possible to GND is recommended. Serial clock input: This input controls the internal shift register of the SPI and requires CMOS logic levels. → see OUT1 (pin 3). Halfbridge-output 4,5,6: Important: For the capability of driving the full current at the outputs both pins of OUT4 (OUT5, respectively) must be externally connected ! Charge Pump Output: This output is provided to drive the gate of an external n-channel power MOS used for reverse polarity protection (see FIGURE 1) PWM1 input: This input signal can be used to control the drivers OUT1-OUT8 and OUT11 by an external PWM signal. Highside-driver-output 7,8,9,10: The output is built by a highside switch and is intended for resistive loads, hence the internal reverse diode from GND to the output is missing. For ESD reason a diode to GND is present but the energy which can be dissipated is limited. The highside driver is a power DMOS transistor with an internal parasitic reverse diode from the output to VS (bulk-draindiode). The output is over-current and open load protected. 5/23 L9950 Table 3. Absolute Maximum Ratings Symbol Value Unit -0.3 to28 V 40 V -0.3 to 5.5 V digital input / output voltage -0.3 to VCC + 0.3 V VCM current monitor output -0.3 to VCC + 0.3 V VCP charge pump output -25 to VS + 11 V VS Parameter DC supply voltage single pulse tmax < 400ms VCC VDI VDO VCLK VCSN, Vpwm1 stabilized supply voltage, logic supply IOUT1,2,3,6,7,8,9,10 output current ±5 A IOUT4,5,11 output current ±10 A Note All maximum ratings are absolute ratings. Leaving the limitation of any of these values may cause an irreversible damage of the integrated circuit ! Table 4. Esd Protection Parameter Value Unit All pins ±4 1 kV output pins: OUT1 - OUT11 ±8 2 kV Note: 1. HBM according to CDF-AEC-Q100-002 2. HBM with all unzapped pins grounded Table 5. Thermal Data Symbol Tj Parameter Operating junction temperature Value Unit -40 to 150 °C Table 6. Temperature warning and thermal shutdown Symbol Parameter TjTW ON temperature warning threshold junction temperature Tj increasing TjTW OFF temperature warning threshold junction temperature Tj decreasing TjTW HYS temperature warning hysteresis TjSD ON thermal shutdown threshold junction temperature Tj increasing TjSD OFF thermal shutdown threshold junction temperature Tj decreasing TjSD HYS thermal shutdown hysteresis 6/23 Min. Typ. Max. Unit 150 °C 130 °C 5 K 170 150 °C °C 5 K L9950 Figure 5. Thermal Data Of Package Table 7. ELECTRICAL CHARACTERISTICS (VS = 8 to 16V, VCC = 4.5 to 5.3V, Tj = - 40 to 150 °C, unless otherwise specified. The voltages are referred to GND and currents are assumed positive, when the current flows into the pin) Symbol Parameter Test Condition Min. Typ. Max. Unit 28 V Supply VS operating supply voltage range IS VS DC supply current VS = 16V, VCC = 5.3V active mode OUT1 - OUT11 floating 7 20 mA VS quiescent supply current VS = 16V, VCC = 0V standby mode OUT1 - OUT11 floating Ttest =-40°C, 25°C 4 12 µA VCC DC supply current VS = 16V, VCC = 5.3V CSN = VCC active mode 1 3 mA VCC quiescent supply current VS = 16V, VCC = 5.3V CSN = VCC standby mode OUT1 - OUT11 floating 25 50 µA sum quiescent supply current VS = 16V, VCC = 5.3V CSN = VCC standby mode OUT1 - OUT11 floating 31 75 µA ICC IS + ICC 7 Over- and undervoltage detection: VSUV ON VS UV-threshold voltage VS increasing 5.9 7.2 V VSUV OFF VS UV-threshold voltage VS decreasing 5.5 6.5 V VSUV hyst VS UV-hysteresis VSUV ON - VSUV OFF VSOV OFF VS OV-threshold voltage VS increasing 0.5 18 V 24.5 V 7/23 L9950 Table 7. ELECTRICAL CHARACTERISTICS (continued) (VS = 8 to 16V, VCC = 4.5 to 5.3V, Tj = - 40 to 150 °C, unless otherwise specified. The voltages are referred to GND and currents are assumed positive, when the current flows into the pin) Symbol Parameter Test Condition VSOV ON VS OV-threshold voltage VS decreasing VSOV hyst VS OV-hysteresis VSOV OFF - VSOV ON VPOR OFF power-on-reset threshold VCC increasing VPOR ON power-on-reset threshold VCC decreasing VPOR hyst power-on-reset hysteresis VPOR OFF - VPOR ON Min. Typ. 17.5 Max. Unit 22 V 1 V 4.4 3.1 V V 0.3 V Current Monitor Output VCM functional voltage range VCC = 5V ICM,r current monitor output ratio: ICM / IOUT1,4,5,6,11 0V ≤ VCM ≤ 4V, VCC=5V current monitor accuracy 0 V ≤ VCM ≤ 3.8V, VCC = 5V, IOut,min =500mA, IOut4,5,11,max= 5.9A IOut1,6,max =2.9A (FS = full scale=600µA) ICM acc 0 4 - 1 -----------------10.000 4% + 1%FS V 8% + 2%FS - Change Pump Output: VCP ICP charge pump output voltage charge pump output current VS=8V, ICP=-60µA 6 13 V VS=10V, ICP=-80µA 8 13 V VS≥12V, ICP=-100µA 10 13 V VCP = VS+10V, VS=13.5V 95 150 300 µA VS = 13.5 V, Tj = 25 °C, IOUT1,6 = ± 1.5A 300 400 mΩ VS = 13.5 V, Tj = 125 °C, IOUT1,6 = ± 1.5 A 450 600 mΩ VS = 8.0 V, Tj = 25 °C, IOUT1,6 = ± 1.5 A 300 400 mΩ VS = 13.5 V, Tj = 25 °C, IOUT2,3 = ± 0.8A 800 1100 mΩ VS = 13.5 V, Tj = 125 °C, IOUT2,3 = ± 0.8 A 1250 1700 mΩ VS = 8.0 V, Tj = 25 °C, IOUT2,3 = ± 0.8 A 800 1100 mΩ VS = 13.5 V, Tj = 25 °C, IOUT4,5 = ± 3.0 A 150 200 mΩ VS = 13.5 V, Tj = 125 °C, IOUT4,5 = ± 3.0 A 225 300 mΩ VS = 8.0 V, Tj = 25 °C, IOUT4,5 = ± 3.0 A 150 200 mΩ Outputs: OUT1 - OUT2 rON OUT1, rON on-resistance to supply or GND OUT6 rON OUT2, rON OUT3 rON OUT4, rON OUT5 8/23 on-resistance to supply or GND on-resistance to supply or GND L9950 Table 7. ELECTRICAL CHARACTERISTICS (continued) (VS = 8 to 16V, VCC = 4.5 to 5.3V, Tj = - 40 to 150 °C, unless otherwise specified. The voltages are referred to GND and currents are assumed positive, when the current flows into the pin) Symbol rON OUT7, rON Parameter on-resistance to supply OUT8, rON OUT9 , rON OUT10 rON OUT11 on-resistance to supply Test Condition Min. Typ. Max. Unit VS = 13.5 V, Tj = 25 °C, IOUT7,8,9,10 = -0.8 A 800 1100 mΩ VS = 13.5 V, Tj = 125 °C, IOUT7,8,9,10 = -0.8 A 1250 1700 mΩ VS = 8.0 V, Tj = 25 °C, IOUT7,8,9,10 = -0.8 A 800 1100 mΩ VS = 13.5 V, Tj = 25 °C, IOUT11 = - 3.0 A 100 150 mΩ VS = 13.5 V, Tj = 125 °C, IOUT11 = - 3.0A 150 200 mΩ VS = 8.0 V, Tj = 25 °C, IOUT11 = - 3.0 A 100 150 mΩ |IOUT1|, |IOUT6| output current limitation to supply or GND sink and source, VS=13.5V 3 5 A |IOUT2|, |IOUT3| output current limitation to supply or GND sink and source, VS = 13.5V 1.5 2.5 A |IOUT4|, |IOUT5| output current limitation to supply or GND sink and source, VS = 13.5V 6 10 A source, VS = 13.5V 1.5 2.5 A 10 A |IOUT7|, |IOUT8|, output current limitation to GND |IOUT9|, |IOUT10| |IOUT11| output current limitation to GND source, VS = 13.5V 6 td ON H output delay time, highside driver on VS = 13.5 V, corresponding lowside driver is not active 20 40 80 µs td OFF H output delay time, highside driver off VS = 13.5 V 50 150 300 µs td ON L output delay time, lowside driver on VS = 13.5 V, corresponding highside driver is not active 15 30 70 µs td OFF L output delay time, lowside driver off VS = 13.5 V 80 150 300 µs tD HL cross current protection time, source to sink td ON L - td OFF H, 200 400 µs tD LH cross current protection time, sink to source td ON H - td OFF L 200 400 µs IQLH switched-off output current highside drivers of OUT1-11 VOUT1-11=0V, standby mode 0 -2 -5 µA -40 -15 0 µA 0 80 120 µA -40 -15 0 µA 5 30 80 mA IQLL IOLD1 switched-off output current lowside drivers of OUT1-6 open load detection current of OUT1 VOUT1-11=0V, active mode VOUT1-6 = VS, standby mode VOUT1-6=VS, active mode 9/23 L9950 Table 7. ELECTRICAL CHARACTERISTICS (continued) (VS = 8 to 16V, VCC = 4.5 to 5.3V, Tj = - 40 to 150 °C, unless otherwise specified. The voltages are referred to GND and currents are assumed positive, when the current flows into the pin) Symbol Parameter Test Condition Min. Typ. Max. Unit IOLD23 open load detection current of OUT2, OUT3 15 40 60 mA IOLD45 open load detection current of OUT4 and OUT5 60 150 300 mA IOLD6 open load detection current of OUT6 30 70 150 mA IOLD78910 open load detection current of OUT7, OUT8, OUT9, OUT10 15 40 60 mA IOLD11 open load detection current of OUT11 30 150 300 mA tdOL minimum duration of open load condition to set the status bit 500 3000 µs tISC minimum duration of over-current condition to switch off the driver 10 100 µs dVOUT16/dt slew rate of OUT1,OUT6 VS =13.5 V Iload = ±1.5 A 0.1 0.2 0.4 V/µs slew rate of OUT2/3 and OUT7OUT10 VS = 13.5 V Iload = -0.8 A 0.09 0.2 0.4 V/µs dVOUT45/dt slew rate of OUT4, OUT5 VS = 13.5 V Iload = ±3.0 A 0.1 0.2 0.4 V/µs dVOUT11/dt slew rate of OUT11 VS = 13.5 V Iload = 3.0 A 0.1 0.2 0.4 V/µs dVOUT23/dt, dVOUT78910/dt 4 FUNCTIONAL DESCRIPTION OF THE SPI 4.1 Serial Peripheral Interface (SPI) This device uses a standard SPI to communicate with a microcontroller. The SPI can be driven by a microcontroller with its SPI peripheral running in following mode: CPOL = 0 and CPHA = 0. For this mode, input data is sampled by the low to high transition of the clock CLK, and output data is changed from the high to low transition of CLK. This device is not limited to microcontroller with a build-in SPI. Only three CMOS-compatible output pins and one input pin will be needed to communicate with the device. A fault condition can be detected by setting CSN to low. If CSN = 0, the DO-pin will reflect the status bit 0 (fault condition) of the device which is a logical-or of all bits in the status registers 0 and 1. The microcontroller can poll the status of the device without the need of a full SPI-communication cycle. Note: 4.2 In contrast to the SPI-standard the least significant bit (LSB) will be transferred first (see FIGURE 6). Chip Select Not (CSN) The input pin is used to select the serial interface of this device. When CSN is high, the output pin (DO) will be in high impedance state. A low signal will activate the output driver and a serial communication can be started. The state when CSN is going low until the rising edge of CSN will be called a communication frame. If the CSN-input pin is driven above 7.5V, the L9950 will go into a test mode. In the test mode the DO will go from tri-state to active mode. 10/23 L9950 4.3 Serial Data In (DI) The input pin is used to transfer data serial into the device. The data applied to the DI will be sampled at the rising edge of the CLK signal and shifted into an internal 24 bit shift register. At the rising edge of the CSN signal the contents of the shift register will be transferred to Data Input Register. The writing to the selected Data Input Register is only enabled if exactly 24 bits are transmitted within one communication frame (i.e. CSN low). If more or less clock pulses are counted within one frame the complete frame will be ignored. This safety function is implemented to avoid an activation of the output stages by a wrong communication frame. Note: 4.4 Due to this safety functionality a daisy chaining of SPI is not possible. Instead, a parallel operation of the SPI bus by controlling the CSN signal of the connected ICs is recommended. Serial Data Out (DO) The data output driver is activated by a logical low level at the CSN input and will go from high impedance to a low or high level depending on the status bit 0 (fault condition). The first rising edge of the CLK input after a high to low transition of the CSN pin will transfer the content of the selected status register into the data out shift register. Each subsequent falling edge of the CLK will shift the next bit out. 4.5 Serial Clock (CLK) The CLK input is used to synchronize the input and output serial bit streams. The data input (DI) is sampled at the rising edge of the CLK and the data output (DO) will change with the falling edge of the CLK signal. 4.6 Input Data Register The device has two input registers. The first bit (bit 0) at the DI-input is used to select one of the two Input Registers. All bits are first shifted into an input shift register. After the rising edge of CSN the contents of the input shift register will be written to the selected Input Data Register only if a frame of exact 24 data bits are detected. Depending on bit 0 the contents of the selected status register will be transferred to DO during the current communication frame. Bit 1-17 controls the behaviour of the corresponding driver. If bit 23 is zero, the device will go into the standby-mode. The bits 18 and 19 are used to control the current monitor multiplexer. Bit 22 is used to reset all status bits in both status registers. The bits in the status registers will be cleared after the current communication frame (rising edge of CSN). 4.7 Status Register This devices uses two status registers to store and to monitor the state of the device. Bit 0 is used as a fault bit and is a logical-NOR combination of bits 1-22 in both status registers. The state of this bit can be polled by the microcontroller without the need of a full SPI-communication cycle (see FIGURE 11). If one of the over-current bits is set, the corresponding driver will be disabled. If the over-current recovery bit of the output is not set the microcontroller has to clear the over-current bit to enable the driver. If the thermal shutdown bit is set, all drivers will go into a high impedance state. Again the microcontroller has to clear the bit to enable the drivers. 4.8 Test Mode The Test Mode can be entered by rising the CSN input to a voltage higher than 7.0V. In the test mode the inputs CLK, DI, PWM1/2 and the internal 2MHz CLK can be multiplexed to data output DO for testing purpose. Furthermore the over-current thresholds are reduced by a factor of 4 to allow EWS testing at lower current. For EWS testing a special test pad is available to measure the internal bandgap voltage, the TW and TSD thresholds. The internal logic prevents that the Hi-Side and Lo-Side driver of the same half-bridge can be switchedon at the same time. In the testmode this combination is used to multiplex the desired signals according to following table 8: 11/23 L9950 Table 8. LS1 HS1 LS2 HS2 LS3 HS3 DO LS3 HS3 LS4 HS4 LS5 HS5 Test Pad ! (both HI) ! (both HI) ! (both HI) NoError ! (both HI) ! (both HI) ! (both HI) 5µA Iref both HI ! (both HI) ! (both HI) DI both HI ! (both HI) ! (both HI) Tsens1 ! (both HI) both HI ! (both HI) CLK ! (both HI) both HI ! (both HI) Tsens2 both HI both HI ! (both HI) INT_CLK both HI both HI ! (both HI) Tsens3 ! (both HI) ! (both HI) both HI PWM1 ! (both HI) ! (both HI) both HI Tsens4 both HI ! (both HI) both HI PWM2 both HI ! (both HI) both HI Tsens5 ! (both HI) both HI both HI Tsens6 both HI both HI both HI Vbandgap Table 9. SPI - Input Data and Status Register Bit Input Register 0 (write) Status Register 0 (read) Name Comment 23 Enable Bit If Enable Bit is set the device will be switched in active mode. If Enable Bit is cleared device go into standby mode and all bits are cleared. After power-on reset device starts in standby mode. Always 1 A broken VCC-or SPI-connection of the L9950 can be detected by the microcontroller, because all 24 bits low or high is not a valid frame. 22 Reset Bit If Reset Bit is set both status registers will be cleared after rising edge of CSN input. VS overvoltage 21 OC Recovery Duty Cycle This bit defines in combination with the over-current recovery bit (Input Register 1) the duty cycle in over-current condition of an activated driver. VS undervoltage In case of an overvoltage or undervoltage event the corresponding bit is set and the outputs are deactivated. If VS voltage recovers to normal operating conditions outputs are reactivated automatically (if Bit 20 of status register 0 is not set). If this bit is set the microcontroller has to clear the status register after undervoltage/overvoltage event to enable the outputs. Thermal shutdown In case of an thermal shutdown all outputs are switched off. The microcontroller has to clear the TSD bit by setting the Reset Bit to reactivate the outputs. Depending on combination of bit 18 and 19 the current image (1/10.000) of the selected HS-output will be multi-plexed to the CM output: Temperature warning This bit is for information purpose only. It can be used for a thermal management by the microcontroller to avoid a thermal shutdown. Bit 19 Bit 18 Output Not Ready Bit 0 0 OUT11 1 0 OUT1/OUT6 0 1 OUT5 1 1 OUT4 After switching the device from standby mode to active mode an internal timer is started to allow chargepump to settle before the outputs can be activated. This bit is cleared automatically after start up time has finished. Since this bit is controlled by internal clock it can be used for synchonizing testing events (e.g. measuring filter times). 0: 12% 20 1: 25% Overvoltage/ Under-voltage recovery disable 19 18 Current Monitor Select Bits HS-driver of OUT1 is only selected if HS-driver OUT1 is switched on and HS-driver OUT6 is not activated. 12/23 Name Comment L9950 Table 9. SPI - Input Data and Status Register (continued) Bit 17 Input Register 0 (write) Name Status Register 0 (read) Comment Name Comment OUT11 – HS overcurrent In case of an over-current event the corresponding status bit is set and the output driver is disabled. If the over-current Recovery Enable bit is set (Input Register 1) the output will be automatically reactivated after a delay time resulting in a PWM modulated current with a programmable duty cycle (Bit 21). 9 OUT11 – HS on/off If a bit is set the selected output driver is switched on. If OUT10 – HS on/off the corresponding PWM enable bit is set (Input Register 1) the driver is only activated if OUT9 – HS on/off PWM1 (PWM2) input signal is high. The outputs of OUT1OUT8 – HS on/off OUT6 are half bridges. If the bits of HS- and LS-driver of the same half bridge are set, the OUT7 – HS on/off internal logic prevents that both drivers of this output stage can OUT6 – HS on/off be switched on simultaneously in order to avoid a high internal OUT6 – LS on/off current from VS to GND. In test mode (CSN>7.5V) this bit combinations are used to OUT5 – HS on/off multiplex internal signals to the DO-output. OUT5 – LS on/off 8 OUT4 – HS on/off OUT4 – HS overcurrent 7 OUT4 – LS on/off OUT4 – LS overcurrent 6 OUT3 – HS on/off OUT3 – HS overcurrent 5 OUT3 – LS on/off OUT3 – LS overcurrent 4 OUT2 – HS on/off OUT2 – HS overcurrent 3 OUT2 – LS on/off OUT2 – LS overcurrent 2 OUT1 – HS on/off OUT1 – HS overcurrent 1 OUT1 – LS on/off OUT1 – LS overcurrent 16 15 14 13 12 11 10 0 0 OUT10 – HS overcurrent OUT9 – HS overcurrent OUT8 – HS overcurrent OUT7 – HS overcurrent If the over-current recovery bit is not set the microcontroller has to clear the over-current bit (Reset Bit) to reactivate the output driver. OUT6 – HS overcurrent OUT6 – LS overcurrent OUT5 – HS overcurrent OUT5 – LS overcurrent No error Bit A logical NOR-combination of all bits 1 to 22 in both status registers. Table 9. SPI - Input Data and Status Register (continued) Input Register 1 (write) Status Register 1 (read) Bit 23 Name Comment Enable Bit If Enable Bit is set the device will be switched in active mode. If Enable Bit is cleared device go into standby mode and all bits are cleared. After power-on reset device starts in standby mode. Name Always 1 Comment A broken VCC-or SPIconnection of the L9950 can be detected by the microcontroller, because all 24 bits low or high is not a valid frame. 13/23 L9950 Table 9. SPI - Input Data and Status Register (continued) Input Register 1 (write) Status Register 1 (read) Bit Name 22 Comment Name Comment OUT11 OC In case of an over-current event the Recovery Enable over-current status bit (Status Register 0) is set and the output is OUT10 OC switched off. If the over-current Recovery Enable Recovery Enable bit is set the output will be automatically reactivated after a delay time resulting in a PWM modulated current with a programmable duty OUT9 OC cycle (Bit 21 of Input Data Register Recovery Enable 0). Depending on occurance of Overcurrent Event and internal clock phase it is possible that one recovery cycle is executed even if this bit is set to zero. VS overvoltage Thermal shutdown In case of an thermal shutdown all outputs are switched off. The microcontroller has to clear the TSD bit by setting the Reset Bit to reactivate the outputs. 19 OUT8 OC Recovery Enable Temperature warning This bit is for information purpose only. It can be used for a thermal management by the microcontroller to avoid a thermal shutdown. 18 OUT7 OC Recovery Enable Not Ready Bit After switching the device from standby mode to active mode an internal timer is started to allow chargepump to settle before the outputs can be activated. This bit is cleared automatically after start up time has finished. Since this bit is controlled by internal clock it can be used for synchonizing testing events(e.g. measuring filter times). 21 20 14/23 VS undervoltage In case of an overvoltage or undervoltage event the corresponding bit is set and the outputs are deactivated. If VS voltage recovers to normal operating conditions outputs are reactivated automatically. L9950 Table 9. SPI - Input Data and Status Register (continued) Input Register 1 (write) Status Register 1 (read) Bit Name 17 16 Comment OUT6 OC After 50ms the bit can be cleared. Recovery Enable If over-current condition still exists, a wrong load can be assumed. OUT5 OC Recovery Enable Name OUT11 – HS open load OUT10 – HS open load 15 OUT4 OC Recovery Enable OUT9 – HS open load 14 OUT3 OC Recovery Enable OUT8 – HS open load 13 OUT2 OC Recovery Enable OUT7 – HS open load 12 OUT1 OC Recovery Enable OUT6 – HS open load 11 OUT11 PWM1 Enable 10 OUT10 PWM2 Enable 9 OUT9 PWM2 Enable 8 OUT8 PWM1 Enable OUT4 – HS open load 7 OUT7 PWM1 Enable OUT4 – LS open load 6 OUT6 PWM1 Enable OUT3 – HS open load 5 OUT4 PWM1 Enable OUT3 – LS open load 4 OUT4 PWM1 Enable OUT2 –HS open load 3 OUT3 PWM1 Enable OUT2– LS open load 2 OUT4 PWM1 Enable OUT1 – HS open load OUT4 PWM1 Enable OUT1 – LS open load 1 0 If the PWM1/2 Enable Bit is set and the output is enabled (Input Register 0) the output is switched on if PWM1/2 input is high and switched off if PWM1/2 input is low. OUT9 and OUT10 is controlled by PWM2 input all other outputs are controlled by PWM1 input. 1 Comment The open load detection monitors the load current in each activated output stage. If the load current is below the open load detection threshold for at least 1 ms (tdOL) the corresponding open load bit is set. Due to mechanical/electrical inertia of typical loads a short activation of the outputs (e.g. 3ms) can be used to test the open load status without changing the mechanical/ electrical state of the loads. OUT6 – LS open load OUT5 – HS open load OUT5 – LS open load No Error bit A logical NOR-combination of all bits 1 to 22 in both status registers. 15/23 L9950 Table 10. SPI - ELECTRICAL CHARACTERISTICS (VS = 8 to 16V, VCC = 4.5 to 5.3V, Tj = - 40 to 150 °C, unless otherwise specified. The voltages are referred to GND and currents are assumed positive, when the current flows into the pin). Symbol Parameter Test Condition Min. Typ. Max. Unit 160 300 µs Delay time from standby to active mode tset delay time Switching from standby to active mode. Time until output drivers are enabled after CSN going to high. Inputs: CSN, CLK, PWM1/2 and DI VinL input low level VCC = 5V VinH input high level VCC = 5V VinHyst input hysteresis VCC = 5V 0.5 ICSN in pull up current at input CSN VCSN = 3.5V VCC = 5V -40 -20 -8 µA ICLK in pull down current at input CLK VCLK = 1.5V 10 25 50 µA pull down current at input DI VDI = 1.5V 10 25 50 µA IPWM1 in pull down current at input PWM1 VPWM = 1.5V 10 25 50 µA C in 1 input capacitance at input CSN, CLK, DI and PWM1/2 VCC = 0 to 5.3V 10 15 pF IDI in 1.5 2.0 3.0 V 3.5 V V DI timing (see figure 5 and figure 7)2 tCLK clock period VCC = 5V 1000 ns tCLKH clock high time VCC = 5V 400 ns tCLKL clock low time VCC = 5V 400 ns tset CSN CSN setup time, CSN low before rising edge of CLK VCC = 5V 400 ns tset CLK CLK setup time, CLK high before rising edge of CSN VCC = 5V 400 ns tset DI DI setup time VCC = 5V 200 ns thold time DI hold time VCC = 5V 200 ns tr in rise time of input signal DI, CLK, CSN VCC = 5V 100 ns tf in fall time of input signal DI, CLK, CSN VCC = 5V 100 ns Note: 1. Value of input capacity is not measured in production test. Parameter guaranteed by design. 2. DI timing parameters tested in production by a passed/failed test: Tj=-40°C/+25°C: SPI communication @2MHZ Tj=+125°C: SPI communication @1.25MHZ 16/23 L9950 Table 10. SPI - ELECTRICAL CHARACTERISTICS (continued) Symbol Parameter Test Condition Min. Typ. Max. Unit 0.2 0.4 V DO VDOL output low level VCC = 5 V, ID = -2mA VDOH output high level VCC = 5 V, ID = 2 mA VCC -0.4 IDOLK tristate leakage current VCSN = VCC, 0V < VDO < VCC -10 CDO3 tristate input capacitance VCSN = VCC, 0V < VCC < 5.3V VCC -0.2 V 10 µA 10 15 pF DO timing (see FIGURE 6 and FIGURE 7) tr DO DO rise time CL = 100 pF, Iload = -1mA 80 140 ns tf DO DO fall time CL = 100 pF, Iload = 1mA 50 100 ns ten DO tri L DO enable time from tristate to low level CL = 100 pF, Iload = 1mA pull-up load to VCC 100 250 ns tdis DO L tri DO disable time from low level to tristate CL = 100 pF, Iload = 4 mA pull-up load to VCC 380 450 ns ten DO tri H DO enable time from tristate to high level CL =100 pF, Iload = -1mA pull-down load to GND 100 250 ns tdis DO H tri DO disable time from high level to tristate CL = 100 pF, Iload = -4mA pull-down load to GND 380 450 ns DO delay time VDO < 0.3 VCC, VDO > 0.7 VCC, CL = 100pF 50 250 ns td DO CSN timing (see FIGURE 8) tCSN_HI,stb Minimum CSN HI time, switching from standby mode Transfer of SPI-command to Input Register 20 50 µs tCSN_HI,min Maximum CSN HI time, active mode Transfer of SPI-command to Input Register 2 4 µs 3. Value of input capacity is not measured in production test. Parameter guaranteed by design 17/23 L9950 Figure 6. SPI - TRANSFER TIMING DIAGRAM CSN high to low: DO enabled CSN time CLK 0 1 2 3 4 5 6 7 X X 18 19 0 20 21 22 23 time DI: data will be accepted on the rising edge of CLK signal DI 0 1 2 3 4 5 6 7 X X 18 19 0 20 21 22 23 DO: data will change on the falling edge of CLK signal DO 0 1 2 3 4 5 6 7 X X 18 19 20 21 22 23 Input Data Register old data 1 time 0 1 time CSN low to high: actual data is transfered to output power switches fault bit 1 new data time Figure 7. SPI - INPUT TIMING 0.8 VCC CSN 0.2 VCC t t set CSN t CLKH se t CLK 0.8 VCC CLK 0.2 VCC t set DI t hold DI t CLKL 0.8 VCC DI Valid Valid 0.2 VCC 18/23 L9950 Figure 8. SPI - DO VALID DATA DELAY TIME AND VALID TIME t f in t r in 0.8 VCC 0.5 VCC 0.2 VCC CLK t r DO DO (low to high) 0.8 VCC 0.2 VCC t d DO t f DO 0.8 VCC DO (high to low) 0.2 VCC Figure 9. SPI - DO ENABLE AND DISABLE TIME tf in tr in 0.8 VCC 50% 0.2 VCC CSN DO pull-up load to VCC CL = 100 pF 50% ten DO tri L tdis DO L tri 50% DO pull-down load to GND CL = 100 pF ten DO tri H tdis DO H tri 19/23 L9950 Figure 10. SPI - DRIVER TURN ON/OFF TIMING, MINIMUM CSN HI TIME CSN low to high: data from shift register is transferred to output power switches t r in t f in tCSN_HI,min 80% 50% 20% CSN tdOFF output current of a driver ON state OFF state 80% 50% 20% t OFF t dON t ON output current of a driver OFF state ON state 80% 50% 20% Figure 11. SPI - TIMING OF STATUS BIT 0 (FAULT CONDITION) CSN high to low and CLK stays low: status information of data bit 0 (fault condition) is transfered to DO CSN time CLK time DI time DI: data is not accepted DO 0time DO: status information of data bit 0 (fault condition) will stay as long as CSN is low 20/23 L9950 Figure 12. PowerSO36 Mechanical Data & Package Dimensions DIM. A A2 A4 A5 a1 b c D D1 D2 E E1 E2 E3 E4 e e3 G H h L N s MIN. 3.25 mm TYP. 0.8 MAX. 3.5 3.3 1 MIN. 0.128 0.075 0.38 0.32 16 9.8 0 0.008 0.009 0.622 0.37 14.5 11.1 2.9 6.2 3.2 0.547 0.429 0.031 0.2 1 0.003 0.015 0.012 0.630 0.38 0.039 13.9 10.9 5.8 2.9 0.57 0.437 0.114 0.244 1.259 0.228 0.114 0.65 11.05 0.026 0.435 0.075 0 15.9 0.61 1.1 1.1 0.031 10˚ (max) 8˚ (max) 0.8 OUTLINE AND MECHANICAL DATA MAX. 0.138 0.13 0.039 0.008 0 0.22 0.23 15.8 9.4 0 15.5 inch TYP. 0.003 0.625 0.043 0.043 PowerSO36 Note: “D and E1” do not include mold flash or protusions. - Mold flash or protusions shall not exceed 0.15mm (0.006”) - Critical dimensions are "a3", "E" and "G". N N a2 e A DETAIL A A c a1 DETAIL B E e3 H DETAIL A lead D slug a3 36 BOTTOM VIEW 19 E3 B E1 E2 D1 DETAIL B 0.35 Gage Plane 1 1 -C- 8 S L SEATING PLANE G h x 45 b 0.12 M AB PSO36MEC C (COPLANARITY) 0096119 B 21/23 L9950 Table 11. Revision History 22/23 Date Revision Description of Changes April 2004 1 First Issue June 2004 2 Changed Maturity from Product Preview to Final. Changed values in the Table 4 ESD Protection. July 2004 3 Small Change L9950 Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners © 2004 STMicroelectronics - All rights reserved STMicroelectronics GROUP OF COMPANIES Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States www.st.com 23/23