Document
MC68HC05JJ6 MC68HC05JP6
General Release Specification
www.DataSheet4U.com
M68HC05 Microcontrollers
HC05JJ6GRS/D Rev. 3.2 01/2007
freescale.com
www.DataSheet4U.com
General Release Specification — MC68HC05JJ6/MC68HC05JP6
List of Sections
Section 1. General Description . . . . . . . . . . . . . . . . . . . 19 Section 2. Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Section 3. Central Processor Unit (CPU) . . . . . . . . . . . . 39 Section 4. Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Section 5. Resets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Section 6. Operating Modes. . . . . . . . . . . . . . . . . . . . . . 69
www.DataSheet4U.com
Section 7. Parallel Input/Output . . . . . . . . . . . . . . . . . . . 77 Section 8. Analog Subsystem . . . . . . . . . . . . . . . . . . . . 103 Section 9. Simple Serial Interface . . . . . . . . . . . . . . . . 137 Section 10. Core Timer . . . . . . . . . . . . . . . . . . . . . . . . . 147 Section 11. Programmable Timer. . . . . . . . . . . . . . . . . 155 Section 12. Instruction Set . . . . . . . . . . . . . . . . . . . . . . . 171 Section 13. Electrical Specifications . . . . . . . . . . . . . . 189 Section 14. Mechanical Specifications . . . . . . . . . . . . 207 Section 15. Ordering Information . . . . . . . . . . . . . . . . . 211
MC68HC05JJ6/MC68HC05JP6 — Rev. 3.2 Freescale Semiconductor List of Sections General Release Specification 3
N O N - D I S C L O S U R E
A G R E E M E N T
R E Q U I R E D
List of Sections R E Q U I R E D
www.DataSheet4U.com
N O N - D I S C L O S U R E
General Release Specification 4 List of Sections
A G R E E M E N T
MC68HC05JJ6/MC68HC05JP6 — Rev. 3.2 Freescale Semiconductor
General Release Specification — MC68HC05JJ6/MC68HC05JP6
Table of Contents
Section 1. General Description
1.1 1.2 1.3 1.4 1.5 1.6 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20 Mask Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 Functional Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 VDD and VSS Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
www.DataSheet4U.com
1.7 OSC1 and OSC2 Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 1.7.1 Crystal Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 1.7.2 Ceramic Resonator Oscillator . . . . . . . . . . . . . . . . . . . . . . .27 1.7.3 RC Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 1.7.4 External Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 1.7.5 Internal Low-Power Oscillator . . . . . . . . . . . . . . . . . . . . . . .28 1.8 1.9 1.10 1.11 1.12 RESET Pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 IRQ Pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 PA0–PA5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 PB0–PB7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 PC0–PC7 (MC68HC05JP6) . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Section 2. Memory
2.1 2.2 2.3 2.4 2.5 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 Memory Map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 Input/Output Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32 Interrupt Vector Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36
MC68HC05JJ6/MC68HC05JP6 — Rev. 3.2 Freescale Semiconductor Table of Contents
General Release Specification 5
N O N - D I S C L O S U R E
A G R E E M E N T
R E Q U I R E D
Table of Contents R E Q U I R E D
2.6 2.7 2.8 2.9 RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37 ROM Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37 COP Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
Section 3. Central Processor Unit (CPU)
3.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 Accumulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 Index Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41 Stack Pointer . . . . . . . .