26
27
25
28
24
29
23
30
22
31
21
32
20
33
19
34
18
35
17
36
16
37
15
38
14
39
13
40
12
41
11
42
10
43
9
44
8
45
7
46
6
47
5
48
4
49
3
50
2
51
1
52
M
M
M
→
→
←
←
←
←
→
←
→
→
→
→
→
→
←
→
→
→
→
←
←
←
←
←
→
PIN CONFIGURATION (TOP VIEW)
P5
2
/R
P5
3
/G
P5
4
/B
P5
5
/OUT
P2
0
P2
1
P2
2
P2
3
P0
4
P0
5
P0
6
P0
7
P1
0
P1
1
P1
2
P1
3
P1
4
P1
5
/A-D1
P1
6
/A-D2
P1
7
/A-D3
P3
0
P3
1
RESET
OSC1
OSC2
V
CC
Outline 52P4B
DESCRIPTION
The M37210M3-XXXSP/FP is a single-chip microcomputer designed
with CMOS silicon gate technology. It is housed in a 52-pin shrink
plastic molded DIP or a 64-pin plastic molded QFP. This single-chip
microcomputer is useful for the channel selection system for TVs
because it provides PWM function, OSD display function and so on.
In addition to their simple instruction sets, the ROM, RAM, and I/O
addresses are placed on the same memory map to enable easy pro-
gramming.
The features of the M37210E4-XXXSP/FP and the M37210E4SP/FP
are similar to those of the M37210M4-XXXSP except that these
chips have a built-in PROM which can be written electrically.
The differences between the M37210M3-XXXSP/FP, the M37210
M4-XXXSP, and the M37211M2-XXXSP are the ROM size, the RAM
size, and the PWM outputs as shown below. Accordingly, the follow-
ing descriptions will be for the M37210M3-XXXSP/FP unless other-
wise noted.
Note :
After the reset, set the stack page selection bit which is set “1”
to “0” because the internal RAM of the M37211M2-XXXSP is
in only the zero page.
FEATURES
Number of basic instructions .....................................................69
Memory size ROM ................ 12 K bytes (M37210M3-XXXSP/FP)
16 K bytes (M37210M4-XXXSP)
8 K bytes (M37211M2-XXXSP)
RAM................. 256 bytes (M37210M3-XXXSP/FP)
320 bytes (M37210M4-XXXSP)
192 bytes (M37211M2-XXXSP)
ROM for display.........................................3 K bytes
RAM for display.......................................... 72 bytes
The minimum instruction execution time
........................................... 0.5
μ
s (at 8MHz oscillation frequency)
Power source voltage..................................................... 5V ± 10%
Power dissipation .............................................................. 110mW
(at 4MHz oscillation frequency, V
CC
= 5.5V, at CRT display)
Subroutine nesting ............................................... 96 levels (Max.)
Interrupts ....................................................... 12 types, 12 vectors
8-bit timers .................................................................................. 4
Programmable I/O ports
(Ports P0, P1, P2, P3, P4) .........................................................25
Output ports (ports P5, P6) ..........................................................8
Output ports (ports P5
2
, P5
6
).....................................................12
12 V withstand ports ....................................................................4
Serial I/O ............................................................8-bit
1 channel
PWM output circuit ............... (14-bit
1, 6-bit
8) ... M37210M3
M37210M4
(14-bit
1, 6-bit
6).... M37211M2
Type name
M37210M3-XXXSP/FP
M37210M4-XXXSP
M37211M2-XXXSP
ROM size
12 K bytes
16 K bytes
8 K bytes
RAM size
256 bytes
320 bytes
192 bytes
6-bit PWM outputs
8
8
6
Note : The M37211M2-XXXSP does not have the PWM6 and the PWM7.
A-D comparator (5-bit resolution) ................................ 5 channels
CRT display function
Display characters.....................................18 characters
2 lines
(16 lines max.)
Character kinds ................................................................ 96 kinds
Dot structure ............................................................. 12
16 dots
Character size .................................................................... 3 kinds
Character color kinds (It can be specified by the character)
max. 7 kinds (R, G, B)
Raster color (max. 7 kinds)
Display layout
Horizontal ..................................................................... 64 levels
Vertical ....................................................................... 128 levels
Bordering (horizontal and vertical)
APPLICATION
TV
MITSUBISHI MICROCOMPUTERS
M37210M3-XXXSP/FP, M37210M4-XXXSP, M37211M2-XXXSP
M37210E4-XXXSP/FP, M37210E4SP/FP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
H
SYNC
V
SYNC
P6
0
/PWM0
P6
1
/PWM1
P6
2
/PWM2
P6
3
/PWM3
P0
0
/PWM4
P0
1
/PWM5
P0
2
/PWM6
P0
3
/PWM7
P4
2
/S
IN
/A-D5
P4
1
/S
CLK
P4
0
/S
OUT
(/
IN
)
D-A
P3
5
/INT2/A-D4
P3
4
/INT1
P3
3
/TIM3
P3
2
/TIM2
P2
4
P2
5
P2
6
P2
7
CNV
SS
X
IN
X
OUT
V
SS
1