English
Language : 

M38203M4 Datasheet, PDF (6/344 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER
Table of contents
Table of contents
CHAPTER 1. HARDWARE
DESCRIPTION ................................................................................................................................ 1-2
FEATURES ..................................................................................................................................... 1-2
APPLICATIONS .............................................................................................................................. 1-2
PIN CONFIGURATION (TOP VIEW) ........................................................................................... 1-3
FUNCTIONAL BLOCK DIAGRAM (Package: 80P6N-A) .......................................................... 1-4
PIN DESCRIPTION ........................................................................................................................ 1-5
PART NUMBERING ....................................................................................................................... 1-7
GROUP EXPANSION .................................................................................................................... 1-8
GROUP EXPANSION (EXTENDED OPERATING TEMPERATURE VERSION) ..................... 1-9
GROUP EXPANSION (LOW POWER SOURCE VOLTAGE VERSION) ............................... 1-10
FUNCTIONAL DESCRIPTION ..................................................................................................... 1-11
Central Processing Unit (CPU) ...............................................................................................1-11
CPU Mode Register ................................................................................................................1-11
MEMORY ....................................................................................................................................... 1-12
Special Function Register (SFR) Area ................................................................................... 1-12
RAM ........................................................................................................................................1-12
ROM ....................................................................................................................................... 1-12
Interrupt Vector Area .............................................................................................................. 1-12
Zero Page ...............................................................................................................................1-12
Special Page ..........................................................................................................................1-12
I/O PORTS ....................................................................................................................................1-14
Direction Registers (ports P2, P41–P47, and P5–P7) ............................................................. 1-14
Direction Registers (ports P0 and P1) .................................................................................... 1-14
Ports P3 and P40 ................................................................................................................................................. 1-14
Pull-up/Pull-down Control ....................................................................................................... 1-14
INTERRUPTS ................................................................................................................................ 1-19
Interrupt Control ......................................................................................................................1-19
Interrupt Operation .................................................................................................................1-19
Notes on Use ..........................................................................................................................1-19
Key Input Interrupt (Key-on Wake up) .................................................................................... 1-21
TIMERS .........................................................................................................................................1-22
Timer X ...................................................................................................................................1-23
Timer X Write Control ............................................................................................................. 1-23
Note on CNTR0 Interrupt Active Edge Selection .................................................................... 1-23
Real Time Port Control ...........................................................................................................1-23
Timer Y ...................................................................................................................................1-24
Note on CNTR1 Interrupt Active Edge Selection .................................................................... 1-24
Timer 1, Timer 2, Timer 3 ....................................................................................................... 1-25
Timer 2 Write Control ............................................................................................................. 1-25
Timer 2 Output Control ...........................................................................................................1-25
Note on Timer 1 to Timer 3..................................................................................................... 1-25
SERIAL I/O1 ................................................................................................................................. 1-26
Clock Synchronous Serial I/O Mode ....................................................................................... 1-26
Serial I/O1 Control Register (SIO1CON) 001A16 .................................................................................... 1-28
UART Control Register (UARTCON) 001B16 ........................................................................................... 1-28
Serial I/O1 Status Register (SIO1STS) 001916 ........................................................................................ 1-28
Transmit Buffer/Receive Buffer Register (TB/RB) 001816 ................................................................... 1-28
Baud Rate Generator (BRG) 001C16 ........................................................................................................... 1-28
SERIAL I/O2 ................................................................................................................................. 1-30
Serial I/O2 Control Register (SIO2CON) 001D16 .................................................................................... 1-30
i
3820 GROUP USER’S MANUAL