MTV230M64
Page 10 of 31
6.2.1 H-Freq Table
Output Value (14 bits)
12MHz OSC (hex / dec)
0FDEh / 4062
0D54h / 3412
0B8Bh / 2955
0AA8h / 2728
094Fh / 2383
0854h / 2132
0746h / 1862
06AAh / 1706
063Fh / 1599
05D1h / 1489
0554h / 1364
04B3h / 1203
H-Freq(KHZ)
1
2
3
4
5
6
7
8
9
10
11
12
31.5
37.5
43.3
46.9
53.7
60.0
68.7
75.0
80.0
85.9
93.8
106.3
6.2.2 V-Freq Table
Output value (12bits)
12MHz OSC (hex / dec)
45Ch / 1116
411h / 1041
37Ch / 892
364h / 868
341h / 833
2DFh / 735
V-Freq(Hz)
1
2
3
4
5
6
56
60
70
72
75
85
6.3 H/V Present Check
The Hpresent function checks the input HSYNC pulse, Hpre flag is set when HSYNC is over 10KHz or cleared
when HSYNC is under 10Hz. The Vpresent function checks the input VSYNC pulse, the Vpre flag is set when
VSYNC is over 40Hz or cleared when VSYNC is under 10Hz. The HPRchg interrupt is set when the Hpre value
changes. The VPRchg interrupt is set when the Vpre/CVpre value change. However, the CVpre flag interrupt
may be disabled when S/W disable the composite function.
6.4 H/V Polarity Detect
The polarity functions detect the input HSYNC/VSYNC high and low pulse duty cycle. If the high pulse duration
is longer than that of low pulse, the negative polarity is asserted; otherwise, positive polarity is asserted. The
HPLchg interrupt is set when the Hpol value changes. The VPLchg interrupt is set when the Vpol value changes.
6.5 Output HBLANK/VBLANK Control and Polarity Adjust
The HBLANK is the mux output of HSYNC and composite Hpulse. The VBLANK is the mux output of VSYNC
and CVSYNC. The mux selection and output polarity are S/W controllable.
6.6 VSYNC Interrupt
The MTV230M64 check the VSYNC input pulse and generate an interrupt at its leading edge. The VSYNC flag
is set each time when MTV230M64 detects a VSYNC pulse. The flag is cleared by S/W writing a "0".
6.7 H/V SYNC Processor Register
Reg name
HVSTUS
HCNTH
HCNTL
VCNTH
addr
F40h (r)
F41h (r)
F42h (r)
F43h (r)
bit7
CVpre
Hovf
HF7
Vovf
bit6
bit5
Hpol
HF13
HF5
bit4
Vpol
HF12
HF4
bit3
Hpre
HF11
HF3
VF11
bit2
Vpre
HF10
HF2
VF10
bit1
Hoff
HF9
HF1
VF9
bit0
Voff
HF8
HF0
VF8
HF6