1. DESCRIPTION
The M37221M4/M8/MA-XXXSP, M37221M6-XXXSP/FP are single-
chip microcomputers designed with CMOS silicon gate technology.
They have a OSD, I2C-BUS interface, and PWM, so it is useful for a
channel selection system for TV.
The features of the M37221EASP/FP are similar to those of the
M37221MA-XXXSP except that these chips have a built-in PROM
which can be written electrically. The differences among the
M37221M4/M8/MA-XXXSP, M37221M6-XXXSP/FP are the ROM size
and the RAM size as shown below. Accordingly, the following de-
scriptions will be for M37221MA-XXXSP unless otherwise noted.
2. FEATURES
q
Number of basic instructions ..................................................... 71
q
Memory size
ROM ............. 16K bytes (M37221M4-XXXSP)
24K bytes (M37221M6-XXXSP/FP)
32K bytes (M37221M8-XXXSP)
40K bytes (M37221MA-XXXSP, M37221EASP/FP)
RAM ............. 320 bytes (M37221M4-XXXSP)
384 bytes (M37221M6-XXXSP/FP)
576 bytes (M37221M8-XXXSP)*
704 bytes (M37221MA-XXXSP, M37221EASP/FP)*
(*ROM correction memory included)
q
The minimum instruction execution time
......................................... 0.5
s (at 8 MHz oscillation frequency)
q
Power source voltage .................................................. 5 V ± 10 %
q
Subroutine nesting
maximum 96 levels (M37221M4-XXXSP, M37221M6-XXXSP/FP)
maximum 128 levels (M37221M8/MA-XXXSP, M37221EASP/FP)
q
Interrupts ........................................................ 14 types, 14 vectors
q
8-bit timers ................................................................................... 4
q
Programmable I/O ports
(Ports P0, P1, P2, P30–P32 ) ..................................................... 27
q
Input ports (Ports P33, P34) ......................................................... 2
q
Output ports (Ports P52–P55) ...................................................... 4
q
12 V withstand ports .................................................................... 6
q
LED drive ports ............................................................................ 4
q
Serial I/O ............................................................. 8-bit 1 channel
q
Multi-master I2C-BUS interface ............................... 1 (2 systems)
q
A-D comparator (6-bit resolution) ................................. 6 channels
q
D-A converter (6-bit resolution) .................................................... 2
Note: Only M37221EASP/FP has D-A converter.
q
PWM output circuit .......................................... 14-bit 1, 8-bit 6
q
Power dissipation .............................................................. 165 mW
(at 8 MHz oscillation frequency, VCC=5.5V, at OSD display)
q
ROM correction function ................................................. 2 vectors
Note: Only M37221M8/MA-XXXSP and M37221EASP/FP have
ROM correction function.
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
M37221M4/M8/MA–XXXSP, M37221M6–XXXSP/FP
M37221EASP/FP
MITSUBISHI MICROCOMPUTERS
Rev. 1.0
qOSD function
Display characters ................................... 24 characters 2 lines
(It is possible to display 3lines or more by software)
Kinds of characters ........................................................ 256 kinds
Character display area .............................................. 12 16 dots
Kinds of character sizes ..................................................... 3 kinds
Kinds of character colors .................................. 8 colors (R, G, B)
Coloring unit ................... character, character background, raster
Display position .............................................................................
Horizontal: 64 levels
Vertical: 128 levels
Attribute .............................................................................. border
3. APPLICATION
TV