ChipFind - документация

Электронный компонент: M37225M6

Скачать:  PDF   ZIP
www.docs.chipfind.ru
background image
1. DESCRIPTION
The M37225M6-XXXSP, M37225M8-XXXSP, and M37225ECSP are
single-chip microcomputers designed with CMOS silicon gate tech-
nology. They have a OSD, I
2
C-BUS interface, PWM output, and 12 V
withstand, so it is useful for a channel selection system for TV.
The features of the M37225ECSP are similar to those of the
M37225M6-XXXSP except that the chip has a built-in PROM which
can be written electrically. The difference between M37225M6-XXXSP
and M37225M8-XXXSP are the ROM size. Accordingly, the follow-
ing descriptions will be for the M37225M6-XXXSP.
2. FEATURES
q
Number of basic instructions .................................................... 71
q
Memory size
ROM ..................... 24K bytes (M37225M6-XXXSP)
32K bytes (M37225M8-XXXSP)
48K bytes (M37225ECSP)
RAM ...................... 1024 bytes (M37225M6-XXXSP,
M37225M8-XXXSP)
2048 bytes (M37225ECSP)
(*ROM correction memory included)
q
Minimum instruction execution time
......................................... 0.5
s
(at 8 MHz oscillation frequency)
q
Power source voltage ................................................. 5 V
10 %
q
Subroutine nesting ............................................. 128 levels (Max.)
q
Interrupts ....................................................... 16 types, 16 vectors
q
8-bit timers .................................................................................. 4
q
Programmable I/O ports (Ports P0, P1, P2, P3
0
P3
2
, P3
5
) ..... 28
q
Input ports (Ports P3
3
, P3
4
, P5
0
, P5
1
) ........................................ 4
q
Output ports (Ports P5
2
P5
5
) ..................................................... 4
q
12 V withstand ports ................................................................... 6
q
LED drive ports ........................................................................... 4
q
Serial I/O ............................................................ 8-bit
!
1 channel
q
Multi-master I
2
C-BUS interface .............................. 1 (2 systems)
q
A-D converter (8-bit resolution) .................................... 8 channels
q
PWM output circuit ........................................ 14-bit
!
2, 8-bit
!
6
q
Power dissipation
In operating ...................................................................... 165 mW
(at V
CC
= 5.5V, 8 MHz oscillation frequency, and OSD on)
q
ROM correction function ................................................ 3 vectors
q
Immediate return mode from wait state
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
M37225M6-XXXSP, M37225M8-XXXSP
M37225ECSP
MITSUBISHI MICROCOMPUTERS
q
OSD function
Display characters ............................................... 24 characters
!
2 lines
(It is possible to display 3 lines or more by software)
Kinds of characters ......... 381 kinds
Character display area
16
!
20 dots
Kinds of character sizes .............................. Block display: 3 kinds
SPRITE display: 1 kinds
Kinds of character colors. ................................. 8 colors (R, G, B)
Coloring unit ................... character, character background, raster
Display position
Horizontal: 64 levels
Vertical :255 levels
Attribute ........ Border (all-bordered, shadow-bordered), BUTTON
SPRITE display function
Wallpaper function
Window function
Corresponding to bi-scan mode
3. APPLICATION
TV
Rev. 1.1
background image
2
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
M37225M6XXXSP, M37225M8XXXSP
M37225ECSP
MITSUBISHI MICROCOMPUTERS
Rev. 1.0
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 ........................................................... 19
8.4 TIMERS ..................................................................... 24
8.5 SERIAL I/O ................................................................ 27
8.6 MULTI-MASTER I
2
C-BUS INTERFACE .................... 31
8.7 PWM OUTPUT CIRCUIT .......................................... 44
8.8 A-D COMPARATOR .................................................. 49
8.9 ROM CORRECTION FUNCTION ............................. 53
8.10 OSD FUNCTIONS ................................................... 54
(1) Clock for OSD .................................................... 57
(2) Scan mode ......................................................... 58
(3) OSD input/output pin control .............................. 59
8.10.1 Block Display .................................................... 60
(1) Display position .................................................. 61
(2) Dot size .............................................................. 65
(3) Memory For OSD ............................................... 66
(4) Character Color .................................................. 69
(5) Character Background Color .............................. 69
(6) OUT1, OUT2 Signals ......................................... 69
(7) Attribute .............................................................. 72
(8) Multiple Display .................................................. 76
(9) Window Function ................................................ 77
8.10.2 SPRITE Display ................................................ 80
8.10.3 Raster Display ................................................... 83
8.11. SOFTWARE RUNAWAY DETECT FUNCTION ...... 85
8.12. RESET CIRCUIT .................................................... 86
8.13. CLOCK GENERATING CIRCUIT ........................... 87
8.14. DISPLAY OSCILLATION CIRCUIT ........................ 88
8.15. AUTO-CLEAR CIRCUIT ......................................... 88
8.16. ADDRESSING MODE ............................................ 88
8.17. MACHINE INSTRUCTIONS ................................... 88
9. PROGRAMMING NOTES ........................................................ 88
10. ABSOLUTE MAXIMUM RATINGS ......................................... 89
11. RECOMMENDED OPERATING CONDITIONS ..................... 89
12. ELECTRIC CHARACTERISTICS .......................................... 90
13. A-D COMPARISON CHARACTERISTICS ............................. 92
14. MULTI-MASTER I
2
C-BUS BUS LINE CHARACTERISTICS ........... 92
15. PROM PROGRAMMING METHOD ....................................... 93
16. DATA REQUIRED FOR MASK ORDERS .............................. 94
17. MASK CONFIRMATION FORM ............................................. 95
18. MARK SPECIFICATION FORM ........................................... 101
19. ONE TIME PROM VERSIONS M37225ECSP MARKING ... 102
20. APPENDIX ........................................................................... 103
21. PACKAGE OUTLINE ........................................................... 131
background image
3
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
M37225M6XXXSP, M37225M8XXXSP
M37225ECSP
MITSUBISHI MICROCOMPUTERS
Rev. 1.0
4. PIN CONFIGURATION
Outline 42P4B
Fig. 4.1 Pin Configuration (Top View)
P
0
6
/
I
N
T
2
/
A
-
D
4
X
O
U
T
H
S
Y
N
C
/
P
5
0
V
S
Y
N
C
/
P
5
1
P
0
0
/
P
W
M
0
P
0
1
/
P
W
M
1
P
0
2
/
P
W
M
2
P
0
3
/
P
W
M
3
P
0
4
/
P
W
M
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5
1
7
2
6
2
7
1
6
P
3
(
6
)
3
9
4
0
4
1
4
2
2
1
2
0
1
9
2
5
2
2
2
1
1
8
2
4
2
3
I
n
d
e
x
r
e
g
i
s
t
e
r
Y
(
8
)
M
u
l
t
i
-
m
a
s
t
e
r
I
2
C
-
B
U
S
i
n
t
e
r
f
a
c
e
R
O
M
c
o
r
r
e
c
t
i
o
n
f
u
n
c
t
i
o
n
S
y
n
c
s
i
g
n
a
l
i
n
p
u
t
I
n
p
u
t
p
o
r
t
s
P
5
0
,
P
5
1
S
D
A
2
S
D
A
1
S
C
L
2
S
C
L
1
A
-
D
c
o
n
v
e
r
t
e
r
1
0
9
8
7
6
5
4
3
I
/
O
p
o
r
t
P
0
2
8
2
9
3
0
3
1
3
2
3
3
3
4
3
5
P
1
(
8
)
I
/
O
p
o
r
t
P
1
1
5
1
4
1
3
1
2
1
1
3
6
3
7
3
8
P
2
(
8
)
I
/
O
p
o
r
t
P
2
P
0
(
8
)
1
4
-
b
i
t
P
W
M
c
i
r
c
u
i
t
2
O
U
T
2
C
l
o
c
k
o
u
t
p
u
t
f
o
r
O
S
D
background image
5
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
M37225M6XXXSP, M37225M8XXXSP
M37225ECSP
MITSUBISHI MICROCOMPUTERS
Rev. 1.0
Number of basic instructions
Instruction execution time
Clock frequency
Memory size
Input/Output
ports
Serial I/O
Multi-master I
2
C-BUS interface
A-D converter
PWM output circuit
Timers
ROM correction function
Subroutine nesting
Interrupt
Clock generating circuit
ROM
RAM
OSD ROM
OSD RAM
P0
0
P0
5
P0
6
, P0
7
P1
P2
P3
0
, P3
1
, P3
5
P3
2
P3
3
, P3
4
P5
0
, P5
1
P5
2
P5
5
I/O
I/O
I/O
I/O
I/O
I/O
Input
Input
Output
71
0.5
s (the minimum instruction execution time, at 8 MHz oscillation fre-
quency)
8 MHz (maximum)
24K bytes
32K bytes
48K bytes
1024 bytes (ROM correction memory included)
2048 bytes (ROM correction memory included)
15K bytes
96 bytes
6-bit
!
1 (N-channel open-drain output structure, can be used as PWM
output pins)
2-bit
!
1 (N-channel open-drain output structure, can be used as INT input
pins, A-D input pin)
8-bit
!
1 (CMOS input/output structure, can be used as OSD output pin, INT
input pin, A-D input pins, DA output pin, multi-master I
2
C-BUS interface)
8-bit
!
1 (CMOS input/output structure, can be used as serial I/O pins,
timer external clock input pins)
3-bit
!
1 (CMOS output structure, or N-channel open-drain output struc-
ture, can be used as A-D input pins, DA output pin)
1-bit
!
1 (N-channel open-drain output structure, can be used as A-D input pin)
2-bit
!
1 (Can be used as OSD clock input/output pins)
2-bit
!
1 (N-channel open-drain output structure, can be used as horizonal
vertical synchronous sibnal input pins)
4-bit
!
1 (CMOS output structure, can be used as OSD output pins)
8-bit
!
1
1 (2 systems)
8 channels (8-bit resolution)
14-bit
!
2, 8-bit
!
6
8-bit timer
!
4
3 vectors
128 levels (maximum)
<16 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,
f(X
IN
)/4096 interrupt
!
1, SPRITE OSD interrupt
!
1, A-D conversion inter-
rupt
!
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)
Parameter
6. PERFORMANCE OVERVIEW
M37225M6-XXXSP
M37225M8-XXXSP
M37225ECSP
M37225M6-XXXSP, M37225M8-XXXSP
M37225ECSP
Table 6.1 Performance Overview
Functions

Document Outline