•Support smooth panning under viewing window change.
Output Processo r
•Single pixel (18/24-bit) or Dual pixel (36/48-bit) per clock digital RGB output.
•Built-in output timing generator with programmable clock and H/V sync.
•Support VGA/SVGA/XGA display resolution.
•Overlay input interface with external OSD controller.
•
GENERAL DESCRIPTION
The MTL005 Flat Panel Display (FPD) Controller is a low-cost input format converter for TFT-LCD Monitor or
LCD TV application which accepts 15-pin D-sub RGB graphic signals (through ADC), YUV signals from
digital video decoder or digital RGB graphic signals from PanelLink TMDS receiver. It comprises a RGB/YUV
input processor, video scaling up processor, OSD input interface and output display processor in 128-pin
PQFP.
notice. No liability is assumed as a result of the use of this product. No rights under any patent accompany the sale of the product.
Vertical sync for external OSD
Horizontal sync for external OSD
OSD overlay enable
MTL005
TECHNOLOGY
Rev 0.9
2. PIN DESCRIPTION
ADC Input Int er face (RGB or YUV or TMDS Inpu t Data)
NameTypePin# Description
IPCLKI68 Input pixel clock
VSYNCI67Input Vertical sync
HSYNC/CSI69 Input Horizontal or Composite sync
RIN[7:0]/YIN[7:0]I71-78 Red or Y channel or TMDS input data
GIN[7:0]/UVIN[7:0]I80-87 Green or UV channel or TMDS input data
BIN[7:0]I89-96 Blue or TMDS input data, or Control bit for YUV video input
Bit 4: VPHREF, Video input Horizontal reference signal
Bit 3: VPVS, Video input VSYNC signal
Bit 2: VPODD, Video input ODD/EVEN field signal
Bit 1: VPHS, Video input HSYNC signal
Bit 0: VPCLK, Video input clock signal
RAWHSI63 Input source HSYNC for measurement
TDIEI66 TMDS digital input enable
RGBSELO62 Input select. 1:RGB input, 0:YUV input
TMDSSELO58 TMDS input select, active high
CLAMPO59 Clamp pulse output for ADC
37-36
G1OUT[7:0]O34-27 Green output even data , bit[7:2] for 6-bit panel
B1OUT[7:0]O25-18 Blue output even da ta , bit[7:2] for 6-bit panel
R2OUT[7:0]O9-2 Red output odd data , bit[7:2] for 6-bit panel
G2OUT[7:0]O127-120 Green output odd data , bit[7:2] for 6-bit panel
B2OUT[7:0]O118-111 Blue output odd data , bit[7:2] for 6-bit panel
Red output even data , bit[7:2] for 6-bit panel
Host Interface
NameTypePin# Descrip tio n
RST#I47 System reset input, active low.
SCLI104 Serial bus clock
SDAI/O105 Serial bus data
TESTMODEI106 Test Mode, Normally grounded.
IRQO53 Interrupt request output
OSD Interf ac e
NameTypePin# Description
OCLKO55 Clock for external OSD
OVSYNCO54
OHSYNCO56
OSDREDI48 OSD red input
OSDGRNI49 OSD green input
OSDBLUI50 OSD blue input
OSDENI51
Revision 0.9 - 4 - 2000/12/29
Page 5
MYSON
Oscillator frequency input
Oscillator frequency output
Vertical sync for A/D converter
Horizontal sync for A/D converter
DVDD 17, 35, 57, 70, 88, 97, 119 Digital power 3.3V
DVSS 14, 26, 46, 64, 65, 79, 102, 110, 128 Digital ground
PVDD 10, 52, 108 Pad power 3.3V
PVSS 1, 39, 103 Pad ground
AVDD 98 Analog power 3.3V
AVSS 101 Analog ground
Rev 0.9
Revision 0.9 - 5 - 2000/12/29
Page 6
MYSON
depending on the type of input images.
In this mode, only one field is displayed at the time. First field and second field is toggled displayed. The
inputs presence check, frequency counting, polarity detection and control. It contains
MTL005
TECHNOLOGY
Rev 0.9
3. FUNCTIONAL DESCRIPTION
3.1 Input Process or
General Descrip t io n
The function of Input Interface is to provide the interface between MTL005 and external in put devices. It can
process both non-interlaced and interlaced RGB graphic input, YUV video input, and digita l RGB input
compliant with digital LVDS/PanelLink TMDS interface. It also contains the built-in YUV to RGB color space
converter.
3.1.1RGB Inpu t Format
Since MTL005 is a low cost solution, the RGB input port can only work in Single Pixel mode (24 bits). The
R/G/BIN ports are sampled at the rising edge of the RGB input clock.
3.1.2TMDS Input Form at
The Digital RGB input port works likewise as described in Sec 3.1.1 except one more input pin is needed:
Digital Input Enable DIEN.
With a single pixel input interface, the supported format is up to true color, including 18 bit/pixel or 24 bit/pixel.
3.1.3YUV Inpu t Format
The YUV input port supports interlaced video data from the most common video decoder ICs like SAA711x.
The 16 bit data bus is shared with the ports RIN[7:0] and GIN[7:0]. The 16 bit data is sampled at the rising
edge of the shared video clock VPCLK when the shared data enable HREF is active. The supported formats
are YUV4:1:1 and YUV4:2:2 with CCIR601/CCIR656 standard.
3.1.4Inp ut HSYNC Path
Besides the pin HSYNC, MTL005 provides another pin RAWHS to support Sync Processor in MTL005.
Generally, the HSYNC generated by an ADC may have a very narro w pulse width an d a dif ferent polarity
from the original HSYNC provided by the source. The RAWHS input provides the path of original HSYNC
connection to MTL005, which makes Sync Processor in MTL005 work correctly.
3.1.5YUV to RGB Convert er
It is used to convert YCbCr format into RGB format. The basic equations are as follows:
R = Y + 1.371(Cr - 128)
G = Y - 0.698(Cr - 128) - 0.336(Cb - 128)
B = Y + 1.732(Cb - 128)
3.1.6De-interlace mod e
For interlace input, MTL005 features several de-interlacing algorithms for processing interlaced video data
¨Tog gl e Mode
missing lines are calculated from duplicating the neighbor lines.
¨Spatial Mod e
In this mode, two fields are toggled displayed, just like Toggle mode. The missing lines are calculated from
interpolating the neighbor lines. An average good quality for still and moving pictures is achieve d i n th is mode.
3.1.7Sync Processor
The V/H SYNC processing block performs the functions of Composite signal separation/insertion, SYNC
a de-glitch circuit to
filter out any pulse shorter than one OSC period treated as noises on V/H SYNC pulses.
Revision 0.9 - 6 - 2000/12/29
Page 7
MYSON
MTL005 can measure VSYNC/HSYNC frequency counted in proper clocks and save the information in
registers. Users can read it out to calculate VSYNC/HSYNC frequency as
input sample registers to aid in centering the screen automatically.
s phase and frequency. MTL005
colors. This advanced function helps firmware to analyze ADC performance. Usually Firmware can use this
s phase and frequency.
MTL005
TECHNOLOGY
¨V/H SYNC Frequency Counter
f
= f
= f
osc
osc
/ N
/ N
vsync
f
hsync
,Where f
f
f
N
N
¨V/H SYNC Presenc e Chec k
vsync
hsync
osc
vsync
hsync
51/256
vsync
58
hsync
: VSYNC frequency
: HSYNC frequency
: oscillator clock with 14.31818 MHz
: counted number of VSYNC
: counted number of HSYNC
in the following formulas:
Rev 0.9
This function checks the input VSYNC, where Vpre flag is set when VSYNC is over 40Hz or cleared when
VSYNC is under 10Hz ,and the input HSYNC, where Hpre flag is set when HSYNC is over 10Khz or cleared
when HSYNC is under 10Hz.
¨V/H Polari ty Detect
This function detects the input VSYNC/HSYNC high and low pulse duty cycle. If the high pulse duration is
longer than that of the low pulse, the negative polarity is asserted; otherwise, positive polarity is asserted.
¨Comp os it e SYNC separatio n/ins erti on
MTL005 continuously monitors the input HSYNC. If the input VSYNC can be extracted from it, a CVpre flag is
set. MTL005 can insert HSYNC pulse during Composite VSYNC’s active time and the insertion frequency
can adapt to original HSYNC’s.
3.1.8Aut o Tune
Auto Tune function consists of Auto Position automatically centering the screen and Auto Calibration
containing Phase Calibration, Histogram, Min/Max Value, and Pixel Grab described as below. W ith this auto
adjustment support it is possible to measure the correct phase, frequency, gain, and offset of ADC. The
horizontal and vertical back porches of input image and the horizontal and vertical active reg ions can also be
measured. Firmware can adjust input image registers automatically by reading Auto Tune’s registers in single
or burst mode.
¨Auto Position
MTL005 provides Horizontal/Vertical back porch and active region values. Users can use these values to set
¨Phase Calibrati on
MTL005 provides Auto Calibration registers to measure the quality of current ADC’s phase and frequency.
The biggest Auto Calibration registers value means the right value of ADC’
has two kinds of algorithms to calculate Auto Calibration’s value. One is traditional Difference method,
another is MYSON’s proprietary method. It is suggested to use the latter one for better performance
¨Histogr am
Histogram means the total number of input pixels below/above one threshold value, for individual R, G, B
information to measure ADC’s noise margin, adjust its offset and gain, or even aid in the mode detection.
¨Mi n /Max Value
Min/Max value means minimum or maximum pixel value within the specified input act ive image region for
each RGB channel. This information is usually used to adjust ADC’s offset and gain.
¨Pixel Grab
Pixel Grab means users can grab a single input pixel at any one point. The position of the point can be
programmed by users. This is another traditional method to measure ADC’
Revision 0.9 - 7 - 2000/12/29
Page 8
MYSON
: Image will be scaled up based on scaling factor. Every point of output image comes
MTL005
TECHNOLOGY
Rev 0.9
3.2 Video Proc ess o r
General Descrip t io n
MTL005 possesses a powerful and programmable video processor b y providing the following functions:
Scaling Up/Down, Gain Control, Brightness Control, Gamma Correction, Dithering Control, and Flip & Mirror.
The block diagram of Video Processor is as follows:
FLIP/MIRROR
Scaling Factor
SCALING
GAIN
BRIGHTNESS
Transition Table
Gain Factor
Brightness Factor
GAMMA
DITHERING
Fig. 3.2.1 Video Processor Block Diagram
3.2.1Scaling
MTL005 provides scaling function up ranging from 1 to 32, and for both horizontal and vertical processing.
For scaling up, both horizontal and vertical processing, MTL005 provides four methods:
¨Pass Mod e: Image will be passed through without considering any scaling factor.
¨Dupl ic ate Mode
from the input. In this method, Output image will have the good contrast but may be non-uniformed.
¨Bi linear Mode: Image will be scaled up based on scaling factor. Every point of output image data will be
filtered by bilinear filter. In this method, output image will have the good scaling quality but may be
blurred.
¨Interpo l atio n Table Mode: Image will be scaled up based on scaling factor. Every point of output image
data will be filtered by user defined filter.
Gamma Table
Dithering Table
Revision 0.9 - 8 - 2000/12/29
Page 9
MYSON
white balance is possible by using this function.
true color (8 bits per color) or high color (6 bits per color) display.
Dithering coefficient will change by time.
MTL005
TECHNOLOGY
Input pixelAB
Interpolation pixel
SC
64
SC’
[a]
63
32
[b]
O
Rev 0.9
[a]: duplicate filter
[b]: bilinear filter
[c]: user defined filter
[c]
3263
Fig. 3.2.2 Scaling filter
3.2.2Gain/Brightness Control
MTL005 provides Gain and Brightness control to adjust the contrast and brightness of output color by
programming gain and brightness coefficients. This adjustment is applied to RGB colors individually. Auto-
3.2.3Gamma Correcti on
Gamma Correction is used to compensate the non-linearity of LCD display panel. MTL005 contains a 8-bit
Gamma table to fix this phenomenon.
3.2.4Color Dithering
MTL005 supports
In the latter case, users can turn on dithering function to avoid artificial contour due to truncation. For
dithering, it supports two methods:
¨Static dithering: Dithering coefficient is fixed.
¨Temporal dithering :
O = [(64-SC’)*A + SC’*B]/64
SC
Revision 0.9 - 9 - 2000/12/29
Page 10
MYSON
output frame rate m ust be
equal to input frame rate and output display time must be equal to input display time, because of no frame
3.3.1 Display Timing modes
is equal to internal display clock.
MTL005
TECHNOLOGY
Rev 0.9
3.3 Outpu t Process or
General Descrip t io n
Output processor provides the interface for both LCD panel and OSD controller.
buffer.
3.3.1Displ ay Timing Generation
Output frame rate is equal to input frame and external frame buffer is not needed.
Input Frame
X
X: lock position
Output
Fig.
3.3.2OSD Overlay
MTL005 allows the integration of overlay data with the scaled output pixel stream. It provides a fully
compatible OSD interface. Individual OSD clock, OSD HSYNC and OSD VSYNC are sent to external OSD
device. MTL005 receives OSD Enable, OSD Red, OSD Green, and OSD Blue from external OSD device.
3.3.3RGB Outp u t Format
MTL005 output interface consists of two pixel ports, each containing Red, Green, and Blue color information
with a resolution of 6/8 bits per color. These two ports are mapped to PORT1 and PORT2.
The control signals for output port are display horizontal sync signal (DHSYNC), display vertical sync signal
(DVSYNC) and display data enable signal (DDEN).
All the signals mentioned above are synchronous to the output clock. The output timing relative to the active
edge of the output clock is programmable.
There are two RGB output formats:
¨Sing l e Pixel Mode
It is designed to support TFT panels with single pixel input. Only PORT1 is active. The f requency of DCLK1
¨Dual Pixel Mod e
It is designed to support TFT panels with dual pixel input. PORT1 and PORT2 are use d. The first pixel is at
PORT1, and the second at PORT2.
Revision 0.9 - 10 - 2000/12/29
Page 11
MYSON
R1OUT/G1OUT
R1OUT/G1OUT
R2OUT/G2OUT
SINGLE PORT
3.3.2 Display Data Timing
MTL005
TECHNOLOGY
DCLK
DDEN
000rgb0rgb1rgb2rgb3rgb4
000rgb0rgb2rgb4rgb6rgb8
DUA L PORT
/B1OUT
DCLK
DCLK1
DCLK2
DDEN
/B1OUT
Rev 0.9
/B2OUT
Fig.
000rgb1rgb3rgb5rgb7rgb9
Revision 0.9 - 11 - 2000/12/29
Page 12
MYSON
means a LOW to HIGH transition of SDA when SCK is high. And data of SDA only can change during SCK is
The I2C interface supports Random Write, Sequential Write, Current Address Read, Random Read and
For Random Write operation, it contains the slave address with R/W bit set to 0 and the word address which
is comprised of eight bits and provides to access any one of 256 bytes in the selected memory range. Upon
MTL005
TECHNOLOGY
Rev 0.9
3.4 Host Inter fac e
General Descrip t io n
The main function of Host Interface is to provide the interface between MTL005 and externa l CPU by 2-wire
I2C Bus. It can generate all the I/O decoded control timing to control all the registers in MTL005.
3.4.1I2C Serial Bu s
The I2C serial interface use 2 wires, SCK (clock) and SDA(data I/O). The SCK is used as the sampling clock
and SDA is a bi-directional signal for data. The communication must be started with a valid START condition,
concluded with STOP condition and acknowledged with ACK condition by receiver.
The I2C bus device address of MTL005 is 0111010x.
SCK, serial bus clock.
SDA, bi-directional serial bus data.
The START condition means a HIGH to LOW transition of SDA when SCK is high, the STOP condition
low. Ref. Fig.3.5.1.
SDA
SCK
START
Fig. 3.4.1 START, STOP ,and DATA definition
Sequential Read operations.
¨Random Write
receipt of the word address, MTL005 responds with an Acknowledge, waits the data bits again responding an
Acknowledge, and then the master generates a stop condition. Ref. Fig.3.5.2.
DATA
CHANGE
DATA
CHANGE
STOP
Revision 0.9 - 12 - 2000/12/29
Page 13
MYSON
3.4.2 Random Write
Current Add ress Read
access address is n, the read data should access from address n+1. Upon receipt of the slave address with
R/W bit set to 1, MTL005 generates an Acknowledge and transmits eight bits data. After receiving data the
MTL005
TECHNOLOGY
S
T
A
R
T
SDA
¨Sequential Writ e
The initial step of Sequential Write is the same as Random Write, after the receipt of each word data,
MTL005 will respond with an Acknowledge and then internal address counter will increment by one for next
data write. If the master would stop writing data, it generates stop condition. Ref. Fig. 3.5.3.
S
T
A
SLAVE
R
ADDRESS
T
SLAVE
ADDRESS
ADDRESS
A
W
C
K
Fig.
WORD
WORD
ADDRESS
DATA n
A
C
K
DATA n+1
DATA
A
C
K
DATA n+x
Rev 0.9
S
T
O
P
S
T
O
P
SDA
A
W
C
K
Fig. 3.4.3 Sequential Write
¨
MTL005 contains an address counter which maintains the last access address incremented by one. If the last
master will generate a stop condition instead of an Acknowledge. Ref. Fig. 3.5.4.
S
T
A
R
ADDRESS
T
SDA
SLAVE
A
C
K
R
A
C
K
DATA
A
C
K
A
C
K
S
T
O
P
A
C
K
Fig. 3.5.4 Current Address Read
Revision 0.9 - 13 - 2000/12/29
Page 14
MYSON
0, and word address for read.
After responding an Acknowledge, MTL005 then transmits eight bits data right after the master generating
the start condition and slave address with R/W bit set to 1. After completion of receiving data, the master will
MTL005
TECHNOLOGY
¨Rando m Read
The operation of Random Read allows accessing any address. Before reading data operation, it must issue a
“dummy write” operation—a start condition, a slave address with R/W bit set to
generate a stop condition instead of an Acknowledge. Ref. Fig 3.5.5.
S
T
A
R
T
A
C
K
SLAVE
ADDRESS
DATA
A
R
C
K
SDA
S
T
A
R
T
SLAVE
ADDRESS
WORD
ADDRESS
A
W
C
K
Fig. 3.4.5 Random Read
Rev 0.9
S
T
O
P
¨Sequent i al Read
The initial step can be as either Current Address Read or Random Read. The first read data is transmitted
the same manner as other read methods. However, the master generates an Acknowledge indicating that it
requires more data to read. MTL005 continues to output data for each Acknowledge received. The output
data is sequential and the internal address counter increments by one for next read data. Ref. Fig. 3.5.6.
S
T
A
SLAVE
R
ADDRESS
T
SDA
A
R
C
K
Fig. 3.4.6 Sequential Read
3.4.2Interrupt
MTL005 supports one interrupt output signal (IRQ) which can be programmed to provide SYNC related or
function status related interrupts to the system. Upon receiving the interrupt request, Firmware needs to first
check the interrupt event by reading the Interrupt Flag Control registers (Reg. E8h and E9h) to decide what
events are happening. After the operation is finished, Firmware needs to clear interrupt status by writing the
same registers Reg. E8h and E9h. Furthermore, by using the Interrupt Flag Enable registers (Reg. EAh and
EBh), each interrupt event can be masked.
DATA n
A
C
K
DATA n+1
DATA n+x
A
C
K
S
T
O
P
3.4.3Update Regist er Contents
I/O write operation to some consecutive register set can have the “Double Buffer” effect by setting the
Reg. C1h/D4. Written data is first stored in an intermediate bank of latches and then transf erred to the active
register set by setting Reg. C1h/D1-0.
Revision 0.9 - 14 - 2000/12/29
Page 15
MYSON
XI and XO by an external quartz crystal at 14.31818 MHz. First one is the same as to the oscillator clock at
: the desired display clock
MTL005
TECHNOLOGY
Rev 0.9
3.5 On-Chip PLL
General Descrip t io n
The MTL005 needs two clock sources to drive synchronous circuits on chip. These clocks are generated
from the internal Phase Lock Loop (PLL) circuits with reference to the oscillator clock which is applied to pin
frequency (14.31818 MHz) to detect and measure graphic vertical and horizontal SYNC Frequency, Polarity
as well as Presence. The second is the display clock for display controller on chip and output signals to LCD
panel.
3.5.1Reference Cloc k
It is the counting basis of counter values in SYNC Processor such as VS and HS period count registers; that
is, the read back values from these registers must multiply the period of this clock to estimate VS and HS
frequency. Incorporating with polarity and frequency information of VS and HS, it can show the input graphic
image mode and pixel clock frequency.
3.5.2Display Clock
This clock is the synchronous clock for LCD panel. According to the LCD panel resolution of applications, the
display clock range is from 50 MHz to 200 MHz by means of choosing a set of appropriate values for M, N as
well as R. The formula to calculate desired frequency of display clock is as f ollows:
f
= f
mclk
5(M+2)/(N+2)51/R
osc
Where f
mclk
f
osc
M: post-divider ratio
N: pre-divider ratio
R: optional divider ratio
: oscillator clock with 14.31818 MHz
Revision 0.9 - 15 - 2000/12/29
Page 16
MYSON
Input Delay Control 2
AUTO CALIBRATION REGISTERS
Auto Calibration RED Value - Byte 0
Auto Calibration RED Value - Byte 1
Auto Calibration RED Value - Byte 2
Auto Calibration RED Value - Byte 3
Auto Calibration GREEN Value - Byte 0
Auto Calibration GREEN Value - Byte 1
Auto Calibration GREEN Value - Byte 2
Auto Calibration GREEN Value - Byte 3
MTL005
TECHNOLOGY
Rev 0.9
4. REGISTER DESCRIPTION
INPUT CONTROL REGISTERS
AddressMod eRegist ersReset value
00hR/W Input Image Vertical Active Line Start - Low00h
01hR/W Input Image Vertical Active Line Start - High00h
02hR/W Input Image Vertical Active Lines - Low00h
03hR/W Input Image Vertical Active Lines - High00h
04hR/W Input Image Horizontal Active Pixel Start - Low00h
05hR/W Input Image Horizontal Active Pixel Start - High00h
06hR/W Input Image Horizontal Active Pixels - Low00h
07hR/W Input Image Horizontal Active Pixels - High00h
10hR/W Input Image Control Register 000h
11hR/W Input Image Control Register 100h
12hR/W Input Image Control Register 200h
13hR/W Input Image Control Register 300h
14hR/W Input Image Control Register 400h
15hR/W Input Image Control Register 500h
16hR/W Input Image Control Register 600h
2ChR/W Input Image Vertical Lock Position - Low00h
2DhR/W Input Image Vertical Lock Position - High00h
2EhR/W Input Image Horizontal Lock Position - Low00h
2FhR/W Input Image Horizontal Lock Position - High00h
AddressMod eRegist ersReset value
30hR/W Auto Calibration Control 080h
31hR/W Auto Calibration Control 100h
34hRO
35hRO
36hRO
37hRO
38hRO
39hRO
3AhRO
3BhRO
3ChRO Auto Calibration BLUE Value - Byte 0 3DhRO Auto Calibration BLUE Value - Byte 1 3EhRO Auto Calibration BLUE Value - Byte 2 3FhRO Auto Calibration BLUE Value - Byte 3 -
-
-
-
-
-
-
-
-
40hR/W Pixel Grab V Reference Position – Low00h
Revision 0.9 - 16 - 2000/12/29
Page 17
MYSON
Input VS Period Count by REFCLK - Low
Input VS Period Count by REFCLK - High
Input V Back Porch Count by Input HS - Low
Input V Back Porch Count by Input HS - High
Input V Total Lines Count by Input HS - Low
Input V Total Lines Count by Input HS - High
Input HS Period Count by REFCLK - Low
Input HS Period Count by REFCLK - High
DISPLAY CONTROL REGISTERS
MTL005
TECHNOLOGY
41hR/W Pixel Grab V Reference Position – High00h
42hR/W Pixel Grab H Reference Position – Low00h
43hR/W Pixel Grab H Reference Position – High00h
44hR/W Histogram Reference Color - RED00h
45hR/W Histogram Reference Color - GREEN00h
46hR/W Histogram Reference Color - BLUE00h
SYNC PROCESSOR REGISTERS
AddressMod eRegist ersReset value
48hR/W SYNC Processor Control00h
49hR/W Auto Position Control00h
4AhR/W Auto Position Reference Color - RED00h
4BhR/W Auto Position Reference Color - GREEN00h
4ChR/W Auto Position Reference Color - BLUE00h
4EhR/W Clamp Pulse Control 000h
4FhR/W Clamp Pulse Control 100h
50hRO
51hRO
52hRO
53hRO
54hRO Input V Active Lines Count by Input HS - Low-
55hRO Input V Active Lines Count by Input HS - High-
56hRO
57hRO
58hRO
59hRO
5AhRO Input H Back Porch Count by Input Pixel Clock - Low5BhRO Input H Back Porch Count by Input Pixel Clock - High5ChRO Input H Active Pixels Cou nt by Input Pixel Clock - Low5DhROInput H Active Pixels Count by Input Pixel Clock - High5EhRO Input H Total Pixels Count by Input Pixel Clock - Low5FhROInput H Total Pixels Count by Input Pixel Clock - High-
Rev 0.9
-
-
-
-
-
-
-
-
AddressMod eRegist ersReset value
60hR/W Display Vertical Total - Low00h
61hR/W Display Vertical Total - High00h
62hR/W Display Vertical SYNC End- Low00h
63hR/W Display Vertical SYNC End - High00h
64hR/W Display Vertical Active Start - Low00h
65hR/W Display Vertical Active Start - High00h
66hR/W Display Vertical Active End - Low00h
67hR/W Display Vertical Active End - High00h
70hR/W Display Horizontal Total - Low00h
71hR/W Display Horizontal Total - High00h
72hR/W Display Horizontal SYNC End - Low00h
73hR/W Display Horizontal SYNC End - High00h
74hR/W Display Horizontal Active Start - Low00h
75hR/W Display Horizontal Active Start - High00h
Revision 0.9 - 17 - 2000/12/29
Page 18
MYSON
Output Clocks Duty Cycle Adjustment
MTL005
TECHNOLOGY
76hR/W Display Horizontal Active End - Low00h
77hR/W Display Horizontal Active End - High00h
7FhR/W NFB Timing Control60h
88hR/W Output Image Control Register 000h
89hR/W Output Image Control Register 100h
8AhR/W Output Image Control Register 200h
90hR/W Color Gain Control - RED80h
91hR/W Color Gain Control - GREEN80h
92hR/W Color Gain Control - BLUE80h
93hR/W Brightn ess Control - RED00h
94hR/W Brightness Control - GREEN00h
95hR/W Brightn ess Control - BLUE00h
9FhR/W Gamma Table Data PortA0hR/W OSD Control Register 008h
A1hR/W OSD Control Register 100h
A2hR/W OSD Control Register 200h
A4hR/W Output Invert Control00h
A5hR/W Output Tri-State Control00h
A6hR/W Output Clocks Delay Adjustment00h
A7hR/W
A9hR/W Output Miscellaneous Control00h
AAhR/W Output Vertical Active Line Number - LowFFh
ABhR/W Output Vertical Active Line Number - High02h
AChRO Output Horizontal Total Pixel Number – LowADhRO Output Horizontal Total Pixel Number – High-
AEhRO Output Horizontal Total Residue Number – Low AFhRO Output Horizontal Total Residue Number - High-
Rev 0.9
00h
ZOOM CONTROL REGISTERS
AddressMod eRegist ersReset value
B0hR/W Zoom Control Register 000h
B1hR/W Zoom Control Register 100h
B4hR/W Zoom Vertical Scale Ratio - Low00h
B5hR/W Zoom Vertical Scale Ratio - High00h
B6hR/W Zoom Horizontal Scale Ratio - Low00h
B7hR/W Zoom Horizontal Scale Ratio – High00h
Auto Calib ration RED Value - Byte 0 (Addr ess 34h) (RO)
It states the byte 0 of the number of Phase Calibration RED value in one frame or
the byte 0 of the number of Histogram Red value in one frame or the Pixel Grab RED
value in one frame of Non_interlace mode or FIRST field of Interlace mode.
D7-0CALVAL_R[7:0]
It states the byte 1 of the number of Phase Calibration RED value in one frame or
the byte 1 of the number of Histogram Red value in one frame or the Pixel Grab GREEN
value in one frame of Non_interlace mode or FIRST field of Interlace mode.
Revision 0.9 - 25 - 2000/12/29
Page 26
MYSON
MTL005
TECHNOLOGY
D7-0CALVAL_R[15:8]
Aut o Calib r ation RED Value - Byte 2 (Addr ess 36h) (RO)
It states the byte 2 of the number of Phase Calibration RED value in one frame or
the byte 2 of the number of Histogram Red value in one frame or the Pixel Grab BLUE
value in one frame of Non_interlace mode or FIRST field of Interlace mode.
D7-0CALVAL_R[23:16]
Aut o Calib r ation RED Value - Byte 3 (Addr ess 37h) (RO)
It states the byte 3 of the number of Phase Calibration RED value in one frame.
D7-6Reserved
D5-0CALVAL_R[29:24]
Aut o Calib ration GREEN Value - Byt e 0 (Addr ess 38h) (RO)
It states the byte 0 of the number of Phase Calibration GREEN value in one frame
or the byte 0 of the number of Histogram GREEN value in one frame or
the Pixel Grab RED value in one frame of Non_interlace mode or SECOND
field of Interlace mode.
Rev 0.9
D7-0CALVAL_G[7:0]
Aut o Calib ration GREEN Value - Byt e 1 (Addr ess 39h) (RO)
It states the byte 1 of the number of Phase Calibration GREEN value in one frame
or the byte 1 of the number of Histogram GREEN value in one frame or
the Pixel Grab GREEN value in one frame of Non_interlace mode or SECOND
field of Interlace mode.
D7-0CALVAL_G[15:8]
Aut o Calib r ation GREEN Value - Byte 2 (Address 3Ah ) (RO)
It states the byte 2 of the number of Phase Calibration GREEN value in one frame
or the byte 2 of the number of Histogram GREEN value in one frame or
the Pixel Grab BLUE value in one frame of Non_interlace mode or SECOND
field of Interlace mode.
D7-0CALVAL_G[23:16]
Aut o Calib r ation GREEN Value - Byte 3 (Address 3Bh ) (RO)
It states the byte 3 of the number of Phase Calibration GREEN value in one frame.
D7-6Reserved
D5-0CALVAL_G[29:24]
Auto Calib r ati o n BL UE Value - Byte 0 (Address 3Ch) (RO)
It states the byte 0 of the number of Phase Calibration BLUE value in one frame or
Revision 0.9 - 26 - 2000/12/29
Page 27
MYSON
the byte 0 of the number of Histogram BLUE value in one frame or
the byte 1 of the number of Histogram BLUE value in one frame or
the byte 2 of the number of Histogram BLUE value in one frame or
It states the high byte of Vertical Reference Position in Pixel Grab Mode.
It states the high byte of Horizontal Reference Position in Pixel Grab Mode.
MTL005
TECHNOLOGY
the MIN/MAX RED value in one frame.
D7-0CALVAL_B[7:0]
Auto Calib r ati o n BL UE Value - Byte 1 (Address 3Dh) (RO)
It states the byte 1 of the number of Phase Calibration BLUE value in one frame or
the MIN/MAX GREEN value in one frame.
D7-0CALVAL_B[15:8]
Auto Calib r ati o n BL UE Value - Byte 2 (Address 3Eh) (RO)
It states the byte 2 of the number of Phase Calibration BLUE value in one frame or
the MIN/MAX BLUE value in one frame.
D7-0CALVAL_B[23:16]
Auto Calib r ati o n BL UE Value - Byte 3 (Address 3Fh) (RO)
Rev 0.9
It states the byte 3 of the number of Phase Calibration BLUE value in one frame.
D7-6Reserved
D5-0CALVAL_B[29:24]
Pixel Grab V Reference Posit ion - Low (Add ress 40h) (R/W)
It states the low byte of Vertical Reference Position in Pixel Grab Mode.
D7-0VGRAB_POS[7:0]
Pixel Grab V Reference Posit i on - High (Address 41h) (R/W)
D7-3Reserved
D2-0VGRAB_POS[10:8]
Pixel Grab H Reference Posit i o n - Low (Add r ess 42h) (R/W)
It states the low byte of Horizontal Reference Position in Pixel Grab Mode.
D7-0HGRAB_POS[7:0]
Pixel Grab H Referenc e Position - High (Add ress 43h) (R/W)
D7-3Reserved
D2-0HGRAB_POS[10:8]
Revision 0.9 - 27 - 2000/12/29
Page 28
MYSON
RED (Address 44h) (R/W)
GREEN (Address 45h) (R/W)
BLUE (Add ress 46h) (R/W)
SYNC Process o r Con t r o l (Add r ess 48h) (R/W)
Auto Posit i o n Cont ro l (Addr ess 49h) (R/W)
Auto Position Ready Flag
MTL005
TECHNOLOGY
Histogr am Reference Colo r It states the Histogram Reference RED Color in Histogram Mode.
D7-0HIST_R[7:0]
Histogr am Reference Colo r It states the Histogram Reference GREEN Color in Histogram Mode.
D7-0HIST_G[7:0]
Histogr am Reference Colo r It states the Histogram Reference BLUE Color in Histogram Mode.
D7-0HIST_B[7:0]
D7-2Reserved
Rev 0.9
D1-0SYNC Source
00: from H/V SYNC
01: from CVSYNC (Composite SYNC)
1x: Auto switch to CVSYNC when CVSYNC is present, but VSYNC not.
D7-2Reserved
D1Auto Position Burst Mode Enable
0: Single Mode
1: Burst Mode
D0Auto Position Enable (W)
0: Disable
1: Enable
(R)
0: Ready
1: Not Ready
Auto Posi t i o n Reference Color - RED (Address 4Ah) (R/W)
It defines the red component color for selecting between black and non-black pixels.
D7-0REF_COLOR_RED[7:0]
Auto Pos i t i o n Reference Colo r - GREEN (Addr ess 4Bh) (R/W)
It defines the green component color for selecting between black and non-black pixels.
D7-0REF_COLOR_GREEN[7:0]
Auto Posi t i o n Reference Color - BLUE (Address 4Ch) (R/W)
Revision 0.9 - 28 - 2000/12/29
Page 29
MYSON
0 (Address 4Eh) (R/W)
1 (Address 4Fh) (R/W)
To Adjust Clamp Pulse Width by Input DCLK.
It states the high byte of the number
It states the high byte of the number of lines between the end of VSYNC and the acti ve image
MTL005
TECHNOLOGY
It defines the blue component color for selecting between black and non-black pixels.
D7-0REF_COLOR_BLUE[7:0]
Clamp Pulse Contro l
D7Clamp Pulse Mask
D6Clamp Pulse Start Reference Edge
D5Clamp Pulse output Polarity
D4-0 Clamp Pulse Start
Clamp Pulse Contro l
0: Normal
1: Mask out Clamp Pulse
0: From Input HSYNC trailing edge.
1: From Input HSYNC leading edge.
0: Active High
1: Active Low
Start of Clamp Pulse after the selected edge of Input HSYNC by Input DCLK.
Rev 0.9
D7Clock Source for Clamp Pulse Generation
D6-5Reserved
D4-0 Clamp Pulse Width
Input VS Period Cou n t by REFCLK - Low (Add r ess 50h) (RO)
It states the low byte of the number of REFCLK of the Vertical Sync period measurement.
D7-0VSPRD[7:0]
Input VS Period Cou n t by REFCLK - High (Add r es s 51h) (RO)
D7-4Reserved
D3-0VSPRD[11:8]
Input V Back Porch Coun t b y Inpu t HS - Low (Add r ess 52h) (RO)
0: from Input clock, IDCLK
1: from OSC clock, REFCLK
of REFCLK of the Vertical Sync period measurement.
It states the low byte of the number of lines between the end of VSYNC and the active image.
D7-0VBPW[7:0]
Input V Back Porch Coun t b y Inpu t HS - High (Addr es s 53h) (RO)
Revision 0.9 - 29 - 2000/12/29
Page 30
MYSON
Input V Acti ve Image Cou n t by Inpu t HS - Low (Add r ess 54h) (RO)
Input V Acti ve Image Cou n t by Inpu t HS - High (Add r es s 55h) (RO)
It states the high byte of the number of
Input H Back Porch Coun t by Input Pixel Clock -Low (Addr ess 5Ah) (RO)
It states the high byte of the number of pixels between the end of HSYNC and the active image.
MTL005
TECHNOLOGY
D7-3Reserved
D2-0VBPW[10:8]
It states the low byte of the number of the active image lines.
D7-0VACTW[7:0]
It states the high byte of the number of the active image lines
D7-3Reserved
D2-0VACTW[10:8]
Input V Total Image Cou n t by Inpu t HS - Low (Address 56h) (RO)
It states the low byte of the number of the total image lines.
Rev 0.9
D7-0VTOTW[7:0]
Input V Total Image Cou n t b y Inp u t HS - High (Ad dress 57h) (RO)
It states the high byte of the number of the total image lines.
D7-3Reserved
D2-0VTOTW[10:8]
Input HS Period Cou n t by REFCLK - Low (Address 58h) (RO)
It states the low byte of the number of REFCLKs of the Horizontal Sync period measurement.
D7-0HSPRD[7:0]
Input HS Period Count by REFCLK - High (Add ress 59h) (RO)
REFCLKs of the Horizontal Sync period measurement.
D7-5Reserved
D4-0HSPRD[12:8]
It states the low byte of the number of pixels between the end of HSYNC and the active image.
D7-0HBPW[7:0]
Input H Back Porc h Count by Input Pixel Clock -High (Address 5Bh) (RO)
Revision 0.9 - 30 - 2000/12/29
Page 31
MYSON
It states the high byte of the number of the Horizontal active image pixels.
It states the high byte of the number of the Horizontal total image pixels.
It defines the high byte of the number of lines per display frame.
MTL005
TECHNOLOGY
D7-3Reserved
D2-0HBPW[10:8]
Input H Activ e Image Count b y Input Pixel Clock -Low(Address 5Ch) (RO)
It states the low byte of the number of the Horizontal active image pixels.
D7-0HACTW[7:0]
Input H Activ e Image Count b y Input Pixel Clock -High(Ad d r ess 5Dh)(RO)
D7-3Reserved
D2-0HACTW[10:8]
Input H Total Image Count b y Inpu t Pixel Cloc k- Low (Address 5Eh) (RO)
It states the low byte of the number of the Horizontal total image pixels.
Rev 0.9
D7-0HTOTW[7:0]
Input H Total Image Count b y Inpu t Pixel Cloc k- High (Add ress 5Fh) (RO)
D7-3Reserved
D2-0HTOTW[10:8]
Display Verti c al Total - Low (Addres s 60h) (R/W)
It defines the low byte of the number of lines per display frame.
D7-0DV_TOTAL[7:0]
Display Vertical Total - High (Address 61h) (R/W)
D7-3Reserved
D2-0DV_TOTAL[10:8]
Display Verti c al SYNC End - Low (Addr es s 62h) (R/W)
It defines the low byte of Vertical SYNC end position in lines.
D7-0DV_SYNC_END[7:0]
Display Vertic al SYNC End - High (Ad dress 63h) (R/W)
It defines the high byte of Vertical SYNC end position in lines.
Revision 0.9 - 31 - 2000/12/29
Page 32
MYSON
Disp lay Vertical Act iv e Start - Low
It defines the low byte of
Display Verti c al Act iv e Start - High
It defines the high byte of
Disp lay Vertical Acti v e End - Low
It defines the low byte of
Display Verti c al Act iv e End - High (Ad dress 67h) (R/W)
Disp lay Horizon t al Total - Low (Add r es s 70h) (R/W)
It defines the low byte of the number of display clock cycles per display line.
D7-0DH_TOTAL[7:0]
Display Horizont al Total - High
It defines the high byte of the number of display clock cycles per display line.
D7-3Reserved
D2-0DH_TOTAL[10:8]
Vertical Active region end position in lines.
Vertical Active region end position in lines.
Display Horizo nt al SYNC End - Low (Ad dress 72h) (R/W)
It defines the low byte of Horizontal SYNC end position in display clock cycles.
D7-0DH_SYNC_END[7:0]
Display Hori zo n t al SYNC End - High
Revision 0.9 - 32 - 2000/12/29
Page 33
MYSON
Disp lay Horizont al Act iv e Start - Low
It defines the low byte of Horizontal Active region start position in display clock cycles.
Disp lay Horizon t al Acti v e Start - High (Add r es s 75h) (R/W)
It defines the high byte of
Disp lay Horizont al Acti ve End - Low
It defines the low byte of Horizontal Active region end position in display clock cycles.
Disp lay Horizon t al Acti v e End - High (Address 77h) (R/W)
It defines the high byte of
NFB Synchronization mode
110: Early mode. Output HSYNC trimmed immediately and VDE issued immediately
(Add ress 88h) (R/W)
MTL005
TECHNOLOGY
It defines the high byte of Horizontal SYNC end position in display clock cycles.
D7-3Reserved
D2-0DH_SYNC_END[10:8]
Note: Display Horizontal SYNC Start is always equal 0.
(Add r es s 74h) (R/W)
D7-0DH_ACT_START[7:0]
D7-3Reserved
D2-0DH_ACT_START[10:8]
Horizontal Active region start position in display clock cycles.
Rev 0.9
(Add r es s 76h) (R/W)
D7-0DH_ACT_END[7:0]
D7-3Reserved
D2-0DH_ACT_END[10:8]
NFB Timing Contr ol (Addr ess 7Fh)
It defines the NFB timing setting and high byte of NFB Horizontal Counter load value.
D7Free Running mode Select
0: Normal
1: Free Running
D6-4
000: Delay mode. Output HSYNC trimmed in output VSYNC and VDE issued on next
HSYNC when Lock event occurs.
010: Immediate mode. Output HSYNC trimmed immediately and VDE issued o n next
HSYNC when Lock event occurs.
Horizontal Active region end position in display clock c ycles.
when Lock event occurs.
D3-0Reserved
Output Image Contro l Register 0
Revision 0.9 - 33 - 2000/12/29
Page 34
MYSON
(Add ress 89h) (R/W)
(Add r es s 8Ah ) (R/W)
MTL005
TECHNOLOGY
D7-5Reserved
D4OUTPUT port MSB / LSB change
0: No Exchange
1: Exchange
D3Reserved
D2Output Pixel 18 bit RGB Mode Select