MITSUBISHI MICROCOMPUTERS
M37271MF-XXXSP
M37271EF-XXXSP, M37271EFSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
DESCRIPTION
The M37271MF-XXXSP is a single-chip microcomputer designed with
CMOS silicon gate technology. It is housed in a 52-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 M37271MF-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 M37271EF-XXXSP and the
M37271EFSP are similar to those of the M37271MF-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 P5
2
–P5
5
) ...................................................... 4
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
!
7
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
M37271MF-XXXSP
M37271EF-XXXSP, M37271EFSP
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
P0
1
/PWM5
P0
2
/PWM6
P1
7
/S
IN
P4
4
/INT1
P4
5
/S
OUT
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
52
51
50
49
48
47
P5
2
/R
P5
3
/G
P5
4
/B
P5
5
/OUT1
P0
4
/PWM0
P0
5
/PWM1
P0
6
/PWM2
P0
7
/PWM3
P2
0
P2
1
P2
2
P2
3
P1
0
/OUT2
P1
1
/SCL1
P1
2
/SCL2
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
M37271MF-XXXSP
M37271EF-XXXSP, M37271EFSP
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
Outline 52P4B
2
FUNCTIONAL BLOCK DIAGRAM of M37271MF-XXXSP
Clock input Clock output
Reset input
RESET AV
CC
V
CC
V
SS
CNV
SS
26
22
28
29
21
20
19
23
Pins for data slicer
V
HOLD
HLF
CV
IN
RVCO
X
IN
X
OUT
30
18
27
Input ports P6
3
, P6
4
Clock input for OSD/ Clock output for OSD/
sub-clock input sub-clock output
OSC1 OSC2
24
25
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)
Index
register
Index
register
Control signal
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
PWM6
PWM5
PWM4
PWM3
PWM2
PWM1
PWM0
P3 (2)
P2 (8)
P0 (8)
P1 (8)
INT1
INT2
Multi-master
2C-BUS interface
I
A-D
converter
SI/O (8)
8-bit
PWM circuit
P4 (7)
P6 (2)
P5 (4)
V
SYNC
17 16 15 6 5 4 3
32
31
14 34 35 36 37 38 39 40
10 9 8 7 41 42 43 44 45 46 47 48 33 13 12 11
OUT1
B
G
R
49 50 51 52
2
MITSUBISHI MICROCOMPUTERS
I/O ports
P3
0
, P3
1
I/O port P2
I/O port P1
I/O port P0
Input ports P4
0
–P4
6
Output port P5
Sync
signal input
H
SYNC
1
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
M37271MF-XXXSP
M37271EF-XXXSP, M37271EFSP
3
MITSUBISHI MICROCOMPUTERS
M37271MF-XXXSP
M37271EF-XXXSP, M37271EFSP
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
P4
0
–P4
4
P4
5
, P4
6
P5
2
–P5
5
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
Input
Input
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)
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)
4-bit
!
1 (CMOS output structure, can be used as OSD 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
!
7
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
M37271MF-XXXSP
M37271EF-XXXSP, M37271EFSP
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
256 levels (horizontal)
!
1024 levels (vertical)
5 V ± 10 %
In high-speed OSD ON Data slicer ON 165 mW typ. (at oscillation frequency f
CPU
= 8 MHz, f
OSD
= 13 MHz)
mode
OSD OFF Data slicer OFF 82.5 mW typ. (at oscillation frequency f
CPU
= 8 MHz)
In low-speed
mode
In stop mode
OSD OFF Data slicer OFF 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
52-pin shrink plastic molded DIP
Operating temperature range
Device structure
Package
5