1-4
Under
development
Specifications in this manual are tentative and subject to change
Rev. H
Description
MITSUBISHI MICROCOMPUTERS
M30222 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Timers...................................................................................................................................................... 1-69
Timer A .................................................................................................................................................. 1-71
Timer B.................................................................................................................................................. 1-85
Timer functions for three-phase motor control ....................................................................................... 1-93
Sawtooth modulation ........................................................................................................................... 1-102
Serial Communications ........................................................................................................................ 1-105
UART0 to 2 ......................................................................................................................................... 1-105
ClockSynchronousSerial I/O mode ....................................................................................................... 1-114
Clock Asynchronous Serial I/O (UART) Mode ..................................................................................... 1-120
Clock-asynchronous serial I/O mode (compliant with the SIM interface) ............................................. 1-127
UART2 in I2C Mode ............................................................................................................................. 1-130
UART2 Special Mode Register 2 ......................................................................................................... 1-135
UART2 in SPI mode ............................................................................................................................ 1-138
S I/O 3, 4 ................................................................................................................................................ 1-143
Functions for setting an SOUTi initial value ......................................................................................... 1-146
LCD Drive Control Circuit .................................................................................................................... 1-147
Voltage Multiplier ................................................................................................................................. 1-150
Bias Control and Applied Voltage to LCD Power Input Pins ................................................................. 1-151
Common Pin and Duty Control ............................................................................................................ 1-151
LCD Display RAM ............................................................................................................................... 1-152
LCD Drive Timing ................................................................................................................................ 1-153
LCD Static Drive .................................................................................................................................. 1-155
LCD Expansion Clock ......................................................................................................................... 1-155
A-D Converter ....................................................................................................................................... 1-157
(1) One-shot mode .............................................................................................................................. 1-161
(2) Repeat mode ................................................................................................................................. 1-162
(3) Single sweep mode ........................................................................................................................ 1-163
(4) Repeat sweep mode 0 ................................................................................................................... 1-164
(5) Repeat sweep mode 1 ................................................................................................................... 1-165
A-D Usage Precautions ....................................................................................................................... 1-167
D-A Converter ....................................................................................................................................... 1-168
CRC Calculation Circuit ....................................................................................................................... 1-170
Programmable I/O Ports ....................................................................................................................... 1-172
(1) Direction registers .......................................................................................................................... 1-172
(2) Port registers ................................................................................................................................. 1-172
(3) Pull-up control registers ................................................................................................................. 1-172
Unused Pins ........................................................................................................................................ 1-178
Electrical Characteristics ..................................................................................................................... 1-179
Flash Memory ....................................................................................................................................... 1-186
Outline Performance ........................................................................................................................... 1-186
CPU Rewrite Mode .............................................................................................................................. 1-188
CPU Rewrite Mode Precautions .......................................................................................................... 1-190
Software Commands ........................................................................................................................... 1-191
Status Register .................................................................................................................................... 1-198
Full Status Check ................................................................................................................................ 1-199
Functions to Inhibit Rewriting ............................................................................................................... 1-200
ID Code Check Function ..................................................................................................................... 1-201
Parallel I/O Mode ................................................................................................................................. 1-202
Standard serial I/O mode 1 (clock synchronous) ................................................................................. 1-206
Standard serial I/O mode 2 (clock asynchronous) ............................................................................... 1-225