MITSUBISHI MICROCOMPUTERS
M37270MF-XXXSP
M37270EF-XXXSP, M37270EFSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
The display position in the vertical direction is determined by count-
ing the horizontal sync signal (HSYNC). At this time, it starts to count
the rising edge (falling edge) of HSYNC signal from after about 1 ma-
chine cycle of rising edge (falling edge) of VSYNC signal. So interval
from rising edge (falling edge) of VSYNC signal to rising edge (falling
edge) of HSYNC signal needs enough time (2 machine cycles or more)
for avoiding jitter. The polarity of HSYNC and VSYNC signals can se-
lect with the I/O polarity control register (address 021716). For de-
tails, refer to (15) OSD Output Pin Control.
7
0
Vertical position register 1i
(i = 1 to 16)
(VP1i : addresses 022016 to 022F16
)
Control bits of vertical display
start positions (Note)
Vertical display start positions (low-order 8 bits)
(setting value of low-order 2 bits of VP2i
TH
✕
✕
162
+
+
setting value of low-order 4 bits of VP1i
setting value of low-order 4 bits of VP1i
✕
✕
161
160
)
Note: When bits 0 and 1 of the I/O polarity control register (address
021716) are set to “1” (negative polarity), the vertical position
is determined by counting falling edge of HSYNC signal after
rising edge of VSYNC control signal in the microcomputer (re-
fer to Figure 54).
7
0
Vertical position register 2i
(i = 1 to 16)
(VP2i : addresses 023016 to 023F16
)
Control bits of vertical display
start positions (Note)
Vertical display start positions (high-order 2 bits)
(setting value of low-order 2 bits of VP2i
162
T
+
+
H
✕
✕
161
160
setting value of low-order 4 bits of VP1i
setting value of low-order 4 bits of VP1i
✕
✕
)
V
V
SYNC signal input
control
0.25 to 0.50 [µs]
( at f(XIN) = 8MHz)
Note : Set values except “0016” and “0116” to VP1i when VP2i is “0016.
”
siSgYnNaCl in
microcomputer
Period of counting
H
H
SYNC signal
Fig. 55. Structure of vertical position registers
(Note 1)
sigSYnNaCl input
The horizontal position is common to all blocks, and can be set in
256 steps (where 1 step is 4TOSC, TOSC being the oscillating cycle
for display) as values “0016” to “FF16” in bits 0 to 7 of the horizontal
position register (address 00CF16). The structure of the horizontal
position register is shown in Figure 56.
1
2
3
4
5
Not count
When bits 0 and 1 of the I/O polarity control register
(address 021716) are set to “1” (negative polarity)
Notes 1 : Do not generate falling edge of HSYNC signal near rising edge of
SYNC control signal in microcomputer to avoid jitter.
V
2 : The pulse width of VSYNC and HSYNC needs 8 machine cycles or
more.
7
0
Horizontal position register
(HP : address 00CF16
)
Fig. 54. Supplement explanation for display position
Control bits of horizontal display
start positions
The vertical position for each block can be set in 1024 steps (where
each step is 1TH (TH: HSYNC cycle)) as values “0016” to “FF16” in
vertical position register 1i (i = 1 to 16) (addresses 022016 to 022F16)
and values “0016” to “FF16” in the vertical position register 2i (i = 1 to
16) (addresses 023016 to 023F16). The structure of the vertical posi-
tion registers is shown in Figure 55.
Horizontal display start positions
1
4TOSC
✕(setting value of high-order 4 bits
✕16
0
+
setting value of low-order 4 bits ✕16 )
Note : The setting value synchronizes with a rising (falling) of the VSYNC
.
Fig. 56. Structure of horizontal position register
50