MITSUBISHI MICROCOMPUTERS
M37273M8–XXXSP, M37273MF–XXXSP
M37273E8SP, M37273EFSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
1. DESCRIPTION
The M37273M8-XXXSP and M37273MF-XXXSP are single-chip mi-
crocomputers designed with CMOS silicon gate technology. They
have a OSD, data slicer, and I
2
C-BUS interface, so it is useful for a
channel selection system for TV with a closed caption decoder.
The features of the M37273E8SP and M37273EFSP are similar to
those of the M37273M8-XXXSP and M37273MF-XXXSP except that
the chip has a built-in PROM which can be written electrically. The
difference between M37273M8-XXXSP and M37273MF-XXXSP are
the ROM size and RAM size. Accordingly, the following descriptions
will be for the M37273M8-XXXSP.
2. FEATURES
qNumber
of basic instructions .................................................... 71
qMemory
size
ROM .............. 32K bytes
(M37273M8-XXXSP, M37273E8SP)
60K bytes
(M37273MF-XXXSP, M37273EFSP)
RAM ............... 1152 bytes
(M37273M8-XXXSP, M37273E8SP)
1472 bytes
(M37273MF-XXXSP, M37273EFSP)
(*ROM correction memory included)
qMinimum
instruction execution time
......................................... 0.5
µs
(at 8 MHz oscillation frequency)
qPower
source voltage ................................................. 5 V
±
10 %
qSubroutine
nesting ............................................. 128 levels (Max.)
qInterrupts
....................................................... 17 types, 16 vectors
q8-bit
timers .................................................................................. 6
qProgrammable
I/O ports (Ports P0, P1, P2, P3
0
, P3
1
) ............. 26
qInput
ports (Ports P5
0
, P5
1
) ........................................................ 2
qOutput
ports (Ports P5
2
–P5
7
,P6) .............................................. 14
q12
V withstand ports ................................................................... 6
qLED
drive ports ........................................................................... 4
qSerial
I/O ............................................................ 8-bit
!
1 channel
qMulti-master
I
2
C-BUS interface .............................. 1 (2 systems)
qA-D
comparator (6-bit resolution) ................................ 6 channels
qPWM
output circuit ......................................................... 8-bit
!
6
qPower
dissipation
In high-speed mode ......................................................... 165 mW
(at V
CC
= 5.5V, 8 MHz oscillation frequency, OSD on, and Data
slicer on)
In low-speed mode ......................................................... 0.33 mW
(at V
CC
= 5.5V, 32 kHz oscillation frequency)
qROM
correction function ................................................ 2 vectors
qClosed
caption data slicer
qOSD
function
Display characters ................................... 32 characters
!
2 lines
(It is possible to display 3 lines or more by software)
Kinds of characters ........................................................ 254 kinds
Character display area ............................ CC mode: 16
!
26 dots
OSD mode: 16
!
20 dots
Kinds of character sizes ..................................... CC mode: 1 kind
OSD mode: 8 kinds
Kinds of character colors .................................. 8 colors (R, G, B)
Coloring unit ................... character, character background, raster
Display position
Horizontal: 128 levels
Vertical: 512 levels
Attribute ........................................................................................
CC mode: smooth italic, underline, flash, automatic solid space
OSD mode: border
Smoth roll-up
Window function
3. APPLICATION
TV with a closed caption decoder
Rev. 1.0
MITSUBISHI MICROCOMPUTERS
M37273M8–XXXSP, M37273MF–XXXSP
M37273E8SP, M37273EFSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
TABLE OF CONTENTS
1. DESCRIPTION .......................................................................... 1
2. FEAUTURES ............................................................................. 1
3. APPLICATION ............................................................................ 1
4. PIN CONFIGURATION .............................................................. 3
5. FUNCTIONAL BLOCK DIAGRAM ............................................. 4
6. PERFORMANCE OVERVIEW ................................................... 5
7. PIN DESCRIPTION ................................................................... 7
8. FUNCTIONAL DESCRIPTION ................................................. 11
8.1 CENTRAL PROCESSING UNIT (CPU) .................... 11
8.2 MEMORY .................................................................. 12
8.3 INTERRUPTS ........................................................... 18
8.4 TIMERS ..................................................................... 23
8.5 SERIAL I/O ................................................................ 26
8.6 MULTI-MASTER I
2
C-BUS INTERFACE .................... 29
8.7 PWM OUTPUT CIRCUIT .......................................... 42
8.8 A-D COMPARATOR .................................................. 46
8.9 ROM CORRECTION FUNCTION ............................. 48
8.10 DATA SLICER ......................................................... 49
8.11 OSD FUNCTIONS ................................................... 60
8.11.1 Display Position ....................................... 65
8.11.2 Dot size .................................................... 69
8.11.3 Clock for OSD .......................................... 70
8.11.4 Field Determination Display ..................... 71
8.11.5 Memory For OSD ..................................... 73
8.11.6 Character Color ....................................... 77
8.11.7 Character Background Color ................... 77
8.11.8 OUT1, OUT2 Signals ............................... 78
8.11.9 Attribute .................................................... 79
8.11.10 Multiple Display ...................................... 84
8.11.11 Automatic Solid Space Function ............ 85
8.11.12 Window Function ................................... 86
8.11.13 OSD Output Pin Control ........................ 88
8.11.14 Raster Coloring Function ....................... 89
8.12. SOFTWARE RUNAWAY DETECT FUNCTION ..... 91
8.13. RESET CIRCUIT .................................................... 92
8.14. CLOCK GENERATING CIRCUIT ........................... 93
8.15. DISPLAY OSCILLATION CIRCUIT ........................ 96
8.16. AUTO-CLEAR CIRCUIT ......................................... 96
8.17. ADDRESSING MODE ............................................ 96
8.18. MACHINE INSTRUCTIONS ................................... 96
9. PROGRAMMING NOTES ........................................................ 96
10. ABSOLUTE MAXIMUM RATINGS ......................................... 97
11. RECOMMENDED OPERATING CONDITIONS ..................... 97
12. ELECTRIC CHARACTERISTICS .......................................... 98
13. A-D COMPARISON CHARACTERISTICS ........................... 100
14. MULTI-MASTER I
2
C-BUS BUS LINE CHARACTERISTICS ......... 100
15. PROM PROGRAMMING METHOD ..................................... 101
16. DATA REQUIRED FOR MASK ORDERS ............................ 102
17. MASK CONFIRMATION FORM ........................................... 103
18. MARK SPECIFICATION FORM ........................................... 109
19. ONE TIME PROM VERSIONS M37272E8SP/FP,
M37272EFSP MARKING ..................................................... 110
20. APPENDIX ........................................................................... 111
21. PACKAGE OUTLINE ........................................................... 136
Rev. 1.0
2
MITSUBISHI MICROCOMPUTERS
M37273M8–XXXSP, M37273MF–XXXSP
M37273E8SP, M37273EFSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
4. PIN CONFIGURATION
P5
0
/H
SYNC
P5
1
/V
SYNC
P0
0
/PWM0
P0
1
/PWM1
P5
6
P0
2
/PWM2
P5
7
P0
3
/PWM3
P6
0
P0
4
/PWM4
P0
5
/PWM5
P0
6
/INT2/AD4
P6
1
P0
7
/INT1
P6
2
P2
3
/TIM3
P2
4
/TIM2
P2
5
AV
CC
HLF
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
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
P5
2
/R
P5
3
/G
P5
4
/B
P5
5
/OUT1
P6
3
P2
0
/S
CLK
P6
4
P2
1
/S
OUT
P6
5
P2
2
/S
IN
P6
6
P1
0
/OUT2
P6
7
P1
1
/SCL1
P1
2
/SCL2
P1
3
/SDA1
P1
4
/SDA2
P1
5
/AD1/INT3
P1
6
/AD2
P1
7
/AD3
P3
0
/AD5
P3
1
/AD6
RESET
P2
6
/OSC1/X
CIN
P2
7
/OSC2/X
COUT
V
CC
Outline 52P4B
M37273M8-XXXSP,M37273MF-XXXSP
M37273E8SP,M37273EFSP
Fig. 4.1 Pin Configuration (Top View)
Rev. 1.0
3
INT1
INT2
INT3
SDA2
SDA1
SCL2
SCL1
S
IN
S
CLK
S
OUT
PWM5
PWM4
PWM3
PWM2
PWM1
PWM0
AD1–AD6
14 12 11 10 8 6 4 3
18 17 16 43 45 47
31 32
33 34 35 36 37 38 39 41
40 42 44 46 48 15 13 9
7 5 49 50 51 52 2 1
I/O port P0
I/O port P1
I/O port P2
I/O ports P3
0
, P3
1
Output ports P6
Output ports P5
2
–P5
7
Output for display Input ports P5
0
, P5
1
Synchronous signal input
OUT1
B
G
R
V
SYNC
H
SYNC
4
V
SS
CNV
SS
26
23
22
29
28
21
20
Clock input Clock output
Pins for data slicer
CV
IN
V
HOLD
HLF
30
19
27
X
IN
X
OUT
Reset input
RESET AV
CC
V
CC
I/O ports P2
6
, P2
7
Clock input for OSD/ Clock output for OSD/
sub-clock input sub-clock output
OSC1/X
CIN
OSC2/X
COUT
24
25
Clock
generating
circuit
Data slicer
Fig. 5.1 Functional Block Diagram of M37273
TIM2
TIM3
Timer count source
selection circuit
Timer 1
T1 (8)
Timer 2
T2 (8)
Timer 3
T3 (8)
Program
counter
Data bus
5. FUNCTIONAL BLOCK DIAGRAM
RAM
1152 bytes
PC
L
(8)
Progam
counter
ROM
32 K bytes
ROM
correction
circuit
PC
H
(8)
Address bus
Timer 4
T4 (8)
Control signal
Index
register
8-bit
arithmetic
and
logical unit
X (8)
Y (8)
Instruction
register (8)
Stack
pointer
S (8)
Timer 5
T5 (8)
Timer 6
T6 (8)
Instruction
decoder
Accumulator
A (8)
Processor
status
register
PS (8)
Index
register
CRT
circuit
A-D
comparator
SI/O
P2 (6)
P3 (2)
Multi-master
I2C-BUS
interface
PWM
P6 (8)
OUT2
P1
0
P5 (8)
P0 (8)
P1 (8)
MITSUBISHI MICROCOMPUTERS
M37273M8–XXXSP, M37273MF–XXXSP
M37273E8SP, M37273EFSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
Rev. 1.0
MITSUBISHI MICROCOMPUTERS
M37273M8–XXXSP, M37273MF–XXXSP
M37273E8SP, M37273EFSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
6. PERFORMANCE OVERVIEW
Table 6.1 Performance Overview
Parameter
Number of basic instructions
Instruction execution time
Clock frequency
Memory size
Functions
71
0.5
µs
(the minimum instruction execution time, at 8 MHz oscillation fre-
quency)
8 MHz (maximum)
32K bytes
60K bytes
1152 bytes (ROM correction memory included)
1472 bytes (ROM correction memory included)
10K bytes
128 bytes
8-bit
!
1 (N-channel open-drain output structure, can be used as PWM
output pins, INT input pins, A-D input pin)
8-bit
!
1 (CMOS input/output structure, however, N-channel open-drain
output structure, when P1
1
–P1
4
are used as multi-master I
2
C-BUS inter-
face, can be used as OSD output pin, A-D input pins, INT input pin, multi-
master I
2
C-BUS interface)
8-bit
!
1 (P2 is CMOS input/output structure, however, N-channel open-
drain output structure when P2
0
and 2
1
are used as serial output, can be
used as serial input/output pins, timer external clock input pins, OSD clock
input/output pin, sub-clock input/output pins)
2-bit
!
1 (CMOS input/output or N-channel open-drain output structure,
can be used as A-D input pins)
2-bit
!
1 (can be used as OSD input pins)
14-bit
!
1 (CMOS output structure, can be used as OSD output pins)
8-bit
!
1
1 (2 systems)
6 channels (6-bit resolution)
8-bit
!
6
8-bit timer
!
6
2 vectors
128 levels (maximum)
<17 types>
INT 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
)/4096 interrupt
!
1, V
SYNC
interrupt
!
1, BRK
instruction interrupt
!
1, reset
!
1
2 built-in circuits (externally connected to a ceramic resonator or a quartz-
crystal oscillator)
Built-in
Input/Output
ports
ROM M37273M8-XXXSP, M37273E8SP
M37273MF-XXXSP, M37273EFSP
RAM M37273M8-XXXSP, M37273E8SP
M37273MF-XXXSP, M37273EFSP
OSD ROM
OSD RAM
I/O
P0
P1
0
–P1
7
I/O
P2
0
–P2
7
I/O
P3
0
, P3
1
P5
0
, P5
1
P5
2
–P5
5
,P6
Serial I/O
Multi-master I
2
C-BUS interface
A-D comparator
PWM output circuit
Timers
ROM correction function
Subroutine nesting
Interrupt
I/O
Input
Output
Clock generating circuit
Data slicer
Rev. 1.0
5