Freescale Semiconductor, Inc.
HC05P4AGRS/D
REV 2.0
68HC05P4A
SPECIFICATION
Freescale Semiconductor, Inc...
(General Release)
©
December 27, 1995
CSIC MCU Design Group
Oak Hill, Texas
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
GENERAL RELEASE SPECIFICATION
TABLE OF CONTENTS
Section
Title
SECTION 1
GENERAL DESCRIPTION
1.1
1.2
1.3
1.4
1.5
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.5.7
1.5.8
1.5.9
1.6
Features .......................................................................................................... 1-1
Mask Options .................................................................................................. 1-2
MCU Structure ................................................................................................ 1-3
Pin Assignments ............................................................................................. 1-4
Signal Description ........................................................................................... 1-4
V
DD
AND V
SS
............................................................................................. 1-4
IRQ ............................................................................................................. 1-4
OSC1 and OSC2 .......................................................................................... -5
RESET ........................................................................................................ 1-5
TCMP .......................................................................................................... 1-5
PA0 through PA7 ........................................................................................ 1-5
SDO/PB5, SDI/PB6, and SCK/PB7 ............................................................ 1-6
PC0 through PC7 ........................................................................................ 1-6
PD5 and TCAP/PD7 ................................................................................... 1-6
Input/Output Programming .............................................................................. 1-6
SECTION 2
MEMORY
2.1
2.2
2.3
ROM ................................................................................................................ 2-3
ROM Security Feature .................................................................................... 2-3
RAM ................................................................................................................ 2-3
SECTION 3
CENTRAL PROCESSING UNIT
3.1
Accumulator (A) .............................................................................................. 3-1
Page
Freescale Semiconductor, Inc...
Rev. 2.0
For More Information On This Product,
Go to: www.freescale.com
iii
Freescale Semiconductor, Inc.
GENERAL RELEASE SPECIFICATION
TABLE OF CONTENTS
Section
Title
SECTION 4
INTERRUPTS
4.1
4.2
4.3
4.4
4.5
Hardware Controlled Interrupt Sequence ........................................................ 4-2
Timer Interrupt ................................................................................................. 4-3
External Interrupt ............................................................................................. 4-4
Optional External Interrupts (PA0-PA7) ........................................................... 4-6
Software Interrupt (SWI) ................................................................................. 4-6
SECTION 5
RESETS
5.1
5.2
5.3
Power-On Reset (POR) .................................................................................. 5-1
RESET Pin ...................................................................................................... 5-1
Computer Operating Properly (COP) Reset .................................................... 5-1
SECTION 6
LOW POWER MODES
6.1
6.2
6.3
6.2
STOP Instruction.............................................................................................. 6-1
Stop Mode ....................................................................................................... 6-1
Halt Mode......................................................................................................... 6-2
WAIT Instruction............................................................................................... 6-2
SECTION 7
SIMPLE SERIAL INPUT/OUTPUT PORT
7.1
Signal Format .................................................................................................. 7-1
7.1.1
Serial Clock (SCK) ...................................................................................... 7-1
7.1.2
Serial Data Out (SDO) ................................................................................ 7-2
Page
Freescale Semiconductor, Inc...
iv
For More Information On This Product,
Go to: www.freescale.com
Rev. 2.0
Freescale Semiconductor, Inc.
GENERAL RELEASE SPECIFICATION
TABLE OF CONTENTS
Section
8.6
8.7
Title
Page
Timer During Wait Mode ................................................................................. 8-7
Timer During Stop Mode ................................................................................. 8-7
SECTION 9
COMPUTER OPERATING PROPERLY (COP)
9.1
9.2
9.3
Resetting The COP ......................................................................................... 9-1
COP During Wait Mode ................................................................................... 9-1
COP During Stop Mode .................................................................................. 9-1
SECTION 10
SELF-CHECK MODE
SECTION 11
INSTRUCTION SET
Freescale Semiconductor, Inc...
11.1 Addressing Modes ........................................................................................ 11-1
11.1.1 Inherent ..................................................................................................... 11-1
11.1.2 Immediate ................................................................................................. 11-2
11.1.3 Direct ........................................................................................................ 11-2
11.1.4 Extended ................................................................................................... 11-2
11.1.5 Indexed, No Offset .................................................................................... 11-2
11.1.6 Indexed, 8-Bit Offset ................................................................................. 11-2
11.1.7 Indexed, 16-Bit Offset ............................................................................... 11-3
11.1.8 Relative ..................................................................................................... 11-3
11.2 Instruction Types ........................................................................................... 11-4
11.2.1 Register/Memory Instructions ................................................................... 11-4
11.2.3 Read-Modify-Write Instructions ................................................................ 11-5
Rev. 2.0
For More Information On This Product,
Go to: www.freescale.com
v
Freescale Semiconductor, Inc.
GENERAL RELEASE SPECIFICATION
TABLE OF CONTENTS
Section
Title
SECTION 13
MECHANICAL SPECIFICATIONS
13.1
13.2
28-Pin Plastic Dual In-Line Package (Case 710-02) ..................................... 13-1
28-Pin Small Outline Integrated Circuit Package (Case 751F-04) ................ 13-2
SECTION 14
ORDERING INFORMATION
Page
Freescale Semiconductor, Inc...
14.1
14.2
14.3
14.4
MCU Ordering Forms .................................................................................... 14-1
Application Program Media ........................................................................... 14-2
ROM Program Verification ............................................................................ 14-3
ROM Verification Units (RVUs) ..................................................................... 14-3
vi
For More Information On This Product,
Go to: www.freescale.com
Rev. 2.0