MSM63182A/184A/188A User’s Manual
Contents
Contents – 1
Contents
Chapter 1
Overview
1.1
Overview .....................................................................................................................................................1-1
1.2
Features .......................................................................................................................................................1-1
1.3
Block Diagram ............................................................................................................................................1-6
1.4
Pin Configuration ........................................................................................................................................1-9
1.4.1
MSM63182A pin configuration ............................................................................................................1-9
1.4.2
MSM63184A pin configuration ..........................................................................................................1-12
1.4.3
MSM63188A pin configuration ..........................................................................................................1-15
1.5
Pin Descriptions ........................................................................................................................................1-19
1.5.1
Descriptions of individual pins............................................................................................................1-19
1.5.2
Handling of unused pins ......................................................................................................................1-27
1.6
Basic Timing .............................................................................................................................................1-28
1.6.1
Basic timing of CPU operation............................................................................................................1-28
1.6.2
Port I/O basic timing............................................................................................................................1-28
1.6.3
Interrupt basic timing...........................................................................................................................1-30
Chapter 2
CPU and Memory Spaces (nX-4/250, ROM, RAM, STACK)
2.1
Overview .....................................................................................................................................................2-1
2.2
Registers......................................................................................................................................................2-1
2.2.1
Accumulator (A)....................................................................................................................................2-1
2.2.2
Flag registers .........................................................................................................................................2-2
2.2.2.1
Carry flag (C) ...................................................................................................................................2-2
2.2.2.2
Zero flag (Z).....................................................................................................................................2-2
2.2.2.3
G flag (G).........................................................................................................................................2-2
2.2.3
Master interrupt enable flag (MIE)........................................................................................................2-3
2.2.4
Current bank register (CBR), extra bank register (EBR), HL register (HL), XY register (XY)............2-4
2.2.5
Program counter ....................................................................................................................................2-5
2.2.6
RA registers (RA3, RA2, RA1, RA0) ...................................................................................................2-5
2.2.7
Stack pointer (SP) and call stack ...........................................................................................................2-6
2.2.8
Register stack pointer (RSP) and register stack.....................................................................................2-7
2.3
Memory Space ............................................................................................................................................2-8
2.3.1
Program memory space .........................................................................................................................2-8
2.3.2
Data memory space .............................................................................................................................2-10
2.3.3
External memory space .......................................................................................................................2-11
Chapter 3
CPU Control Functions
3.1
Overview .....................................................................................................................................................3-1
3.2
System Reset Function (RST) .....................................................................................................................3-2
3.3
Halt Mode ...................................................................................................................................................3-4
3.3.1
Halt mode setting...................................................................................................................................3-4
3.3.2
Halt mode release ..................................................................................................................................3-5
3.3.2.1
Release of halt mode by interrupt ....................................................................................................3-5
3.3.2.2
Release of halt mode by RESET pin................................................................................................3-5
3.3.3
Melody data interrupt and halt mode (MSM63188A only) ...................................................................3-6
3.3.4
Note concerning HALT instruction .......................................................................................................3-6