MITSUBISHI MICROCOMPUTERS
M37270MF-XXXSP
M37270EF-XXXSP, M37270EFSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
DESCRIPTION
The M37270MF-XXXSP is a single-chip microcomputer designed with
CMOS silicon gate technology. It is housed in a 64-pin shrink plastic
molded DIP.
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 M37270MF-XXXSP has a OSD function and a data slicer func-
tion, so it is useful for a channel selection system for TV with a closed
caption decoder. The features of the M37270EF-XXXSP and the
M37270EFSP are similar to those of the M37270MF-XXXSP except
that these chips have a built-in PROM which can be written electri-
cally.
•
OSD function
Display characters ............................... 40 characters
!
16 lines
Kinds of characters ..................................................... 320 kinds
(In EXOSD mode, they can be combined with 32 kinds of extra
fonts)
Dot structure ........................................ CC mode : 16
!
26 dots
OSD mode : 16
!
20 dots
EXOSD mode : 16
!
26 dots
Kinds of character sizes ................................ CC mode : 2 types
OSD mode : 14 types
EXOSD mode : 6 types
It can be specified by a character unit (maximum 7 kinds).
Character font coloring, character background coloring
It can be specified by a screen unit (maximum 7 kinds).
Extra font coloring, raster coloring, border coloring
Kinds of character colors ............... CC mode : 7 kinds (R, G, B)
OSD mode : 15 kinds (R, G, B, I)
EXOSD mode : 7 kinds (R, G, B, I1, I2)
Display position
Horizontal ................................................................ 256 levels
Vertical .................................................................. 1024 levels
Attribute ...................... CC mode : smooth italic, underline, flash
OSD mode : border
EXOSD mode : border,
extra font (32 kinds)
Automatic solid space function
Window function
Dual layer OSD function
FEATURES
•
Number of basic instructions ..................................................... 71
•
Memory size
ROM ........................................................ 60 K bytes
RAM ........................................................ 1024 bytes
ROM for OSD ....................................... 14464 bytes
RAM for OSD ......................................... 1920 bytes
The minimum instruction execution time
.......................................... 0.5µs (at 8 MHz oscillation frequency)
Power source voltage .................................................. 5 V ± 10 %
Subroutine nesting ............................................. 128 levels (Max.)
Interrupts ....................................................... 18 types, 16 vectors
8-bit timers .................................................................................. 6
Programmable I/O ports (Ports P0, P1, P2, P3
0
, P3
1
) .............. 26
Input ports (Ports P4
0
–P4
6
, P6
3
, P6
4
) ......................................... 9
Output ports (Ports P3
2
, P4
7
, P5, P6
0
–P6
2
, P6
5
–P6
7
) ............. 16
12 V withstand ports .................................................................. 11
LED drive ports ........................................................................... 2
Serial I/O ............................................................ 8-bit
!
1 channel
Multi-master I
2
C-BUS interface ............................... 1 (2 systems)
A-D converter (8-bit resolution) ................................... 4 channels
PWM output circuit ........................................................... 8-bit
!
8
Interrupt interval determination circuit ......................................... 1
Power dissipation
In high-speed mode .......................................................... 165mW
(at V
CC
= 5.5V, 8MHz oscillation frequency, CRT on, and Data
slicer on)
In low-speed mode .......................................................... 0.33mW
(at V
CC
= 5.5V, 32kHz oscillation frequency)
Data slicer
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
APPLICATION
TV with a closed caption decoder
•
MITSUBISHI MICROCOMPUTERS
M37270MF-XXXSP
M37270EF-XXXSP, M37270EFSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
PIN CONFIGURATION (TOP VIEW)
H
SYNC
V
SYNC
P4
0
/AD4
P4
1
/INT2
P4
2
/TIM2
P4
3
/TIM3
P2
4
/AD3
P2
5
/AD2
P2
6
/AD1
P2
7
P0
0
/PWM4
P5
0
/PWM7
P0
1
/PWM5
P4
7
P0
2
/PWM6
P5
1
P1
7
/S
IN
P3
2
P4
4
/INT1
P5
6
P4
5
/S
OUT
P5
7
P4
6
/S
CLK
AV
CC
HLF
RVCO
V
HOLD
CV
IN
CNV
SS
X
IN
X
OUT
V
SS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
64
63
62
61
60
59
58
57
56
P5
2
/R
P5
3
/G
P5
4
/B
P5
5
/OUT1
P0
4
/PWM0
P0
5
/PWM1
P6
0
P0
6
/PWM2
P6
1
P0
7
/PWM3
P6
2
P2
0
P2
1
P2
2
P2
3
P1
0
/OUT2
P6
5
P1
1
/SCL1
P6
6
P1
2
/SCL2
P6
7
P1
3
/SDA1
P1
4
/SDA2
P1
5
/I1
P1
6
/I2/INT3
P0
3
P3
0
P3
1
RESET
P6
4
/OSC2/X
COUT
P6
3
/OSC1/X
CIN
V
CC
Outline 64P4B
M37270MF-XXXSP
M37270EF-XXXSP, M37270EFSP
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
2
FUNCTIONAL BLOCK DIAGRAM of M37270MF-XXXSP
Pins for data slicer
Reset input
RESET AV
CC
V
CC
V
SS
CNV
SS
29
28
34
35
27
26
25
Clock input Clock output
HLF
V
HOLD
CV
IN
RVCO
36
24
33
32
X
IN
X
OUT
Input ports P6
3
, P6
4
Clock input for OSD/ Clock output for OSD/
sub-clock input sub-clock output
OSC1 OSC2
30
31
Data slicer
Clock
generating
circuit
TIM2
TIM3
Progam
counter
Program
counter
Data bus
Timer count source
selection circuit
Timer 1
T1 (8)
Timer 2
T2 (8)
Timer 3
T3 (8)
RAM
1024 bytes
ROM
60 K bytes
PC
H
(8)
PC
L
(8)
Address bus
Timer 4
T4 (8)
Control signal
Index
register
Index
register
8-bit
arithmetic
and
logical unit
X (8)
Y (8)
Stack
pointer
S (8)
Timer 5
T5 (8)
Timer 6
T6 (8)
Accumulator
A (8)
Processor
status
register
PS (8)
Instruction
decoder
Instruction
register (8)
CRT circuit
OUT2
INT3
S
IN
S
CLK
S
OUT
SDA2
SDA1
SCL2
SCL1
PWM7
PWM6
PWM5
PWM4
PWM3
PWM2
PWM1
PWM0
P3 (3)
P2 (8)
P0 (8)
P1 (8)
INT1
INT2
Multi-master
I2C-BUS interface
A-D
converter
SI/O (8)
8-bit
PWM circuit
P4 (8)
P6 (8)
P5 (8)
18
37
36
17 40 41 42 43 45 47 49
10 9 8 7 50 51 52 53 55 57 59 60 39 15 13 11
OUT1
B
G
R
V
SYNC
14 23 21 19 6 5 4 3
44 46 48 54 56 58 16 12 61 62 63 64 20 22 2
I/O ports
Output port
P3
0
, P3
1
P3
2
I/O port P2
I/O port P1
I/O port P0
Output port P4
7
Input ports P4
0
–P4
6
Output ports
Output port P5
P6
0
–P4
2
, P6
5
–P4
7
Sync
signal input
H
SYNC
1
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
MITSUBISHI MICROCOMPUTERS
M37270MF-XXXSP
M37270EF-XXXSP, M37270EFSP
3
MITSUBISHI MICROCOMPUTERS
M37270MF-XXXSP
M37270EF-XXXSP, M37270EFSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
FUNCTIONS
Parameter
Number of basic instructions
Instruction execution time
Clock frequency
Memory size
ROM
RAM
OSD ROM
OSD RAM
Input/Output ports
P0
0
–P0
2
,
P0
4
–P0
7
P0
3
P1
0
, P1
5
–P1
7
P1
1
–P1
4
P2
P3
0
, P3
1
P3
2
P4
0
–P4
4
P4
5
, P4
6
P4
7
P5
0
, P5
1
, P5
6
,
P5
7
P5
2
–P5
5
P6
0
–P6
2
,
P6
5
–P6
7
P6
3
P6
4
Serial I/O
Multi-master
I
2
C-BUS
interface
A-D converter
PWM output circuit
Timers
Subroutine nesting
Interrupt interval determination circuit
Interrupt
I/O
I/O
I/O
I/O
I/O
I/O
Output
Input
Input
Output
Output
Output
Output
Input
Input
71
0.5
µs
(the minimum instruction execution time, at 8 MHz oscillation fre-
quency)
8 MHz (maximum)
60 K bytes
1024 bytes
14464 bytes
1920 bytes
7-bit
!
1 (N-channel open-drain output structure, can be used as PWM
output pins)
1-bit
!
1 (CMOS input/output structure)
4-bit
!
1 (CMOS input/output structure, can be used as OSD output pin,
INT input pin, serial input pin)
4-bit
!
1 (N-channel open-drain output structure, can be used as multi-
master I
2
C-BUS interface)
8-bit
!
1 (CMOS input/output structure, can be used as A-D input pins)
2-bit
!
1 (CMOS input/output structure)
1-bit
!
1 (N-channel open-drain output structure)
5-bit
!
1 (can be used as A-D input pins, INT input pins, external clock
input pins)
2-bit
!
1 (N-channel open-drain output structure when serial I/O is used,
can be used as serial I/O pins)
1-bit
!
1 (N-channel open-drain output structure)
4-bit
!
1 (N-channel open-drain output structure, can be used as PWM
output pins)
4-bit
!
1 (CMOS output structure, can be used as OSD output)
6-bit
!
1 (N-channel open-drain output)
1-bit
!
1 (can be used as sub-clock input pin, OSD clock input pin)
1-bit
!
1 (CMOS output structure when LC is oscillating, can be used as
sub-clock output pin, OSD clock output pin)
8-bit
!
1
1
4 channels (8-bit resolution)
8-bit
!
8
8-bit timer
!
6
128 levels (maximum)
1
External interrupt
!
3, Internal timer interrupt
!
6, Serial I/O interrupt
!
1,
OSD interrupt
!
1, Multi-master I
2
C-BUS interface interrupt
!
1,
Data slicer interrupt
!
1, f(X
IN
)/4092 interrupt
!
1, V
SYNC
interrupt
!
1, A-
D conversion interrupt
!
1, BRK instruction interrupt
!
1
2 built-in circuits (externally connected a ceramic resonator or a quartz-
crystal oscillator)
Built in
Functions
Clock generating circuit
Data slicer
4
MITSUBISHI MICROCOMPUTERS
M37270MF-XXXSP
M37270EF-XXXSP, M37270EFSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
FUNCTIONS (continued)
OSD function
Number of display characters
Dot structure
40 characters
!
16 lines
CC mode: 16
!
26 dots (character part : 16
!
20 dots)
OSD mode: 16
!
20 dots
EXOSD mode: 16
!
26 dots
Kinds of characters
Kinds of character sizes
320 kinds
(In EXOSDmode, they can be combined with 32 kinds of extra fonts)
CC mode: 2 kinds
OSD mode: 14 kinds
EXOSD mode: 6 kinds
Kinds of character colors
CC mode: 7 kinds (R, G, B)
OSD mode: 15 kinds (R, G, B, I1)
EXOSD mode: 7 kinds (R, G, B, I1, I2)
Display position (horizontal, vertical)
Power source voltage
Power dissipation
In high-speed OSD ON Data slicer ON
mode
OSD OFF Data slicer OFF
In low-speed
mode
In stop mode
Operating temperature range
Device structure
Package
OSD OFF Data slicer OFF
256 levels (horizontal)
!
1024 levels (vertical)
5 V ± 10 %
165 mW typ. (at oscillation frequency f
CPU
= 8 MHz, f
OSD
= 13 MHz)
82.5 mW typ. (at oscillation frequency f
CPU
= 8 MHz)
0.33mW typ. (at oscillation frequency f
CLK
= 32 kHz, f(X
IN
) = stopped)
0.055 mW (maximum)
–10 °C to 70 °C
CMOS silicon gate process
64-pin shrink plastic molded DIP
5