Freescale Semiconductor Technical Data
Document Number: MM908E621 Rev 4.0, 6/2007
Integrated Quad Half-Bridge and Triple High-Side with Embedded MCU and LIN for High End Mirror
The 908E621 is an integrated single-package solution that includes a high-performance HC08 microcontroller with a SMARTMOSTM 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 module. The analog control die provides four half-bridge and three high-side outputs with diagnostic functions, a Hall-Effect sensor input, analog inputs, voltage regulator, window watchdog, and local interconnect network (LIN) physical layer. 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 high-end mirrors. Features
• • • • • • • • • • • • High-Performance M68HC908EY16 Core 16 K Bytes of On-Chip Flash Memory, 512 Bytes of RAM Internal Clock Generator Module (ICG) Two 16-Bit, 2-Channel Timers 10-Bit Analog-to-Digital Converter (ADC) LIN Physical Layer Interface Autonomous MCU Watchdog / MCU Supervision One Analog Input with Switchable Current Source Four Low RDS(ON) Half-Bridge Outputs Three Low RDS(ON) High-Side Outputs Wake-Up Input One 2/3-Pin Hall-Effect Sensor Input • 12 Microcontroller I/Os
>22µF 100nF
908E621
QUAD HALF-BRIDGE AND TRIPLE HIGHSIDE SWITCH WITH EMBEDDED MCU AND LIN
DWB SUFFIX 98ARL10519D 54-TERMINAL SOICW-EP
ORDERING INFORMATION
Device MM908E621ACDWB/R2 Temperature Range (TA) -40°C to 85°C Package 54 SOICW-EP
LIN
VSUP[1:8]
L0
Wake Up Input
VDDA/VREFH EVDD VDD
4,7µF 100nF
HB1 HB2
M M 4 x Half Bridge Outputs
VSSA/VREFL EVSS VSS RST_A RST IRQ_A IRQ PTA0/KBD0 PTA1/KBD1 PTA2/KBD2 PTA3/KBD3 PTA4/KBD4 PTB3/AD3 PTB4/AD4 PTB5/AD5 PTC2/MCLK PTC3/OSC2 PTC4/OSC1
HB3
M
HB4 HS1 HS2 HS3
High Side Output 1 High Side Output 2 High Side Output 3
µC PortA
µC PortB
µC PortC
Internally connected
HVDD A0 A0CST H0
Switched 5V output Analog Input with current source Analog Input current source trim 2-/3-pin hall sensor input Pull to ground for user mode
µC PortD
Internally connected
PTD0/TACH0 PTD1/TACH1 PTE1/RxD GND[1:4] EP
µC PortE
TESTMODE
Figure 1. 908E621 Simplified Application Diagram
Freescale Semiconductor, Inc. reserves the right to change the detail specifications, as may be required, to permit improvements in the design of its products.
© Freescale Semiconductor, Inc., 2007. All rights reserved.
2
VSSA/VREFL EVSS IRQ GND[1:4] VSUP[1:8] TESTMODE RST_A IRQ_A PTD0/TACH0 PTE1/RXD RST LIN Single Breakpoint Break Module Voltage Regulator PTE1/RXD PTE0/TXD TXD LIN Physical Layer Wakeup Port Reset Control High Side Driver & Diagnostic Switched VDD Driver & Diagnostic RXD 5-Bit Keyboard Interrupt Module 2-channel Timer Interface Module A 2-channel Timer Interface Module B Enhanced Serial Communication Interface Module Autonomous Watchdog Computer Operating Properly Module Serial Peripheral Interface Module Configuration Register Module Periodic Wake-up Timebase Module Arbiter Module Prescaler Module PTC1/MOSI Security Module BEMF Module PTA5/SPSCK PTC0/MISO PTA6/SS MISO MOSI SPSCK SS PTD0/TACH0 PWM HB2 Half Bridge Driver & Diagnostic VSS VDD HVDD L0 HS1[a:b] High Side Driver & Diagnostic HS2 High Side Driver & Diagnostic HS3 Internal Bus 24 Integral System Integration Module Single External IRQ Module Half Bridge Driver & Diagnostic HB1 Power-ON Reset Module SPI & CONTROL
908E621
EVDD
INTERNAL BLOCK DIAGRAM
VDDA/VREFH
M68HC08 CPU CPU ALU Registers
PTA0/KBD0
Control and Status Register, 64 Bytes User Flash, 15,872 Bytes User RAM, 512 Bytes Monitor ROM, 310 Bytes Flash programming (Burn-in), ROM 1024 Bytes
PTA1/KBD1
User Flash Vector Space, 36 Bytes
PTA2/KBD2
OSC2 Internal Clock OSC1 Generator Module
PTA3/KBD3
RST
PTA4/KBD4
IRQ
PTB3/AD3
PTB4/AD4
VREFH VDDA 10 Bit Analog-toVREFL Digital Converter Module VSSA VDD POWER VSS
PTB5/AD5
INTERNAL BLOCK DIAGRAM
HB3
PTC2/MCLK
Half Bridge Driver & Diagnostic
PTC3/OSC2 PORT C DDRC DDRA PORT A PTC4/OSC1 PTC3/OSC2 PTC2/MCLK PTC1/MOSI PTC0/MISO PTD1/TACH1 PTD0/TACH0 PTE1/RXD PTE0/TXD
Half Bridge Driver & Diagnostic
HB4
PTC4/OSC1
PTD1/TACH1
FLSVPP DDRB PORT B
HALLPORT PTB0/AD0 ADOUT Analog Multiplexer
H0 A0 A0CST Analog Port with Current Source
PORT D PORT E DDRD DDRE
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 PTB0/AD0
Analog Integrated Circuit Device Data Freescale Semiconductor
Figure 2. 908E621 Simplified Internal Block Diagram
TERMINAL CONNECTIONS
TERMINAL CONNECTIONS
Transparent Top View of Package
PTC4/OSC1 PTC3/OSC2 PTC2/MCLK PTB5/AD5 PTB4/AD4 PTB3/AD3
IRQ RST
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
54 53 52 51 50 49 48 47 46 45 44 43 42
(PTD0/TACH0/BEMF -> PWM) PTD1/TACH1
RST_A IRQ_A
LIN A0CST A0 GND1 HB4 VSUP1 GND2 HB3 VSUP2 NC NC TESTMODE GND3 HB2 VSUP3
Exposed Pad
41 40 39 38 37 36 35 34 33 32 31 30 29 28
PTA0/KBD0 PTA1/KBD1 PTA2/KBD2 FLSVPP PTA3/KBD3 PTA4/KBD4 VDDA/VREFH EVDD EVSS VSSA/VREFL (PTE1/RXD PWM)
MCU MCU / Analog
10 44
PTD1/TACH1 (PTE1/RXD 20V Normal Mode Total Output Current Load Regulation - IOUT = 60 mA, VSUP = 9V, TJ = 125°C STOP Mode Output Voltage (14) STOP Mode Total Output Current VDDRUN1 VDDRUN2 IOUTRUN VLR VDDSTOP IOUTSTOP 4.75 4.75 – – 4.75 150 5.0 5.0 120 – 5.0 500 5.25 5.25 150 100 5.25 850 mA mV V uA V TRON TIH 155 5.0 – – 180 10.0 TION TIH 125 5.0 – – 150 10.0 °C VHVION VHVI_HYS 20 0.5 – – 24 1.5 °C VLVION VLVI_HYS 6.0 0.3 – – 7.5 0.8 V VLVRON VLVR_HYS 3.8 50 4.2 – 4.65 300 V mV V Symbol Min Typ Max Unit
Notes 12. This parameter is guaranteed by process monitoring but is not production tested. 13. Specification with external low ESR ceramic capacitor 1.0 µF< C < 4.7 µF and 200 mΩ ≤ ESR ≤ 10 Ω. Its not recommended to use capacitor values above 4.7 µF 14. When switching from Normal to Stop mode or from Stop mode to Normal mode, the output voltage can vary within the output voltage specification.
908E621
Analog Integrated Circuit Device Data Freescale Semiconductor
9
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.0 V ≤ VSUP ≤ 16 V, -40°C ≤ TJ ≤ 125°C unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25°C under nominal conditions unless otherwise noted.
Characteristic LIN PHYSICAL LAYER LIN Transceiver Output Voltage Recessive State, TXD HIGH, IOUT = 1.0 µA Dominant State, TXD LOW, 500 Ω External Pullup Resistor Normal Mode Pullup Resistor to VSUP Stop, Sleep Mode Pullup Current Source Output Current Shutdown Threshold Output Current Shutdown Timing Leakage Current to GND VSUP Disconnected, VBUS at 18V Recessive state, 8V ≤ VSUP ≤ 18V, 8V ≤ VBUS ≤ 18V, VBUS ≥ VSUP GND Disconnected, VGND = VSUP, VBUS at -18V LIN Receiver Receiver Threshold Dominant Receiver Threshold Recessive Receiver Threshold Center Receiver Threshold Hysteresis VBUS_DOM VBUS_REC VBUS_CNT VBUS_HYS – 0.6 0.475 – – – 0.5 – 0.4 – 0.525 0.175 IBUS IBUS-PAS-REC IBUS-NOGND – 0.0 -1.0 1.0 3.0 – 10 20 1.0 µA µA mA VSUP V LIN_REC V LIN_DOM R PU IPU IBLIM IBLS VSUP -1 — 20 — 100 5.0 — — 30 20 230 – — 1.4 47 — 280 40 kΩ µA mA µs V Symbol Min Typ Max Unit
908E621
10
Analog Integrated Circuit Device Data Freescale Semiconductor
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.0 V ≤ VSUP ≤ 16 V, -40°C ≤ TJ ≤ 125°C unless otherwise noted. Typical values noted reflect the approximate parameter mean at TA = 25°C under nominal conditions unless otherwise noted.
Characteristic HIGH-SIDE OUTPUT HS1 Switch On Resistance TJ = 25°C, ILOAD = 1.0 A Overcurrent Shutdown Overcurrent Shutdown blanking time Current to Voltage Ratio
(16) (15)
Symbol
Min
Typ
Max
Unit
mΩ RDS(ON)-HS1 IHSOC1 tOCB CRRATIOHS1 – 6.0 – 0.84 185 – 4-8 1.2 225 9.0 – 1.56 A µs V/A
VADOUT [V] / IHS [A], (measured and trimmed IHS = 2 A) High-Side Switching Frequency (15) High-Side Free-Wheeling Diode Forward Voltage TJ = 25°C, ILOAD = 1 A Leakage Current HIGH-SIDE OUTPUTS HS2 AND HS3(17) Switch On Resistance TJ = 25°C, ILOAD = 1.0 A Overcurrent Shutdown Overcurrent Shutdown blanking time (15) Current to Voltage Ratio
(16)
fPWMHS VHSF
– –
– 0.9
25 –
kHz V
ILeakHS
–
P0 = 0. The parity bit is only evaluated during a write operations and ignored for read operations. Bit X A4 - A0 include the address of the desired register. not used
Master Address Byte
908E621
46
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
Master Data Byte This byte includes data to be written or no valid data during a read operation. Slave Status Byte This byte includes always the contents of the system status register ($0C) independent if it is a write or read operation or which register was selected.
Slave Data Byte This byte includes the contents of selected register, during write operation in includes the register content prior to write operation.
908E621
Analog Integrated Circuit Device Data Freescale Semiconductor
47
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
SPI REGISTER OVERVIEW TABLE 13 SUMMARIZES THE SPI REGISTER ADDRESSES AND THE BIT NAMES OF EACH REGISTER.
Table 13. SPI Register Overview
Addr Register Name R/W Bit 7 6 5 4 3 2 1 0
$00
System Control (SYSCTL) Half-Bridge Output (HBOUT) High-Side Output (HSOUT) Half-Bridge Status and Control (HBSCTL) High-Side Status and Control (HSSCTL)
R W R W R W R W R W R HVDDOCF CRM HVDDON HB4_H PSON
0 STOP HB4_L 0
0 HTIS1 SLEEP HB3_H HB3_L HB2_H HB2_L HB1_H HB1_L HTIS0 VIS SRS1 SRS0
$01
$02
HS3PWM 0 0
HS2PWM 0
HS1PWM
HS3ON
HS2ON
HS1ON
$03
HB4OCF 0 0 0 0
HB3OCF
HB2OCF
HB1OCF
$04
HS3OCF
HS2OCF
HS1OCF
$05
Reserved
W R
reserved
$06
Reserved H0/L0 Status and Control (HLSCTL) A0 and Multiplexer Control (A0MUCTL) Interrupt Mask (IMR) Interrupt Flag (IFR) Watchdog Control (WDCTL) System Status (SYSSTAT) Reset Status (RSR) System Test (SYSTEST) System Trim 1 (SYSTRIM1) System Trim 2 (SYSTRIM2) System Trim 3 (SYSTRIM3)
W R W R CSON W R W R W R W R W R W R W R W R W R W HVDDT1 0 HVDDT0 0 reserved 0 CRHB5 0 CRHS5 POR PINR WDR WDRE LINCL WDP1 HTIF WDP0 L0IF H0IF LINIF 0 0 L0IE H0IE LINIE CSSEL1 CSSEL0 L0F 0 0
reserved H0F H0OCF H0EN H0PD H0MS
$07
$08
CSA
SS3
SS2
SS1
SS0
$09
HTRD
HTIE
LVIE
HVIE
PSFIE PSFIF
$0A
HTIF 0
LVIF 0
HVIF 0 0 WDRST
$0B
VF
H0F
HVDDF
HSF
HBF
0
$0C
0 HTR LVR LINWF L0WF
$0D
$0E
reserved
$0F
reserved 0 CRHB4 0 CRHS4
itrim3 0 CRHB3 0 CRHS3
itrim2 0 CRHB2 0 CRHS2
itrim1 0 CRHB1 0 CRHS1
itrim0 0 CRHB0 0 CRHS0
$10
CRHBHC1 CRHBHC0 0 0
$11
CRHBHC3 CRHBHC2
908E621
48
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
FACTORY TRIMMING AND CALIBRATION
To enhance the ease-of-use of the 908E621, 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” ($FF) state: •$FD80:$FDDF Trim and Calibration Values •$FFFE:$FFFF 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 copied after every reset. Table 14. Window Clear Interval
Window Period Range Select bits $FDCF WDP1:0 Watchdog Period t_wd min. max. Unit Effective Open Window Optimal Clear Interval max. variation
Watchdog Period Range Value (AWD Trim) The window watchdog supervises device recover from e.g. code runaways. The application software has to clear the watchdog within the open window. Due to the high variation of the watchdog period - and therefore the reduced width of the watchdog window - a value is stored at address $FDCF. This value classifies the watchdog period into 3 ranges (Range 0, 1, 2). This allows the application software to select one out of three time intervals to clear the watchdog based on the stored value. The classification is done in a way that the application software can have up to ±19% variation of the of optimal clear interval, e.g. caused by ICG variation. Effective Open Window Having a variation in the watchdog period in conjunction with a 50% open window results in effective open window, which can be calculated by: latest window open time: t_open = t_wd max / 2 earliest window closed time: t_closed = t_wd min Optimal Clear Interval The optimal clear interval - meaning the clear interval with the biggest possible variation to latest window open time and to the earliest window closed time can be calculated with the following formula: t_opt = t_open + (t_open+t_closed) / 2 See Table 14 to select the optimal clear interval for the watchdog based on the Window No. and chosen period.
t_open
t_closed
Unit
t_opt
Unit
00 01 0 10 11 00 01 1 10 11 00 01 2 10 11
68 34 17 8.5 92 46 23 11.5 52 26 13 6.5
92 46 ms 23 11.5 124 62 ms 31 15.5 68 34 ms 17 8.5
46 23 11.5 5.75 62 31 15.5 7.75 34 17 8.5 4.25
68 34 ms 17 8.5 92 46 ms 23 11.5 52 26 ms 13 6.5
57 28.5 ms 14.25 7.125 77 38.5 ms 19.25 9.625 43 21.5 ms 10.75 5.375 ±20.9% ±19.5% ±19.3%
908E621
Analog Integrated Circuit Device Data Freescale Semiconductor
49
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
Analog Die System Trim Values For improved application performance and to ensure the outlined datasheet values the analog die needs to be trimmed. For this purpose 3 trim values are stored in the Flash memory at address $FDC4 - $FDC6. These values have to be copied into the analog die SPI registers: • copy $FDC4 into SYSTRIM1 register $0F • copy $FDC5 into SYSTRIM2 register $10 • copy $FDC6 into SYSTRIM3 register $11 Note: This values have to be copied to the respective SPI register after a reset to ensure proper trimming of the device.
HVDDT1
HVDDT0
typical Delay
1
1
78us
ITRIM3:0 - IRef Trim Bits These write only bits are for trimming of the internal current references IRef (also A0, A0CST). The provided trim values have to be copied into these bits after every reset. Reset clears the ITRIM3:0 bits.
System Test Register (SYSTEST)
itrim3 Register Name and Address: SYSTEST - $0E
Table 16. IRef Trim Bits
itrim2 itrim2 itrim0 Adjustment
0 Bit0
reserved
0 0 0 0 1 1 1 1 0
0 0 1 1 0 0 1 1 0
0 1 0 1 0 1 0 1 0
0 2% 4% 8% 12% -2% -4% -8% -12%
Bit7 Read
reserved
6
reserved
5
reserved
4
reserved
3
reserved
2
reserved
1
reserved
0 0 0
Write Reset 0 0 0 0 0 0 0 0 0 0
Note: do not write to the reserved bits
The System Test Register is reserved for production testing and is not allowed to be written to.
0 0
System Trim Register 1 (SYSTRIM1)
1
Register Name and Address: IBIAS - $0F
System Trim Register 2 (SYSTRIM2)
1 Bit0
ITRIM0
Bit7 Read
HVDDT1
6
HVDDT0
5
0
reserved
4
0
reserved
3
ITRIM3
2
ITRIM2
ITRIM1
Register Name and Address: IFBHBTRIM - $10
Write Reset 0 0
Bit7 0 0 0 0 Read Write Reset
0
CRHBHC1
6
0
CRHBHC0
5
0 CRHB5
4
0 CRHB4
3
0 CRHB3
2
0 CRHB2
1
0
Bit0
0
0
0
Note: do not change (set) the reserved bits
CRHB1 CRHB0
0
0
0
0
0
0
0
0
HVDDT1:0 - HVDD Overcurrent Shutdown Delay Bits These read/write bits allow to change the filter time (for capacitive load) for the HVDD over current detection. Reset clears the HVDDT1:0 bits an sets the delay to the maximum value. Table 15. HVDD Overcurrent Shutdown Selection Bits
HVDDT1 HVDDT0 typical Delay
CRHBHC1:0 - Current Recopy HB1:2 Trim Bits These write only bits are for trimming of the current recopy of the half-bridge HB1 and HB2 (CSA=0). The provided trim values have to be copied into these bits after every reset. Reset clears the CRHBHC1:0 bits.
Table 17. Current Recopy Trim for HB1:2 (CSA=0)
CRHBHC1 CRHBHC0 Adjustment
0 0 1
0 1 0
950us 536us 234us
0 0
0 1
0 -10%
908E621
50
Analog Integrated Circuit Device Data Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
CRHBHC1
CRHBHC0
Adjustment
1 1
0 1
5% 10%
System Trim Register 3 (SYSTRIM3)
Register Name and Address: IFBHSTRIM - $11
CRHB5:3 - Current Recopy HB3:4 Trim Bits These write only bits are for trimming of the current recopy of the half-bridge HB3 and HB4 (CSA=1). The provided trim values have to be copied into these bits after every reset. Reset clears the CRHB5:3 bits. Table 18. Current Recopy Trim for HB3:4 (CSA=1)
CRHB5 CRHB4 CRHB3 Adjustment
Bit7 Read Write Reset
0 CRHBH C3
6
0 CRHBH C2
5
0 CRHS5
4
0 CRHS4
3
0 CRHS3
2
0 CRHS2
1
0 CRHS1
Bit0
0 CRHS0
0
0
0
0
0
0
0
0
0 0 0 0 1 1 1 1
0 0 1 1 0 0 1 1
0 1 0 1 0 1 0 1
0 -5% -10% -15% reserved
CRHBHC3:2 - Current Recopy HB3:4 Trim Bits These write only bits are for trimming of the current recopy of the half-bridge HB3 and HB4 (CSA=0). The provided trim values have to be copied into these bits after every reset. Reset clears the CRHBHC3:2 bits. Table 20. Current Recopy Trim for HB3:4 (CSA=0)
CRHBHC3 CRHBHC2 Adjustment
0 5% 0 10% 1 15% 1
0 1 0 1
0 -10% 5% 10%
CRHB2:0 - Current Recopy HB1:2 Trim Bits These write only bits are for trimming of the current recopy of the half-bridge HB1 and HB2 (CSA=1). The provided trim values have to be copied into these bits after every reset. Reset clears the CRHB2:0 bits. Table 19. Current Recopy Trim for HB1:2 (CSA=1)
CRHB2 CRHB1 CRHB0 Adjustment
CRHS5:3 - Current Recopy HS2:3 Trim Bits These write only bits are for trimming of the current recopy of the high-side HS2 and HS3. The provided trim values have to be copied into these bits after every reset. Reset clears the CRHS5:3 bits. Table 21. Current Recopy Trim for HS2:3
CRHS5 CRHS4 CRHS3 Adjustment
0 0 0 0 1 1 1 1
0 0 1 1 0 0 1 1
0 1 0 1 0 1 0 1
0 0 -5% 0 -10% 0 -15% 0 reserved 1 5% 1 10% 1 15% 1 1 1 15% 1 0 10% 0 1 5% 0 0 reserved 1 1 -15% 1 0 -10% 0 1 -5% 0 0 0
908E621
Analog Integrated Circuit Device Data Freescale Semiconductor
51
FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS
CRHS2:0 - Current Recopy HS1 Trim Bits These write only bits are for trimming of the current recopy of the high-side HS1. The provided Trim values have to be copied into these bits after every reset. Reset clears the CRHS2:0 bits. Current Recopy Trim for HS1
CRHS2 CRHS1 CRHS0 Adjustment
CRHS2
CRHS1
CRHS0
Adjustment
0 1 1 1
1 0 0 1 1
1 0 1 0 1
-15% reserved 5% 10% 15%
0 0 0
0 0 1
0 1 0
0 1 -5% -10%
908E621
52
Analog Integrated Circuit Device Data Freescale Semiconductor
TYPICAL APPLICATIONS
TYPICAL APPLICATIONS
DEVELOPMENT SUPPORT
As the 908E621 has the MC68HC908EY16 MCU embedded, typically all the development tools available for the MCU also apply for this device. However, due to 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 terminal, but IRQ_A terminal • MCU monitoring (Normal request time-out) has to be disabled 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 At the Chip level, the easiest way is to only power the MCU with +5V (see Figure 30), and not to provide the analog chip with VSUP. In this setup all the analog terminal should be left open (e.g. VSUP[1:8]) 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:8] GND[1:4]
VDD VSS +5V VDDA/VREFH
RST EVDD RST_A +5V 1 1µF + 3 4 1µF + 5 C1C2+ GND V+ V15 2 6 1µF + 74HC125 7 T2OUT 8 R2IN T2IN 10 74HC125 3 R2OUT 9 2 1 5 3 6 4 5 10k 10k DATA PTA1/KBD1 PTA0/KBD0 10k PTB3/AD3 + 9.8304MHz CLOCK +5V CLK PTC4/OSC1 PTB4/AD4 TESTMODE 10k 16 + 1µF 1µF VTST IRQ IRQ_A VSSA/VREFL 100nF 4.7µF
C1+
VCC
MM908E621
EVSS +5V
MAX232
C2-
RS232 DB-9
2
Figure 30. Normal Monitor Mode Circuit (MCU only) Of course its also possible to supply the whole system with Vsup instead (12V) as described in Figure 31, page 54.
908E621
Analog Integrated Circuit Device Data Freescale Semiconductor
53
TYPICAL APPLICATIONS
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 31)..
VDD VSUP + 47µF 100nF VSUP[1:8] GND[1:4] VDD VSS
VDDA/VREFH RST EVDD RST_A VDD 1 1µF + 3 4 1µF + 5 C1C2+ GND V+ V15 2 6 1µF + 74HC125 7 T2OUT 8 R2IN T2IN 10 74HC125 3 R2OUT 9 2 1 5 3 6 4 5 10k 10k DATA PTA1/KBD1 PTA0/KBD0 10k PTB3/AD3 + 10k 9.8304MHz CLOCK VDD CLK PTC4/OSC1 PTB4/AD4 TESTMODE 10k 16 + 1µF 1µF VDD VTST IRQ IRQ_A VSSA/VREFL 100nF 4.7µF
C1+
VCC
MM908E621
EVSS
MAX232
C2-
RS232 DB-9
2
Figure 31. Normal Monitor Mode Circuit Table 22 summarizes the possible configurations and the necessary setups. Table 22. Monitor Mode Signal Requirements and Options
Serial Communication
PTA0 Normal Monitor
Mode
IRQ RST TESTMODE
Reset Vector
Mode Selection ICG COP PTB3
0
PTA1
0
PTB4
1 OFF disabled
Communication Speed Normal Request Baud Bus Time-out External Clock Frequency Rate
disabled 9.8304 MHz 9.8304 MHz — 2.4576 MHz 2.4576 MHz Nominal 1.6MHz Nominal 1.6MHz 9600
VTST VDD
VDD
1
X
1
OFF VDD 1 $FFFF (blank) 1 0 X X ON not $FFFF (not blank)
disabled
disabled
9600 Nominal 6300 Nominal 6300
Forced Monitor GND
disabled
disabled
User
VDD
VDD
0
X
X
X
X
ON
enabled
enabled
—
Notes 1. PTA0 must have a pullup 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
908E621
54
Analog Integrated Circuit Device Data Freescale Semiconductor
TYPICAL APPLICATIONS
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. VSUP terminals (VSUP[1:8]) Its recommended to place a high quality ceramic decoupling capacitor close to the VSUP terminals to improve EMC/EMI behavior. LIN terminal For DPI (Direct Power Injection) and ESD (Electrostatic Discharge) its recommended to place a high quality ceramic decoupling capacitor near the LIN terminal. 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 terminals (VDD and VSS) Use a high quality ceramic decoupling capacitor to stabilize the regulated voltage.
D1 VSUP + C1 C2 VSUP[1:8]
MCU digital supply terminals (EVDD and EVSS) Fast signal transitions on MCU terminals place high, shortduration 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 terminals. MCU analog supply terminals (VREFH/VDDA and VREFL/ VSSA) To avoid noise on the analog supply terminals, 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 32 and Figure 33 show the recommendations on schematics and layout level and Table 23 indicates recommended external components and layout considerations.
VDD VSS
L1 LIN V1 C5 LIN
VDDA/VREFH EVDD
C3
C4
MM908E621
GND[1:4]
EVSS
VSSA/VREFL
Figure 32. EMC/EMI recommendations
908E621
Analog Integrated Circuit Device Data Freescale Semiconductor
55
TYPICAL APPLICATIONS
1 2 3 4 5 6 7 8 9 10 11 12 13 LIN VSS VDD VDDA/VREFH EVDD EVSS VSSA/VREFL
54 53 52 51 50 49 48 47
C3
46 45 44 43 42 41 40
C5
14 15 16 17 18 19 20 21 22 23 24 25 26 27
908E621
GND1
39 38
VSUP1 GND2
VSUP8
37 36
VSUP7 VSUP2
35 34 33
C4
GND C2 C1
VSUP6 VSUP5 GND3 GND4
32 31 30 29
VSUP3
VSUP4
28
D1
VBAT
V1
L1
LIN
Figure 33. PCB Layout Recommendations . Table 23. Component Value Recommendation
Component Recommended Value(1) Comments / Signal routing
D1 C1 C2 C3 Bulk Capacitor 100nF, SMD Ceramic, Low ESR 100nF, SMD Ceramic, Low ESR
reverse battery protection
Close to VSUP terminals with good ground return Close (