Freescale Semiconductor Data Sheet: Technical Data Document Number: MC9RS08KA8 Rev. 4, 6/2009 MC9RS08KA8 TBD MC9RS08KA8 Series Covers: MC9RS08KA8 MC9RS08KA4 Features: * 8-Bit RS08 Central Processor Unit (CPU) - Up to 20 MHz CPU at 1.8 V to 5.5 V across temperature range of -40C to 85C - Subset of HC08 instruction set with added BGND instruction * On-Chip Memory - 8 KB flash read/program/erase over full operating voltage and temperature; KA4 has 4 KB flash - 254 byte random-access memory (RAM); KA4 has 126 byte RAM - Security circuitry to prevent unauthorized access to RAM and flash contents * Power-Saving Modes - Wait and stop - Wakeup from power-saving modes using real-time interrupt (RTI), KBI, or ACMP * Clock Source Options - Oscillator (XOSC) -- Loop-Control Pierce oscillator; crystal or ceramic resonator range of 31.25 kHz to 39.0625 kHz or 1 MHz to 5 MHz - Internal Clock Source (ICS) -- Internal clock source module containing a frequency-locked-loop (FLL) controlled by internal or external reference; precision trimming of internal reference allows 0.2% resolution and 2% deviation over temperature and voltage; supports bus frequencies up to 10 MHz * System Protection - Watchdog computer operating properly (COP) reset with option to run from dedicated 1 kHz internal clock source or bus clock - Low-Voltage detection with reset or interrupt - Illegal opcode detection with reset - Illegal address detection with reset - Flash block protection * Development Support TBD 20-Pin W-SOIC Case 751D 20-Pin PDIP Case 738C TBD 16-Pin PDIP Case 648 16-Pin TSSOP Case 948F - Single-Wire background debug interface - Breakpoint capability to allow single breakpoint setting during in-circuit debugging * Peripherals - ADC -- 12-channel, 10-bit resolution; 2.5 s conversion time; automatic compare function; operation in stop; fully functional from 2.7 V to 5.5 V (8-channels available on 16-pin package) - TPM -- One 2-channel; selectable input capture, output compare, or buffered edge- or center-aligned PWM on each channel - IIC -- Inter-Integrated circuit bus module capable of operation up to 100 kbps with maximum bus loading; capable of higher baudrates with reduced loading - MTIM1 and MTIM2 -- Two 8-bit modulo timers - KBI -- Keyboard interrupts with rising or falling edge detect; eight KBI ports in 16-pin and 20-pin packages - ACMP -- Analog comparator: full rail-to-rail supply operation; option to compare to fixed internal bandgap reference voltage; can operate in stop mode * Input/Output - 14/18 GPIOs including one output only pin and one input only pin - Hysteresis and configurable pullup device on all input pins; configurable slew rate and drive strength on all output pins * Package Options - 16-pin SOIC, PDIP or TSSOP - 20-pin SOIC or PDIP This document contains information on a product under development. Freescale reserves the right to change or discontinue this product without notice. (c) Freescale Semiconductor, Inc., 2008-2009. All rights reserved. TBD 16-Pin W-SOIC Case 751G Table of Contents 1 2 3 MCU Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 3.2 Parameter Classification . . . . . . . . . . . . . . . . . . . . . . . . .5 3.3 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . .6 3.4 Thermal Characteristics . . . . . . . . . . . . . . . . . . . . . . . . .6 3.5 ESD Protection and Latch-Up Immunity . . . . . . . . . . . . .7 3.6 DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8 3.7 Supply Current Characteristics . . . . . . . . . . . . . . . . . . .15 3.8 External Oscillator (XOSC) Characteristics . . . . . . . . .18 3.9 4 5 AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.9.1 Control Timing . . . . . . . . . . . . . . . . . . . . . . . . . 3.9.2 TPM/MTIM Module Timing . . . . . . . . . . . . . . . . 3.10 Analog Comparator (ACMP) Electrical . . . . . . . . . . . . 3.11 Internal Clock Source Characteristics . . . . . . . . . . . . . 3.12 ADC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 3.13 Flash Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mechanical Drawings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 19 20 20 21 21 23 26 26 Revision History To provide the most up-to-date information, the revision of our documents on the World Wide Web will be the most current. Your printed copy may be an earlier revision. To verify you have the latest information available, refer to: http://freescale.com/ The following revision history table summarizes changes contained in this document. Revision Date Description of Changes 1 1/22/2008 Initial public release 2 10/7/2008 Updated Figure 4 and Figure 10. Updated "How to Reach Us" information. Added 16-pin TSSOP package information. 3 11/4/2008 Updated operating voltage in Table 7. 4 6/11/2009 Added output voltage of high drive at 5 V, Iload = 10 mA in the Table 7. Related Documentation Find the most current versions of all documents at: http://www.freescale.com Reference Manual (MC9RS08KA8RM) Contains extensive product information including modes of operation, memory, resets and interrupts, register definition, port pins, CPU, and all module information. MC9RS08KA8 Series MCU Data Sheet, Rev. 4 2 Freescale Semiconductor MCU Block Diagram 1 MCU Block Diagram The block diagram, Figure 1, shows the structure of the MC9RS08KA8 MCU. RS08 CORE ANALOG COMPARATOR (ACMP) RS08 SYSTEM CONTROL RESETS AND INTERRUPTS MODES OF OPERATION POWER MANAGEMENT COP RTI 10-BIT ANALOG-TO-DIGITAL CONVERTER (ADC) WAKEUP LVD KEYBOARD INTERRUPT PTB6/SDA/XTAL 16-BIT TIMER/PWM MODULE (TPM) USER FLASH VPP PTA5/TCLK/RESET/VPP PTA4/ACMPO/BKGD/MS PTA3/KBIP3/SCL/ADP3 PTA2/KBIP2/SDA/ADP2 PTA1/KBIP1/TPMCH1/ADP1/ACMP- PTA0/KBIP0/TPMCH0/ADP0/ACMP+ PTB7/SCL/EXTAL (MC9RS08KA8 = 8192 BYTES) (MC9RS08KA4 = 4096 BYTES) PTB5/TPMCH1 PORT B CPU PORT A IIC MODULE(IIC) BDC PTB3/KBIP7/ADP7 PTB2/KBIP6/ADP6 PTB1/KBIP5/ADP5 8-BIT TIMER (MTIM1 and MTIM2) USER RAM (MC9RS08KA8 = 254 BYTES) PTB4/TPMCH0 PTB0/KBIP4/ADP4 PORT C PTC3/ADP11 (MC9RS08KA4 = 126 BYTES) PTC2/ADP10 PTC1/ADP9 PTC0/ADP8 20 MHz INTERNAL CLOCK SOURCE (ICS) LOW-POWER OSCILLATOR 31.25 kHz to 39.0625 kHz 1 MHz to 5 MHz (XOSC) VSS VDD VOLTAGE REGULATOR Figure 1. MC9RS08KA8 Series Block Diagram 2 Pin Assignments This section shows the pin assignments in the packages available for the MC9RS08KA8 series. MC9RS08KA8 Series MCU Data Sheet, Rev. 4 Freescale Semiconductor 3 Pin Assignments Table 1. Pin Availability by Package Pin-Count Pin Number 20 16 1 1 PTA5 2 2 PTA4 3 3 4 4 5 5 6 Alt 1 ACMPO --> Highest Alt 2 Alt 3 TCLK RESET BKGD MS SCL1 PTB6 1 EXTAL SDA XTAL 2 TPMCH1 8 8 PTB4 TPMCH02 9 -- PTC3 ADP11 10 -- PTC2 ADP10 11 -- PTC1 ADP9 12 -- PTC0 13 9 PTB3 KBIP7 ADP7 14 10 PTB2 KBIP6 ADP6 15 11 PTB1 KBIP5 ADP5 ADP8 16 12 PTB0 KBIP4 17 13 PTA3 KBIP3 SCL1 18 14 PTA2 KBIP2 SDA1 16 VPP VSS PTB7 PTB5 15 Alt 4 VDD 7 20 2 6 Port Pin Priority 7 19 1 <-- Lowest PTA1 KBIP1 PTA0 KBIP0 ADP4 ADP3 ADP2 TPMCH1 2 ADP1 ACMP- TPMCH0 2 ADP0 ACMP+ IIC pins can be remapped to PTA3 and PTA2 TPM pins can be remapped to PTA0 and PTA1 PTA5/TCLK/RESET/VPP 1 20 PTA0/KBIP0/TPMCH0/ADP0/ACMP+ PTA4/ACMPO/BKGD/MS 2 19 PTA1/KBIP1/TPMCH1/ADP1/ACMP- VDD 3 18 PTA2/KBIP2/SDA/ADP2 VSS 4 17 PTA3/KBIP3/SCL/ADP3 PTB7/SCL/EXTAL 5 16 PTB0/KBIP4/ADP4 PTB6/SDA/XTAL 6 15 PTB1/KBIP5/ADP5 PTB5/TPMCH1 7 14 PTB2/KBIP6/ADP6 PTB4/TPMCH0 8 13 PTB3/KBIP7/ADP7 PTC3/ADP11 9 12 PTC0/ADP8 PTC2/ADP10 10 11 PTC1/ADP9 Figure 2. MC9RS08KA8 Series in 20-Pin PDIP/SOIC Package MC9RS08KA8 Series MCU Data Sheet, Rev. 4 4 Freescale Semiconductor Electrical Characteristics PTA5/TCLK/RESET/VPP 1 16 PTA0/KBIP0/TPMCH0/ADP0/ACMP+ PTA4/ACMPO/BKGD/MS 2 15 PTA1/KBIP1/TPMCH1/ADP1/ACMP- VDD 3 14 PTA2/KBIP2/SDA/ADP2 VSS 4 13 PTA3/KBIP3/SCL/ADP3 PTB7/SCL/EXTAL 5 12 PTB0/KBIP4/ADP4 PTB6/SDA/XTAL 6 11 PTB1/KBIP5/ADP5 PTB5/TPMCH1 7 10 PTB2/KBIP6/ADP6 PTB4/TPMCH0 8 9 PTB3/KBIP7/ADP7 Figure 3. MC9RS08KA8 Series in 16-Pin PDIP/SOIC/TSSOP Package 3 Electrical Characteristics 3.1 Introduction This chapter contains electrical and timing specifications for the MC9RS08KA8 series of microcontrollers available at the time of publication. 3.2 Parameter Classification The electrical parameters shown in this supplement are guaranteed by various methods. To give the customer a better understanding the following classification is used and the parameters are tagged accordingly in the tables where appropriate: Table 2. Parameter Classifications P Those parameters are guaranteed during production testing on each individual device. C Those parameters are achieved by the design characterization by measuring a statistically relevant sample size across process variations. T Those parameters are achieved by design characterization on a small sample size from typical devices under typical conditions unless otherwise noted. All values shown in the typical column are within this category. D Those parameters are derived mainly from simulations. NOTE The classification is shown in the column labeled "C" in the parameter tables where appropriate. MC9RS08KA8 Series MCU Data Sheet, Rev. 4 Freescale Semiconductor 5 Electrical Characteristics 3.3 Absolute Maximum Ratings Absolute maximum ratings are stress ratings only, and functional operation at the maxima is not guaranteed. Stress beyond the limits specified in Table 3 may affect device reliability or cause permanent damage to the device. For functional operating conditions, refer to the remaining tables in this chapter. This device contains circuitry protecting against damage due to high static voltage or electrical fields; however, it is advised that normal precautions be taken to avoid application of any voltages higher than maximum-rated voltages to this high-impedance circuit. Reliability of operation is enhanced if unused inputs are tied to an appropriate logic voltage level (for instance, VSS or VDD) or the programmable pull-up resistor associated with the pin is enabled. Table 3. Absolute Maximum Ratings Rating Symbol Value Unit Supply voltage VDD -0.3 to 5.8 V Maximum current into VDD IDD 120 mA Digital input voltage VIn -0.3 to VDD + 0.3 V Instantaneous maximum current Single pin limit (applies to all port pins)1, 2, 3 ID 25 mA Tstg -55 to 150 C Storage temperature range 1 Input must be current limited to the value specified. To determine the value of the required current-limiting resistor, calculate resistance values for positive (VDD) and negative (VSS) clamp voltages, then use the larger of the two resistance values. 2 All functional non-supply pins are internally clamped to V SS and VDD except the RESET/VPP pin which is internally clamped to VSS only. 3 Power supply must maintain regulation within operating V DD range during instantaneous and operating maximum current conditions. If positive injection current (VIn > VDD) is greater than IDD, the injection current may flow out of VDD and could result in external power supply going out of regulation. Ensure external VDD load will shunt current greater than maximum injection current. This will be the greatest risk when the MCU is not consuming power. Examples are: if no system clock is present, or if the clock rate is very low which would reduce overall power consumption. 3.4 Thermal Characteristics This section provides information about operating temperature range, power dissipation, and package thermal resistance. Power dissipation on I/O pins is usually small compared to the power dissipation in on-chip logic and voltage regulator circuits and it is user-determined rather than being controlled by the MCU design. In order to take PI/O into account in power calculations, determine the difference between actual pin voltage and VSS or VDD and multiply by the pin current for each I/O pin. Except in cases of unusually high pin current (heavy loads), the difference between pin voltage and VSS or VDD will be very small. Table 4. Thermal Characteristics Rating Symbol Value Unit TA TL to TH -40 to 85 C Maximum junction temperature TJMAX 105 C Thermal resistance 16-pin PDIP JA 80 C/W Thermal resistance 16-pin SOIC JA 112 C/W Operating temperature range (packaged) MC9RS08KA8 Series MCU Data Sheet, Rev. 4 6 Freescale Semiconductor Electrical Characteristics Table 4. Thermal Characteristics (continued) Rating Symbol Value Unit Thermal resistance 16-pin TSSOP JA 75 C/W Thermal resistance 20-pin PDIP JA 75 C/W Thermal resistance 20-pin SOIC JA 96 C/W The average chip-junction temperature (TJ) in C can be obtained from: TJ = TA + (PD x JA) Eqn. 1 where: TA = Ambient temperature, C JA = Package thermal resistance, junction-to-ambient, C /W PD = Pint + PI/O Pint = IDD x VDD, Watts chip internal power PI/O = Power dissipation on input and output pins user determined For most applications, PI/O << Pint and can be neglected. An approximate relationship between PD and TJ (if PI/O is neglected) is: PD = K / (TJ + 273C) Eqn. 2 Solving Equation 1 and Equation 2 for K gives: K = PD x (TA + 273C) + JAx (PD)2 Eqn. 3 where K is a constant pertaining to the particular part. K can be determined from Equation 3 by measuring PD (at equilibrium) for a known TA. Using this value of K, the values of PD and TJ can be obtained by solving equations 1 and 2 iteratively for any value of TA. 3.5 ESD Protection and Latch-Up Immunity Although damage from electrostatic discharge (ESD) is much less common on these devices than on early CMOS circuits, normal handling precautions must be used to avoid exposure to static discharge. Qualification tests are performed to ensure that these devices can withstand exposure to reasonable levels of static without suffering any permanent damage. All ESD testing is in conformity with AEC-Q100 Stress Test Qualification for Automotive Grade Integrated Circuits. During the device qualification ESD stresses were performed for the human body model (HBM), the machine model (MM) and the charge device model (CDM). A device is defined as a failure if after exposure to ESD pulses the device no longer meets the device specification. Complete DC parametric and functional testing is performed per the applicable device specification at room temperature followed by hot temperature, unless specified otherwise in the device specification. MC9RS08KA8 Series MCU Data Sheet, Rev. 4 Freescale Semiconductor 7 Electrical Characteristics Table 5. ESD and Latch-up Test Conditions Model Human Body Machine Description Symbol Value Unit Series resistance R1 1500 Storage capacitance C 100 pF Number of pulses per pin -- 3 -- Series resistance R1 0 Storage capacitance C 200 pF Number of pulses per pin -- 3 -- Minimum input voltage limit -- -2.5 V Maximum input voltage limit -- 7.5 V Latch-up Table 6. ESD and Latch-Up Protection Characteristics Rating1 No. Symbol Min Max Unit 1 Human body model (HBM) VHBM 2000 -- V 2 Machine model (MM) VMM 200 -- V 3 Charge device model (CDM) VCDM 500 -- V ILAT 1002 -- mA 4 Latch-up current at TA = 85C (applies to all pins except pin 9 PTC3/ADP11) Latch-up current at TA = 85C (applies to pin 9 PTC3/ADP11) ILAT 753 -- mA 1 Parameter is achieved by design characterization on a small sample size from typical devices under typical conditions unless otherwise noted. 2 These pins meet JESD78A Class II (section 1.2) Level A (section 1.3) requirement of 100mA. 3 This pin meets JESD78A Class II (section 1.2) Level B (section 1.3) characterization to 75mA. This pin is only present on 20 pin package types. 3.6 DC Characteristics This section includes information about power supply requirements, I/O pin characteristics, and power supply current in various operating modes. Table 7. DC Characteristics (Temperature Range = -40 to 85C Ambient) Parameter Symbol Min Typical Max Unit VDD 2.0 1.8 -- 5.5 V Minimum RAM retention supply voltage applied to VDD VRAM 0.81 -- -- V Low-voltage Detection threshold (VDD falling) (VDD rising) VLVD 1.80 1.88 1.86 1.94 1.95 2.03 V Power on RESET (POR) voltage VPOR1 0.9 -- 1.7 V Supply voltage (run, wait and stop modes.) 0 < fBus <10MHz VDD rising VDD falling MC9RS08KA8 Series MCU Data Sheet, Rev. 4 8 Freescale Semiconductor Electrical Characteristics Table 7. DC Characteristics (Temperature Range = -40 to 85C Ambient) (continued) Parameter Symbol Min Typical Max Unit Input high voltage (VDD > 2.3V) (all digital inputs) VIH 0.70 x VDD -- -- V Input high voltage (1.8 V VDD 2.3 V) (all digital inputs) VIH 0.85 x VDD -- -- V Input low voltage (VDD > 2.3 V) (all digital inputs) VIL -- -- 0.30 x VDD V Input low voltage (1.8 V VDD 2.3 V) (all digital inputs) VIL -- -- 0.30 x VDD V Vhys1 0.06 x VDD -- -- V Input leakage current (per pin) VIn = VDD or VSS, all input only pins |IIn| -- 0.025 1.0 A High impedance (off-state) leakage current (per pin) VIn = VDD or VSS, all input/output |IOZ| -- 0.025 1.0 A Internal pullup resistors2(all port pins) RPU 20 45 65 k Internal pulldown resistors2(all port pins except PTA5) RPD 20 45 65 k -- 45 -- 95 k VDD - 0.8 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40 -- -- -- -- -- -- 0.8 -- -- -- -- -- -- -- -- 0.8 -- -- 40 mA -- -- -- -- 0.2 0.8 mA -- -- 7 pF Input hysteresis (all digital inputs) PTA5 Internal pulldown resistor Output high voltage -- Low Drive (PTxDSn = 0) 5 V, ILoad = 2 mA 3 V, ILoad = 1 mA 1.8 V, ILoad = 0.5 mA Output high voltage -- High Drive (PTxDSn = 1) 5 V, ILoad = 10 mA 5 V, ILoad = 5 mA 3 V, ILoad = 3 mA 1.8 V, ILoad = 2 mA VDD - 0.8 |IOHT| Maximum total IOH for all port pins V VOH Output low voltage -- Low Drive (PTxDSn = 0) 5 V, ILoad = 2 mA 3 V, ILoad = 1 mA 1.8 V, ILoad = 0.5 mA Output low voltage -- High Drive (PTxDSn = 1) 5 V, ILoad = 10 mA 5 V, ILoad = 5 mA 3 V, ILoad = 3 mA 1.8 V, ILoad = 2 mA VOL Maximum total IOL for all port pins IOLT mA V 3, 4, 5 ,6 DC injection current VIn < VSS, VIn > VDD Single pin limit Total MCU limit, includes sum of all stressed pins Input capacitance (all non-supply pins) 1 2 3 4 5 6 CIn This parameter is characterized and not tested on each device. Measurement condition for pull resistors: VIn = VSS for pullup and VIn = VDD for pulldown. All functional non-supply pins are internally clamped to VSS and VDD except the RESET/VPP which is internally clamped to VSS only. Input must be current limited to the value specified. To determine the value of the required current-limiting resistor, calculate resistance values for positive and negative clamp voltages, then use the larger of the two values. Input must be current limited to the value specified. To determine the value of the required current-limiting resistor, calculate resistance values for positive and negative clamp voltages, then use the larger of the two values. This parameter is characterized and not tested on each device. MC9RS08KA8 Series MCU Data Sheet, Rev. 4 Freescale Semiconductor 9 Electrical Characteristics IOH vs VDD-VOH (High Drive) at VDD = 5.5 V -25 IOH (mA) -20 85C 25C -40C -15 -10 -5 0 0.1 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 VDD-VOH (V) 2 Figure 4. Typical IOH vs. VDD-VOH VDD = 5.5 V (High Drive) IOH vs VDD-VOH (Low Drive) at VDD = 5.5 V -12 IOH (mA) -10 85C 25C -40C -8 -6 -4 -2 0 0.1 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 VDD-VOH (V) Figure 5. Typical IOH vs. VDD-VOH VDD = 5.5 V (Low Drive) MC9RS08KA8 Series MCU Data Sheet, Rev. 4 10 Freescale Semiconductor Electrical Characteristics IOH vs VDD-VOH (High Drive) at VDD = 3 V IOH (mA) -20 -15 85C 25C -40C -10 -5 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 VDD-VOH (V) Figure 6. Typical IOH vs. VDD-VOH VDD = 3 V (High Drive) IOH vs VDD-VOH (Low Drive) at VDD = 3 V -5 IOH (mA) -4 85C 25C -40C -3 -2 -1 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 VDD-VOH (V) Figure 7. Typical IOH vs. VDD-VOH VDD = 3 V (Low Drive) MC9RS08KA8 Series MCU Data Sheet, Rev. 4 Freescale Semiconductor 11 Electrical Characteristics IOH (mA) IOH vs VDD-VOH (High Drive) at VDD = 1.8 V -7 -6 -5 -4 -3 -2 -1 0 85C 25C -40C 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 VDD-VOH (V) Figure 8. Typical IOH vs. VDD-VOH VDD = 1.8 V (High Drive) IOH (mA) IOH vs VDD-VOH (Low Drive) at VDD = 1.8 V -1.4 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0 85C 25C -40C 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 VDD-VOH (V) Figure 9. Typical IOH vs. VDD-VOH VDD = 1.8 V (Low Drive) MC9RS08KA8 Series MCU Data Sheet, Rev. 4 12 Freescale Semiconductor Electrical Characteristics IOL vs VOL (High Drive) at VDD = 5.5 V 25 IOL (mA) 20 85C 15 25C 10 -40C 5 0 0.1 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 VOL (V) Figure 10. Typical IOL vs. VDD-VOL VDD = 5.5 V (High Drive) IOL vs VOL (Low Drive) at VDD = 5.5 V IOL(mA) 15 85C 25C -40C 10 5 0 0.1 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 VOL (V) Figure 11. Typical IOL vs. VDD-VOL VDD = 5.5 V (Low Drive) MC9RS08KA8 Series MCU Data Sheet, Rev. 4 Freescale Semiconductor 13 Electrical Characteristics IOL vs VOL (High Drive) at VDD = 3 V IOL (mA) 20 15 85C 25C -40C 10 5 0 0.1 0.2 0.4 0.6 0.8 1.0 1.2 1.4 VOL (V) Figure 12. Typical IOL vs. VDD-VOL VDD = 3 V (High Drive) IOL vs VOL (Low Drive) at VDD = 3 V 5 IOL (mA) 4 85C 25C -40C 3 2 1 0 0.1 0.2 0.4 0.6 0.8 1.0 1.2 1.4 VOL (V) Figure 13. Typical IOL vs. VDD-VOL VDD = 3 V (Low Drive) MC9RS08KA8 Series MCU Data Sheet, Rev. 4 14 Freescale Semiconductor Electrical Characteristics IOL vs VOL (High Drive) at VDD = 1.8 V 5 IOL (mA) 4 85C 25C -40C 3 2 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 VOL (V) Figure 14. Typical IOL vs. VDD-VOL VDD = 1.8 V (High Drive) IOL(mA) IOL vs VOL (Low Drive) at VDD = 1.8 V 1.4 1.2 1 0.8 0.6 0.4 0.2 0 85C 25C -40C 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 VOL(V) Figure 15. Typical IOL vs. VDD-VOL VDD = 1.8 V (Low Drive) 3.7 Supply Current Characteristics Table 8. Supply Current Characteristics Parameter Run supply current3 measured at (fBus = 10 MHz) Symbol RIDD10 VDD (V) Typical1 Max2 Temp. (C) 5 2.4 mA 5 mA 25 85 3 2.4 mA -- 25 85 1.80 1.7 mA -- 25 85 MC9RS08KA8 Series MCU Data Sheet, Rev. 4 Freescale Semiconductor 15 Electrical Characteristics Table 8. Supply Current Characteristics (continued) Parameter Symbol Run supply current3 measured at (fBus = 1.25 MHz) Stop mode supply current SIDD ADC adder from stop4 -- ACMP adder from stop (ACME = 1) -- RTI adder from stop with 1 kHz clock source enabled5 RTI adder from stop with 1 MHz external clock source reference enabled LVI adder from stop (LVDE=1 and LVDSE=1) RIDD1 -- -- -- VDD (V) Typical1 Max2 Temp. (C) 5 0.42 mA 2 mA 25 85 3 0.42 mA -- 25 85 1.80 0.3 mA -- 25 85 5 2.4 A 5 A 8 A 25 85 3 2 A -- 25 85 1.80 1.5 A -- 25 85 5 128 A 150 A 165 A 25 85 3 121 A -- 25 85 1.80 79 A -- 25 85 5 21 A 22 A 25 85 3 18.5 A -- 25 85 1.80 17.5 A -- 25 85 5 2.4 A 2 A 25 85 3 1.9 A -- 25 85 1.80 1.5 A -- 25 85 5 2.1 A 2 A 25 85 3 1.6 A -- 25 85 1.80 1.2 A -- 25 85 5 70 A 80 A 25 85 3 65 A -- 25 85 1.80 60 A -- 25 85 1 Typicals are measured at 25C. Maximum value is measured at the nominal VDD voltage times 10% tolerance. Values given here are preliminary estimates prior to completing characterization. 3 Not include any DC loads on port pins. 4 Required asynchronous ADC clock and LVD to be enabled. 2 MC9RS08KA8 Series MCU Data Sheet, Rev. 4 16 Freescale Semiconductor Electrical Characteristics 5 Most customers are expected to find that auto-wakeup from stop can be used instead of the higher current wait mode. Wait mode typical is 1.3 mA at 3 V and 1 mA at 2 V with fBus = 1 MHz. Run IDD vs VDD at FEI mode 3.00 2.50 VDD (V) 2.00 10 MHz 1.50 4 MHz 1.25 MHz 1.00 0.50 0.00 5.5 5.0 3.3 3.0 2.7 2.0 1.8 1.7 Run I DD (mA) Figure 16. Typical Run IDD vs. VDD for FEI Mode MC9RS08KA8 Series MCU Data Sheet, Rev. 4 Freescale Semiconductor 17 Electrical Characteristics 3.8 External Oscillator (XOSC) Characteristics Table 9. Oscillator Electrical Specifications (Temperature Range = -40 to 125C Ambient) Num 1 C C Rating 3 D Feedback resistor Low range (32 kHz to 100 kHz) High range (1 MHz to 16 MHz) D Series resistor Low range, low gain (RANGE = 0, HGO = 0) Low range, high gain (RANGE = 0, HGO = 1) High range, low gain (RANGE = 1, HGO = 0) High range, high gain (RANGE = 1, HGO = 1) 8 MHz 4 MHz 1 MHz 6 D 32 1 1 1 C1, C2 Load capacitors C flo fhi fhi-hgo fhi-lp D 5 Min Oscillator crystal or resonator (EREFS = 1, ERCLKEN = 1) Low range (RANGE = 0) High range (RANGE = 1) FEE or FBE mode 2 High range (RANGE = 1, HGO = 1) FBELP mode High range (RANGE = 1, HGO = 0) FBELP mode 2 4 Symbol RF RS Crystal start-up time 3 Low range, low gain (RANGE = 0, HGO = 0) Low range, high gain (RANGE = 0, HGO = 1) High range, low gain (RANGE = 1, HGO = 0)4 High range, high gain (RANGE = 1, HGO = 1)4 Square wave input clock frequency (EREFS = 0, ERCLKEN = 1) FEE or FBE mode 2 FBELP mode t t CSTL-LP CSTL-HGO t CSTH-LP t CSTH-HGO fextal Typical1 Max -- -- -- -- Unit 38.4 kHz 5 MHz 16 MHz 8 MHz See crystal or resonator manufacturer's recommendation. -- -- 10 1 -- -- -- -- -- 0 100 0 -- -- -- -- -- -- 0 0 0 0 10 20 -- -- -- -- 200 400 5 20 -- -- -- -- 0.03125 0 -- -- 5 40 M k ms MHz Typical data was characterized at 5.0 V, 25 C or is recommended value. The input clock source must be divided using RDIV to within the range of 31.25 kHz to 39.0625 kHz. 3 This parameter is characterized and not tested on each device. Proper PC board layout procedures must be followed to achieve specifications. 4 4 MHz crystal. 1 2 MCU EXTAL XTAL RF C1 3.9 Crystal or Resonator RS C2 AC Characteristics This section describes AC timing characteristics for each peripheral system. MC9RS08KA8 Series MCU Data Sheet, Rev. 4 18 Freescale Semiconductor Electrical Characteristics 3.9.1 Control Timing Table 10. Control Timing Num C 1 D Bus frequency (tcyc = 1/fBus) 2 D Real time interrupt internal oscillator period 3 4 5 D D D Parameter 1 External RESET pulse width 2 KBI pulse width KBI pulse width in stop1 Symbol Min Typical Max Unit fBus 0 -- 10 MHz tRTI 700 1000 1300 s textrst 150 -- -- ns tKBIPW 1.5 tcyc -- -- ns tKBIPWS 100 -- -- ns tRise, tFall -- -- 11 35 -- -- ns 3 6 D Port rise and fall time (load = 50 pF) Slew rate control disabled (PTxSE = 0) Slew rate control enabled (PTxSE = 1) 1 This is the shortest pulse guaranteed to pass through the pin input filter circuitry. Shorter pulses may or may not be recognized. This is the minimum pulse width that is guaranteed to pass through the pin synchronization circuitry. Shorter pulses may or may not be recognized. In stop mode, the synchronizer is bypassed so shorter pulses can be recognized in that case. 3 Timing is shown with respect to 20% V DD and 80% VDD levels. Temperature range -40C to 85C. 2 textrst RESET Figure 17. Reset Timing tKBIPWS tKBIPW KBI Pin (rising or high level) KBI Pin (falling or low level) tKBIPW tKBIPWS Figure 18. KBI Pulse Width MC9RS08KA8 Series MCU Data Sheet, Rev. 4 Freescale Semiconductor 19 Electrical Characteristics 3.9.2 TPM/MTIM Module Timing Synchronizer circuits determine the shortest input pulses that can be recognized or the fastest clock that can be used as the optional external source to the timer counter. These synchronizers operate from the current bus rate clock. Table 11. TPM Input Timing Num C Rating Symbol Min Max Unit 1 D External clock frequency fTPMext DC fBus/4 MHz 2 D External clock period tTPMext 4 -- tcyc 3 D External clock high time tclkh 1.5 -- tcyc 4 D External clock low time tclkl 1.5 -- tcyc 5 D Input capture pulse width tICPW 1.5 -- tcyc tTCLK tclkh TCLK tclkl Figure 19. Timer External Clock tICPW TPMCHn TPMCHn tICPW Figure 20. Timer Input Capture Pulse 3.10 Analog Comparator (ACMP) Electrical Table 12. Analog Comparator Electrical Specifications Num C 1 D Characteristic Supply voltage Symbol Min Typical Max Unit VDD 1.80 -- 5.5 V 2 P Supply current (active) IDDAC -- 20 35 A 3 D Analog input voltage1 VAIN VSS - 0.3 -- VDD V voltage1 4 P Analog input offset 5 C Analog Comparator hysteresis1 6 C Analog source impedance1 7 P Analog input leakage current 8 C Analog Comparator initialization delay tAINIT VAIO -- 20 40 mV VH 3.0 9.0 15.0 mV RAS -- -- 10 k IALKG -- -- 1.0 A -- -- 1.0 s MC9RS08KA8 Series MCU Data Sheet, Rev. 4 20 Freescale Semiconductor Electrical Characteristics Table 12. Analog Comparator Electrical Specifications (continued) 1 Num C Characteristic Symbol Min Typical Max Unit 9 P Analog Comparator bandgap reference voltage VBG 1.1 1.208 1.3 V These data are characterized but not production tested. 3.11 Internal Clock Source Characteristics Table 13. Internal Clock Source Specifications Num C Characteristic Symbol Min Typical1 Max Unit 1 C Average internal reference frequency -- untrimmed fint_ut 25 31.25 41.66 kHz 2 P Average internal reference frequency -- trimmed fint_t 31.25 39.06 39.0625 kHz 3 C DCO output frequency range -- untrimmed fdco_ut 12.8 16 21.33 MHz 4 P DCO output frequency range -- trimmed fdco_t 16 20 20 MHz 5 C Resolution of trimmed DCO output frequency at fixed voltage and temperature fdco_res_t -- -- 0.2 %fdco 6 C Total deviation of trimmed DCO output frequency over voltage and temperature fdco_t -- -- 2 %fdco 7 C FLL acquisition time2,3 tacquire -- -- 1 ms 8 C t_wakeup -- -- s Stop recovery time (FLL wakeup to previous acquired frequency) IREFSTEN = 0 IREFSTEN = 1 100 86 Data in typical column was characterized at 3.0 V and 5.0 V, 25 C or is typical recommended value. This parameter is characterized and not tested on each device. 3 This specification applies to any time the FLL reference source or reference divider is changed, trim value changed or changing from FLL disabled (FBILP) to FLL enabled (FEI, FBI). 1 2 3.12 ADC Characteristics Table 14. 5 Volt 10-bit ADC Operating Conditions C Characteristic Conditions Symb Min. Typical Max. Unit VADIN VSS -- VDD V -- -- 8 bit -- -- D Input voltage -- C Accuracy VDD = 2 V C Input capacitance -- CADIN -- 4.5 5.5 pF C Input resistance -- RADIN -- 3 5 k Analog source resistance external to MCU 10 bit mode fADCK > 4MHz fADCK < 4MHz RAS -- -- -- -- 5 10 k -- -- 10 C 8 bit mode (all valid fADCK) MC9RS08KA8 Series MCU Data Sheet, Rev. 4 Freescale Semiconductor 21 Electrical Characteristics Table 14. 5 Volt 10-bit ADC Operating Conditions (continued) C D Characteristic Conditions Symb Min. Typical Max. 0.4 -- 8.0 0.4 -- 8.0 High Speed (ADLPC=0) ADC conversion clock frequency SIMPLIFIED INPUT PIN EQUIVALENT CIRCUIT ZADIN SIMPLIFIED CHANNEL SELECT CIRCUIT Pad leakage due to input protection ZAS RAS MHz fADCK Low Power (ADLPC=1) Unit ADC SAR ENGINE RADIN + VADIN VAS + - CAS - RADIN INPUT PIN RADIN INPUT PIN RADIN INPUT PIN CADIN Figure 21. ADC Input Impedance Equivalency Diagram Table 15. 10-bit ADC Characteristics Characteristic Conditions C Symb Min Typical1 Max Unit Supply current ADLPC = 1 ADLSMP = 1 ADCO = 1 -- T IDDAD -- 133 -- A Supply current ADLPC = 1 ADLSMP = 0 ADCO = 1 -- T IDDAD -- 218 -- A Supply current ADLPC = 0 ADLSMP = 1 ADCO = 1 -- T IDDAD -- 327 -- A Supply current ADLPC = 0 ADLSMP = 0 ADCO = 1 -- C IDDAD -- 0.582 1 mA MC9RS08KA8 Series MCU Data Sheet, Rev. 4 22 Freescale Semiconductor Electrical Characteristics Table 15. 10-bit ADC Characteristics (continued) Characteristic Conditions Supply current Stop, reset, module off ADC asynchronous clock source High speed (ADLPC = 0) Conversion time (including sample time) Short sample (ADLSMP=0) Low power (ADLPC = 1) C Symb Min Typical1 Max Unit T IDDAD -- 0.011 1 A -- 3.3 -- T fADACK -- 2 -- -- 20 -- P tADC -- 40 -- -- 3.5 -- -- 23.5 -- -- 1 2.5 -- 0.5 1.0 -- 0.5 1.0 -- 0.3 0.5 Long sample (ADLSMP=1) MHz Short sample (ADLSMP=0) Sample time P Long sample (ADLSMP=1) tADS 10 bit mode Total unadjusted error C 8 bit mode 10 bit mode ETUE P DNL Differential non-linearity 8 bit mode T ADCK cycles ADCK cycles LSB2 LSB2 Monotonicity and No-Missing-Codes guaranteed 10 bit mode Integral non-linearity C 8 bit mode 10 bit mode P Zero-scale error Full-Scale error VADIN = VDDA 8 bit mode T 10 bit mode P 8 bit mode T EZS EFS 10 bit mode Quantization error D 8 bit mode EQ 10 bit mode Input leakage error pad leakage3 * RAS D 8 bit mode -- 0.5 1.0 -- 0.3 0.5 -- 0.5 1.5 -- 0.5 0.5 -- 0.5 1.5 -- 0.5 0.5 -- -- 0.5 -- -- 0.5 -- 0.2 2.5 -- 0.1 1 INL EIL LSB2 LSB2 LSB2 LSB2 LSB2 Typical values assume Temp = 25 C, fADCK = 1.0 MHz unless otherwise stated. Typical values are for reference only and are not tested in production. 2 1 LSB = (V N REFH - VREFL)/2 3 Based on input pad leakage current. Refer to pad electrical. 1 3.13 Flash Specifications This section provides details about program/erase times and program-erase endurance for the flash memory. For detailed information about program/erase operations, see the reference manual. Table 16. Flash Characteristics Characteristic Supply voltage for program/erase Symbol Min Typical1 Max Unit VDD 2.7 -- 5.5 V MC9RS08KA8 Series MCU Data Sheet, Rev. 4 Freescale Semiconductor 23 Electrical Characteristics Table 16. Flash Characteristics (continued) Symbol Min Typical1 Max Unit VPP 11.8 12 12.2 V IVPP_prog IVPP_erase -- -- -- -- 200 100 A A VRead 1.8 -- 5.5 V Characteristic Program/Erase voltage VPP current Program Mass erase Supply voltage for read operation 0 < fBus < 10 MHz Byte program time tprog 20 -- 40 s Mass erase time tme 500 -- -- ms Cumulative program HV time2 thv -- -- 8 ms thv_total -- -- 2 hours tpgs 10 -- -- s PGM/MASS to HVEN setup time tnvs 5 -- -- s HVEN hold time for PGM tnvh 5 -- -- s Total cumulative HV time (total of tme & thv applied to device) HVEN to program setup time HVEN hold time for MASS tnvh1 100 -- -- s VPP to PGM/MASS setup time tvps 20 -- -- ns HVEN to VPP hold time tvph 20 -- -- ns VPP rise time3 tvrs 200 -- -- ns Recovery time trcv 1 -- -- s Program/erase endurance TL to TH = -40C to 85C -- 1000 -- -- cycles tD_ret 15 -- -- years Data retention Typicals are measured at 25 C. thv is the cumulative high voltage programming time to the same row before next erase. Same address can not be programmed more than twice before next erase. 3 Fast V PP rise time may potentially trigger the ESD protection structure, which may result in over current flowing into the pad and cause permanent damage to the pad. External filtering for the VPP power source is recommended. An example VPP filter is shown in Figure 22. 1 2 100 VPP 12 V 1 nF Figure 22. Example VPP Filtering MC9RS08KA8 Series MCU Data Sheet, Rev. 4 24 Freescale Semiconductor Electrical Characteristics tprog WRITE DATA1 Data Next Data tpgs PGM tnvs tnvh trcv HVEN trs VPP2 tvps tvph thv Data applies if programming multiple bytes in a single row, refer to MC9RS08KA8 Series Reference Manual. DD must be at a valid operating voltage before voltage is applied or removed from the VPP pin. 1 Next 2V Figure 23. Flash Program Timing tme trcv MASS tnvs tnvh1 HVEN trs VPP1 1 tvps tvph VDD must be at a valid operating voltage before voltage is applied or removed from the VPP pin. Figure 24. Flash Mass Erase Timing MC9RS08KA8 Series MCU Data Sheet, Rev. 4 Freescale Semiconductor 25 Ordering Information 4 Ordering Information This section contains ordering numbers for MC9RS08KA8 series devices. See below for an example of the device numbering system. Table 17. Device Numbering System Memory Package Device Number Flash MC9RS08KA8 MC9RS08KA4 8K bytes 4K bytes RAM 254 bytes 126 bytes Type Designator Document No. 16 PDIP PG 98ASB42431B 16 W-SOIC WG 98ASB42567B 16 TSSOP TG 98ASH70247A 20 PDIP PJ 98ASB42899B 20 W-SOIC WJ 98ASB42343B MC 9 RS08 KA 8 C XX Status (MC = Fully qualified) Memory (9 = Flash-Based) Core Package designator (See Table 17) Temperature range (C = -40 C to 85 C) Approximate memory size (in KB) Family 5 Mechanical Drawings This following pages contain mechanical specifications for MC9RS08KA8 series package options. * 16-pin PDIP (plastic dual in-line pin) * 16-pin W-SOIC (wide body small outline integrated circuit) * 16-pin TSSOP (thin shrink sSmall outline package) * 20-pin PDIP (plastic dual in-line pin) * 20-pin W-SOIC (wide body small outline integrated circuit) MC9RS08KA8 Series MCU Data Sheet, Rev. 4 26 Freescale Semiconductor How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 support.asia@freescale.com 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 LDCForFreescaleSemiconductor@hibbertgroup.com Document Number: MC9RS08KA8 Rev. 4 6/2009 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. RoHS-compliant and/or Pb-free versions of Freescale products have the functionality and electrical characteristics as their non-RoHS-compliant and/or non-Pb-free counterparts. For further information, see http://www.freescale.com or contact your Freescale sales representative. For information on Freescale's Environmental Products program, go to http://www.freescale.com/epp. FreescaleTM and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. (c) Freescale Semiconductor, Inc. 2008-2009. All rights reserved.