Features • Driver Stages – Four DMOS 150 mA Low-side Relay Drivers with Current Limitation – One Gate Driver for External N-channel FET with Charge Pump and Bootstrap – Two Universal Outputs (10 mA High Side and 60 mA Low Side) – One 20 mA Warning Lamp Driver • Power Supplies – 5V/150 mA Linear Regulator – 5V/30 mA Linear Regulator (also Active in Standby Mode) – Internal Power Supply – Switchable System Supply Voltage Output • Monitoring and Protection – 12V Monitoring – Watchdog with Reset – Two Comparators for Current Measurement – Adjustable Undervoltage Warning Level – Overtemperature Protection with Hysteresis – Two 5V Comparators – Wide Supply Voltage Range from 5.8V up to 26V – 8-bit SPI Interface – Low Current Consumption in Standby Mode 80 µA – TTL and CMOS Compatible Inputs – 2 kV ESD Protection – Transient Protection According to ISO/TR 7637-1 Level 4 (Except Load Dump) Automotive Failsafe System IC ATA6842 Applications As an Automotive Failsafe System IC, the ATA6842 is ideal for driver and monitoring functions in ambitious solutions with increased safety requests such as parking brakes, power steering, and other applications with DC motor control. 4964B–AUTO–07/07 1. Description The ATA6842 is a monolithically-integrated multi-functional IC designed in Atmel ® ’s state-of-the-art 0.8 µm BCDMOS technology. With its built-in driver stages, voltage supplies and monitoring functions, it is an ideal cost saving failsafe system IC. The communication with an external microcontroller is provided by an 8-bit SPI interface. Four protected and current limited driver stages are available to control relays and additionally there is a gate driver including charge pump and bootstrap to control an external FET. Three LEDs for status information can be controlled via three separate outputs: The high-side driver at pin OUTP has monitoring functions for overcurrent and current threshold. The low-side drivers at the pins WLN and OUTN also have monitoring functions for overcurrent, current threshold, and voltage monitoring. Two internal bandgap references control and monitor two independent 5V supply voltages. In standby mode the internal IC-supply is provided by one of them; the other one is switched off, in order to reduce the power consumption to a minimum. All internal blocks are supplied by a specific internal voltage regulator. The system supply voltage and all internally-generated voltages are monitored and in case of over or undervoltage all drivers are switched off. Via the SPI the system supply voltage can be switched to provide power for external components. The car battery voltage (KL 30) is monitored by an adjustable monitoring function. An oscillator with an external RC circuitry and a fully-integrated auxiliary oscillator which can be set via the pin RREF are the clock references for the watchdog and all other time constants. Both oscillators monitor each other. The independent watchdog circuitry monitors the microcontroller’s correct operation. Two differential amplifiers support the use of external A/D converters for current measurement. Two comparators are provided to monitor the 5V supply of external devices like sensors. The ATA6842 is the improved version and successor of the ATA6814. Pin and function compatible to it, the ATA6842 is the replacement in all applications. The ATA6842 offers a flawless performance in reference to the requests of some automotive customers regarding very slow supply voltage ramps ups and downs. 2 ATA6842 4964B–AUTO–07/07 ATA6842 Figure 1-1. Block Diagram WLP UVM UVR UVW V12 V12S Battery undervoltage monitor WLN OUTN OUTP Universal lowside Driver Universal lowside Driver Universal highside driver CtrL CtrL CtrL 12V Over/ CtrL undervoltage monitor 12V switch BSC TCFET CtrL Lowside driver RD1 CtrL Lowside driver RD2 CtrL Lowside driver RD3 CtrL Lowside driver RD4 CtrL ERD CSN DI DO CtrL Highside gate driver with charge pump Control Logic 8-Bit SPI (CtrL) CLK VRE EK15 E5 VI Enable Internal voltage regulator CtrL Bandgap reference CtrL Overtemperature monitor Current measurement comparator B1CI CtrL Current measurement comparator B2CI B2CG B2CO CtrL Voltage monitoring comparator 1 C1I Voltage monitoring comparator 2 C2I CtrL CtrL B5 V5 B5A V5A RCOS Main 5V voltage regulator Voltage monitoring Auxiliary 5V voltage regulator CtrL Fully integrated main oscillator Bandgap reference IREF Watchdog oscillator CtrL CtrL B1CG B1CO C1O C2O WDT RSTN RESAN Watchdog with reset function CtrL Current bias for all blocks Test RREF TEST RESN A L P GND 3 4964B–AUTO–07/07 Figure 1-2. Application Circuit K30P DK30 K30 CK30 K15ext QU5 STD1802 47 µF QU5A BC817-40 K15 DWLN DOUTN ROUTP 2.7 kΩ ROUTN 2.7 kΩ DOUTP 100 nF RUVM 510Ω CV5 CV5A 10 µF 4.7 µF WLN V12 B5 V5 B5A V5A CVI RWLN 2.7 kΩ WLP WLN 100 nF DK15 VI VI OUTN V12S OUTP BSC TCFET CBS1 UVM 47 nF RUV1 1 kΩ CBS2 RTC1 47 nF 10 kΩ RTC2 10 kΩ UVR MTCFET1 RUV2 2.5 kΩ UVW VI RL1 8.2Ω RD1 RL1 ROS 100 kΩ K30P M M1 RCOS COS 1 nF RD2 MR12 RL2 µP RL11 RREF B1CI RREF 10 kΩ RL13 20 kΩ 1 kΩ RL12 EK15 B1CG µP E5 RL14 20 kΩ µP WDT RSTN 1 kΩ MTCFET2 B1CO µP K30 ADC µP RL2 8.2Ω RESAN µP RL15 0.01Ω RD3 RL3 RESN µP CSN K30P µP M M2 CLK µP DI µP DO RD4 µP MR34 µP RL21 C1O B2CI µP RL23 20 kΩ C2O µP 1 kΩ RL25 0.01Ω RL22 C2I B2CG µP C1I RL24 20 kΩ µP ERD RL4 VRE GNDA GNDL TEST GNDP 1 kΩ B2CO ADC 4 ATA6842 4964B–AUTO–07/07 ATA6842 2. Pin Configuration Pinning QFN48 B2CG B2CI B2CO B1CG B1CI B1CO C20 GNDL C10 VRE DO DI Figure 2-1. 24 23 22 21 20 19 18 17 16 15 14 13 12 25 11 26 10 27 9 28 8 29 7 30 6 31 5 32 4 33 3 34 2 35 1 36 37 38 39 40 41 42 43 44 45 46 47 48 ATA6842 CLK CSN RCOS E5 EK15 UVM TEST UVR GNDA RREF RESN RSTN TCFET BSC VI V5 B5 V5A B5A ERD WLP WDT UVW RESAN C2I OUTN C1I RD4 RD3 GNDP RD2 RD1 V12S V12 OUTP WLN Table 2-1. Pin Description Pin Symbol Function 1 RSTN Reset input 2 RESN Reset output 3 RREF Reference resistor 4 GNDA Analog ground 5 UVR Undervoltage reference input 6 TEST Test 7 UVM Undervoltage measurement input 8 EK15 Enable (K15 based) 9 E5 Enable (5V based) 10 RCOS 11 CSN Chip-select input 12 CLK Clock input 13 DI Data input 14 DO Data output 15 VRE External voltage regulator output 16 C1O Comparator 1 output 17 GNDL 18 C2O 19 B1CO Bridge 1 current output 20 B1CI Bridge 1 current input 21 B1CG Bridge 1 current ground Resistor-capacitor oscillator Logic ground Comparator 2 output 5 4964B–AUTO–07/07 Table 2-1. 6 Pin Description (Continued) Pin Symbol Function 22 B2CO Bridge 2 current output 23 B2CI Bridge 2 current input 24 B2CG Bridge 2 current ground 25 C2I 26 OUTN Comparator 2 input Low-side driver output 27 C1I Comparator 1 input 28 RD4 Relay driver 4 output 29 RD3 Relay driver 3 output 30 GNDP 31 RD2 Relay driver 2 output 32 RD1 Relay driver 1 output 33 V12S 12V switch 34 V12 35 OUTP High-side driver output 36 WLN Warning lamp output 37 TCFET 38 BSC Bootstrap capacitor 39 VI Internal 5V supply 40 V5 5V supply 41 B5 Base 5V supply 42 V5A Auxiliary 5V supply 43 B5A Base auxiliary 5V supply 44 ERD Enable relay driver input 45 WLP Warning lamp polarity input 46 WDT Watchdog trigger input 47 UVW 48 RESAN Power ground 12V supply voltage Test current FET Undervoltage warning output Auxiliary reset output ATA6842 4964B–AUTO–07/07 ATA6842 3. Absolute Maximum Ratings Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Parameters Condition Supply voltage Symbol Min. Max. Unit V12 –0.3 +26 V Supply voltage t < 500 ms V12 –0.3 +45 V Voltage at pins CLK, DI, E5, ERD, WDT, WLP, CSN, RSTN, VRE, DO, C1O, C2O, RESN, RESAN, UVR, UVW, RREF, VI, TEST, B1CI, B1CG, B1CO, B2CI, B2CG, B2CO, RCOS V() ≤ V5 + 0.3V V() –0.3 +5.5 V Current in pins CLK, DI, E5, ERD, WDT, WLP, CSN, RSTN, VRE, DO, C1O, C2O, RESN, RESAN, UVR, UVW, RREF, VI, TEST, B1CI, B1CG, B1CO, B2CI, B2CG, B2CO, RCOS I() –10 +10 mA Voltage at RD1, RD2, RD3, RD4, WLN, OUTN, OUTP, EK15, BSC, TCFET, UVM V() –0.3 +45 V Current in RD1, RD2, RD3, RD4, WLN, OUTN I() –150 +150 mA Current in OUTP I() –10 +10 mA Voltage at V5, V5A V() –0.3 +5.5 V Current in V5 I() –150 +10 mA Current in V5A I() –50 +10 mA Voltage at V12S V() –0.3 +45 V Current in V12S I() –60 +10 mA 2 kV MIL-STD-883, Method 3015, HBM 100 pF discharged through 1.5 kΩ Vd() Operation Tj,op –40 +150 °C Tj,peak –40 +165 °C Ts –55 +125 °C Symbol Min. Max. Unit Operating ambient temperature range Tamb –40 +105 °C Thermal resistance, chip to case RthJC 10 K/W Tms 260 °C ESD protection at all pins Junction temperature Peak Storage temperature 4. Thermal Resistance Parameters Soldering temperature Condition 7 4964B–AUTO–07/07 5. Electrical Characteristics Operating conditions: V12 = 6.5V to 26V, V5 = 5V ±3%, RREF = 10 kΩ ±2%, Tj = –40°C to 150°C, unless otherwise specified. No. Parameters 1 1.1 Test Conditions Pin Symbol Min. V12 6.5 5.8 Typ. Max. Unit Type* Total Device Permissible supply voltage All functions Reduced operation mode(1) 1.2 Supply current 26 6.5 V V A V12 I(V12) 10 mA A V12 I(V12) 80 µA A 1.4 Leakage current low V() = 0V to V12, V12 = 14V WLN, OUTN, RD1 to RD4 Ilk()lo,stb –1 +1 µA A V() = 0V to V12, V12 = 14V V(BSC) = 14V OUTP, V12S, BSC Ilk()hi,stb –1 +1 µA A 1.3 Supply current 1.5 Leakage current high Standby, V12 = 14V, I(V5A) = –10 µA 1.6 Supply current All V5 based I/O pins open 1.7 Supply current RESAN open V5 I(V5) 0.5 mA A V5A I(V5A) 50 µA A 1.8 Pull-up current to V5 V() = 0.7 × V5 CSN Ipu() –100 –10 µA A 1.9 Pull-up current to VI V() = 0.7 × VI RSTN Ipu() –100 –10 µA A 1.10 Pull-up current to V5 V() = 0V CSN Ipu() –200 –20 µA A 1.11 Pull-up current to VI V() = 0V RSTN Ipu() –200 –20 µA A 1.12 Pull-down current V() = 0.2 × V5 CLK, DI, E5, ERD, WDT Ipd() 10 100 µA A 1.13 Pull-down current V() = 0.2 × VI WLP Ipd() 10 100 µA A 1.14 Pull-down current V() = V5 CLK, DI, E5, ERD, WDT Ipd() 20 200 µA A 1.15 Pull-down current V() = VI WLP Ipd() 20 200 µA A 1.16 Pull-up voltage to V5 Vpu() = V() – V5, I() = –10 µA CSN Vpu() –0.6 V A 1.17 Pull-up voltage to VI Vpu() = V() – VI, I() = –10 µA RSTN Vpu() –0.6 V A 1.18 Pull-down voltage I() = 10 µA CLK, DI, E5, ERD, WDT, WLP Vpd() 0.6 V A 2 V A V A 1 V A 0.2 V A 1.19 Input threshold voltage high CLK, CSN, DI, E5, ERD, RSTN, WDT, WLP Vt()hi 1.20 Input threshold voltage low CLK, CSN, DI, E5, ERD, RSTN, WDT, WLP Vt()lo 0.85 1.21 Input hysteresis voltage Vt()hys = Vt()hi – Vt()lo CLK, CSN, DI, E5, ERD, RSTN, WDT, WLP Vt()hys 0.2 1.22 Saturation voltage low I() = 0.1 mA, outputs low C1O, C2O, VRE, DO, RESAN, RESN, UVW Vs()lo *) Type means: A = 100% tested, B = 100% correlation tested, C = Characterized on samples, D = Design parameter Note: 8 1. Reduced operation mode means either - RDSON of drivers could be higher than specified or - Voltage at pin TCFET could be beyond specified limits ATA6842 4964B–AUTO–07/07 ATA6842 5. Electrical Characteristics (Continued) Operating conditions: V12 = 6.5V to 26V, V5 = 5V ±3%, RREF = 10 kΩ ±2%, Tj = –40°C to 150°C, unless otherwise specified. No. Parameters Test Conditions Pin Symbol Min. Typ. Max. Unit Type* 1.23 Saturation voltage low I() = 1.6 mA, outputs low C1O, C2O, VRE, DO, RESAN, RESN, UVW Vs()lo 0.4 V A 1.24 Saturation voltage high Vs() = V5 – V(), I() = –0.1 mA, outputs high C1O, C2O, DO, RESN, UVW Vs()hi 0.5 V A 1.25 Saturation voltage high Vs() = V5A – V(), I() = –0.1 mA, RESAN high RESAN Vs()hi 0.5 V A 1.26 Saturation voltage high Vs() = V5 – V(), I() = –1.6 mA, outputs high C1O, C2O, DO, RESN, UVW Vs()hi 1 V A 1.27 Saturation voltage high Vs() = V5A – V(), I() = –1.6 mA, RESAN high RESAN Vs()hi 1 V A 1.28 Rise time Cload = 10 pF, V() from low = 10% -> high = 90% V5 C1O, C2O, DO, RESN, UVW tr() 200 ns B 1.29 Rise time Cload = 10 pF, V() from low = 10% -> high = 90% V5A RESAN tr() 200 ns B 1.30 Fall time Cload = 10 pF, V() from high = 90% -> low = 10% V5 C1O, C2O, DO, RESN, UVW tf() 200 ns B 1.31 Fall time Cload = 10 pF, V() from high = 90% -> low = 10% V5A RESAN tf() 200 ns B 1.32 Leakage current DO = off, V() = 0V to V5 DO I()lk –10 +10 µA A C1O, C2O, DO, RESN, UVW Isc()lo 8 40 mA A RESAN Isc()lo 8 40 mA A C1O, C2O, VRE, DO, RESAN, RESN, UVW Isc()hi –30 –8 mA A 1.33 Short circuit current low V() = V5, pins = low 1.34 Short circuit current low V() = V5A, RESAN = low 1.35 Short circuit current high V() = 0V, pins = high 1.36 Saturation voltage high Vs() = VI – V(), I() = –0.1 mA, VRE high VRE Vs()hi 0.5 V A 1.37 Saturation voltage high Vs() = VI – V(), I() = –1.6 mA, VRE high VRE Vs()hi 1 V A 1.38 Short circuit current low V() = VI, VRE = low VRE Isc()lo 40 mA A 1.39 Rise time Cload = 10 pF, V() from low = 10% -> high = 90% VI VRE tr() 200 ns B 1.40 Fall time Cload = 10 pF, V() from high = 90% -> low = 10% VI VRE tf() 200 ns B 8 *) Type means: A = 100% tested, B = 100% correlation tested, C = Characterized on samples, D = Design parameter Note: 1. Reduced operation mode means either - RDSON of drivers could be higher than specified or - Voltage at pin TCFET could be beyond specified limits 9 4964B–AUTO–07/07 5. Electrical Characteristics (Continued) Operating conditions: V12 = 6.5V to 26V, V5 = 5V ±3%, RREF = 10 kΩ ±2%, Tj = –40°C to 150°C, unless otherwise specified. No. Parameters 2 Pin Symbol Min. Typ. Max. Unit Type* RREF V(RREF) 1.18 1.23 1.28 V A Bandgap, Bias 2.1 Voltage at RREF 3 Test Conditions RREF = 10 kΩ ±2% Temperature Monitoring 3.1 Thermal shutdown temperature Overcurrent in WLN, OUTN or OUTP for t > 200 µs T1off 120 145 °C A 3.2 Thermal re-entry temperature Overcurrent in WLN, OUTN or OUTP for t > 200 µs T1on 105 135 °C A T1hys 5 20 °C A 3.3 Thermal hysteresis 1 T1hys = T1off – T1on 3.4 Thermal shutdown temperature T2off 140 165 °C A 3.5 Thermal re-entry temperature T2on 125 155 °C A T2hys 5 12 20 °C A 60 100 150 kΩ A 2.5 V A V A mV A 3.6 Thermal hysteresis 2 T2hys = T2off – T2on 4 Enable/Standby 4.1 Input resistor EK15 RiEK15 4.2 Upper enable threshold EK15 VEK15on 4.3 Lower enable threshold EK15 VEK15off 1.5 4.4 Enable hysteresis EK15 VEK15hys 200 600 Enable time based 4.5 on watchdog oscillator period EK15 te(EK15) 1 6 4.8 5 A V12 Voltage Monitoring 5.1 Lower undervoltage threshold V12 VtUlo 5.2 Upper undervoltage threshold V12 VtUhi 5.3 Undervoltage hysteresis V12 VtUhys 200 5.4 Lower overvoltage threshold V12 VtOlo 26 5.5 Upper overvoltage threshold V12 VtOhi 5.6 Overvoltage hysteresis V12 VtOhys 5.7 Under/overvoltage filter time V12 tfi VtUhys = VtUhi – VtUlo VtOhys = VtOhi – VtOlo V A 5.8 V A 600 mV A V A 32 V A 0.5 1.8 V A 50 100 µs A *) Type means: A = 100% tested, B = 100% correlation tested, C = Characterized on samples, D = Design parameter Note: 10 1. Reduced operation mode means either - RDSON of drivers could be higher than specified or - Voltage at pin TCFET could be beyond specified limits ATA6842 4964B–AUTO–07/07 ATA6842 5. Electrical Characteristics (Continued) Operating conditions: V12 = 6.5V to 26V, V5 = 5V ±3%, RREF = 10 kΩ ±2%, Tj = –40°C to 150°C, unless otherwise specified. No. Parameters Test Conditions Pin Symbol Min. Typ. Max. 6.1 Output voltage I(V5) = –150 mA to 0 mA, ß(NPN) > 120 mA, Uce,sat(NPN) < 0.8V, fT > 100 MHz Ube(NPN) < 0.8V at –40°C, Ube(NPN) < 0.7V at 27°C, Ube(NPN) < 0.6V at 105°C V5 V5 4.85 5 5.15 V A 6.2 Line regulation V12 = 8V to 18V, I(V5) = –150 mA V5 V5lir –10 +10 mV A 6.3 Load regulation V12 = 14V, I(V5) = –50 mA to –150 mA V5 V5lor –20 +20 mV A 6.4 Allowed capacitor V5 CV5 7 22 µF C 6.5 Allowed capacitor V5 ESR,CV5 0.5 10 Ω C RESN = low V5 VtU(V5)low 4.5 V A V A V A 5.5 V A 6 Unit Type* Linear Regulator Lower threshold 6.6 undervoltage 6.7 Upper threshold undervoltage RESN = high V5 VtU(V5)hig h 6.8 Lower threshold overvoltage RESN = high V5 VtO(V5)low 6.9 Upper threshold overvoltage RESN = low V5 VtO(V5)hig h 6.10 Hysteresis Under/overvoltage V5 Vt(V5)hys 50 200 mV A 6.11 Under/overvoltage filter time V5 tfi(V5) 8 30 µs A 4.8 5.2 6.12 Short circuit current V(B5) = 0V B5 Isc(B5) 1.5 8 mA A 6.13 Pull-down resistor V(B5) = 1V B5 Rpd(B5) 50 250 kΩ A 6.14 Pull-down current V(B5) = 6V B5 Ipd(B5) 10 50 µA A Vs(B5) = V12 – V(B5), V12 = 5.8V to 6.5V, I(B5) = –1.25 mA Tj = –40°C Tj = 27°C Tj = 105°C B5 Vs(B5)high 0.15 0.25 0.35 V V V 6.15 Saturation voltage high A *) Type means: A = 100% tested, B = 100% correlation tested, C = Characterized on samples, D = Design parameter Note: 1. Reduced operation mode means either - RDSON of drivers could be higher than specified or - Voltage at pin TCFET could be beyond specified limits 11 4964B–AUTO–07/07 5. Electrical Characteristics (Continued) Operating conditions: V12 = 6.5V to 26V, V5 = 5V ±3%, RREF = 10 kΩ ±2%, Tj = –40°C to 150°C, unless otherwise specified. No. Parameters Pin Symbol Min. Typ. Max. 7.1 Output voltage I(V5A) = –30 mA to 0 mA, ß(NPN) > 200, Uce,sat(NPN) < 1V, Ube(NPN) < 0.8V at –40°C, Ube(NPN) < 0.7V at 27°C, Ube(NPN) < 0.6V at 105°C V5A V5A 4.65 5 5.35 V A 7.2 Line regulation V12 = 8V to 18V, I(V5A) = –30 mA V5A V5Alir –10 +10 mV A 7.3 Load regulation V12 = 14V, I(V5A) = –10 mA to –30 mA V5A V5Alor –20 +20 mV A 7.4 Minimum capacitor V5A CV5A 3.3 10 µF C 7.5 Minimum capacitor V5A ESR,V5A 0.5 10 Ω C 4 V A V A V A 6 V A 7 Test Conditions Unit Type* V5A Auxiliary Linear Regulator 7.6 Lower threshold undervoltage RESAN = low V5A VtU(V5A) low 7.7 Upper threshold undervoltage RESAN = high V5A VtU(V5A) high 7.8 Lower threshold overvoltage RESAN = high V5A VtO(V5A) low 7.9 Upper threshold overvoltage RESAN = low V5A VtO(V5A) high 7.10 Hysteresis under/ overvoltage V5A Vt(V5A) hys 50 200 mV A 7.11 Under/overvoltage filter time Not in standby mode V5A tfi(V5A) 8 30 µs A 7.12 Short circuit current V(B5A) = 0V B5A Isc(B5A) 0.3 1.5 mA A 7.13 Pull-down resistor V(B5A) = 1V B5A Rpd(B5A) 50 250 kΩ A 7.14 Pull-down current V(B5A) = 6V B5A Ipd(B5A) 10 50 µA A Vs(B5A) = V12 – V(B5A), V12 = 5.8V to 6.5V, I(B5A) = –150 µA Tj = –40°C Tj = 27°C Tj = 105°C B5A Vs(B5A) hi 0.35 0.45 0.55 V V V 7.15 Saturation voltage high 4.6 5.4 A *) Type means: A = 100% tested, B = 100% correlation tested, C = Characterized on samples, D = Design parameter Note: 12 1. Reduced operation mode means either - RDSON of drivers could be higher than specified or - Voltage at pin TCFET could be beyond specified limits ATA6842 4964B–AUTO–07/07 ATA6842 5. Electrical Characteristics (Continued) Operating conditions: V12 = 6.5V to 26V, V5 = 5V ±3%, RREF = 10 kΩ ±2%, Tj = –40°C to 150°C, unless otherwise specified. No. Parameters 8 Test Conditions Pin Symbol Min. C(VI) = 100 nF, I(VI) = –1 mA to 0 mA VI VI 4.35 3 Typ. Max. Unit Type* Internal Voltage Supply VI 8.1 Output voltage 5.35 V A V A V A V A 6 V A 8.2 Lower threshold undervoltage RESN = low VI VtUlo 8.3 Upper threshold undervoltage RESN = high VI VtUhi 8.4 Lower threshold overvoltage RESN = high VI VtOlo 8.5 Upper threshold overvoltage RESN = low VI VtOhi 8.6 Hysteresis undervoltage VI VtUhys 0.4 1 V A 8.7 Hysteresis overvoltage VI VtOhys 50 200 mV A VI Isc() 20 150 mA A –10 +30 mV A 100 mV A 8.8 Short-circuit current 9 VI = 0V 4.3 5.4 Current Measurement, x = 1, 2 9.1 Output voltage low I(BxCO) = 20 µA, BxCO = low BxCO Vs()lo 9.2 Saturation voltage I(BxCO) = –750 µA, BxCO = high, Vs(BxCO)hi = V5 – V(BxCO) BxCO Vs()hi 9.3 Short-circuit current low BxCO = low, V(BxCO) = V5 BxCO Isc()lo 0.5 2 mA A 9.4 Short-circuit current high BxCO = high, V(BxCO) = 0V BxCO Isc()hi –25 –2.5 mA A BxCO Vos() –3.5 –3 –3.5 +3.5 +3 +3.5 mV mV mV BxCI BxCG Ilk() –1.75 –0.25 µA A BxCI BxCO Vi() –0.7 +0.35 V A B1CI, B1CG and B2CI, B2CG dIlk() –0.25 +0.25 µA A Vos() = V(BxCI) – V(BxCG) Input offset voltage T = –40°C 9.5 V(BxCO) – (V(BxCI) j Tj = 27°C – V(BxCG)) Tj = 105°C 9.6 Leakage current V(BxCI), V(BxCG) = –0.7V to +0.35V 9.7 Input voltage range 9.8 V(BxCI), V(BxCG) = Difference in leakage –0.7V to +0.35V, current dIlk(BxCI, BxCG), –1 A *) Type means: A = 100% tested, B = 100% correlation tested, C = Characterized on samples, D = Design parameter Note: 1. Reduced operation mode means either - RDSON of drivers could be higher than specified or - Voltage at pin TCFET could be beyond specified limits 13 4964B–AUTO–07/07 5. Electrical Characteristics (Continued) Operating conditions: V12 = 6.5V to 26V, V5 = 5V ±3%, RREF = 10 kΩ ±2%, Tj = –40°C to 150°C, unless otherwise specified. No. Parameters Test Conditions Pin Symbol Min. I(RDx) = 150 mA, T < Toff Tj = –40°C Tj = 27°C Tj = 105°C RDx Vs()lo V(RDx) = 2V to V12, T < Toff RDx Isc()lo 250 V(RDx) = 0V to 40V, T < Toff RDx Ilk() I(RDx) = 10 mA, RDx = high, L = 0.2H RDx 11.1 Upper window time ROS = 100 kΩ ±1%, COS = 1 nF ±5% 11.2 Lower window time 11.3 Watchdog timeout Typ. Max. Unit Type* 10 Relay Driver RDx, x = 1 to 4 Saturation voltage 10.1 low 10.2 Short circuit current low 10.3 Leakage current 10.4 Free-wheeling voltage 0.4 0.5 0.6 V V V 400 mA A –5 +5 µA A Vf() 42 60 V A WDT Tu(WDT) 22.2 24.6 27 ms A ROS = 100 kΩ ±1%, COS = 1 nF ±5% WDT Tl(WDT) 16.4 18 19.8 ms A ROS = 100 kΩ ±1%, COS = 1 nF ±5% WDT Tt(WDT) 59.7 64.6 71 ms A 0.4 V A 50 mA A 12 mA A mA A 300 A 11 Watchdog 12 Warning Lamp WLN 12.1 Saturation voltage low I(WLN) = 20 mA, WLN = low WLN Vs()lo 12.2 Short-circuit current low V(WLN) = 1V to V12, WLN = low WLN Isc()lo 12.3 Threshold current high WLN Ith()hi WLN Ith()lo 8 12.4 Threshold current low 20 30 12.5 Hysteresis threshold current WLN Ithhys 0.25 1.5 mA A 12.6 Threshold voltage detection WLN Vth() 2.25 2.75 V A 12.7 Leakage current V(WLN) = 0V to 40V, WLN = high WLN Ilk() –10 +10 µA A 12.8 Overcurrent filter time I(WLN) > Isc(WLN)lo, T > T1off WLN tfi() 100 200 µs A 12.9 Fall time V(WLN) from high = 90% -> low = 10% V12 WLN tf() 10 µs B I(WLN) = 10 mA, WLN = high, L = 10 µH WLN Vf() 60 V A 12.10 Free-wheeling voltage 42 *) Type means: A = 100% tested, B = 100% correlation tested, C = Characterized on samples, D = Design parameter Note: 14 1. Reduced operation mode means either - RDSON of drivers could be higher than specified or - Voltage at pin TCFET could be beyond specified limits ATA6842 4964B–AUTO–07/07 ATA6842 5. Electrical Characteristics (Continued) Operating conditions: V12 = 6.5V to 26V, V5 = 5V ±3%, RREF = 10 kΩ ±2%, Tj = –40°C to 150°C, unless otherwise specified. No. Parameters Test Conditions Pin Symbol Min. Typ. Max. Unit Type* 13.1 Reset pulse duration RESN tl(RESN) 5.2 7.7 ms A 13.2 Reset pulse duration RESAN tl(RESAN) 0.1 1 ms A 1.2 V A 120 mA A 12 mA A mA A 13 Reset 14 Low-side Driver OUTN 14.1 Saturation voltage low I(OUTN) = 60 mA, OUTN = low, T < Toff OUTN Vs()lo 14.2 Short-circuit current low V(OUTN) = 2V to V12, OUTN = low OUTN Isc()lo 14.3 Threshold current high OUTN Ith()hi 14.4 Threshold current low OUTN Ith()lo 8 Hysteresis threshold 14.5 current OUTN Ithhys 0.25 1.5 mA A OUTN Vth() 2.25 2.75 V A 14.6 Threshold voltage detection 60 90 14.7 Leakage current V(OUTN) = 0V to 40V, OUTN = high OUTN Ilk() –10 +10 µA A 14.8 Overcurrent filter time I(OUTN) > Isc(OUTN)lo, T > T1off OUTN tfi() 100 200 µs A 14.9 Fall time V(OUTN) from high = 90% -> low = 10% V12 OUTN tf() 10 µs B I(OUTN) = 10 mA, OUTN = high, L = 10 µH OUTN Vf 60 V A Vs(OUTP) = V12 V(OUTP), I(OUTP) = –10 mA, OUTP = high, T < Toff OUTP Vs()hi 1 V A V(OUTP) = 0V to V12 – 2V, OUTP = high OUTP Isc()hi –25 –10 mA A OUTP Ith()hi –5 mA A OUTP Ith()lo –2 mA A OUTP Ithhys –1 –0.1 mA A 14.10 Free wheeling voltage 42 15 High-side Driver OUTP 15.1 Saturation voltage high 15.2 Short-circuit current 15.3 Threshold current high 15.4 Threshold current low 15.5 Hysteresis threshold current –15 15.6 Leakage current V(OUTP) = 0V to V12, OUTP = low OUTP Ilk() –10 +10 µA A 15.7 Overcurrent filter time I(OUTP) > Isc(OUTP)hi, T > T1off OUTP tfi() 100 200 µs A 15.8 Rise time V(OUTP) from low = 10% -> high = 90% V12 OUTP tr() 10 µs B *) Type means: A = 100% tested, B = 100% correlation tested, C = Characterized on samples, D = Design parameter Note: 1. Reduced operation mode means either - RDSON of drivers could be higher than specified or - Voltage at pin TCFET could be beyond specified limits 15 4964B–AUTO–07/07 5. Electrical Characteristics (Continued) Operating conditions: V12 = 6.5V to 26V, V5 = 5V ±3%, RREF = 10 kΩ ±2%, Tj = –40°C to 150°C, unless otherwise specified. No. Parameters Test Conditions Pin Symbol Min. Typ. Max. Unit Type* ROS = 100 kΩ ±1%, COS = 1 nF ±5% RCOS fOSC 9 10 11 kHz A No reset, f – 1/(2 × ROS × COS) RCOS fOSC 0.9 55 kHz A 16 Watchdog Oscillator RCOS 16.1 Oscillator frequency 16.2 Permissible frequency range 16.3 Permissible resistor COS = 1 nF RCOS ROS 20 100 kΩ A RCOS COS 1 10 nF A V(RCOS) = VI RCOS Isc()lo 1 4 mA A V(RCOS) = 0% to 63.2% VI RCOS Ilk() –5 +5 µA A fmosC 82.5 100 120 kHz A CxI Vth(CxI) 1.1 1.23 1.4 V A –10 +10 µA A 20 µs B 16.4 Permissible capacitor ROS = 100 kΩ 16.5 Short-circuit current low 16.6 Leakage current 17 Main Oscillator 17.1 Main oscillator frequency RREF = 10 kΩ ±2% 18 Comparator Cxl, x = 1, 2 18.1 Threshold voltage detection 18.2 Leakage current V(CxI) = 0V to V5 CxI Ilk(CxI) 18.3 Propagation delay dv/dt > 1V/µs CxI tpd(Cx) TCFET Vo() 4.5 10 V A 1 25 mA A 19 TCFET 19.1 Output voltage Vo(TCFET) = V(TCFET) – V12, V12 > 6.5V, I(TCFET) = –20 µA to 0 µA 19.2 Short-circuit current high V(BSC) = 0V to V12 – 3V BSC Isc(BSC)hi 19.3 Saturation voltage high Vd() = V(BSC) – V(TCFET), TCFET = high, I(TCFET) = –20 µA BSC Vs()hi 1.5 V A 19.4 Saturation voltage low TCFET = low, I(TCFET) = 50 µA TCFET Vs()lo 200 mV A 19.5 Short-circuit current high V(TCFET) = 0V, TCFET = high TCFET Isc()hi –250 –50 –25 µA A 19.6 Short-circuit current low V(TCFET) = 2V to V12, TCFET = low TCFET Isc()lo 100 150 200 µA A BSC Ilk() –10 +10 µA A 19.7 Leakage current V(BSC) = V12 to 36V, TCFET = low *) Type means: A = 100% tested, B = 100% correlation tested, C = Characterized on samples, D = Design parameter Note: 16 1. Reduced operation mode means either - RDSON of drivers could be higher than specified or - Voltage at pin TCFET could be beyond specified limits ATA6842 4964B–AUTO–07/07 ATA6842 5. Electrical Characteristics (Continued) Operating conditions: V12 = 6.5V to 26V, V5 = 5V ±3%, RREF = 10 kΩ ±2%, Tj = –40°C to 150°C, unless otherwise specified. No. Parameters Test Conditions Pin Symbol Min. Typ. Max. Unit Type* 20 V12S Switch 20.1 Saturation voltage high Vs(V12S) = V12 – V(12S), V12S = high, T < T2off, I(V12S) = –60 mA V12S Vs()hi 0.36 20.2 Short-circuit current high V(V12S) = 0V to V12 – 2V, V12S = high V12S Isc()hi –150 V(V12S) = 0V to V12, V12S = low V12S Ilk() –10 UVM Vir(UVR) 0.3 × V5 0.9 × V5 A UVM Vt(K30, UVM) 2.9 × UVR 3.0 × UVR 3.1 × UVR A 21.3 Input resistor UVM Ri(UVM) 60 100 150 Undervoltage reference hysteresis 21.4 based on V(K30, UVM) UVM Vt(UVR) hys 0.02 × UVR 0.06 × UVR UVR Ilk(UVR) –5 +5 µA A UVM Ilk(UVM) stb –5 +5 µA A 20.3 Leakage current –90 1.2 V A –60 mA A +10 µA A 21 UVM Voltage Monitoring 21.1 Input voltage range Threshold on 21.2 V(K30, UVM) 21.5 Leakage current 21.6 Leakage current R(K30, UVM) = 511Ω ±2% V(UVR) = 0V to V5 V(UVM) = 0V to V12, standby kΩ A A *) Type means: A = 100% tested, B = 100% correlation tested, C = Characterized on samples, D = Design parameter Note: 1. Reduced operation mode means either - RDSON of drivers could be higher than specified or - Voltage at pin TCFET could be beyond specified limits 6. Operating Conditions: SPI Interface V12 = 5.8V to 26V; Tamb = –40°C to 105°C Parameters Symbol Min. Max. Unit 12.5 µs tcycle 0.5 Low cycle time tcycle,lo 150 ns High cycle time tcycle,hi 150 ns tsetup 100 ns Cycle time Setup time: DI stable before CLK high to low thold 100 ns Access time: DO stable after CLK high to low taccess 100 ns Valid time: DO stable before CLK high to low tvalid 100 ns Hold time: DI stable after CLK high to low 17 4964B–AUTO–07/07 7. Functional Description 7.1 Bandgaps For voltage monitoring and as references for various voltage regulators, two independent bandgaps are used. The bandgaps for the generation and monitoring of the internal supply (V5 and V5A) are used in cross-over mode. 7.2 Bias The external resistor at RREF defines a current reference for all blocks and determines main oscillator frequency. The current through the external resistor is monitored and in case of malfunction (pin open or short to ground; current is less than 0.25 times or greater than 8 times nominal value), a bias failure is detected (see Table 7-9 on page 25). 7.3 Temperature Monitoring To protect the circuit from extensive temperature in error condition, two temperature levels are implemented to switch off various blocks. At the lower temperature level, the outputs WLN, OUTN or OUTP are switched off after a debounce time, if the corresponding driver is in current limitation. The Warning Lamp is switched on above the upper temperature level. All other drivers and the linear regulators will switch off. If the temperature level falls below the shutdown temperature (hysteresis), all drivers except TCFET and the relay drivers will go to their previous state. 7.4 Enable/Standby The power consumption of ATA6842 is reduced to a minimum via inputs E5 or EK15 (sleep mode). With the signal TEN via SPI command, the inputs E5 and EK15 can be overwritten and the ATA6842 will stay active (keep-alive function). The status of EK15 can be read via SPI. Table 7-1. E5 7.5 Enable/Standby Table EK15 TEN (SPI) ATA6842 High x x Active x High x Active Low Low High Active Low Low Low Standby V12 Voltage Monitoring The system supply is checked for overvoltage and undervoltage at the internal voltage divider. If the voltage exceeds the limits, the drivers are switched off and a reset at RESN and RESAN is generated (see Table 7-9 on page 25). 18 ATA6842 4964B–AUTO–07/07 ATA6842 7.6 5V Linear Regulators The ATA6842 offers two independent 5V supplies. The main supply (V5) is available only in active mode while the auxiliary 5V supply (V5A) is active all the time. The ATA6842 activates the basis of external bipolar transistors via pins B5 and B5A. The currents of the regulators V5 (150 mA) and V5A (30 mA), defined in the datasheet, can only be achieved if the external transistors fulfil certain requirements in terms of current amplification and transit frequency. Especially for V12 = 5.8V a low saturation voltage of B5 and B5A in combination with the forward diode voltage and a low saturation voltage (Uce,sat) of the external bipolar transistors is required. For fast load changes at V5 a high transit frequency is necessary (typically fT > 100 MHz). For voltage monitoring and as references for the voltage regulators two independent bandgaps are used. The voltage monitoring functions of V5 and V5A generate a reset pulse at RESN and RESAN if the limits are exceeded (see Table 7-9 on page 25). For internal voltage supply, an additional linear regulator (VI) is implemented. 7.7 Current Measurement The ATA6842 contains two differential amplifiers for current measurement. The input signal of each amplifier is a voltage drop over an external current sense resistor. The amplification, defined by the ratio of external resistors, provides a reasonable signal for the following A/D converter. The output is limited to V5. 7.8 Relay Driver The ATA6842 features four current-limited relay drivers for motor direction control relays. The relays are controlled by an SPI command and the input of the enable relay driver (ERD). Error conditions disable the relays permanently (see Table 7-9 on page 25). Table 7-2. TRD1 (SPI) TRD2 (SPI) ERD RD1 RD2 Low Low x Open drain Open drain Low High High Open drain Low High Low High Low Open drain High High High Open drain Open drain x x Low Open drain Open drain Table 7-3. Note: Relay Status Table Relay Status Table TRD3 (SPI) TRD4 (SPI) ERD RD3 RD4 Low Low x Open drain Open drain Low High High Open drain Low High Low High Low Open drain High High High Open drain Open drain x x Low Open drain Open drain The simultaneous activation of the relay drivers RD1 and RD4 or RD2 and RD3 is not possible (see Table 7-2 and Table 7-3). This feature ensures that if ATA6842 is used in DC motor application, the motors can only operate in the same direction. 19 4964B–AUTO–07/07 7.9 Watchdog The open loop watchdog (window comparator) compares each time interval between a falling and a rising edge with a given reference time interval. The lower window time is between 90 × t WD and 91 × t WD and the upper window time is between 122 × t WD and 123 × t WD (tWD = 2/fOSC). The watchdog includes an error counter WDC(2:0) which is incremented by one when there are valid trigger events and decremented by three when there are watchdog errors. If the counter reaches a value of zero (state S0: 000), the warning lamp will be switched on. Relay drivers, TCFET-, low- and high-side drivers are disabled. With a counter value greater than or equal to seven (state S7: 111), the watchdog stops affecting the drivers. In the case of a watchdog timeout (322 × tWD to 323 × tWD), the error counter is immediately set to zero. The initial state of the watchdog counter after power-up or if RESN is low is 110 (state S6). The watchdog can be reset by RSTN. Figure 7-1. State Diagram S1 001 good bad S2 010 bad | timeout good good bad | timeout good bad S3 011 bad | timeout S0 000 timeout good S7 111 timeout timeout good timeout bad S4 100 S6 110 good S5 101 good bad bad 20 ATA6842 4964B–AUTO–07/07 ATA6842 7.10 Warning Lamp The ATA6842 features a watchdog-controlled output, WLN, which can be used to switch a warning lamp. Depending on the warning lamp polarity pin (WLP), the warning lamp output is switched either to low level or to open drain, when a Warning lamp request (that is, On in Table 7-9 on page 25, column WLN) occurs or the corresponding SPI command is transmitted. For the behavior of WLN output refer to Table 7-4. The driver is short-circuit proof and will switch off after a debounce time. An activation of the warning lamp due to Warning lamp request is suppressed for 768 × tWD after wake-up to avoid a flickering of the warning lamp during the start-up phase (exception: lower thermal threshold level reached). The driver also has a current sensor and a voltage monitoring which sets SPI flags if the corresponding thresholds are reached. Warnlamp is open drain during suppression time after wake-up. If the oscillator does not work 4 ms after start up, the internal oscillator watchdog timeout is reached and the warning lamp is switched on. Table 7-4. TWLN (SPI) Overcurrent in WLN Occurred Thermal Threshold #1 Reached Suppression Time After Wake-up/VI Reset V12 WLP WLN Yes x x No t < 768 × tWD > 4.8V Low Open drain Yes x x No t > 768 × tWD > 4.8V Low Low Yes x No Yes t < 768 × tWD > 4.8V Low Open drain Yes x No Yes t > 768 × tWD > 4.8V Low Low No High x No t > 768 × tWD > 4.8V Low Low No Low x No x > 4.8V Low Open drain Yes x Yes Yes x > 4.8V Low Open drain Yes x x No x > 4.8V High Open drain Yes x No Yes x > 4.8V High Open drain No High x No t > 768 × tWD > 4.8V High Low Warnlamp Request 7.11 Warning Lamp Status Table No Low x No x > 4.8V High Open drain No High Yes Yes x > 4.8V High Open drain No High No Yes x > 4.8V x Open drain x x x x x < 4.8V x Open drain Reset When V12, VI, V5 or V5A are beyond their corresponding normal operating range or the temperature has reached the upper temperature level, a reset is indicated at the outputs RESN (640 × tmos; tmos = 1/fmos) and RESAN. Additionally, RESAN can be activated by an SPI command. Via input RSTN, the SPI Interface and the watchdog can be reset by an external signal (see Table 7-9 on page 25). 21 4964B–AUTO–07/07 7.12 SPI Interface The ATA6842 supports an 8-bit SPI interface to communicate with the microprocessor. The MSB is transmitted first. There are two status registers (address 0xxxxx01 and 0xxxxx10) and two control registers (address 1xxxxx01 and 1xxxxx10). Table 7-5. Name Meaning Function 7 C1O Comparator 1 output 0: comparator C1I below threshold 1: comparator C1I above threshold 6 EK15S EK15 status 0: EK15 below threshold 1: EK15 above threshold 5 WLPS Warnlamp polarity status 0: pin WLP = low 1: pin WLP = high 4 OTS Overtemperature status 0: normal operation 1: overtemperature present or overtemperature detection switched off 3 WDOK Watchdog status 0: watchdog OK 1: watchdog failure 2:0 WDC(2:0) Watchdog counter bit 2:0 Status of watchdog counter Table 7-6. 22 Status Register 0xxxxx01 Request by Microprocessor Bit Status Register 0xxxxx10 Request by Microprocessor Bit Name Meaning Function 7 WLNOC Warnlamp overcurrent 0: no overcurrent 1: overcurrent 6 ONOC OUTN overcurrent 0: no overcurrent 1: overcurrent 5 OPOC OUTP overcurrent 0: no overcurrent 1: overcurrent 4 WLNCS Warnlamp current status 0: current below threshold 1: current above threshold 3 ONCS OUTN current status 0: current below threshold 1: current above threshold 2 OPCS OUTP current status 0: current below threshold 1: current above threshold 1 WLNVS Warnlamp voltage status 0: voltage below threshold 1: voltage above threshold 0 ONVS OUTN voltage status 0: voltage below threshold 1: voltage above threshold ATA6842 4964B–AUTO–07/07 ATA6842 Table 7-7. Bit Control Register 1xxxxx01 Sent by Microprocessor Name Meaning Function Comment 7 TWLN Trigger warning lamp 0: WLN = off 1: WLN = on See Table 7-4 on page 21 and Table 7-9 on page 25 6 TOUTN Trigger OUTN 0: OUTN = off 1: OUTN = on See Table 7-10 and Table 7-11 on page 26 5 TOUTP Trigger OUTP 0: OUTP = off 1: OUTP = on See Table 7-10 and Table 7-11 on page 26 4 TEN Trigger enable (keep alive) 0: no keep alive 1: keep alive See Table 7-1 on page 18 3 TV12S Trigger V12 switch 0: V12S = off 1: V12S = V12 Used in Testmode 3 see Table 7-9 on page 25 2 TUVR Trigger undervoltage reference 0: if UVM < 3 × UVR => UVW = low 0: if UVM > 3 × UVR => UVW = high 1: UVW = low 1 – 0 OTDE Note: – – Overtemperature 0: temperature detection off detection enable 1: temperature detection on No function Set OTS = high if overtemperature => OTS = high, else low Bold: default state after reset by RSTN = low Table 7-8. Control Register 1xxxxx10 Sent by Microprocessor Bit Name Meaning Function Comment 7 TTCFET Trigger test current FET 0: TCFET = off 1: TCFET = on See Table 7-9 on page 25 6 TRESAN Trigger RESAN 0: default 1: RESAN = reset (low) 5 – 4 TRD4 Trigger relay driver 4 0: RD4 = off 1: RD4 = on if RD3 = off 3 TRD3 Trigger relay driver 3 0: RD3 = off 1: RD3 = on if RD4 = off 2 TRD2 Trigger relay driver 2 0: RD2 = off 1: RD2 = on if RD1 = off 1 TRD1 Trigger relay driver 1 0: RD1 = off 1: RD1 = on if RD2 = off 0 Note: – – – – Bold: default state after reset by RSTN = low – No function See Table 7-2 on page 19, Table 7-3 on page 19 and Table 7-9 on page 25 No function For operation of SPI communication see the following timing diagrams (see Figure 7-2 and Figure 7-3 on page 24). With a low signal at CSN, the ATA6842 will be selected for communication by the microprocessor. With clock pulses at CLK, the address and data transfer will be synchronized. DI is the input for address and data from the microprocessor to ATA6842. The data must be valid at the falling edge of the CLK pin. DO transfers data from ATA6842 to the microprocessor. 23 4964B–AUTO–07/07 The request command structure (to read a status register of ATA6842) consists of a two-byte transmission. The control command structure (to write a control register of ATA6842) consists of a three-byte transmission with eight clock pulses each and a low/high transition at CSN. The first byte is for identification. All request command ID bytes shall have a “0” in their most significant bit. The address is transmitted by the last two bits. In the second byte (which can be a dummy byte (0x00) or next command), the status register corresponding to the address of the first byte will be sent by DO. At start-up, the returned value when the first command is sent will be zero (no 'last command' available). Figure 7-2. Request Command Structure (Read Register) CSN CLK DI 0 X X X X DO X ADR1 ADR0 0 X X X X X ADR1 ADR0 DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 All control command ID bytes shall have a “1” in their most significant bit. The address is transmitted by the last two bits. The second byte is the data byte which contains the control data for the send command. With the second low to high transition of CSN the data is stored in ATA6842. The SPI logic monitors for faulty communication. To check which data is received at ATA6842 in the second and third clock cycle, the address and data are sent back to the microprocessor and tested to verify that the transmission was correct. The first data byte at DO is the response byte of the last command while the third DI byte is the address for the next data. If there is no next command, the address can be set to 0x00. Figure 7-3. Control Command Structure (Write Register) CSN CLK DI 1 X X X DO X X ADR1 ADR0 DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 ADR7 ADR6 ADR5 ADR4 ADR3 ADR2 ADR1 ADR0 ADR7 ADR1 ADR0 DATA7 DATA1 DATA0 The 8 CLK pulses must be received when CSN is triggered, otherwise the address and/or data will be ignored and zeros will be returned on DO. The minimum time for receiving during CSN = low is t ≤ 100 µs; otherwise, a timeout expires and the receiving is stopped. Any received data is ignored. Therefore, the minimum clock frequency is 80 kHz for SPI transmission. 24 ATA6842 4964B–AUTO–07/07 ATA6842 7.13 External Voltage Regulator VRE The ATA6842 can control an external voltage regulator with enable input. The VRE output provides the same logic as for the V5 regulator (see Table 7-9). For V5 voltage monitoring, the external generated voltage must be connected to V5. Table 7-9. Logic Table Event VI V5 VRE V5A SPI Info WLN RD1 to RD4 RESN RESAN V12S OUTx x = N,P TCFET Standby Off Off On – Off Off – No reset Off Off Off V12 undervoltage On Off Off No Off Off Reset Reset Off Off Off VI undervoltage On Off On No Off Off Reset No reset Off Off Off VI overvoltage On Off On No On Off Reset No reset Off Off Off Oscillator/bias failure On Off Off No On Off Reset Reset Off Off Off V12 overvoltage On Off Off No On Off Reset Reset Off Off Off Off Off (4) Off Reset Reset On Off No reset No reset Off Off Off On Off Reset No reset Off Off Off On Off No reset Reset Off Off Off Yes Off(1) On/Off No reset No reset On/Off On/Off On/Off On Yes Off On/Off No reset No reset On/Off On/Off(1) On/Off On Yes On Off No reset No reset On/Off Off Off Temp Perm Upper thermal threshold On On On Yes Reset by RSTN On On On No V5 out of range On On On No V5A out of range On On On No Short circuit WLN (overcurrent) On On On Short circuit OUTx (overcurrent) On On Watchdog error On On On (3) – Off mode – – – – – Perm Note: 1. Corresponding driver is switched off if thermal threshold number 1 is reached – Off (5) (2) Temp 2. Temp = temporary state, recovery when event condition is removed, except VI out of over-/undervoltage, thermal threshold number 2 reached or reset by RSTN 3. Perm = permanent state, no recovery when event condition is removed, must be re-engaged by SPI command 4. If no overcurrent in WLN 5. Not testable 25 4964B–AUTO–07/07 7.14 Low-/High-side Driver ATA6842 features two multipurpose outputs, a low-side driver OUTN and a high-side driver OUTP. Both drivers are controlled via SPI and are short-circuit proof (they will switch off after a debounce time if a short circuit is detected). During a short-circuit condition the corresponding SPI flag is set. The drivers are disabled by a watchdog error or during the reset phase. Both drivers also have an current sensor and OUTN has a voltage monitor which sets SPI flags if the corresponding thresholds are reached. Table 7-10. Logic Table for Low-side Driver TOUTN (SPI) Overcurrent and Thermal Threshold Number 1 Reached Watchdog OUTN High No OK Low Low No OK Open drain x No Error Open drain x Yes x Open drain TOUTP (SPI) Overcurrent and Thermal Threshold Number 1 Reached Watchdog OUTP High No OK High Low No OK Open drain x No Error Open drain x Yes x Open drain Table 7-11. 7.15 Logic Table for High-side Driver Oscillators The watchdog oscillator provides an internal frequency of fWD = 5 kHz ±10% given by external components. ROS = 100 kΩ ±1% and COS = 1 nF ±5% for the watchdog. For failsafe reasons, the clock frequency is internally monitored by an oscillator with RREF = 10 kΩ running at fOSC = 100 kHz ±20%. This oscillator determines all other time constants. The watchdog oscillator frequency can be adjusted by a factor of five with the components ROS and COS according to the formula: fWD = 1/tWD where 0.632 × VI ⎞ t WD = 2 × R OS × C OS × ⎛⎝ 1 + -----------------------------------------------------------I × R – 0.684 × VI⎠ SC OS The first term describes charging the external RC, and the second term describes discharging. With ROS = 100 kΩ and COS = 1 nF the period of RCOS will result to typically tosc = 100 × (1 + 0.012) µs. fWD is half of the frequency measured externally at the RCOS pin. An oscillator failure generated by the oscillator watchdog occurs if the period of RCOS is smaller than tOSC or greater than 200 × tOSC, fOSC = 1/tOSC. For oscillator failure, see Table 7-9 on page 25. 26 ATA6842 4964B–AUTO–07/07 ATA6842 7.16 12V Switch Via an SPI command, the voltage at pin V12 can be switched to pin V12S (see Table 7-9 on page 25). The 12V switch has a current limitation. 7.17 Comparator The ATA6842 has two comparators. They compare inputs CxI in reference to the bandgap voltage. There are no internal pull-ups or pull-downs. The output is a V5-based push-pull stage. A hysteresis can be implemented by external resistors. Additionally, the output of comparator number 1 can be read out via SPI. 7.18 TCFET Driver The ATA6842 features a circuit to drive an external N-channel FET. The control voltage is generated by a charge pump with bootstrap circuit for faster power-up behavior. Activation is done by an SPI command (see Table 7-9 on page 25). 7.19 UVM Voltage Monitoring An undervoltage warning is indicated at output UVW if V12 falls below 3 × UVR. This referencevoltage level can be adjusted by an external resistor divider. The undervoltage warning can be tested with an SPI command. 27 4964B–AUTO–07/07 8. Ordering Information Extended Type Number Package Remarks ATA6842-PLSW QFN48 Tube, lead-free ATA6842-PLQW QFN48 Taped and reeled, lead-free 9. Package Information Package: QFN 48 - 7 x 7 Exposed pad 4.5 x 4.5 (acc. JEDEC OUTLINE No. MO-220) Dimensions in mm 7 Not indicated tolerances ± 0.05 1 max. 5.5 +0 0.05-0.05 4.5 37 48 1 48 1 36 technical drawings according to DIN specifications 0.4±0.1 25 0.23 12 12 24 13 0.5 nom. Drawing-No.: 6.543-5089.01-4 Issue: 2; 24.01.03 28 ATA6842 4964B–AUTO–07/07 Headquarters International Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Atmel Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) 2721-9778 Fax: (852) 2722-1369 Atmel Europe Le Krebs 8, Rue Jean-Pierre Timbaud BP 309 78054 Saint-Quentin-en-Yvelines Cedex France Tel: (33) 1-30-60-70-00 Fax: (33) 1-30-60-71-11 Atmel Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan Tel: (81) 3-3523-3551 Fax: (81) 3-3523-7581 Technical Support [email protected] Sales Contact www.atmel.com/contacts Product Contact Web Site www.atmel.com Literature Requests www.atmel.com/literature Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. © 2007 Atmel Corporation. All rights reserved. Atmel ®, logo and combinations thereof, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. 4964B–AUTO–07/07