Ficha De Dados (DEMO9RS08KA2)índice analíticoChapter 1 MC9RS08KA2 Series Device Overview151.1 Overview151.2 MCU Block Diagram151.3 System Clock Distribution16Chapter 2 Pins and Connections172.1 Introduction172.2 Device Pin Assignment172.3 Recommended System Connections182.4 Pin Detail182.4.1 Power192.4.2 PTA2/KBIP2/TCLK/RESET/VPP192.4.3 PTA3/ACMPO/BKGD/MS192.4.4 General-Purpose I/O and Peripheral Ports20Chapter 3 Modes of Operation213.1 Introduction213.2 Features213.3 Run Mode213.4 Active Background Mode213.5 Wait Mode223.6 Stop Mode233.6.1 Active BDM Enabled in Stop Mode243.6.2 LVD Enabled in Stop Mode24Chapter 4 Memory254.1 Memory Map254.2 Unimplemented Memory274.3 Indexed/Indirect Addressing274.4 RAM and Register Addresses and Bit Assignments274.5 RAM294.6 Flash294.6.1 Features294.6.2 Flash Programming Procedure304.6.3 Flash Mass Erase Operation304.6.4 Security314.7 Flash Registers and Control Bits324.7.1 Flash Options Register (FOPT and NVOPT)324.7.2 Flash Control Register (FLCR)334.8 Page Select Register (PAGESEL)33Chapter 5 Resets, Interrupts, and General System Control355.1 Introduction355.2 Features355.3 MCU Reset355.4 Computer Operating Properly (COP) Watchdog365.5 Interrupts365.6 Low-Voltage Detect (LVD) System375.6.1 Power-On Reset Operation375.6.2 LVD Reset Operation375.6.3 LVD Interrupt Operation375.7 Real-Time Interrupt (RTI)375.8 Reset, Interrupt, and System Control Registers and Control Bits385.8.1 System Reset Status Register (SRS)385.8.2 System Options Register (SOPT)395.8.3 System Device Identification Register (SDIDH, SDIDL)405.8.4 System Real-Time Interrupt Status and Control Register (SRTISC)415.8.5 System Power Management Status and Control 1 Register (SPMSC1)435.8.6 System Interrupt Pending Register (SIP1)44Chapter 6 Parallel Input/Output Control456.1 Pin Behavior in Low-Power Modes466.2 Parallel I/O Registers466.2.1 Port A Registers466.3 Pin Control Registers476.3.1 Port A Pin Control Registers476.3.1.1 Internal Pulling Device Enable476.3.1.2 Pullup/Pulldown Control486.3.1.3 Output Slew Rate Control Enable48Chapter 7 Keyboard Interrupt (RS08KBIV1)517.1 Introduction517.1.1 Features517.1.2 Modes of Operation527.1.2.1 Operation in Wait Mode527.1.2.2 Operation in Stop Mode527.1.2.3 Operation in Active Background Mode527.1.3 Block Diagram527.2 External Signal Description527.3 Register Definition537.3.1 KBI Status and Control Register (KBISC)537.3.2 KBI Pin Enable Register (KBIPE)547.3.3 KBI Edge Select Register (KBIES)547.4 Functional Description557.4.1 Edge Only Sensitivity557.4.2 Edge and Level Sensitivity557.4.3 KBI Pullup/Pulldown Device557.4.4 KBI Initialization55Chapter 8 Central Processor Unit (RS08CPUV1)578.1 Introduction578.2 Programmer’s Model and CPU Registers578.2.1 Accumulator (A)588.2.2 Program Counter (PC)598.2.3 Shadow Program Counter (SPC)598.2.4 Condition Code Register (CCR)598.2.5 Indexed Data Register (D[X])608.2.6 Index Register (X)608.2.7 Page Select Register (PAGESEL)618.3 Addressing Modes618.3.1 Inherent Addressing Mode (INH)618.3.2 Relative Addressing Mode (REL)618.3.3 Immediate Addressing Mode (IMM)628.3.4 Tiny Addressing Mode (TNY)628.3.5 Short Addressing Mode (SRT)638.3.6 Direct Addressing Mode (DIR)638.3.7 Extended Addressing Mode (EXT)638.3.8 Indexed Addressing Mode (IX, Implemented by Pseudo Instructions)638.4 Special Operations638.4.1 Reset Sequence648.4.2 Interrupts648.4.3 Wait and Stop Mode648.4.4 Active Background Mode648.5 Summary Instruction Table65Chapter 9 Internal Clock Source (RS08ICSV1)759.1 Introduction759.1.1 Features769.1.2 Modes of Operation769.1.2.1 FLL Engaged Internal (FEI)769.1.2.2 FLL Bypassed Internal (FBI)769.1.2.3 FLL Bypassed Internal Low Power (FBILP)769.1.2.4 Stop (STOP)769.1.3 Block Diagram769.2 External Signal Description779.3 Register Definition779.3.1 ICS Control Register 1 (ICSC1)779.3.2 ICS Control Register 2 (ICSC2)789.3.3 ICS Trim Register (ICSTRM)799.3.4 ICS Status and Control (ICSSC)799.4 Functional Description809.4.1 Operational Modes809.4.1.1 FLL Engaged Internal (FEI)809.4.1.2 FLL Bypassed Internal (FBI)809.4.1.3 FLL Bypassed Internal Low Power (FBILP)809.4.1.4 Stop819.4.2 Mode Switching819.4.3 Bus Frequency Divider819.4.4 Low Power Bit Usage819.4.5 Internal Reference Clock819.4.6 Fixed Frequency Clock82Chapter 10 Analog Comparator (RS08ACMPV1)8310.1 Introduction8310.1.1 Features8410.1.2 Modes of Operation8410.1.2.1 Operation in Wait Mode8410.1.2.2 Operation in Stop Mode8410.1.2.3 Operation in Active Background Mode8410.1.3 Block Diagram8410.2 External Signal Description8610.3 Register Definition8610.3.1 ACMP Status and Control Register (ACMPSC)8610.4 Functional Description87Chapter 11 Modulo Timer (RS08MTIMV1)8911.1 Introduction8911.1.1 Features9011.1.2 Modes of Operation9011.1.2.1 Operation in Wait Mode9011.1.2.2 Operation in Stop Modes9011.1.2.3 Operation in Active Background Mode9011.1.3 Block Diagram9111.2 External Signal Description9111.3 Register Definition9111.3.1 MTIM Status and Control Register (MTIMSC)9211.3.2 MTIM Clock Configuration Register (MTIMCLK)9311.3.3 MTIM Counter Register (MTIMCNT)9311.3.4 MTIM Modulo Register (MTIMMOD)9411.4 Functional Description9511.4.1 MTIM Operation Example96Chapter 12 Development Support9712.1 Introduction9712.2 Features9712.3 RS08 Background Debug Controller (BDC)9812.3.1 BKGD Pin Description9912.3.2 Communication Details9912.3.3 SYNC and Serial Communication Timeout10212.4 BDC Registers and Control Bits10312.4.1 BDC Status and Control Register (BDCSCR)10312.4.2 BDC Breakpoint Match Register10412.5 RS08 BDC Commands105Appendix A Electrical Characteristics109A.1 Introduction109A.2 Absolute Maximum Ratings109A.3 Thermal Characteristics110A.4 Electrostatic Discharge (ESD) Protection Characteristics111A.5 DC Characteristics111A.6 Supply Current Characteristics115A.7 Analog Comparator (ACMP) Electricals117A.8 Internal Clock Source Characteristics117A.9 AC Characteristics118A.9.1 Control Timing118A.10 FLASH Specifications119Appendix B Ordering Information and Mechanical Drawings123B.1 Ordering Information123B.2 Mechanical Drawings123Tamanho: 3 MBPáginas: 136Language: EnglishAbrir o manual