|
Part Number |
68HC705H12 |
|
Manufacturer |
Motorola |
|
Semiconductor DataSheet |
|
DataSheet View |
|
HC05H12GRS/D Rev. 1.0
68HC(7)05H12
General Release Specification Rev. 1.0
www.DataSheet4U.com
November, 1998 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
General Release Specification R E Q U I R E D A G R E E M E N T
N O N - D I S C L O S U R E
Motorola reserves the right to make changes without further notice to any products herein to improve reliability, function or design. Motorola does not assume any liability arising out of the application or use of any product or circuit described herein; neither does it 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., 1997 General Release Specification 2 MC68HC(7)05H12 — Rev. 1.0 MOTOROLA
General Release Specification — MC68HC(7)05H12
List of Sections
List of Sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Table of Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 CPU and Instruction Set. . . . . . . . . . . . . . . . . . . . . . . . . . 37 Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Resets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Input/Output Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Core Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 16-Bit Timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Serial Peripheral Interface (SPI) . . . . . . . . . . . . . . . . . . 115 Serial Communications Interface (SCI). . . . . . . . . . . . 125 Analog to Digital Converter . . . . . . . . . . . . . . . . . . . . . 143 EEPROM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
MC68HC(7)05H12 — Rev. 1.0 MOTOROLA List of Sections
General Release Specification 1
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 Pulse Width Modulator (PWM) . . . . . . . . . . . . . . . . . . . 159 EPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . 173 Mechanical Specifications. . . . . . . . . . . . . . . . . . . . . . 183 Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
N O N - D I S C L O S U R E
General Release Specification 2 List of Sections
A G R E E M E N T
MC68HC(7)05H12 — Rev. 1.0 MOTOROLA
General Release Specification — MC68HC(7)05H12
Table of Contents
Section 1. General Description
1.1 1.2 1.3 1.4 1.5 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Mask Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Section 2. Memory
2.1 2.2 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.3 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.3.1 System Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 2.4 2.5
MC68HC(7)05H12 — Rev. 1.0 MOTOROLA Table of Contents
RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
General Release Specification 3
N O N - D I S C L O S U R E
1.6 Functional Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.6.1 VDD and VSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.6.2 AVDD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.6.3 OSC1, OSC2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.6.4 RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.6.5 IRQ/VPP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.6.6 PA0–PA7/Keyboard Interrupt . . . . . . . . . . . . . . . . . . . . . . . 22 1.6.7 PB0–PB7/ECLK, MISO, MOSI, SCK. . . . . . . . . . . . . . . . . . 22 1.6.8 PC0–PC7/TCAP0–3, TCMP0–1, RDI, TDO . . . . . . . . . . . . 22 1.6.9 PD0–PD3/AN0–AN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 1.6.10 VREFH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 1.6.11 PE0–PE7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 1.6.12 PF0–PF3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 1.6.13 PVDD1, PVSS1, PVDD2, PVSS2 . . . . . . . . . . . . . . . . . . . . 23
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 Monitor ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 User EPROM (for the 705 version only) . . . . . . . . . . . . . . . . . . 35 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Section 3. CPU and Instruction Set
3.1 3.2 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
A G R E E M E N T
3.3 CPU Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 3.3.1 Accumulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.3.2 Index Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.3.3 Stack Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.3.4 Program Counter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 3.3.5 Condition Code Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 3.4 3.5 Arithmetic/Logic Unit (ALU) . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Instruction Set Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
N O N - D I S C L O S U R E
3.6 Addressing Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 3.6.1 Inherent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.6.2 Immediate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.6.3 Direct . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.6.4 Extended . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.6.5 Indexed, No Offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 3.6.6 Indexed, 8-Bit Offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 3.6.7 Indexed,16-Bit Offset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 3.6.8 Relative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.7 Instruction Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.7.1 Register/Memory Instructions . . . . . . . . . . . . . . . . . . . . . . . 46 3.7.2 Read-Modify-Write Instructions . . . . . . . . . . . . . . . . . . . . . . 47 3.7.3 Jump/Branch Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.7.4 Bit Manipulation Instructions . . . . . . . . . . . . . . . . . . . . . . . . 50 3.7.5 Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 3.8 Instruction Set Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Section 4. Interrupts
4.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
General Release Specification 4 Table of Contents
MC68HC(7)05H12 — Rev. 1.0 MOTOROLA
Table of Contents
4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10 4.11 4.12 4.13
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 CPU Interrupt Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Reset Interrupt Sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Software Interrupt (SWI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Hardware Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 External Interrupt (IRQ/Keyboard) . . . . . . . . . . . . . . . . . . . . . . 63 8-Bit Timer Interrupt . . . . |