Freescale Semiconductor Technical Data Document order number: MM908E626 Rev. 5.0, 7/2009 Integrated Stepper Motor Driver with Embedded MCU and LIN Serial Communication The 908E626 is an integrated single-package solution that includes a high performance HC08 microcontroller with a SMARTMOS TM analog control IC. The HC08 includes flash memory, a timer, enhanced serial communications interface (ESCI), an analog-to-digital converter (ADC), serial peripheral interface (SPI) (only internal), and an internal clock generator (ICG) module. The analog control die provides fully protected H-bridge outputs, voltage regulator, autonomous watchdog, and local interconnect network (LIN) physical layer. 908E626 STEPPER MOTOR DRIVER WITH EMBEDDED MCU AND LIN The single-package solution, together with LIN, provides optimal application performance adjustments and space-saving PCB design. It is well suited for the control of automotive stepper applications like climate control and light-levelling. DWB SUFFIX EK SUFFIX (PB-FREE) 98ARL10519D 54-PIN SOICWB-EP Features • High performance M68HC08EY16 core • 16 K bytes of on-chip flash memory • 512 bytes of RAM • Internal clock generation module • Two 16-bit, 2-channel timers • 10-Bit Analog-to-Digital converter • Four low RDS(ON) half-bridge outputs • 13 microcontroller I/Os • Pb-free packaging designated by suffix code EK ORDERING INFORMATION Device MM908E626AVEK MM908E626AVDWB Temperature Range (TA) Package -40°C to 115°C 54 SOICW EP 908E626 Simplified Application Diagram 908E626 LIN VREFH VDDA EVDD VDD VSUP[1:3] HB1 HB2 VREFL VSSA EVSS VSS RST RST_A IRQ IRQ_A SS PTB1/AD1 RXD PTE1/RXD PTD1/TACH1 FGEN BEMF PTD0/TACH0/BEMF HB3 HB4 HVDD GND[1:2] EP Port A I/Os Port B I/Os Port C I/Os Figure 1. 908E626 Simplified Application Diagram * This document contains certain information on a new product. Specifications and information herein are subject to change without notice. © Freescale Semiconductor, Inc., 2005-2009. All rights reserved. S N Bipolar Step Motor Switchable Internal VDD Output Microcontroller Ports 2 DDRA PORT A FLSVPP Security Module Power-ON Reset Module PTE0/TXD PTE1/RXD PTD0/TACH0 PTD1/TACH1 PTC4/OSC1 PTC3/OSC2 PTC2/MCLK PTC1/MOSI PTC0/MISO BEMF Module Prescaler Module PTB0/AD0 PTA5/SPSCK Periodic Wake-up Timebase Module Arbiter Module MOSI PTC1/MOSI Configuration Register Module ADOUT SPSCK MISO SS PTC0/MISO PTE1/RXD Serial Peripheral Interface Module Computer Operating Properly Module PORT C DDRC PTC4/OSC1 PTC3/OSC2 Single External IRQ Module VREFH VDDA 10 Bit Analog-toVREFL Digital Converter Module VSSA VDD POWER VSS IRQ RST 24 Integral System Integration Module PTA6/SS PTA5/SPSCK PTA4/KBD4 PTA3/KBD3 PTA2/KBD2 PTA1/KBD1 PTA0/KBD0 PTB7/AD7/TBCH1 PTB6/AD6/TBCH0 PTB5/AD5 PTB4/AD4 PTB3/AD3 PTB2/AD2 PTB0/AD0 MCU Die PTB0/AD0 VREFH PTC2/MCLK PTB7/AD7/TBCH1 PTB6/AD6/TBCH0 PTB5/AD5 VDDA PTB4/AD4 EVDD PTB3/AD3 EVSS OSC2 Internal Clock OSC1 Generator Module IRQ PTA4/KBD4 VREFL Enhanced Serial Communication Interface Module SS PTA3/KBD3 VSSA Analog Multiplexer VSUP Prescaler Chip Temp Autonomous Watchdog SPI & CONTROL Interrupt Control Module Reset Control Module LIN Physical Layer BEMF BEMF FGEN BEMF FGEN FGEN BEMF FGEN RST_A PTA2/KBD2 RST User Flash Vector Space, 36 Bytes PTB1/AD1 PTA1/KBD1 PTA0/KBD0 PTD1/TACH1 2-channel Timer Interface Module B TXD LIN 2-channel Timer Interface Module A PTE0/TXD FGEN 5-Bit Keyboard Interrupt Module BEMF Control and Status Register, 64 Bytes User Flash, 15,872 Bytes User RAM, 512 Bytes Monitor ROM, 310 Bytes Flash programming (Burn-in), 1024 Bytes PTD0/TACH0 Single Breakpoint Break Module VSUP VSUP VSUP VSUP Analog Die Half Bridge Driver & Diagnostic Half Bridge Driver & Diagnostic Half Bridge Driver & Diagnostic Half Bridge Driver & Diagnostic Switched VDD Driver & Diagnostic Voltage Regulator VSUP1-3 M68HC08 CPU CPU ALU Registers GND1-2 IRQ_A RXD PORT D PORT E DDRD DDRE Internal Bus DDRB PORT B Figure 2. Figure 1. 908E626 Simplified Internal Block Diagram 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor HB4 HB3 HB2 HB1 HVDD VDD VSS PIN CONNECTIONS PIN CONNECTIONS Transparent Top View of Package PTB7/AD7/TBCH1 PTB6/AD6/TBCH0 PTC4/OSC1 PTC3/OSC2 PTC2/MCLK PTB5/AD5 PTB4/AD4 PTB3/AD3 1 54 2 53 3 52 4 51 5 50 6 49 7 48 8 47 IRQ RST 9 46 10 45 PTB1/AD1 PTD0/TACH0/BEMF PTD1/TACH1 NC FGEN BEMF 11 44 12 43 16 39 RST_A 17 38 IRQ_A SS 18 37 19 36 LIN NC NC HB1 VSUP1 GND1 HB2 VSUP2 20 35 21 34 22 33 23 32 24 31 25 30 26 29 27 28 13 14 15 42 Exposed Pad 41 40 PTA0/KBD0 PTA1/KBD1 PTA2/KBD2 FLSVPP PTA3/KBD3 PTA4/KBD4 VREFH VDDA EVDD EVSS VSSA VREFL PTE1/RXD RXD VSS NC VDD NC NC NC HVDD NC HB4 VSUP3 GND2 HB3 NC Figure 3. 908E626 Pin Connections Table 1. 908E626 PIN DEFINITIONS A functional description of each pin can be found in the Functional Pin Description section beginning on page 14. Die Pin Pin Name Formal Name Definition MCU 1 2 6 7 8 11 PTB7/AD7/TBCH1 PTB6/AD6/TBCH0 PTB5/AD5 PTB4/AD4 PTB3/AD3 PTB1/AD1 Port B I/Os These pins are special function, bidirectional I/O port pins that are shared with other functional modules in the MCU. MCU 3 4 5 PTC4/OSC1 PTC3/OSC2 PTC2/MCLK Port C I/Os These pins are special function, bidirectional I/O port pins that are shared with other functional modules in the MCU. MCU 9 IRQ External Interrupt Input MCU 10 RST External Reset This pin is bidirectional, allowing a reset of the entire system. It is driven low when any internal reset source is asserted. MCU 12 13 PTD0/TACH0/BEMF PTD1/TACH1 Port D I /Os These pins are special function, bidirectional I /O port pins that are shared with other functional modules in the MCU. This pin is an asynchronous external interrupt input pin. 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 3 PIN CONNECTIONS Table 1. 908E626 PIN DEFINITIONS A functional description of each pin can be found in the Functional Pin Description section beginning on page 14. Die Pin Pin Name Formal Name Definition – 14, 21, 22, 28, 33, 35, 36, 37, 39 NC No Connect MCU 42 PTE1/ RXD Port E I /O This pin is a special function, bidirectional I/O port pin that can is shared with other functional modules in the MCU. MCU 43 48 VREFL VREFH ADC References These pins are the reference voltage pins for the analog-to-digital converter (ADC). MCU 44 47 VSSA VDDA ADC Supply Pins These pins are the power supply pins for the analog-to-digital converter. MCU 45 46 EVSS EVDD MCU Power Supply Pins These pins are the ground and power supply pins, respectively. The MCU operates from a single power supply. MCU 49 50 52 53 54 PTA4/KBD4 PTA3/KBD3 PTA2/KBD2 PTA1/KBD1 PTA0/KBD0 Port A I /Os These pins are special function, bidirectional I/O port pins that are shared with other functional modules in the MCU. MCU 51 FLSVPP Test Pin Analog 15 FGEN Current Limitation Frequency Input Analog 16 BEMF Back Electromagnetic Force Output Analog 17 RST_A Internal Reset Analog 18 IRQ_A Internal Interrupt Output Analog 19 SS Slave Select Analog 20 LIN LIN Bus Analog 23 26 29 32 HB1 HB2 HB3 HB4 Half-bridge Outputs This device includes power MOSFETs configured as four half-bridge driver outputs. These outputs may be configured for step motor drivers, DC motor drivers, or as high side and low side switches. Analog 24 27 31 VSUP1 VSUP2 VSUP3 Power Supply Pins These pins are device power supply pins. Analog 25 30 GND1 GND2 Power Ground Pins These pins are device power ground connections. Analog 34 HVDD Switchable VDD Output This pin is a switchable VDD output for driving resistive loads requiring a regulated 5.0V supply; e.g., 3 pin Hall-effect sensors. Analog 38 VDD Voltage Regulator Output The + 5.0V voltage regulator output pin is intended to supply the embedded microcontroller. Analog 40 VSS Voltage Regulator Ground Ground pin for the connection of all non-power ground connections (microcontroller and sensors). Analog 41 RXD LIN Transceiver Output – EP Exposed Pad Exposed Pad Not connected. For test purposes only. Do not connect in the application. This is the input pin for the half-bridge current limitation PWM frequency. This pin gives the user information about back electromagnetic force (BEMF). This pin is the bidirectional reset pin of the analog die. This pin is the interrupt output pin of the analog die indicating errors or wake-up events. This pin is the SPI slave select pin for the analog chip. This pin represents the single-wire bus transmitter and receiver. This pin is the output of LIN transceiver. The exposed pad pin on the bottom side of the package conducts heat from the chip to the PCB board. 908E626 4 Analog Integrated Circuit Device Data Freescale Semiconductor ELECTRICAL CHARACTERISTICS MAXIMUM RATINGS ELECTRICAL CHARACTERISTICS MAXIMUM RATINGS Table 2. MAXIMUM RATINGS All voltages are with respect to ground unless otherwise noted. Exceeding limits on any pin may cause permanent damage to the device. Rating Symbol Value Unit Analog Chip Supply Voltage under Normal Operation (Steadystate) VSUP(SS) - 0.3 to 28 VSUP(PK) - 0.3 to 40 VDD - 0.3 to 6.0 VIN (ANALOG) - 0.3 to 5.5 VIN (MCU) VSS - 0.3 to VDD + 0.3 All Pins Except VDD, VSS, PTA0 : PTA6, PTC0 : PTC1 IPIN(1) ±15 Pins PTA0 : PTA6, PTC0 : PTC1 IPIN(2) ± 25 Maximum Microcontroller VSS Output Current IMVSS 100 mA Maximum Microcontroller VDD Input Current IMVDD 100 mA VBUS(SS) -18 to 28 VBUS(DYNAMIC) 40 VESD1 ± 3000 VESD2 ± 150 VESD3 ± 500 TSTG - 40 to 150 °C Operating Case Temperature (5) TC - 40 to 115 °C Operating Junction Temperature(6) TJ - 40 to 135 °C TSOLDER 245 °C ELECTRICAL RATINGS Supply Voltage V Analog Chip Supply Voltage under Transient Conditions (1) Microcontroller Chip Supply Voltage Input Pin Voltage V Analog Chip Microcontroller Chip Maximum Microcontroller Current per Pin mA LIN Supply Voltage V Normal Operation (Steady-state) Transient Conditions (1) ESD Voltage Human Body Model V (2) Machine Model (3) Charge Device Model (4) THERMAL RATINGS Storage Temperature Peak Package Reflow Temperature During Solder Mounting (7) Notes 1. Transient capability for pulses with a time of t < 0.5 sec. 2. ESD1 testing is performed in accordance with the Human Body Model (CZAP = 100pF, RZAP = 1500Ω). 3. ESD2 testing is performed in accordance with the Machine Model (CZAP = 200pF, RZAP = 0Ω). 4. ESD3 testing is performed in accordance with Charge Device Model, robotic (CZAP = 4.0pF). 5. 6. The limiting factor is junction temperature, taking into account the power dissipation, thermal resistance, and heat sinking. The temperature of analog and MCU die is strongly linked via the package, but can differ in dynamic load conditions, usually because of higher power dissipation on the analog die. The analog die temperature must not exceed 150°C under these conditions Pin soldering temperature is for 10 seconds maximum duration. Not designed for immersion soldering. Exceeding these limits may cause malfunction or permanent damage to the device. 7. 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 5 ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS Table 3. STATIC ELECTRICAL CHARACTERISTICS All characteristics are for the analog chip only. Refer to the 68HC908EY16 datasheet for characteristics of the microcontroller chip. Characteristics noted under conditions 9.0V ≤ VSUP ≤ 16V, -40°C ≤ TJ ≤ 135°C, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25°C under nominal conditions, unless otherwise noted. Characteristic Symbol Min Typ Max Unit VSUP 8.0 – 18 V – 20 – – – 75 SUPPLY VOLTAGE Nominal Operating Voltage SUPPLY CURRENT NORMAL Mode VSUP = 12V, Power Die ON (PSON = 1), MCU Operating Using Internal Oscillator at 32MHz (8.0 MHz Bus Frequency), SPI, ESCI, ADC Enabled STOP Mode (8) VSUP = 12V, Cyclic Wake-up Disabled IRUN ISTOP mA μA DIGITAL INTERFACE RATINGS (ANALOG DIE) Output Pins RST_A, IRQ_A V Low State Output Voltage (IOUT = - 1.5mA) VOL – – 0.4 High State Output Voltage (IOUT = 1.0μA) VOH 3.85 – – Low State Output Voltage (IOUT = - 1.5mA) VOL – – 0.4 High State Output Voltage (IOUT = 1.5mA) VOH 3.85 – – CIN – 4.0 – Input Logic Low Voltage VIL – – 1.5 Input Logic High Voltage VIH 3.5 – – CIN – 4.0 – pF Pins RST_A, IRQ_A – Pull-up Resistor RPULLUP1 – 10 – kΩ Pin SS – Pull-up Resistor RPULLUP2 – 60 – kΩ RPULLDOWN – 60 – kΩ IPULLUP – 35 – μA Output Pins BEMF, RXD Output Pin RXD – Capacitance (9) V Input Pins RST_A, FGEN, SS Input Pins RST_A, FGEN, SS – Capacitance (9) Pins FGEN, MOSI, SPSCK – Pull-down Resistor Pin TXD – Pull-up Current Source pF V Notes 8. STOP mode current will increase if VSUP exceeds 15V. 9. This parameter is guaranteed by process monitoring but is not production tested. 908E626 6 Analog Integrated Circuit Device Data Freescale Semiconductor ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS Table 3. STATIC ELECTRICAL CHARACTERISTICS (continued) All characteristics are for the analog chip only. Refer to the 68HC908EY16 datasheet for characteristics of the microcontroller chip. Characteristics noted under conditions 9.0V ≤ VSUP ≤ 16V, -40°C ≤ TJ ≤ 135°C, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25°C under nominal conditions, unless otherwise noted. Characteristic Symbol Min Typ Max Unit Threshold VHVRON 27 30 33 Hysteresis VHVRH – 1.5 – Threshold VLVRON 3.6 4.0 4.7 V Hysteresis VLVRH – 100 – mV SYSTEM RESETS AND INTERRUPTS High Voltage Reset V Low Voltage Reset High Voltage Interrupt V Threshold VHVION 17.5 21 23 Hysteresis VHVIH – 1.0 – Threshold VLVION 6.5 – 8.0 Hysteresis VLVIH – 0.4 – Threshold TRON – 170 – Hysteresis TRH 5.0 – – Threshold TION – 160 – Hysteresis TIH 5.0 – – 4.75 5.0 5.25 – – 100 4.45 4.7 5.0 Low Voltage Interrupt V °C High Temperature Reset (11) °C High Temperature Interrupt (12) VOLTAGE REGULATOR Normal Mode Output Voltage VDDRUN IOUT = 60mA, 6.0V < VSUP < 18V Load Regulation VLR IOUT = 80mA, VSUP = 9.0V STOP Mode Output Voltage (Maximum Output Current 100μA)(10) V VDDSTOP mV V Notes 10. Tested to be VLVRON < VDDSTOP 11. This parameter is guaranteed by process monitoring but is not production tested. 12. High Temperature Interrupt (HTI) threshold is linked to High Temperature Reset (HTR) threshold (HTR = HTI + 10°C). 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 7 ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS Table 3. STATIC ELECTRICAL CHARACTERISTICS (continued) All characteristics are for the analog chip only. Refer to the 68HC908EY16 datasheet for characteristics of the microcontroller chip. Characteristics noted under conditions 9.0V ≤ VSUP ≤ 16V, -40°C ≤ TJ ≤ 135°C, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25°C under nominal conditions, unless otherwise noted. Characteristic Symbol Min Typ Max – – 1.4 VSUP - 1.0 – – 20 30 60 0.0 – 20 Including Internal Pullup Resistor, VLIN @ -18V IBUS_NO_GND – - 600 – Including Internal Pullup Resistor, VLIN @ +18V IBUS – 25 – Recessive VIH 0.6VLIN – VSUP Dominant VIL 0 – 0.4VLIN VITH – VSUP / 2 – VIHY 0.01VSUP – 0.1VSUP VWTH – VSUP / 2 – Unit LIN PHYSICAL LAYER Output Low Level VLIN-LOW TXD LOW, 500Ω Pull-up to VSUP Output High Level VLIN-HIGH TXD HIGH, IOUT = 1.0μA Pullup Resistor to VSUP Leakage Current to GND V RSLAVE V μA IBUS_PAS_REC Recessive State (- 0.5V < VLIN < VSUP) μA Leakage Current to GND (VSUP Disconnected) LIN Receiver Threshold Input Hysteresis LIN Wake-up Threshold kΩ V V HALF-bridge OUTPUTS (HB1 : HB4) Switch ON Resistance @ TJ = 25°C with ILOAD = 1.0A mΩ High Side RDS(ON)HB_HS – 425 500 Low Side RDS(ON)HB_LS – 400 500 High Side Over-current Shutdown IHBHSOC 3.0 – 7.5 A Low Side Over-current Shutdown IHBLSOC 2.5 – 7.5 A ICL1 – 55 – Current Limit 2 (CLS2 = 1, CLS1 = 0, CLS0 = 0) ICL2 210 260 315 Current Limit 3 (CLS2 = 1, CLS1 = 0, CLS0 = 1) ICL3 300 370 440 Current Limit 4 (CLS2 = 1, CLS1 = 1, CLS0 = 0) ICL4 450 550 650 Current Limit 5 (CLS2 = 1, CLS1 = 1, CLS0 = 1) ICL5 600 740 880 Half-bridge Output HIGH Threshold for BEMF Detection VBEMFH – - 30 0.0 V Half-bridge Output LOW Threshold for BEMF Detection VBEMFL – - 60 - 5.0 mV VBEMFHY – 30 – mV Low Side Current Limitation @ TJ = 25°C Current Limit 1 (CLS2 = 0, CLS1 = 1, CLS0 = 1) Hysteresis for BEMF Detection mA Low Side Current-to-Voltage Ratio (VADOUT [V] / IHB [A]) V/A CSA = 1 RATIOH 7.0 12.0 14.0 CSA = 0 RATIOL 1.0 2.0 3.0 908E626 8 Analog Integrated Circuit Device Data Freescale Semiconductor ELECTRICAL CHARACTERISTICS STATIC ELECTRICAL CHARACTERISTICS Table 3. STATIC ELECTRICAL CHARACTERISTICS (continued) All characteristics are for the analog chip only. Refer to the 68HC908EY16 datasheet for characteristics of the microcontroller chip. Characteristics noted under conditions 9.0V ≤ VSUP ≤ 16V, -40°C ≤ TJ ≤ 135°C, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25°C under nominal conditions, unless otherwise noted. Characteristic Symbol Min Typ Max Unit IHVDDOCT 24 30 40 mA RATIOVSUP 4.8 5.1 5.35 – STTOV – 19 – mV/ °C VT25 1.7 2.1 2.5 V SWITCHABLE VDD OUTPUT (HVDD) Over-current Shutdown Threshold VSUP DOWN-SCALER Voltage Ratio (RATIOVSUP = VSUP / VADOUT) INTERNAL DIE TEMPERATURE SENSOR Voltage / Temperature Slope Output Voltage @ 25°C 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 9 ELECTRICAL CHARACTERISTICS DYNAMIC ELECTRICAL CHARACTERISTICS DYNAMIC ELECTRICAL CHARACTERISTICS Table 4. DYNAMIC ELECTRICAL CHARACTERISTICS All characteristics are for the analog chip only. Please refer to the 68HC908EY16 datasheet for characteristics of the microcontroller chip. Characteristics noted under conditions 9.0V ≤ VSUP ≤ 16V, -40°C ≤ TJ ≤ 135°C, unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25°C under nominal conditions, unless otherwise noted. Characteristic Symbol Min Typ Max Unit LIN PHYSICAL LAYER μs Propagation Delay (13), (14) t TXD-LIN-LOW – – – – - 2.0 - 2.0 – – 4.0 4.0 – – 6.0 6.0 8.0 8.0 2.0 2.0 -1.0 - 2.0 - 3.0 1.0 2.0 3.0 SRS - 2.0 – 2.0 μs t OSC – 40 – μs AWD Period Low = 512 t OSC t AWDPH 16 22 28 ms AWD Period High = 256 t OSC t AWDPL 8.0 11 14 ms AWD Cyclic Wake-up On Time t AWDHPON – 90 – μs TXD LOW to LIN LOW t TXD-LIN-HIGH TXD HIGH to LIN HIGH t LIN-RXD-LOW LIN LOW to RXD LOW t LIN-RXD-HIGH LIN HIGH to RXD HIGH TXD Symmetry t TXD-SYM RXD Symmetry t RXD-SYM SRF Output Falling Edge Slew Rate (13), (15) 80% to 20% V/μs SRR Output Rising Edge Slew Rate (13), (15) 20% to 80%, RBUS > 1.0kΩ, CBUS < 10nF LIN Rise / Fall Slew Rate Symmetry (13), (15) V/μs AUTONOMOUS WATCHDOG (AWD) AWD Oscillator Period Notes 13. All LIN characteristics are for initial LIN slew rate selection (20 kbaud) (SRS0 : SRS1= 00). 14. See Figure 4, page 11. 15. See Figure 5, page 12. MICROCONTROLLER PARAMETRICS Table 5. MICROCONTROLLER For a detailed microcontroller description, refer to the MC68HC908EY16 datasheet. Module Description Core High Performance HC08 Core with a Maximum Internal Bus Frequency of 8.0MHz Timer Two 16-Bit Timers with Two Channels (TIM A and TIM B) Flash 16K Bytes RAM 512 Bytes ADC 10 Bit Analog-to-Digital Converter SPI SPI Module 908E626 10 Analog Integrated Circuit Device Data Freescale Semiconductor ELECTRICAL CHARACTERISTICS TIMING DIAGRAMS Table 5. MICROCONTROLLER For a detailed microcontroller description, refer to the MC68HC908EY16 datasheet. Module Description ESCI Standard Serial Communication Interface (SCI) Module Bit-Time Measurement Arbitration Prescaler with Fine Baud-Rate Adjustment ICG Internal Clock Generation Module BEMF Counter Special Counter for SMARTMOS BEMF Output TIMING DIAGRAMS t TXD-LIN-LOW t Tx-LIN-low t TXD-LIN-HIGH tTx-LIN-high TXD Tx TXD LIN LIN Recessive State 0.9 VSUP VSUP 0.9 Recessive State 0.6 VSUP VSUP 0.4 VSUP 0.4 VSUP 0.1 SUP 0.1 V VSUP Dominant State Rx RXD t LIN-RXD-LOW t LIN-Rx-low ttLIN-RXD-HIGH LIN-Rx-high Figure 4. LIN Timing Description 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 11 ELECTRICAL CHARACTERISTICS FUNCTIONAL DIAGRAMS Δt Fall-time Δt Rise-time 0.8 VSUP 0.8 VSUP 0.8 VSUP VSUP ΔV Fall ΔV Rise 0.2 VSUP VSUP 0.2 0.2VSUP VSUP 0.2 Dominant State ΔV Fall Δt Fall-time SRF = SRR = ΔV Rise Δt Rise-time Figure 5. LIN Slew Rate Description FUNCTIONAL DIAGRAMS 1.6 1.4 Volts Volts 1.2 TJ = 25°C 1.0 0.8 0.6 0.4 0.2 0.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 Amperes Amperes 4.0 4.5 5.0 H-Bridge Low Side Figure 6. Free Wheel Diode Forward Voltage 908E626 12 Analog Integrated Circuit Device Data Freescale Semiconductor ELECTRICAL CHARACTERISTICS FUNCTIONAL DIAGRAMS 250 200 Dropout Drop Out(mV) (mV) TA = 125°C 150 100 TA = 25°C 50 TA = -40°C 0 0 5 5.0 10 15 I (mA) I Load (mA) 20 25 LOAD Figure 7. Dropout Voltage on HVDD 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 13 FUNCTIONAL DESCRIPTION INTRODUCTION FUNCTIONAL DESCRIPTION INTRODUCTION The 908E626 device was designed and developed as a highly integrated and cost-effective solution for automotive and industrial applications. For automotive body electronics, the 908E626 is well suited to perform stepper motor control, e.g. for climate or light-levelling control via a 3-wire LIN bus. This device combines an standard HC08 MCU core (68HC908EY16) with flash memory together with a SMARTMOS IC chip. The SMARTMOS IC chip combines power and control in one chip. Power switches are provided on the SMARTMOS IC configured as four half-bridge outputs. Other ports are also provided including a selectable HVDD pin. An internal voltage regulator is provided on the SMARTMOS IC chip, which provides power to the MCU chip. Also included in this device is a LIN physical layer, which communicates using a single wire. This enables the device to be compatible with 3-wire bus systems, where one wire is used for communication, one for battery, and the third for ground. FUNCTIONAL PIN DESCRIPTION See Figures 1, for a graphic representation of the various pins referred to in the following paragraphs. Also, see the pin diagram on Figures 3 for a depiction of the pin locations on the package. PORT A I /O PINS (PTA0:4) These pins are special function, bidirectional I/O port pins that are shared with other functional modules in the MCU. PTA0 : PTA4 are shared with the keyboard interrupt pins, KBD0 : KBD4. The PTA5/SPSCK pin is not accessible in this device and is internally connected to the SPI clock pin of the analog die. The PTA6/SS pin is likewise not accessible. For details refer to the 68HC908EY16 datasheet. PORT B I/O PINS (PTB1, PTB3:7) These pins are special function, bidirectional I/O port pins that are shared with other functional modules in the MCU. All pins are shared with the ADC module. The PTB6 : PTB7 pins are also shared with the Timer B module. PTB0/AD0 is internally connected to the ADOUT pin of the analog die, allowing diagnostic measurements to be calculated; e.g., current recopy, VSUP, etc. The PTB2/AD2 pin is not accessible in this device. For details refer to the 68HC908EY16 datasheet. PORT D I /O PINS (PTD0:1) PTD1/ TACH1 and PTD0/ TACH0/BEMF are special function, bidirectional I /O port pins that can also be programmed to be timer pins. In step motor applications the PTD0 pin should be connected to the BEMF output of the analog die in order to evaluate the BEMF signal with a special BEMF module of the MCU. PTD1 pin is recommended for use as an output pin for generating the FGEN signal (PWM signal) if required by the application. PORT E I /O PIN (PTE1) PTE1/ RXD and PTE0/ TXD are special function, bidirectional I/O port pins that can also be programmed to be enhanced serial communication. PTE0/TXD is internally connected to the TXD pin of the analog die. The connection for the receiver must be done externally. EXTERNAL INTERRUPT PIN (IRQ) The IRQ pin is an asynchronous external interrupt pin. This pin contains an internal pull-up resistor that is always activated, even when the IRQ pin is pulled LOW. For details refer to the 68HC908EY16 datasheet. PORT C I/O PINS (PTC2:4) EXTERNAL RESET PIN (RST) These pins are special function, bidirectional I/O port pins that are shared with other functional modules in the MCU. For example, PTC2 : PTC4 are shared with the ICG module. PTC0/MISO and PTC1/MOSI are not accessible in this device and are internally connected to the MISO and MOSI SPI pins of the analog die. For details refer to the 68HC908EY16 datasheet. A logic [0] on the RST pin forces the MCU to a known startup state. RST is bidirectional, allowing a reset of the entire system. It is driven LOW when any internal reset source is asserted. This pin contains an internal pull-up resistor that is always activated, even when the reset pin is pulled LOW. For details refer to the 68HC908EY16 datasheet. 908E626 14 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DESCRIPTION FUNCTIONAL PIN DESCRIPTION CURRENT LIMITATION FREQUENCY INPUT PIN (FGEN) Input pin for the half-bridge current limitation PWM frequency. This input is not a real PWM input pin; it should just supply the period of the PWM. The duty cycle will be generated automatically. Important The recommended FGEN frequency should be in the range of 0.1kHz to 20kHz. BACK ELECTROMAGNETIC FORCE OUTPUT PIN (BEMF) requirements of the half-bridge driver outputs, multiple VSUP pins are provided. All VSUP pins must be connected to get full chip functionality. POWER GROUND PINS (GND1 AND GND2) GND1 and GND2 are device power ground connections. Owing to the low ON-resistance and current requirements of the half-bridge driver outputs multiple pins are provided. GND1 and GND2 pins must be connected to get full chip functionality. This pin gives the user information about back electromagnetic force (BEMF). This feature allows stall detection and coil failures in step motor applications. In order to evaluate this signal the pin must be directly connected to pin PTD0 / TACH0 / BEMF. SWITCHABLE VDD OUTPUT PIN (HVDD) RESET PIN (RST_A) + 5.0V VOLTAGE REGULATOR OUTPUT PIN (VDD) RST_A is the bidirectional reset pin of the analog die. It is an open drain with pull-up resistor and must be connected to the RST pin of the MCU. INTERRUPT PIN (IRQ_A) IRQ_A is the interrupt output pin of the analog die indicating errors or wake-up events. It is an open drain with pull-up resistor and must be connected to the IRQ pin of the MCU. SLAVE SELECT PIN (SS) This pin is the SPI Slave Select pin for the analog chip. All other SPI connections are done internally. SS must be connected to PTB1 or any other logic I /O of the microcontroller. LIN BUS PIN (LIN) The LIN pin represents the single-wire bus transmitter and receiver. It is suited for automotive bus systems and is based on the LIN bus specification. HALF-BRIDGE OUTPUT PINS (HB1: HB4) The 908E626 device includes power MOSFETs configured as four half-bridge driver outputs. The HB1: HB4 outputs may be configured for step motor drivers, DC motor drivers, or as high side and low side switches. The HB1: HB4 outputs are short-circuit and overtemperature protected, and they feature current recopy, current limitation, and BEMF generation. Current limitation and recopy are done on the low side MOSFETs. POWER SUPPLY PINS (VSUP1: VSUP3) VSUP1: VSUP3 are device power supply pins. The nominal input voltage is designed for operation from 12V systems. Owing to the low ON-resistance and current The HVDD pin is a switchable VDD output for driving resistive loads requiring a regulated 5.0V supply; The output is short-circuit protected. The VDD pin is needed to place an external capacitor to stabilize the regulated output voltage. The VDD pin is intended to supply the embedded microcontroller. Important The VDD pin should not be used to supply other loads; use the HVDD pin for this purpose. The VDD, EVDD, VDDA, and VREFH pins must be connected together. VOLTAGE REGULATOR GROUND PIN (VSS) The VSS pin is the ground pin for the connection of all nonpower ground connections (microcontroller and sensors). Important VSS, EVSS, VSSA, and VREFL pins must be connected together. LIN TRANSCEIVER OUTPUT PIN (RXD) This pin is the output of LIN transceiver. The pin must be connected to the microcontroller’s Enhanced Serial Communications Interface (ESCI) module (RXD pin). ADC REFERENCE PINS (VREFL AND VREFH) VREFL and VREFH are the reference voltage pins for the ADC. It is recommended that a high quality ceramic decoupling capacitor be placed between these pins. Important VREFH is the high reference supply for the ADC and should be tied to the same potential as VDDA via separate traces. VREFL is the low reference supply for the ADC and should be tied to the same potential as VSS via separate traces. For details refer to the 68HC908EY16 datasheet. ADC SUPPLY PINS (VDDA AND VSSA) VDDA and VSSA are the power supply pins for the analogto-digital converter (ADC). It is recommended that a high quality ceramic decoupling capacitor be placed between these pins. Important VDDA is the supply for the ADC and should be tied to the same potential as EVDD via separate traces. 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 15 FUNCTIONAL DESCRIPTION FUNCTIONAL PIN DESCRIPTION VSSA is the ground pin for the ADC and should be tied to the same potential as EVSS via separate traces. For details refer to the 68HC908EY16 datasheet. TEST PIN (FLSVPP) MCU POWER SUPPLY PINS (EVDD AND EVSS) EXPOSED PAD PIN EVDD and EVSS are the power supply and ground pins. The MCU operates from a single power supply. Fast signal transitions on MCU pins place high, shortduration current demands on the power supply. To prevent noise problems, take special care to provide power supply bypassing at the MCU. For details refer to the 68HC908EY16 datasheet. The exposed pad pin on the bottom side of the package conducts heat from the chip to the PCB board. For thermal performance the pad must be soldered to the PCB board. It is recommended that the pad be connected to the ground potential. This pin is for test purposes only. This pin should be either left open (not connected) or connected to GND. 908E626 16 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES INTERRUPTS The 908E626 has six different interrupt sources as described in the following paragraphs. The interrupts can be disabled or enabled via the SPI. After reset all interrupts are automatically disabled. above the HTI threshold, the HTI flag will be set. If the High Temperature Interrupt is enabled, an interrupt will be initiated. During STOP mode the HTI circuitry is disabled. AUTONOMOUS WATCHDOG INTERRUPT (AWD) LOW VOLTAGE INTERRUPT The Low Voltage Interrupt (LVI) is related to the external supply voltage, VSUP. If this voltage falls below the LVI threshold, it will set the LVI flag. If the low voltage interrupt is enabled, an interrupt will be initiated. With LVI the H-bridges (high side MOSFET only) are switched off. All other modules are not influenced by this interrupt. During STOP mode the LVI circuitry is disabled. HIGH VOLTAGE INTERRUPT The High voltage Interrupt (HVI) is related to the external supply voltage, VSUP. If this voltage rises above the HVI threshold, it will set the HVI flag. If the High voltage Interrupt is enabled, an interrupt will be initiated. With HVI the H-bridges (high side MOSFET only) are switched off. All other modules are not influenced by this interrupt. During STOP mode the HVI circuitry is disabled. HIGH TEMPERATURE INTERRUPT Refer to Autonomous Watchdog (AWD) on page 31. LIN INTERRUPT If the LINIE bit is set, a falling edge on the LIN pin will generate an interrupt. During STOP mode this interrupt will initiate a system wake-up. OVER-CURRENT INTERRUPT If an over-current condition on a half-bridge or the HVDD output is detected and the OCIE bit is set and an interrupt generated. SYSTEM WAKE-UP System wake-up can be initiated by any of four events: • A falling edge on the LIN pin • A wake-up signal from the AWD • An LVR condition If one of these wake-up events occurs and the interrupt mask bit for this event is set, the interrupt will wake-up the microcontroller as well as the main voltage regulator (MREG) Figures 8. The High Temperature Interrupt (HTI) is generated by the on-chip temperature sensors. If the chip temperature is 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 17 FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES MCU Die Analog Die From Reset Initialize Operate SPI: GS =1 (MREG off) STOP MREG STOP Wait for Action LIN AWD Hallport IRQ Interrupt? Assert IRQ_A SPI: Reason for Interrupt Start MREG Operate MREG = Main Voltage Regulator Figure 8. STOP Mode / Wake-up Procedure INTERRUPT FLAG REGISTER (IFR) Register Name and Address: IFR - $05 Read Write Reset Bit 7 6 5 4 3 2 0 0 LINF HTF LVF HVF 0 0 0 0 0 0 LINF — LIN FLAG BIT 1 Bit 0 OCF 0 0 0 This read / write flag is set on the falling edge at the LIN data line. Clear LINF by writing a logic [1] to LINF. Reset clears the LINF bit. Writing a logic [0] to LINF has no effect. • 1 = Falling edge on LIN data line has occurred. • 0 = Falling edge on LIN data line has not occurred since last clear. HTF — HIGH TEMPERATURE FLAG BIT This read / write flag is set on a high temperature condition. Clear HTF by writing a logic [1] to HTF. If a high temperature condition is still present while writing a logic [1] to HTF, the 908E626 18 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES writing has no effect. Therefore, a high temperature interrupt cannot be lost due to inadvertent clearing of HTF. Reset clears the HTF bit. Writing a logic [0] to HTF has no effect. • 1 = High temperature condition has occurred. • 0 = High temperature condition has not occurred. the appropriate overcurrent flag in the SYSSTAT Register. See Figure 9, which shows the two signals triggering the OCF. • 1 = High current condition has occurred. • 0 = High current condition has not occurred. LVF — LOW VOLTAGE FLAG BIT This read / write flag is set on a low voltage condition. Clear LVF by writing a logic [1] to LVF. If a low voltage condition is still present while writing a logic [1] to LVF, the writing has no effect. Therefore, a low voltage interrupt cannot be lost due to inadvertent clearing of LVF. Reset clears the LVF bit. Writing a logic [0] to LVF has no effect. • 1 = Low voltage condition has occurred. • 0 = Low voltage condition has not occurred. HVDD_OCF Figure 9. Principal Implementation for OCF INTERRUPT MASK REGISTER (IMR) Register Name and Address: IMR - $04 HVF — HIGH VOLTAGE FLAG BIT This read / write flag is set on a high voltage condition. Clear HVF by writing a logic [1] to HVF. If high voltage condition is still present while writing a logic [1] to HVF, the writing has no effect. Therefore, a high voltage interrupt cannot be lost due to inadvertent clearing of HVF. Reset clears the HVF bit. Writing a logic [0] to HVF has no effect. • 1 = High voltage condition has occurred. • 0 = High voltage condition has not occurred. OCF — OVER-CURRENT FLAG BIT This read-only flag is set on an overcurrent condition. Reset clears the OCF bit. To clear this flag, write a logic [1] to OCF HB_OCF Read Write Reset Bit 7 6 5 4 3 2 1 0 0 LINIE HTIE LVIE HVIE OCIE 0 0 0 0 0 0 0 Bit 0 0 0 LINIE — LIN LINE INTERRUPT ENABLE BIT This read / write bit enables CPU interrupts by the LIN flag, LINF. Reset clears the LINIE bit. • 1 = Interrupt requests from LINF flag enabled. • 0 = Interrupt requests from LINF flag disabled. 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 19 FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES HTIE — HIGH TEMPERATURE INTERRUPT ENABLE BIT • 1 = Interrupt requests from HVF flag enabled. • 0 = Interrupt requests from HVF flag disabled. This read / write bit enables CPU interrupts by the high temperature flag, HTF. Reset clears the HTIE bit. • 1 = Interrupt requests from HTF flag enabled. • 0 = Interrupt requests from HTF flag disabled. OCIE — OVER-CURRENT INTERRUPT ENABLE BIT This read / write bit enables CPU interrupts by the overcurrent flag, OCF. Reset clears the OCIE bit. • 1 = Interrupt requests from OCF flag enabled. • 0 = Interrupt requests from OCF flag disabled. LVIE — LOW VOLTAGE INTERRUPT ENABLE BIT This read / write bit enables CPU interrupts by the low voltage flag, LVF. Reset clears the LVIE bit. RESET The 908E626 chip has four internal reset sources and one external reset source, as explained in the paragraphs below. Figure 10 depicts the internal reset sources. • 1 = Interrupt requests from LVF flag enabled. • 0 = Interrupt requests from LVF flag disabled. HVIE — HIGH VOLTAGE INTERRUPT ENABLE BIT This read / write bit enables CPU interrupts by the high voltage flag, HVF. Reset clears the HVIE bit. SPI REGISTERS AWDRE Flag AWD Reset Sensor VDD HVRE Flag HTRE Flag High-Voltage Reset Sensor High-Temperature Reset Sensor RST_A MONO FLOP Low-Voltage Reset Figure 10. Internal Reset Routing RESET INTERNAL SOURCES Low Voltage Reset Autonomous Watchdog The LVR is related to the internal VDD. In case the voltage falls below a certain threshold, it will pull down the RST_A pin. AWD modules generates a reset because of a timeout (watchdog function). High Voltage Reset High Temperature Reset To prevent damage to the device, a reset will be initiated if the temperature rises above a certain value. The reset is maskable with bit HTRE in the Reset Mask Register. After a reset the high temperature reset is disabled. The HVR is related to the external VSUP voltage. In case the voltage is above a certain threshold, it will pull down the RST_A pin. The reset is maskable with bit HVRE in the Reset Mask Register. After a reset the high voltage reset is disabled. 908E626 20 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES RESET EXTERNAL SOURCE TTEST — High Temperature Reset Test External Reset Pin This read / write bit is for test purposes only. It decreases the overtemperature shutdown limit for final test. Reset clears the HTRE bit. The microcontroller has the capability of resetting the SMARTMOS device by pulling down the RST pin. • 1 = Low temperature threshold enabled. • 0 = Low temperature threshold disabled. Reset Mask Register (RMR) HVRE — High Voltage Reset Enable Bit This read / write bit enables resets on high voltage conditions. Reset clears the HVRE bit. • 1 = High voltage reset enabled. • 0 = High voltage reset disabled. Register Name and Address: RMR - $06 Bit 7 Read Write Reset TTEST 6 5 4 3 2 0 0 0 0 0 0 0 0 0 0 1 Bit 0 HVRE HTRE 0 0 HTRE — High Temperature Reset Enable Bit 0 This read / write bit enables resets on high temperature conditions. Reset clears the HTRE bit. • 1 = High temperature reset enabled. • 0 = High temperature reset disabled. SERIAL PERIPHERAL INTERFACE The serial peripheral interface (SPI) creates the communication link between the microcontroller and the 908E626. The interface consists of four pins (see Figure 11): • SS — Slave Select • MOSI — Master-Out Slave-In • MISO — Master-In Slave-Out • SPSCK — Serial Clock (maximum frequency 4.0 MHz) A complete data transfer via the SPI consists of 2 bytes. The master sends address and data, slave system status, and data of the selected address. SS Read/Write, Address, Parity MOSI R/W A4 A3 A2 A1 A0 Data (Register write) P X D7 D6 System Status Register MISO S7 S6 S5 S4 S3 S2 D5 D4 D3 D2 D1 D0 D1 D0 Data (Register read) S1 S0 D7 D6 D5 D4 D3 D2 SPSCK Rising edge of SPSCK Change MISO/MOSI Output Falling edge of SPSCK Sample MISO/MOSI Input Slave latch register address Slave latch data Figure 11. SPI Protocol During the inactive phase of SS, the new data transfer is prepared. The falling edge on the SS line indicates the start of a new data transfer and puts MISO in the low-impedance mode. The first valid data are moved to MISO with the rising edge of SPSCK. The MISO output changes data on a rising edge of SPSCK. The MOSI input is sampled on a falling edge of SPSCK. The data transfer is only valid if exactly 16 sample clock edges are present in the active phase of SS. 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 21 FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES After a write operation, the transmitted data is latched into the register by the rising edge of SS. Register read data is internally latched into the SPI at the time when the parity bit is transferred. SS HIGH forces MISO to high impedance. MASTER ADDRESS BYTE A4 : A0 Contains the address of the desired register. R/W Contains information about a read or a write operation. • If R/ W = 1, the second byte of master contains no valid information, slave just transmits back register data. • If R/ W = 0, the master sends data to be written in the second byte, slave sends concurrently contents of selected register prior to write operation, write data is latched in the SMARTMOS register on rising edge of SS. Parity P The parity bit is equal to “0” if the number of 1 bits is an even number contained within R/ W, A4 : A0. If the number of 1 bits is odd, P equals “1”. For example, if R/ W = 1, A4 : A0 = 00001, then P equals “0.” The parity bit is only evaluated during a write operation. Bit X Not used. Master Data Byte Contains data to be written or no valid data during a read operation. 908E626 22 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES Table 6. List of Registers Addr Register Name R/W $01 H-bridge Output (HBOUT) W $02 H-bridge Control (HBCTL) $03 System Control (SYSCTL) W $04 Interrupt Mask (IMR) W $05 Interrupt Flag (IFR) W $06 Reset Mask (RMR) $07 Analog Multiplexer Configuration (ADMUX) $08 Reserved R R W Bit 7 6 5 4 3 2 1 0 HB4_H HB4_L HB3_H HB3_L HB2_H HB2_L HB1_H HB1_L OFC_EN CSA 0 0 0 CLS2 CLS1 CLS0 SRS1 SRS0 0 0 0 0 0 PSON 0 0 LINIE HTIE LVIE HVIE 0 0 LINF HTF LVF HVF 0 0 0 0 0 0 0 0 0 SS3 0 0 0 0 0 0 0 0 0 0 0 0 R R R R W R TTEST GS 0 OCF 0 HVRE HTRE SS2 SS1 SS0 0 0 0 0 0 0 0 AWDRE AWDIE 0 AWDF AWDR 0 0 0 0 HVDDON 0 HVDD_OCF 0 LVF HVF W R OCIE W $09 Reserved R W R $0a AWD Control (AWDCTL) $0b Power Output (POUT) W $0c System Status (SYSSTAT) W W R R AWDRST 0 0 0 LINCL Slave Status Byte ANALOG DIE I / OS Contains the contents of the System Status Register ($0c) independent of whether it is a write or read operation or which register was selected. LIN Physical Layer Slave Data Byte Contains the contents of selected register. During a write operation it includes the register content prior to a write operation. SPI Register Overview Table 6 summarizes the SPI Register addresses and the bit names of each register. HB_OCF HTF The LIN bus pin provides a physical layer for single-wire communication in automotive applications. The LIN physical layer is designed to meet the LIN physical layer specification. The LIN driver is a low side MOSFET with internal current limitation and thermal shutdown. An internal pull-up resistor with a serial diode structure is integrated, so no external pullup components are required for the application in a slave node. The fall time from dominant to recessive and the rise time from recessive to dominant is controlled. The symmetry between both slew rate controls is guaranteed. The LIN pin offers high susceptibility immunity level from external disturbance, guaranteeing communication during external disturbance. 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 23 FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES The LIN transmitter circuitry is enabled by setting the PSON bit in the System Control Register (SYSCTL). If the transmitter works in the current limitation region, the LINCL bit in the System Status Register (SYSSTAT) is set. Due to excessive power dissipation in the transmitter, software is advised to monitor this bit and turn the transmitter off immediately. The different internal diagnostic analog voltages can be selected with the ADMUX Register. Analog Multiplexer Configuration Register (ADMUX) Register Name and Address: ADMUX - $07 TXD Pin Read The TXD pin is the MCU interface to control the state of the LIN transmitter (see Figure , page 2). When TXD is LOW, LIN output is low (dominant state). When TXD is HIGH, the LIN output MOSFET is turned off. The TXD pin has an internal pullup current source in order to set the LIN bus in recessive state in the event, for instance, the microcontroller could not control it during system power-up or power-down. Write RXD Pin The RXD transceiver pin is the MCU interface, which reports the state of the LIN bus voltage. LIN HIGH (recessive state) is reported by a high level on RXD, LIN LOW (dominant state) by a low level on RXD. Bit 7 6 5 4 0 0 0 0 Reset 0 0 0 3 2 1 Bit 0 SS3 SS2 SS1 SS0 0 0 0 0 0 SS3, SS2, SS1, and SS0 — A / D Input Select Bits These read / write bits select the input to the ADC in the microcontroller according to Table 7, page 24. Reset clears SS3, SS2, SS1, and SS0 bits. Table 7. Analog Multiplexer Configuration Register SS3 SS2 SS1 SS0 Channel 0 0 0 0 Current Recopy HB1 0 0 0 1 Current Recopy HB2 STOP Mode/Wake-up Feature 0 0 1 0 Current Recopy HB3 During STOP mode operation the transmitter of the physical layer is disabled. The receiver pin is still active and able to detect wake-up events on the LIN bus line.If LIN interrupt is enabled (LINIE bit in the Interrupt Mask Register is set), a falling edge on the LIN line causes an interrupt. This interrupt switches on the main voltage regulator and generates a system wake-up. 0 0 1 1 Current Recopy HB4 0 1 0 0 VSUP Prescaler 0 1 0 1 Temperature Sensor 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 Current Recopy 1 1 0 0 The analog multiplexer is connected to the four low side current sense circuits of the half-bridges. These sense circuits offer a voltage proportional to the current through the low side MOSFET. High or low resolution is selectable: 5.0V / 2.5A or 5.0V / 500mA, respectively. (Refer to Half-Bridge Current Recopy on page 28.) 1 1 0 1 1 1 1 0 1 1 1 1 Analog Multiplexer /ADOUT Pin The ADOUT pin is the analog output interface to the ADC of the MCU (see Figure , page 2). An analog multiplexer is used to read six internal diagnostic analog voltages. Power Output Register (POUT) Register Name and Address: POUT - $0b Temperature Sensor The 908E626 includes an on-chip temperature sensor. This sensor offers a voltage that is proportional to the actual chip junction temperature. Not Used Read Bit 7 6 0 0 Write 5 4 3 Bit 0 0 0 0 0 (16) (16) (16) HVDDO N (16) 0 0 0 0 0 0 Reset The VSUP prescaler permits the reading or measurement of the external supply voltage. The output of this voltage is VSUP / RATIOVSUP. Notes 16. This bit must always be set to 0. 0 1 (16) VSUP Prescaler 0 2 0 908E626 24 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES HVDDON — HVDD On Bit This read/write bit enables HVDD output. Reset clears the HVDDON bit. • 1 = HVDD enabled. • 0 = HVDD disabled. HALF-BRIDGES Outputs HB1 : HB4 provide four low resistive half-bridge output stages. The half-bridges can be used in H-bridge, high side, or low side configurations. Reset clears all bits in the H-bridge Output Register (HBOUT) owing to the fact that all half-bridge outputs are switched off. HB1: HB4 output features: • Short circuit (over-current) protection on high side and low side MOSFETs. • Current recopy feature (low side MOSFET). • Over-temperature protection. • Over-voltage and under-voltage protection. • Current limitation feature (low side MOSFET). VSUP Control On/Off High-Side Driver Status Charge Pump, Overtemperature Protection, Overcurrent Protection BEMF HBx On/Off Status Current Limit Low-Side Driver Current Recopy, Current Limitation, Overcurrent Protection GND Figure 12. Half-bridge Push-Pull Output Driver Half-Bridge Control Each output MOSFET can be controlled individually. The general enable of the circuitry is done by setting PSON in the System Control Register (SYSCTL). HBx_L and HBx_H form one half-bridge. It is not possible to switch on both MOSFETs in one half-bridge at the same time. If both bits are set, the high side MOSFET has a higher priority. To avoid both MOSFETs (high side and low side) of one half-bridge being on at the same time, a break-before-make circuit exists. Switching the high side MOSFET on is inhibited as long as the potential between gate and VSS is not below a certain threshold. Switching the low side MOSFET on is blocked as long as the potential between gate and source of the high side MOSFET did not fall below a certain threshold. Half-bridge Output Register (HBOUT) Register Name and Address: HBOUT - $01 Read Write Reset Bit 7 6 5 4 3 2 1 Bit 0 HB4_ H HB4_ L HB3_ H HB3_ L HB2_ H HB2_ L HB1_ H HB1_ L 0 0 0 0 0 0 0 0 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 25 FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES HBx_L — Low Side On / Off Bits HALF-BRIDGE CURRENT LIMITATION These read / write bits turn on the low side MOSFETs. Reset clears the HBx_L bits. • 1 = Low side MOSFET turned on for half-bridge output x. • 0 = Low side MOSFET turned off for half-bridge output x. Each low side MOSFET offers a current limit or constant current feature. This features is realized by a pulse width modulation on the low side MOSFET. The pulse width modulation on the outputs is controlled by the FGEN input and the load characteristics. The FGEN input provides the PWM frequency, whereas the duty cycle is controlled by the load characteristics. The recommended frequency range for the FGEN and the PWM is 0.1kHz to 20kHz. HBx_H — High Side On/Off Bits These read / write bits turn on the high side MOSFETs. Reset clears the HBx_H bits. • 1 = High side MOSFET turned on for half-bridge output x. • 0 = High side MOSFET turned on for half-bridge output x. Functionality Each low side MOSFET switches off if a current above the selected current limit was detected. The 908E626 offers five different current limits (refer to Table 8, page 30, for current limit values). The low side MOSFET switches on again if a rising edge on the FGEN input was detected (Figure 13). 908E626 26 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES H-Bridge low-side MOSFET will be switched off if select current limit is reached. Coil Current H-Bridge low-side MOSFET will be turned on with each rising edge of the FGEN input. t (µs) Half-Bridge Low-Side Output t (µs) FGEN Input (MCU PWM Signal) t (µs) Minimum 50 µs Figure 13. Half-bridge Current Limitation Offset Chopping If bit OFC_EN in the H-bridge Control Register (HBCTL) is set, HB1 and HB2 will continue to switch on the low side MOSFETs with the rising edge of the FGEN signal and HB3 and HB4 will switch on the low side MOSFETs with the falling edge on the FGEN input. In step motor applications, this feature allows the reduction of EMI due to a reduction of the di/dt (Figure 14). 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 27 FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES Coil1 Current Coil2 Current FGEN Input (MCU PWM Signal) HB1 HB2 HB3 HB4 Coil1….. Coil2….. Current in VSUP Line Figure 14. Offset Chopping for Step Motor Control HALF-BRIDGE CURRENT RECOPY HALF-BRIDGE BEMF GENERATION Each low side MOSFET has an additional sense output to allow a current recopy feature. This sense source is internally connected to a shunt resistor. The drop voltage is amplified and switched to the analog multiplexer. The factor for the current sense amplification can be selected via bit CSA in the System Control Register. • CSA = 1: Low resolution selected (500 mA measurement range). • CSA = 0: High resolution selected (2.5 A measurement range). The BEMF output is set to “1” if a recirculation current is detected in any half-bridge. This recirculation current flows via the two freewheeling diodes of the power MOSFETs. The BEMF circuitry detects that and generates a HIGH on the BEMF output as long as a recirculation current is detected. This signal provides a flexible and reliable detection of stall in step motor applications. For this the BEMF circuitry takes advantage of the instability of the electrical and mechanical behavior of a step motor when blocked. In addition the signal can be used for open load detection (absence of this signal) (see Figure 15, page 29). 908E626 28 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES Coil Current Voltage on 1 1 BEMF Signal Figure 15. BEMF Signal Generation HALF-BRIDGE OVERTEMPERATURE PROTECTION The half-bridge outputs provide an over-temperature prewarning with the HTF in the Interrupt Flag Register (IFR). In order to protect the outputs against over-temperature, the High Temperature Reset must be enabled. If this value is reached, the part generates a reset and disables all power outputs. by the low and high voltage interrupt circuitry. If one of these flags (LVF, HVF) is set, the outputs are automatically disabled. The over-voltage / under-voltage status flags are cleared (and the outputs re-enabled) by writing a logic [1] to the LVF / HVF flags in the Interrupt Flag Register or by reset. Clearing this flag is useless as long as a high or low voltage condition is present. HALF-BRIDGE OVER-CURRENT PROTECTION Half-bridge Control Register (HBCTL) The half-bridges are protected against short to GND, short to VSUP, and load shorts. In the event an over-current on the high side is detected, the high side MOSFETs on all HB high side MOSFETs are switched off automatically. In the event an over-current on the low side is detected, all HB low side MOSFETs are switched off automatically. In both cases, the over-current status flag HB_OCF in the System Status Register (SYSSTAT) is set. The over-current status flag is cleared (and the outputs reenabled) by writing a logic [1] to the HB_OCF flag in the System Status Register or by reset. HALF-BRIDGE OVER-VOLTAGE / UNDERVOLTAGE Register Name and Address: HBCTL - $02 Read Write Reset Bit 7 6 OFC_EN CSA 0 0 5 4 3 0 0 0 0 0 0 2 1 Bit 0 CLS2 CLS1 CLS0 0 0 0 OFC_EN — H-bridge Offset Chopping Enable Bit This read / write bit enables offset chopping. Reset clears the OFC_EN bit. • 1 = Offset chopping enabled. • 0 = Offset chopping disabled. The half-bridge outputs are protected against undervoltage and over-voltage conditions. This protection is done 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 29 FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES CSA — H-bridges Current Sense Amplification Select Bit System Control Register (SYSCTL) This read / write bit selects the current sense amplification of the H-bridges. Reset clears the CSA bit. • 1 = Current sense amplification set for measuring 0.5 A. • 0 = Current sense amplification set for measuring 2.5 A. Register Name and Address: SYSCTL - $03 Read CLS2 : CLS0 — H-bridge Current Limitation Selection Bits Write These read / write bits select the current limitation value according to Table 8. Reset clears the CLS2 : CLS0 bits. Reset Table 8. H-bridge Current Limitation Value Selection Current Limit Bit 7 6 5 PSON SRS1 SRS0 0 0 0 4 3 2 1 0 0 0 0 Bit 0 0 GS 0 0 0 0 0 PSON — Power Stages On Bit CLS2 CLS1 CLS0 0 0 0 0 0 1 0 1 0 0 1 1 55mA (typ) 1 0 0 260mA (typ) SRS0 : SRS1 — LIN Slew Rate Selection Bits 1 0 1 370mA (typ) 1 1 0 550mA (typ) 1 1 1 These read / write bits enable the user to select the appropriate LIN slew rate for different baud rate configurations as shown in Table 9. The high speed slew rates are used, for example, for programming via the LIN and are not intended for use in the application. No Limit 740mA (typ) Bits Switchable VDD Outputs The HVDD pin is a switchable VDD output pin. It can be used for driving external circuitry that requires a VDD voltage. The output is enabled with bit PSON in the System Control Register and can be switched on / off with bit HVDDON in the Power Output Register. Low or high voltage conditions (LVI / HVI) have no influence on this circuitry. This read / write bit enables the power stages (half-bridges, LIN transmitter and HVDD output). Reset clears the PSON bit. • 1 = Power stages enabled. • 0 = Power stages disabled. Table 9. LIN Slew Rate Selection Bits SRS1 SRS0 LIN Slew Rate 0 0 Initial Slew Rate (20 kBaud) 0 1 Slow Slew Rate (10 kBaud) 1 0 High Speed II (8 x) 1 1 High Speed I (4 x) HVDD Over-temperature Protection Over-temperature protection is enabled if the high temperature reset is enabled. HVDD Over-current Protection The HVDD output is protected against over-current. In the event the over-current limit is or was reached, the output automatically switches off and the HVDD over-current flag in the System Status Register is set. Go to STOP Mode Bit (GS) This write-only bit instructs the 908E626 to power down and go into STOP mode. Reset or CPU interrupt requests clear the GS bit. • 1 = Power down and go into STOP mode • 0 = Not in STOP mode System Status Register (SYSSTAT) Register Name and Address: SYSSTAT - $0c Bit 7 Read Write Reset 6 LINCL 0 0 0 5 4 HVDD _OCF 0 0 0 3 2 LVF HVF 0 0 1 HB_ OCF 0 Bit 0 HTF 0 LINCL — LIN Current Limitation Bit This read-only bit is set if the LIN transmitter operates in current limitation region. Due to excessive power dissipation 908E626 30 Analog Integrated Circuit Device Data Freescale Semiconductor FUNCTIONAL DEVICE OPERATION OPERATIONAL MODES in the transmitter, software is advised to turn the transmitter off immediately. • 1 = Transmitter operating in current limitation region. • 0 = Transmitter not operating in current limitation region. HVDD_OCF — HVDD Output Over-current Flag Bit This read / write flag is set on an over-current condition at the HVDD pin. Clear HVDD_OCF and enable the output by writing a logic [1] to the HVDD_OCF Flag. Reset clears the HVDD_OCF bit. Writing a logic [0] to HVDD_OCF has no effect. • 1 = Over-current condition on HVDD has occurred. • 0 = No over-current condition on HVDD has occurred. LVF — Low Voltage Bit This read only bit is a copy of the LVF bit in the Interrupt Flag Register. • 1 = Low voltage condition has occurred. • 0 = No low voltage condition has occurred. Watchdog The watchdog function is only available in RUN mode. On setting the AWDRE bit, watchdog functionality in RUN mode is activated. Once this function is enabled, it is not possible to disable it via software. If the timer reaches end value and AWDRE is set, a system reset is initiated. Operations of the watchdog function cease in STOP mode. Normal operation will be continued when the system is back to RUN mode. To prevent a watchdog reset, the watchdog timeout counter must be reset before it reaches the end value. This is done by a write to the AWDRST bit in the AWDCTL Register. PERIODIC INTERRUPT Periodic interrupt is only available in STOP mode. It is enabled by setting the AWDIE bit in the AWDCTL Register. If AWDIE is set, the AWD wakes up the system after a fixed period of time. This time period can be selected with bit AWDR in the AWDCTL Register. Autonomous Watchdog Control Register (AWDCTL) HVF — High Voltage Sensor Bit This read-only bit is a copy of the HVF bit in the Interrupt Flag Register. • 1 = High voltage condition has occurred. • 0 = No high voltage condition has occurred. Register Name and Address: AWDCTL - $0a Read Bit 7 6 5 0 0 0 Write AWDRST 4 3 2 1 Bit 0 AWDRE AWDIE 0(17) 0 AWDR 0 0 0 0 0 HB_OCF — H-bridge Over-current Flag Bit Reset This read / write flag is set on an over-current condition at the H-bridges. Clear HB_OCF and enable the H-bridge driver by writing a logic [1] to HB_OCF. Reset clears the HB_OCF bit. Writing a logic [0] to HB_OCF has no effect. • 1 = Over-current condition on H-bridges has occurred. • 0 = No over-current condition on H-bridges has occurred. Notes 17. This bit must always be set to 0. HTF — Over-temperature Status Bit This read-only bit is a copy of the HTF bit in the Interrupt Flag Register. • 1 = Over-temperature condition has occurred. • 0 = No over-temperature condition has occurred. AUTONOMOUS WATCHDOG (AWD) The Autonomous Watchdog module consists of three functions: • Watchdog function for the CPU in RUN mode • Periodic interrupt function in STOP mode The Autonomous Watchdog module allows to protect the CPU against code runaways. The AWD is enabled if AWDIE, AWDRE in the AWDCTL Register is set. If this bit is cleared, the AWD oscillator is disabled and the watchdog switched off. 0 0 0 AWDRST — Autonomous Watchdog Reset Bit This write-only bit resets the Autonomous Watchdog timeout period. AWDRST always reads 0. Reset clears AWDRST bit. • 1 = Reset AWD and restart timeout period. • 0 = No effect. AWDRE — Autonomous Watchdog Reset Enable Bit This read / write bit enables resets on AWD time-outs. A reset on the RST_A is asserted when the Autonomous Watchdog has reached the timeout and the Autonomous Watchdog is enabled. AWDRE is one-time setable (write once) after each reset. Reset clears the AWDRE bit. • 1 = Autonomous watchdog enabled. • 0 = Autonomous watchdog disabled. Autonomous Watchdog Interrupt Enable Bit (AWDIE) This read/write bit enables CPU interrupts by the Autonomous Watchdog timeout flag, AWFD. IRQ_A is only asserted when the device is in STOP mode. Reset clears the AWDIE bit. • 1 = CPU interrupt requests from AWDF enabled • 0 = CPU interrupt requests from AWDF disabled 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 31 FUNCTIONAL DEVICE OPERATION FACTORY TRIMMING AND CALIBRATION AWDR — Autonomous Watchdog Rate Bit This read / write bit selects the clock rate of the Autonomous Watchdog. Reset clears the AWDR bit. • 1 = Fast rate selected (10ms). • 0 = Slow rate selected (20ms). VOLTAGE REGULATOR The 908E626 chip contains a low power, low drop voltage regulator to provide internal power and external power for the MCU. The VDD regulator accepts a unregulated input supply and provides a regulated VDD supply to all digital sections of the device. The output of the regulator is also connected to the VDD pin to provide the 5.0V to the microcontroller. Note: Under loss of power conditions, the discharge of the VDD capacitor may occur relatively slow. Based on the selected external components and external VDD load, additional external load may be required guarantee the MCU POR threshold being reached before the next power up. RUN Mode During RUN mode, the main voltage regulator is on. It provides a regulated supply to all digital sections. STOP Mode During STOP mode the STOP mode regulator supplies a regulated output voltage. The STOP mode regulator has a very limited output current capability. The output voltage will be lower than the output voltage of the main voltage regulator. FACTORY TRIMMING AND CALIBRATION To enhance the ease-of-use of the 908E626, various parameters (e.g. ICG trim value) are stored in the flash memory of the device. The following flash memory locations are reserved for this purpose and might have a value different from the empty (0xFF) state: • 0xFD80: 0xFDDF Trim and Calibration Values • 0xFFFE : 0xFFFF Reset Vector In the event the application uses these parameters, one has to take care not to erase or override these values. If these parameters are not used, these flash locations can be erased and otherwise used. Trim Values Below the usage of the trim values located in the flash memory is explained Internal Clock Generator (ICG) Trim Value The internal clock generator (ICG) module is used to create a stable clock source for the microcontroller without using any external components. The untrimmed frequency of the low frequency base clock (IBASE), will vary as much as ±25 percent due to process, temperature, and voltage dependencies. To compensate this dependencies a ICG trim values is located at address $FDC2. After trimming the ICG is a range of typ. ±2% (±3% max.) at nominal conditions (filtered (100nF) and stabilized (4.7uF) VDD = 5V, TAmbient~25°C) and will vary over temperature and voltage (VDD) as indicated in the 68HC908EY16 datasheet. To trim the ICG this values has to be copied to the ICG Trim Register ICGTR at address $38 of the MCU. Important The value has to be copied after every reset. 908E626 32 Analog Integrated Circuit Device Data Freescale Semiconductor TYPICAL APPLICATIONS FACTORY TRIMMING AND CALIBRATION TYPICAL APPLICATIONS DEVELOPMENT SUPPORT As the 908E626 has the MC68HC908EY16 MCU embedded typically all the development tools available for the MCU also apply for this device, however due to the fact of the additional analog die circuitry and the nominal +12V supply voltage some additional items have to be considered: • nominal 12V rather than 5V or 3V supply • high voltage VTST might be applied not only to IRQ pin, but IRQ_A pin For a detailed information on the MCU related development support see the MC68HC908EY16 datasheet section development support. The programming is principally possible at two stages in the manufacturing process - first on chip level, before the IC is soldered onto a pcb board and second after the IC is soldered onto the pcb board. Chip level programming On Chip level the easiest way is to only power the MCU with +5V (see Figure 16) and not to provide the analog chip with VSUP, in this setup all the analog pin should be left open (e.g. VSUP[1:3]) and interconnections between MCU and analog die have to be separated (e.g. IRQ - IRQ_A). This mode is well described in the MC68HC908EY16 datasheet - section development support. VSUP[1:3] VDD GND[1:2] VSS +5V VREFH VDDA RST EVDD RST_A +5V 1 1µF + 4 C1- GND C2+ V+ + 5 RS232 DB-9 VCC + 3 1µF C1+ 100nF VTST 16 C2- MAX232 V- IRQ_A 1µF 7 T2OUT 3 8 R2IN VSSA 1µF + 2 9.8304MHz CLOCK 6 +5V + CLK +5V PTB4/AD4 6 74HC125 10k 5 10k DATA PTA1/KBD1 PTA0/KBD0 10k 4 PTB3/AD3 3 2 10k PTC4/OSC1 1µF T2IN 10 R2OUT 9 MM908E626 EVSS 15 74HC125 2 4.7µF VREFL IRQ 1 5 Figure 16. Normal Monitor Mode Circuit (MCU only) Of course its also possible to supply the whole system with VSUP (12V) instead as described in Figure 17, page 34. PCB level programming If the IC is soldered onto the pcb board its typically not possible to separately power the MCU with +5V, the whole system has to be powered up providing VSUP (see Figure 17). 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 33 TYPICAL APPLICATIONS FACTORY TRIMMING AND CALIBRATION VDD VSUP 47µF + 100nF VSUP[1:3] VDD GND[1:2] VSS VREFH VDDA RST EVDD RST_A VDD 1 1µF + + 3 4 1µF VCC C1+ 100nF C1- GND C2+ V+ + 5 RS232 DB-9 V- MAX232 C2- 3 8 R2IN VSSA EVSS 1µF + 2 9.8304MHz CLOCK 6 VDD CLK 10k PTC4/OSC1 PTB4/AD4 1µF T2IN 10 6 10k DATA PTA1/KBD1 PTA0/KBD0 10k 4 PTB3/AD3 3 2 VDD 10k 5 74HC125 R2OUT 9 MM908E626 IRQ_A 74HC125 7 T2OUT 4.7µF VREFL 1µF 15 + 2 IRQ VTST 16 1 5 Figure 17. Normal Monitor Mode Circuit Table 10 summarizes the possible configurations and the necessary setups. Table 10. Monitor Mode Signal Requirements and Options Mode IRQ RST Normal Monitor Forced Monitor VTST Reset Vector VDD X VDD $FFFF (blank) VDD Serial Communication Mode Selection PTA0 PTA1 PTB3 PTB4 1 0 0 1 1 0 X VDD VDD not $FFFF (not blank) X X X ICG COP OFF disabled disabled 9.8304 MHz 2.4576 MHz 9600 OFF disabled disabled 9.8304 MHz 2.4576 MHz 9600 ON disabled disabled — Nominal 1.6MHz Nominal 6300 ON enabled enabled — Nominal 1.6MHz Nominal 6300 X GND User Communication Speed Normal Request Baud Bus Timeout External Clock Frequency Rate X Notes 1. PTA0 must have a pull-up resistor to VDD in monitor mode 2. 3. 4. 5. External clock is a 4.9152MHz, 9.8304MHz or 19.6608MHz canned oscillator on OCS1 Communication speed with external clock is depending on external clock value. Baud rate is bus frequency / 256 X = don’t care VTST is a high voltage VDD + 3.5V ≤ VTST ≤ VDD + 4.5V 908E626 34 Analog Integrated Circuit Device Data Freescale Semiconductor TYPICAL APPLICATIONS FACTORY TRIMMING AND CALIBRATION EMC/EMI RECOMMENDATIONS This paragraph gives some device specific recommendations to improve EMC/EMI performance. Further generic design recommendations can be e.g. found on the Freescale web site www.freescale.com. MCU digital supply pins (EVDD and EVSS) VSUP pins (VSUP1:VSUP3) Fast signal transitions on MCU pins place high, short duration current demands on the power supply. To prevent noise problems, take special care to provide power supply bypassing at the MCU. It is recommended that a high quality ceramic decoupling capacitor be placed between these pins. Its recommended to place a high quality ceramic decoupling capacitor close to the VSUP pins to improve EMC/EMI behavior. MCU analog supply pins (VREFH, VDDA and VREFL, VSSA) To avoid noise on the analog supply pins its important to take special care on the layout. The MCU digital and analog supplies should be tied to the same potential via separate traces and connected to the voltage regulator output. Figure 18 and Figure 19 show the recommendations on schematics and layout level and Table 11 indicates recommended external components and layout considerations. LIN pin For DPI (Direct Power Injection) and ESD (Electrostatic Discharge) its recommended to place a high quality ceramic decoupling capacitor near the LIN pin. An additional varistor will further increase the immunity against ESD. A ferrite in the LIN line will suppress some of the noise induced. Voltage regulator output pins (VDD and AGND) Use a high quality ceramic decoupling capacitor to stabilize the regulated voltage. D1 VSUP C1 + C2 VSUP1 VDD VSUP2 VSS VSUP3 VREFH VDDA L1 LIN LIN EVDD V1 C5 C3 MM908E625 C4 EVSS VSSA GND1 VREFL GND2 Figure 18. EMC/EMI Recommendations 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 35 TYPICAL APPLICATIONS FACTORY TRIMMING AND CALIBRATION 1 54 2 53 3 52 4 51 5 50 49 7 VREFH 48 8 VDDA 47 9 EVDD 46 10 EVSS 45 11 VSSA 44 12 VREFL 43 13 14 42 NC 908E626 15 41 VSS 17 VDD 36 19 C5 V1 20 LIN 21 NC 22 NC 35 34 NC 24 VSUP1 VSUP3 31 25 GND1 GND2 30 29 26 27 C1 33 32 23 GND 38 37 18 L1 C4 40 39 16 LIN C3 6 VSUP2 28 C2 VBAT Figure 19. PCB Layout Recommendations . Table 11. Component Value Recommendation Component Recommended Value(1) C1 Bulk Capacitor C2 100nF, SMD Ceramic, Low ESR Close (<5mm) to VSUP1, VSUP2 pins with good ground return C3 100nF, SMD Ceramic, Low ESR Close (<3mm) to digital supply pins (EVDD, EVSS) with good ground return. Comments / Signal routing The positive analog (VREFH, VDDA) and the digital (EVDD) supply should be connected right at the C3. C4 4,7uF, SMD Ceramic, Low ESR Bulk Capacitor C5 180pF, SMD Ceramic, Low ESR Close (<5mm) to LIN pin. Total Capacitance on LIN has to be below 220pF. (Ctotal = CLIN-Pin + C5 + CVaristor ~ 10pF + 180pF + 15pF) V1(2) L1 (2) Varistor Type TDK AVR-M1608C270MBAAB Optional (close to LIN connector) SMD Ferrite Bead Type TDK MMZ2012Y202B Optional, (close to LIN connector) Notes 1. Freescale does not assume liability, endorse, or want components from external manufactures that are referenced in circuit drawings or tables. While Freescale offers component recommendations in this configuration, it is the customer’s responsibility to validate their application. 2. Components are recommended to improve EMC and ESD performance. 908E626 36 Analog Integrated Circuit Device Data Freescale Semiconductor PACKAGING PACKAGING DIMENSIONS PACKAGING PACKAGING DIMENSIONS Important: For the most current revision of the package, visit www.freescale.com and perform a keyword search on 98ARL10519D. DWB SUFFIX EK SUFFIX (PB-FREE) 54-PIN 98ARL10519D ISSUE D 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 37 PACKAGING PACKAGING DIMENSIONS DWB SUFFIX EK SUFFIX (PB-FREE) 54-PIN 98ARL10519D ISSUE D 908E626 38 Analog Integrated Circuit Device Data Freescale Semiconductor PACKAGING PACKAGING DIMENSIONS DWB SUFFIX EK SUFFIX (PB-FREE) 54-PIN 98ARL10519D ISSUE D 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 39 ADDITIONAL DOCUMENTATION THERMAL ADDENDUM (REV 1.0) ADDITIONAL DOCUMENTATION 908E626 THERMAL ADDENDUM (REV 1.0) Introduction This thermal addendum ia provided as a supplement to the MM908E626 technical data sheet. The addendum provides thermal performance information that may be critical in the design and development of system applications. All electrical, application and packaging information is provided in the data sheet. 54-PIN SOICW-EP Package and Thermal Considerations This MM908E626 is a dual die package. There are two heat sources in the package independently heating with P1 and P2. This results in two junction temperatures, TJ1 and TJ2, and a thermal resistance matrix with RθJAmn. For m, n = 1, RθJA11 is the thermal resistance from Junction 1 to the reference temperature while only heat source 1 is heating with P1. For m = 1, n = 2, RθJA12 is the thermal resistance from Junction 1 to the reference temperature while heat source 2 is heating with P2. This applies to RθJ21 and RθJ22, respectively. TJ1 TJ2 = RθJA11 RθJA12 RθJA21 RθJA22 . DWB SUFFIX 98ARL10519D 54-PIN SOICW-EP Note For package dimensions, refer to the 908E626 device datasheet. P1 P2 The stated values are solely for a thermal performance comparison of one package to another in a standardized environment. This methodology is not meant to and will not predict the performance of a package in an application-specific environment. Stated values were obtained by measurement and simulation according to the standards listed below. Standards Table 12. Thermal Performance Comparison Thermal Resistance m = 1, n=1 m = 1, n = 2 m = 2, n = 1 m = 2, n=2 RθJAmn (1)(2) 23 20 24 RθJBmn (2)(3) 9.0 6.0 10 RθJAmn (1)(4) 52 47 52 1.0 0 2.0 RθJCmn (5) 1.0 1 = Power Chip, 2 = Logic Chip [°C/W] Notes: 1. Per JEDEC JESD51-2 at natural convection, still air condition. 2. 2s2p thermal test board per JEDEC JESD51-7and JESD51-5. 3. Per JEDEC JESD51-8, with the board temperature on the center trace near the power outputs. 4. Single layer thermal test board per JEDEC JESD51-3 and JESD51-5. 5. Thermal resistance between the die junction and the exposed pad, “infinite” heat sink attached to exposed pad. 1.0 0.2 0.2 * All measurements are in millimeters Soldermast openings Thermal vias connected to top buried plane 54 Terminal SOIC-EP 0.65 mm Pitch 17.9 mm x 7.5 mm Body 10.3 mm x 5.1 mm Exposed Pad Figure 20. Thermal Land Pattern for Direct Thermal Attachment Per JEDEC JESD51-5Thermal Test Board 908E626 40 Analog Integrated Circuit Device Data Freescale Semiconductor ADDITIONAL DOCUMENTATION THERMAL ADDENDUM (REV 1.0) PTB7/AD7/TBCH1 PTB6/AD6/TBCH0 PTC4/OSC1 PTC3/OSC2 PTC2/MCLK PTB5/AD5 PTB4/AD4 PTB3/AD3 IRQ RST PTB1/AD1 PTD0/TACH0/BEMF PTD1/TACH1 NC FGEN BEMF RST_A IRQ_A SS LIN NC NC HB1 VSUP1 GND1 HB2 VSUP2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 Exposed Pad 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 A PTA0/KBD0 PTA1/KBD1 PTA2/KBD2 FLSVPP PTA3/KBD3 PTA4/KBD4 VREFH VDDA EVDD EVSS VSSA VREFL PTE1/RXD RXD VSS NC VDD NC NC NC HVDD NC HB4 VSUP3 GND2 HB3 NC 908E626 Pin Connections 54-Pin SOICW-EP 0.65 mm Pitch 17.9 mm x 7.5 mm Body 10.3 mm x 5.1 mm Exposed Pad Figure 21. Thermal Test Board Device on Thermal Test Board Material: Outline: Area A: Ambient Conditions: Single layer printed circuit board FR4, 1.6 mm thickness Cu traces, 0.07 mm thickness 80 mm x 100 mm board area, including edge connector for thermal testing Cu heat-spreading areas on board surface Natural convection, still air Table 13. Thermal Resistance Performance Thermal Resistance RθJAmn RθJSmn Area A (mm2) 1 = Power Chip, 2 = Logic Chip (°C/W) m = 1, n=1 m = 1, n = 2 m = 2, n = 1 m = 2, n=2 0 53 48 53 300 39 34 38 600 35 30 34 0 21 16 20 300 15 11 15 600 14 9.0 13 RθJA is the thermal resistance between die junction and ambient air. RθJSmn is the thermal resistance between die junction and the reference location on the board surface near a center lead of the package. This device is a dual die package. Index m indicates the die that is heated. Index n refers to the number of the die where the junction temperature is sensed. 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 41 ADDITIONAL DOCUMENTATION THERMAL ADDENDUM (REV 1.0) Thermal Resistance [ºC/W] 60 50 40 30 20 10 x RθJA11 RθJA22 RθJA12 = RθJA21 0 0 300 600 Heat spreading area A [mm²] Figure 22. Device on Thermal Test Board RθJA Thermal Resistance [ºC/W] 100 10 1 x 0.1 1.00E-03 1.00E-02 RθJA11 RθJA22 RθJA12 = RθJA21 1.00E-01 1.00E+00 1.00E+01 1.00E+02 1.00E+03 1.00E+04 Time[s] Figure 23. Transient Thermal Resistance RθJA (1.0W Step Response) Device on Thermal Test Board Area A = 600 (mm2) 908E626 42 Analog Integrated Circuit Device Data Freescale Semiconductor REVISION HISTORY THERMAL ADDENDUM (REV 1.0) REVISION HISTORY REVISION DATE DESCRIPTION OF CHANGES 4.0 9/2008 • • • • • • Implemented Revision History page Minor corrections throughout the document Updated to current Freescale format and style Added MM908E626AVEK to the ordering information Corrected package drawing designation Added STOP mode 5.0 7/2009 • Corrected several non-technical cross-references. 908E626 Analog Integrated Circuit Device Data Freescale Semiconductor 43 How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 [email protected] Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 [email protected] For Literature Requests Only: Freescale Semiconductor Literature Distribution Center P.O. Box 5405 Denver, Colorado 80217 1-800-441-2447 or +1-303-675-2140 Fax: +1-303-675-2150 [email protected] Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals”, must be validated for each customer application by customer’s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005 - 2009. All rights reserved. MM908E626 Rev. 5.0 7/2009