HCMOS Microcontroller Unit

Part  Number MC68HC908RK2
Manufacturer Motorola
Semiconductor DataSheet

DataSheet View

MC68HC908RK2/D REV 4 68HC08M6 HC08M68HC 8M68HC08M www.DataSheet4U.com MC68HC908RK2 Advance Information HCMOS Microcontroller Unit blank MC68HC908RK2 Advance Information Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola 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 which may be provided in Motorola 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. Motorola does not convey any license under its patent rights nor the rights of others. Motorola 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 Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola 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 Motorola was negligent regarding the design or manufacture of the part. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer. Motorola and are registered trademarks of Motorola, Inc. DigitalDNA is a trademark of Motorola, Inc. © Motorola, Inc., 2001 MC68HC908RK2 — Rev. 4.0 MOTOROLA Advance Information 3 Advance Information 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://www.motorola.com/semiconductors/ The following revision history table summarizes changes contained in this document. For your convenience, the page number designators have been linked to the appropriate location. Revision History Date Revision Level Description First bulleted paragraph under the subsection 15.6 Interrupts reworded for clarity Note to TOVx bit description deleted. Revision to the description of the CHxMAX bit and the note that follows that description 3 16.11 LVI Characteristics — VLVS and VLVR specifications updated 16.12 Memory Characteristics — Maximum value for FLASH page program pulses updated December, 2001 4 Section 15. Timer Interface Module (TIM) — Timer discrepancies corrected throughout this section. 224 225 195 Page Number(s) 205 214 June, 2001 Advance Information 4 MC68HC908RK2 — Rev. 4.0 MOTOROLA Advance Information — MC68HC908RK2 List of Sections Section 1. General Description . . . . . . . . . . . . . . . . . . . . 23 Section 2. Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Section 3. Random-Access Memory (RAM) . . . . . . . . . . 41 Section 4. FLASH 2TS Memory . . . . . . . . . . . . . . . . . . . . 43 Section 5. Central Processor Unit (CPU) . . . . . . . . . . . . 63 Section 6. System Integration Module (SIM) . . . . . . . . . 79 Section 7. Break Module (BRK) . . . . . . . . . . . . . . . . . . . 101 Section 8. Internal Clock Generator Module (ICG) . . . . 107 Section 9. Configuration Register (CONFIG) . . . . . . . . 145 Section 10. Monitor Read-Only Memory (MON) . . . . . . 149 Section 11. Computer Operating Properly Module (COP) . . . . . . . . . . . . . . . . . . . . . . . 161 Section 12. Low-Voltage Inhibit (LVI) . . . . . . . . . . . . . . 167 Section 13. Input/Output (I/O) Ports . . . . . . . . . . . . . . . 173 Section 14. Keyboard/External Interrupt Module (KBI). . . . . . . . . . . . . . . . . . . . . . . . 181 Section 15. Timer Interface Module (TIM) . . . . . . . . . . . 195 Section 16. Preliminary Electrical Specifications . . . . 217 Section 17. Mechanical Specifications . . . . . . . . . . . . . 227 Section 18. Ordering Information . . . . . . . . . . . . . . . . . 229 MC68HC908RK2 — Rev. 4.0 MOTOROLA List of Sections Advance Information 5 List of Sections Advance Information 6 List of Sections MC68HC908RK2 — Rev. 4.0 MOTOROLA Advance Information — MC68HC908RK2 Table of Contents Section 1. General Description 1.1 1.2 1.3 1.4 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 MCU Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 1.5 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 1.5.1 Power Supply Pins (VDD and VSS) . . . . . . . . . . . . . . . . . . . .27 1.5.2 Oscillator Pins (OSC1 and OSC2) . . . . . . . . . . . . . . . . . . . .28 1.5.3 External Reset (RST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 1.5.4 External Interrupt Pin (IRQ1) . . . . . . . . . . . . . . . . . . . . . . . .28 1.5.5 Port A Input/Output Pins (PTA7, PTA6/KBD6–PTA1/KBD1, and PTA0) . . . . . . . . 29 1.5.6 Port B Input/Output Pins (PTB5, PTB4/TCH1, PTB3/TCLK, PTB2/TCH0, PTB1, and PTB0/MCLK). . . . 29 Section 2. Memory Map 2.1 2.2 2.3 2.4 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Input/Output Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Monitor ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 Section 3. Random-Access Memory (RAM) 3.1 3.2 3.3 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 MC68HC908RK2 — Rev. 4.0 MOTOROLA Table of Contents Advance Information 7 Table of Contents Section 4. FLASH 2TS Memory 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 FLASH 2TS Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . 45 FLASH 2TS Charge Pump Frequency Control. . . . . . . . . . . . . 47 FLASH 2TS Erase Operation . . . . . . . . . . . . . . . . . . . . . . . . . . 47 FLASH 2TS Program/Margin Read Operation . . . . . . . . . . . . . 48 FLASH 2TS Block Protection . . . . . . . . . . . . . . . . . . . . . . . . . . 51 FLASH 2TS Block Protect Register . . . . . . . . . . . . . . . . . . . . . 52 Embedded Program/Erase Routines . . . . . . . . . . . . . . . . . . . . 53 4.11 Embedded Function Descriptions. . . . . . . . . . . . . . . . . . . . . . . 54 4.11.1 RDVRRNG Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 4.11.2 PRGRNGE Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 4.11.3 ERARNGE Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 4.11.4 REDPROG Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 4.11.5 Example Routine Calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 4.12 Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 4.12.1 Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 4.12.2 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 Section 5. Central Processor Unit (CPU) 5.1 5.2 5.3 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 5.4 CPU Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 5.4.1 Accumulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 5.4.2 Index Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 5.4.3 Stack Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 5.4.4 Program Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67 5.4.5 Condition Code Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Advance Information 8 Table of Contents MC68HC908RK2 — Rev. 4.0 MOTOROLA Table of Contents 5.5 Arithmetic/Logic Unit (ALU) . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5.6 Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 5.6.1 Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70 5.6.2 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70 5.7 5.8 5.9 CPU During Break Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Instruction Set Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Opcode Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .




New! The site which shares a electronic information

English     |     日本語     |     漢語     |     한국어     |     Netherlands     |     La France     |     L'Italia     |     Deutschland     |     Россия
This is a individually operated, non profit site.
If this site is good enough to show, please introduce this site to others...

It welcomes all helping each other.     Contact us     |    Partner site : www.DataSheet.in     |     Link Exchange     |     Buy Components ?