•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 MTL002 Flat Panel Display (FPD) Controller is an input format converter for TFT-LCD Monitor or LCD
TV application which accepts 15-pin D-sub RGB graphic signals (through ADC), YUV sign als from digital
video decoder or digital RGB graphic signals from PanelLink TMDS receiver. It includes a RGB/YUV input
processor, video scaling up processor, OSD input interface and output display processor in 208-pin PQFP.
Revision 0.95 - 1 - 2000/06/14
Page 2
MYSON
video
RGB
8-bit MCU
MTV130
OSD
Decoder
S-Video
Generator
MTL002
TECHNOLOGY
BL OCK DIAGRAM
Digital
PC
YUV
Input
RGB
Input
Auto
Calibration
YUV
to
RGB
Mode
Detect
Zoom
Buffer
Host
Interface
To I2C Bus
Scale
Up
Gain
Control
Dithering
Gamma
Correct
(Rev. 0.95)
To external OSD
OSD
&
Output
MUX
Display
Timing
RGB
output
APPLICA TIONS
LVDS/PanelLink
TMDS Receiver
D-sub RGB
graphic signals
Composite/
ADC1
ADC2
Digital
Video
MTL002
FPD Monitor
Controller
MTV212
TFT-LCD
Flat Panel
This datasheet contains new product information. Myson Technology reserves the rights to modify the product specification without
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.
2. PIN DESCRIPTION
ADC1 Inpu t Inter f ac e (RGB or TMDS Input Data)
NameTypePin# Description
IPCLK1I142 Input pixel clock 1
VSYNC1I141Input Vertical s ync 1
HSYNC1/CS1I145 Input Horizontal or Composite sync 1
R1IN[7:0]I120-124,
126,128,
132
G1IN[7:0]I133-140 Green channel or TMDS input data (Single/Dual ADC)
B1IN[7:0]I94-99,
110-111
RAWHS/SOGI 143
TDIEI108 TMDS digital input enable
RGBSELO130 Input select. 1:RGB input, 0:YUV input
TMDSSELO129 TMDS input select, active high
CLAMPO125 Clamp pulse output for ADC
Red channel or TMDS input data (Single/Dual ADC)
Blue channel or TMDS input data (Single/Dual ADC)
ADC2 Input Int er f ac e (YUV or RGB or TMDS Inpu t Data)
NameTypePin# Description
IPCLK2I148 Input pixel clock 2
VSYNC2I150Input Vertical s ync 2
HSYNC2/CS2I149 Input Horizontal or Composite sync 2
R2IN[7:0]/YIN[7:0]I112-119 Red or Y channel or TMDS input data (Single/Dual ADC)
G2IN[7:0]I165-171,
177
B2IN[7:0]/UVIN[7:0]I85-90,
92-93
VPHREFI144 Input Video Horizontal reference signal
VPCREFI147 Input Video clock enable
VPODDI146 Input Video ODD/EVEN field signal
Green channel or TMDS input data (Single/Dual ADC)
Blue or UV channel or TMDS input data (Single/Dual ADC)
Blue output even data , bit[7:2] for 6-bit panel
Red output odd data , bit[7:2] for 6-bit panel
Green output odd data , bit[7:2] for 6-bit panel
Page 5
MYSON
Vertical sync for external OSD
Horizontal sync for external OSD
OSD intensity input
OSD overlay enable
Oscillator frequency input
Oscillator frequency output
Bit 0: ADHS, Horizontal sync for A/D converter
MTL002
TECHNOLOGY
B2OUT[7:0]O83-80,
78-76,74
Blue output odd data , bit[7:2] for 6-bit panel
(Rev. 0.95)
Host Interface
NameTypePin# Descrip tio n
RST#I194 System reset input, active low.
AD[7:0]I/O50-51,
54-56,
66-64
HWR#I31 Host write strobe, active low
HRD#I34 Host read strobe, active low
ALEI49 Host address latch enable for 8-bit direct bus
HCS#I63 Host chip select
BUSSEL[1:0]I206,205 Bus mode selection. 0x: 3-wire bus, 10: I2C bus,
IRQO67 Interrupt request output
The address and data bus of 8-bit direct interface or
2-wire I2C / 3-wire series bus
Bit 2: SDAO, 3-wire serial bus data out
Bit 1: SDA, serial bus data / 3-wire serial bus data in
Bit 0: SCK, serial bus clock
11: 8-bit direct bus
OSD Interf ac e
NameTypePin# Description
OCLKO163 Clock for external OSD
OVSYNCO164
OHSYNCO162
OSDREDI14 OSD red input
OSDGRNI15 OSD green input
OSDBLUI17 OSD blue input
OSDINTI4
OSDENI18
Bit 1: ADVS, Vertical sync for A/D converter
Default: Input direction
NC- 1-3, 19,
22, 33,
53, 101,
103-107,
156-158,
193, 197,
207
No connection
3.3V Power and Grou n d
NamePin# Descrip tio n
DVDD 10, 16, 27, 35, 48, 72, 79, 100, 131, 172, 183 Digital power 3.3V
DVSS 13, 23, 32, 36, 45, 68, 75, 102, 127, 174, 188 Digital ground
PVDD 42, 62, 91, 151, 176, 195, 204 Pad power 3.3V
PVSS 5, 39, 52, 57, 84, 109, 161, 179, 199, 208 Pad ground
Revision 0.95- 5 -2000/06/14
Page 6
MYSON
MTL002
TECHNOLOGY
AVDD 152 Analog power 3.3V
AVSS 155 Analog ground
(Rev. 0.95)
Revision 0.95- 6 -2000/06/14
Page 7
MYSON
The Digital RGB input port works just in the same way as Sec 3.1.1 except that pin
With a flexible single or double pixel input interface, the supported format is up to true color, includi ng 18
In general, the synchronous HSYNC input for HSYNC1 or HSYNC2 generated by an ADC may have a very
In this mode, only one field is displayed at the time. First field and second field are toggling displayed. The
interpolating the neighboring lines. This mode has a generally good quality for still and moving pictures.
MTL002
TECHNOLOGY
(Rev. 0.95)
3. FUNCTIONAL DESCRIPTION
3.1 Input Process or
General Descrip t io n
The function of Input Interface is to provide the interface between MTL002 and external in put devices. It can
process non-interlaced and interlaced RGB graphic input, YUV video input, and digita l RGB in put compliant
with digital LVDS/PanelLink TMDS interface. It also contains the built-in YUV to RGB color space converter.
3.1.1RGB Input Format
The RGB input port works in two modes: Single Pixel mode (24 bits) and Double Pixel mode (48 bits). For
Single Pixel mode, either ports R/G/B1IN[7:0] or R/G/B2IN[7:0] selected by Reg.16h/D0 can be chosen to be
internally sampled. For the Double Pixel mode, besides ports R/G/B1IN[7:0], ports R/G/B2IN[7:0] are also
needed. The R/G/B1IN ports are sampled at the rising edge of the RGB input clock, and the R/G/B2IN ports
are sampled at the falling edge.
3.1.2TMDS Inpu t Form at
“Digital Input Enable
DIEN “ is needed.
bit/pixel or 24 bit/pixel in 1 or 2 pixels/clock mode.
3.1.3YUV Input Form at
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 ports R2IN[7:0] and B2IN[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 formats supported
are YUV4:1:1 and YUV4:2:2 with CCIR601 standard.
3.1.4Inpu t HSYNC Path
In addition to the pins HSYNC1/2, MTL002 provides another pin RAWHS to support the Sync Processor.
narrow pulse width and a different polarity comparing to the original HSYNC provided by the source. The
RAWHS input provides the path of original HSYNC connection to MTL002, thus making Sync Processor in
MTL002 working properly.
3.1.5YUV to RGB Convert er
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-int erlace mod e
For the interlace input, MTL002 features several de-interlacing algorithms for processing interlaced video
data depending on the type of input images.
¨Togg le Mode
missing lines are calculated by duplicating the neighboring lines. This m ode gives good quality for moving
pictures.
¨Spatial Mode
In this mode, two fields are toggling displayed just like the Toggle mode. The m issing lines are calculated by
Revision 0.95- 7 -2000/06/14
Page 8
MYSON
inputs presence check, frequency counting, polarity detection and control. It contains
MTL002 can measure VSYNC/HSYNC frequency counted in proper clock and save the information in
input sample registers to aid in centering the screen automatically.
s phase and frequency.
s phase and frequency. MTL002
This advanced function helps Firmware to analyze ADC performance. Usually Firmware can use the
MTL002
TECHNOLOGY
(Rev. 0.95)
3.1.7Sync Processo r
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 which is treated as noise am ong V/H SYNC pulses.
¨V/H SYNC Frequency Cou n ter
register. Users can read the figure and calculate VSYNC/HSYNC frequency as following formulas:
f
= f
= f
osc
osc
/ N
/ N
vsync
f
hsync
,Where f
f
f
N
N
¨V/H SYNC Pres en ce Check
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
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.
the
¨V/H Polarity Detect
This function detects the input VSYNC/HSYNC 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.
¨Compos it e SYNC separatio n/ins erti on
MTL002 continuously monitors the input HSYNC. If the input VSYNC can be extracted from it, a CVpre flag is
set. MTL002 can insert HSYNC pulse during Composite VSYNC’s active time and the insertion frequency
can adapt to the original HSYNC’s.
3.1.8Auto Tune
Auto Tune function consists of Auto Position which automatically centering the screen an d A uto Calibration
which contains Phase Calibration, Histogram, Min/Max Value, and Pixel Grab that are described in the
following paragraphs. With such 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 regions can also be measured. Firmware can adjust input image registers
automatically by reading Auto Tune’s registers in single or burst mode.
¨Auto Position
MTL002 provides Horizontal/Vertical back porch and active region values. Users can use these values to set
¨Phase Calibration
MTL002 provides Auto Calibration registers to measure the quality of current ADC’
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. The latter one is recommended for a better performance.
¨Histogram
Histogram is the total number of input pixels below/above one threshold value for individual R, G, B colors.
information to measure ADC’s noise margin, adjust its offset and gain, or even aid in the mode detection.
¨Min /Max Value
Min/Max value is the minimum or maximum pixel value within the specified input active image region for each
RGB channel. This information is usually used to adjust ADC’s offset and gain.
Revision 0.95- 8 -2000/06/14
Page 9
MYSON
MTL002
TECHNOLOGY
¨Pixel Grab
Pixel Grab means user can grab a single input pixel at any one point. The position of the point can be
programmed by the user. This is another traditional method to measure ADC’s phase and frequency.
(Rev. 0.95)
Revision 0.95- 9 -2000/06/14
Page 10
MYSON
MTL002
TECHNOLOGY
(Rev. 0.95)
3.2 Video Proc ess o r
General Descrip t io n
MTL002 possesses a powerful and programmable video processor b y providing the following functions:
Scaling Up, Gain Control, Brightness Control, Gamma Correction, and Dithering Control.
The block diagram of Video Processor is as follows:
Fig. 3.2.1 Video Processor Block Diagram
SCALING
3.2.1Scaling
MTL002 provides scaling function ranging from 1 to 32 for up scaling, and for both horizo ntal and vertical
GAIN
BRIGHTNESS
Scaling Factor
Interpolation Table
Gain Factor
Brightness Factor
GAMMA
DITHERING
processing. For scaling up, both horizontal and vertical processing, MTL002 provides four methods:
¨Pass Mode: Image will be passed through without taking scaling factor into account.
¨Dupli cate Mode: Image will be scaled up based on the scaling factor. Every point of output image
comes from the input. In this method, the output image will have a good contrast but the picture could be
non-uniformed.
¨Bilin ear Mode: Image will be scaled up based on the scaling factor. Every point of output image data
will be filtered by bilinear filter. In this method, the output image will have a good scaling quality but the
picture could be blurred.
¨Interpol atio n Table Mode: Image will be scaled up based on the scaling factor. The user-defined filter
will filter every point of output image data. In this mode, every output point is calculated based on the 3
input points.
Gamma Table
Dithering Table
Input pixels:
I
k-1
Output pixels:
Revision 0.95- 10 -2000/06/14
A
Y
l-1
I
k
l
B
l
Y
l
I
k+1
C
l
Y
l+1
Page 11
MYSON
programming the gain and brightness coefficients. This adjustment is applied to RGB colors individually.
Gamma Correction is used to compensate the non-linearity of LCD display panel. MTL002 contains an 8-bit
true color (8 bits per color) or high color (6 bits per color) display.
Output processor provides the interface for both LCD panel and OSD controller. The output frame rate must
be equal to the input frame rate and output display time must be equal to input display time since there is no
MTL002
TECHNOLOGY
,where Yl=Al*I
3.2.2Gain/Bright ness Control
MTL002 provides Gain and Brightness control to adjust the contrast and brightness of output color by
Auto-white balance can be achieved by using this function.
3.2.3Gamma Correction
Gamma table to fix this phenomenon.
3.2.4Color Dithering
MTL002 supports
In the latter case, users can turn on dithering function to avoid artificial contour due to truncation. The
dithering function works in two modes:
¨Static dith ering: Dithering coefficient is f ixed.
¨Temporal dithering: Dithering coefficient is time dependent.
k-1+Bl*Ik+Cl*Ik+1
and A, B, C are the scaling factors from interpolation table
Fig. 3.2.2 Scaling filter
(Rev. 0.95)
3.3 Outpu t Process or
General Descrip t io n
frame buffer present.
Revision 0.95- 11 -2000/06/14
Page 12
MYSON
Because of no frame buffer, output displaying timing is locked by input timing and output frame rate is equal
to input frame rate. Users must program output timing and lock position to make sure that line buffer will not
overflow or underflow. MTL002 can automatically calculate Display Horizontal Total count to make the output
timing calculation easier. MTL002 also provides line buffer overflow/underflow status for calibrating lock
3.2.2 Display Timing modes
with a resolution of 6/8 bits per color. These two ports are PORT1 and PORT 2 respectively.
MTL002
TECHNOLOGY
3.3.1Display Timing Generation
position.
Input FrameOutput Frame
X
X: lock position
(Rev. 0.95)
Fig.
3.3.2OSD Overl ay
MTL002 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. MTL002 receives OSD Enable, OSD Red, OSD Green, OSD Blue, and OSD Intensity from external
OSD device.
3.3.3RGB Outpu t Form at
MTL002 output interface consists of two pixel ports, each containing Red, Green, and Blue color information
The control signals for the 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:
¨Singl e Pixel Mode
Is designed to support TFT panels with single pixel input. Only PORT1 is active. The frequency of DCLK is
equal to internal display clock.
¨Dual Pixel Mode
Is designed to support TFT panels with dual pixel input. PORT1 and PORT2 are used. The first pixel is at
PORT1, with the second at PORT2.
Revision 0.95- 12 -2000/06/14
Page 13
MYSON
R1OUT/G1OUT
R1OUT/G1OUT
R2OUT/G2OUT
SINGLE POR T
3.2.3 Display Data Timing
MTL002
TECHNOLOGY
DDCLK
DDEN
000rgb0 rgb1 rgb2 rgb3rgb4
000rgb0 rgb2 rgb4 rgb6rgb8
DUAL PORT
/B1OUT
DDCLK
DHCLK
DDEN
/B1OUT
(Rev. 0.95)
/B2OUT
Fig.
000rgb1 rgb3 rgb5 rgb7rgb9
3.5 Host Inter fac e
Revision 0.95- 13 -2000/06/14
Page 14
MYSON
means a LOW to HIGH transition of SDA when SCK is high. And data of SDA only changes when SCK is low.
C 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 that provides the access to any one of the 256 bytes in the selected memory range.
MTL002
TECHNOLOGY
General Descrip t io n
The main function of Host Interface is to provide the interface between MTL002 and externa l CPU by 2-wire
I2C Bus or 3-wire series Bus or 8-bit Direct Bus selected by the input pins BUSSEL[1:0]. It can generate all
the I/O decoded control timing to control all the registers in MTL002. The other function is Screen Write,
which allows users to clear frame buffer, and display output as well.
3.5.1I2C Serial Bus
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 MTL002 is 0111010x.
AD[0]SCK, serial bus clock.
AD[1]SDA, bi-directional serial bus data.
The START condition means a HIGH to LOW transition of SDA when SCK is high, the STOP condition
Ref. Fig.3.5.1.
(Rev. 0.95)
SDA
SCK
START
Fig. 3.5.1 START, STOP ,and DATA definition
2
The I
Sequential Read operations.
¨Random Write
Upon receipt of the word address, MTL002 responds with an Acknowledge and waits for the next eight bits of
data again, responding with an Acknowledge, and then the master generates a stop co ndition. Ref. Fig.3.5.2.
DATA
CHANGE
DATA
CHANGE
STOP
Revision 0.95- 14 -2000/06/14
Page 15
MYSON
3.5.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
bits data. After receiving data
S
MTL002
TECHNOLOGY
S
T
A
R
T
SDA
¨Sequential Write
The initial step of Sequential Write is the same as Random Write, after the receipt of each word data,
MTL002 will respond with an Acknowledge and then internal address counter will increment by one for next
data write. If the master stops writing data, it will generate stop condition. Ref. Fig. 3.5.3.
T
A
SLAVE
R
ADDRESS
T
SLAVE
ADDRESS
ADDRESS
A
W
C
K
Fig.
WORD
WORD
ADDRESS
DATA n
DATA
A
C
K
DATA n+1
(Rev. 0.95)
S
T
O
P
A
C
K
S
T
O
DATA n+x
P
SDA
A
W
C
K
Fig. 3.5.3 Sequential Write
¨
MTL002 contains an address counter which maintains the last access address incremented by one. If the last
R/W bit set to 1, MTL002 generates an Acknowledge and transmits the eight
the 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.95- 15 -2000/06/14
Page 16
MYSON
The operation of Random Read allows access to any address. Before the reading data operation, it must
the master issues the start condition, slave address and then the word
address it is to read. After the word address acknowledge, the master generating a start condition again and
slave address with R/W bit is set to 1. MTL002 then transmits the 8 bits of data. Upon the completion of
The Direct Bus use AD[7:0], HWR#, HRD#, ALE, HCS# as the interface with host. ALE is used to latch read
S
MTL002
TECHNOLOGY
¨Random Read
issue a “dummy write” operation —
receiving data, the master will generate a stop condition instead of an Acknowledge. Ref. Fig 3.5.5.
S
T
A
R
T
A
C
K
SLAVE
ADDRESS
A
R
C
K
SDA
T
A
R
T
SLAVE
ADDRESS
WORD
ADDRESS
A
W
C
K
Fig. 3.5.5 Random Read
(Rev. 0.95)
S
T
DATA
O
P
¨Sequenti al Read
The initial step can be as either Current Address Read or Random Read. The first read data is transmitted in
the same manner as for other read methods. However, the master generates an Acknowledge indicating it
requires more data to read. MTL002 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.5.6 Sequential Read
3.5.23-wire Serial Bus
The 3-wire serial interface use 3 wires, SCK (clock) and SDA(data I) and SDAO(data O). The SCK is used as
the sampling clock, SDA is an input signal for data, and SDAO is an output signal for data. T he h andshaking
protocol is the same as for the 2-wire I2C serial bus.
DATA n
A
C
K
DATA n+1
DATA n+x
A
C
K
S
T
O
P
AD[0]SCK, serial bus clock.
AD[1]SDA, serial bus data in.
AD[2]SDAO, serial bus data out.
3.5.38-bit Direct Bus
or write address from AD[7:0] and HRD#, HWR# to access data. Ref. Fig. 3.5.7.
AD[7:0]Address and data multiplex bus.
Revision 0.95- 16 -2000/06/14
Page 17
MYSON
Writing data to Reg. F4h/D2 when
ADVS/ADHS Output con tr ol pro cess
pin to output ADHS which is HSYNC signal decoded from VGA input Composite signal by the
Writing data to F4h/D0 when
HWR/HRD
MTL002
TECHNOLOGY
HRD#CPU re ad data strobe, Active Low.
HWR#CPU write data strobe, Active Low.
ALEALE =1 latch read or write address, ALE=0 represents I/O data.
HCS#Enable signal for CPU access, Active Low.
AD[7:0]
ALE
Fig. 3.5.7 Direct Bus Timing
3.5.4Interrupt
MTL002 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
firstly check the interrupt event by reading the Interrupt Flag Control registers (Reg. E8h and E9 h) 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.
DATAADDRESS
(Rev. 0.95)
3.5.5Bi-dir ecti o n al GPIO
MTL002 supports four General Purpose Input and Output (GPIO) pins GPIO[3:0] on chip. The GPIO[3:0] pins
are bi-directional GPIO pins. There are two functions for GPIO[1:0] pins. One is to set them as bi-directional
GPIO pins, and the other is to set them as Composite decoded VSYNC/HSYNC for A/D converters in VGA
input path. The data and I/O direction of GPIO[3:0] pins are respectively controlled by Reg. F4h and F5h, and
each bit in registers is respectively mapped to GPIO[3:0] one by one. The following descript ion is the process
to control GPIO[0] and GPIO[2] in detail, and the control processes of GPIO[1] and GPIO[3] are also the
same as follows respectively.
¨Bi-directi on al GPIO control proc ess
q Setting Reg. F5h /D2 = 0 or 1 to assign GPIO[2] as input or output.
q
Reg. F4h/D2 when GPIO[2] is input.
¨
q Setting Reg. F5h/D0= 1 to assign GPIO[0] as output.
q Setting Reg. F6h/D0 = 0 to select output source from Reg. F4h/D6 or setting it as 1 to make GPIO[0]
MTL002.
q
F5h/D0 = 0. If F6h/D0 is set to 1, the GPIO[0] pin outputs ADHS for AD converters in VGA input path.
3.5.6Update Register 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.
GPIO[2] is assigned to output status, otherwise reading data from
GPIO[0] is assigned to output only GPIO pin, that is, F6h/D0 = 0 and
Revision 0.95- 17 -2000/06/14
Page 18
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
MTL002
TECHNOLOGY
(Rev. 0.95)
3.6 On-Chip PLL
General Descrip t io n
The MTL002 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.6.1Reference Clock
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.6.2Display Cloc k
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 100 MHz by means of choosing a set of appropriate values for M, N as
well as R. The formula used to calculate the desired frequency of display clock is as follows:
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.95- 18 -2000/06/14
Page 19
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
MTL002
TECHNOLOGY
(Rev. 0.95)
4. REGISTER DESCRIPTION
INPUT CONTROL REGISTERS
AddressMod eRegist ersReset value
00hR/W Input Image Vertical Active Line Start - Low20h
01hR/W Input Image Vertical Active Line Start - High00h
02hR/W Input Image Vertical Active Lines - LowE0h
03hR/W Input Image Vertical Active Lines - High01h
04hR/W Input Image Horizontal Active Pixel Start - Low8Bh
05hR/W Input Image Horizontal Active Pixel Start - High00h
06hR/W Input Image Horizontal Active Pixels - Low80h
07hR/W Input Image Horizontal Active Pixels - High02h
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
1AhR/W
1ChR/W HS1 Sample Window Forward Extend00h
1DhR/W HS1 Sample Window Backward Extend00h
1FhRO Input Image Status Register20hR/W Input Image Back Porch Guard Band00h
21hR/W Input Image Front Porch Guard Band00h
00h
FRAME SYNC REGISTERS
AddressMod eRegist ersReset value
2ChR/W Input Image Vertical Lock Position - Low22h
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
41hR/W Pixel Grab V Reference Position - High00h
Revision 0.95- 19 -2000/06/14
Page 20
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
MTL002
TECHNOLOGY
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 - Low55hRO Input V Active Lines Count by Input HS - High56hRO
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 Count 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 T otal Pixels Count by Input Pixel Clock - High-
(Rev. 0.95)
-
-
-
-
-
-
-
-
AddressMod eRegist ersReset value
60hR/W Display Vertical Total - Low48h
61hR/W Display Vertical Total - High03h
62hR/W Display Vertical SYNC End- Low05h
63hR/W Display Vertical SYNC End - High00h
64hR/W Display Vertical Active Start - Low22h
65hR/W Display Vertical Active Start - High00h
66hR/W Display Vertical Active End - Low22h
67hR/W Display Vertical Active End - High03h
70hR/W Display Horizontal Total - Low2Bh
71hR/W Display Horizontal Total - High05h
72hR/W Display Horizontal SYNC End - Low10h
73hR/W Display Horizontal SYNC End - High00h
74hR/W Display Horizontal Active Start - Low27h
75hR/W Display Horizontal Active Start - High01h
76hR/W Display Horizontal Active End - Low27h
77hR/W Display Horizontal Active End - High05h
Revision 0.95- 20 -2000/06/14
Page 21
MYSON
Output Clocks Duty Cycle Adjustment
MTL002
TECHNOLOGY
7FhR/W NFB Timing Control60h
88hR/W Output Image Control Register 001h
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
A9hR/W Output Miscellaneous Control00h
AAhR/W Output Vertical Line Number - LowFFh
ABhR/W Output Vertical Line Number - High02h
AChRO Output Horizontal Total Pixel Number – Low-
ADhRO Output Horizontal Total Pixel Number – High AEhRO Output Horizontal Total Residue Number – Low AFhRO Output Horizontal Total Residue Number - High-
(Rev. 0.95)
00h
ZOOM CONTROL REGISTERS
AddressMod eRegist ersReset value
B0hR/W Zoom Control Register 066h
B1hR/W Zoom Control Register 100h
B4hR/W Zoom Vertical Scale Ratio - LowE0h
B5hR/W Zoom Vertical Scale Ratio - High9Fh
B6hR/W Zoom Horizontal Scale Ratio - LowE8h
B7hR/W Zoom Horizontal Scale Ratio - High9Fh
BFhR/W Interpolation Table Data Port-
HOST CONTROL REGISTERS
AddressMod eRegist ersReset value
C1hR/W Host Control Reg ister 100h
CBhRO Host Access Mode Status-
CLOCK CONTROL REGISTERS
AddressMod eRegist ersReset value
E0hR/W Clock Control Register00h
E1hWO Clock Synthesizer Value Load-
E2hR/W Clock Synthesizer N Value0Bh
E3hR/W Clock Synthesizer M Value32h
E6hR/W Clock Synthesizer R Value00h
Revision 0.95- 21 -2000/06/14
Page 22
MYSON
HS Frequency Change interrupt Compare
Input Image Vertical Act iv e Line Start - Low
It defines the low byte of the start position of the Vertical Active Window.
(Addres s 01h) (R/W)
It defines the high byte of the start position of the Vertical Active W indow.
Inpu t Image Verti c al Act iv e Lines - Low
Input Image Vertical Ac ti v e Lines - High (Add r es s 03h) (R/W)
It defines the low byte of the start position of the Horizontal Active Window.
(Add ress 05h) (R/W)
MTL002
TECHNOLOGY
INTERRUPT CONTROL REGISTERS
AddressMod eRegist ersReset value
E8hR/W SYNC Interrupt Flag Control00h
E9hR/W General Interrupt Flag Control00h
EAhR/W SYNC Interrupt Enable00h
EBhR/W General Interrupt Enable00h
EChR/W
MISCELLANEOUS REGISTERS
AddressMod eRegist ersReset value
F1hR/W Power Management Control00h
F4hR/W GPIO Control Register00h
F5hR/W GPIO Direction Control00h
F6hR/W GPIO Misc Control00h
(Add r es s 00h) (R/W)
(Rev. 0.95)
00h
D7-0IV_ACT_START[7:0]
Input Image Vertic al Act i v e Lin e Start - High
D7-3Reserved
D2-0IV_ACT_START[10:8]
(Add ress 02h) (R/W)
It defines the low byte of the number of active lines of the Vertical Active Window.
D7-0IV_ACT_LEN[7:0]
It defines the high byte of the number of active lines of the Vertical Active Window.
D7-3Reserved
D2-0IV_ACT_LEN[10:8]
Inpu t Image Horizon t al Acti v e Pixel Start - Low (Ad dres s 04h) (R/W)
D7-0IH_ACT_START[7:0]
Input Image Horizon t al Act i v e Pixel Start - High
It defines the high byte of the start position of the Horizontal Active Window.
D7-3Reserved
Revision 0.95- 22 -2000/06/14
Page 23
MYSON
Inpu t Image Horizont al Acti v e Pixels - Low
Inpu t Image Horizon t al Acti v e Pixels - High (A d dres s 07h) (R/W)
(Addres s 10h) (R/W)
1: from Input HREF (only for Video Decoder).
(Addres s 11h) (R/W)
MTL002
TECHNOLOGY
D2-0IH_ACT_START[10:8]
(Add r es s 06h) (R/W)
It defines the low byte of the number of active pixels of the Horizontal Active Window.
D7-0IH_ACT_WIDTH[7:0]
It defines the high byte of the number of active pixels of the Horizontal Active Window.
D7-3Reserved
D2-0IH_ACT_WIDTH[10:8]
Input Image Contr o l Regist er 0
D7Horizontal Sampling Point Reference
0: from Input HSYNC.
(Rev. 0.95)
D6Input YCBCR Format
D5Digital RGB 6 bit Mode
D4Digital RGB Mode Select
D3Input Image Format
D2Reserved
D1Input Image Source
D0ADC Configuration
0: 4-2-2
1: 4-1-1
0: 8 bits
1: 6 bits
0: RGB Input from ADC
1: RGB Input from Panel Link
0: RGB888
1: YCBCR
0: from Graphic source through ADC.
1: from Video source through Video Decoder like SAA7111A.
It is used only for Phase Calibration to mask noise.
000: No Mask
001: Mask bit0
010: Mask bit0,1
Revision 0.95- 28 -2000/06/14
Page 29
MYSON
MTL002
TECHNOLOGY
011: Mask bit0,1,2
100: Mask bit0,1,2,3
101: Mask bit0,1,2,3,4
110: Mask bit0,1,2,3,4,5
111: Mask bit0,0,1,2,3,4,5,6
Auto Calib ration RED Value - By t e 0 (Addres s 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]
Aut o Calib r ation RED Value - Byte 1 (Add ress 35h) (RO)
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.
D7-0CALVAL_R[15:8]
(Rev. 0.95)
Aut o Calib r ation RED Value - Byte 2 (Add ress 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 (Add ress 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 rati o n GREEN Valu e - Byte 0 (Addres s 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 SECOND field of Interlace mode.
D7-0CALVAL_G[7:0]
Aut o Calib rati o n GREEN Valu e - Byte 1 (Addres s 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 SECOND field of Interlace mode.
D7-0CALVAL_G[15:8]
Aut o Calib r ation GREEN Value - Byte 2 (Addr ess 3Ah) (RO)
It states the byte 2 of the number of Phase Calibration GREEN value in one frame
Revision 0.95- 29 -2000/06/14
Page 30
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.
MTL002
TECHNOLOGY
or the byte 2 of the number of Histogram GREEN value in one frame or
the Pixel Grab BLUE value in SECOND field of Interlace mode.
D7-0CALVAL_G[23:16]
Aut o Calib r ation GREEN Value - Byte 3 (Addres s 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 Calibr ati o n BL UE Value - Byte 0 (Add r ess 3Ch) (RO)
It states the byte 0 of the number of Phase Calibration BLUE value in one frame or
the MIN/MAX RED value in one frame.
D7-0CALVAL_B[7:0]
Auto Calibr ati o n BL UE Value - Byte 1 (Add r ess 3Dh) (RO)
(Rev. 0.95)
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 Calibr ati o n BL UE Value - Byte 2 (Add r ess 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 Calibr ati o n BL UE Value - Byte 3 (Add r ess 3Fh) (RO)
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 i on - Low (Address 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
Revision 0.95- 30 -2000/06/14
Page 31
MYSON
It states the high byte of Horizontal Reference Position in Pixel Grab Mode.
RED (Addr ess 44h) (R/W)
GREEN (Address 45h) (R/W)
BLUE (Add ress 46h) (R/W)
SYNC Process o r Cont rol (Add ress 48h) (R/W)
Auto Posit i o n Cont ro l (Addr ess 49h) (R/W)
Auto Position Ready Flag
MTL002
TECHNOLOGY
D2-0VGRAB_POS[10:8]
Pixel Grab H Reference Position - Low (Address 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 Positio n - High (Add r ess 43h) (R/W)
D7-3Reserved
D2-0HGRAB_POS[10:8]
Histogr am Reference Colo r It states the Histogram Reference RED Color in Histogram Mode.
(Rev. 0.95)
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
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)
Revision 0.95- 31 -2000/06/14
Page 32
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
MTL002
TECHNOLOGY
0: Ready
1: Not Ready
Auto Posi t i o n Reference Color - RED (Ad d r ess 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)
It defines the blue component color for selecting between black and non-black pixels.
D7-0REF_COLOR_BLUE[7:0]
Clamp Pulse Contro l
(Rev. 0.95)
D7Clamp Pulse Mask
D6Clamp Pulse Start Reference Edge
D5Clamp Pulse output Polarity
D4-0 Clamp Pulse Start
Clamp Pulse Contro l
D7-5Reserved
D4-0 Clamp Pulse Width
Input VS Period Count by REFCLK - Low (Add r ess 50h) (RO)
It states the low byte of the number of REFCLK of the Vertical Sync period measurement.
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.
D7-0VSPRD[7:0]
Input VS Period Count by REFCLK - High (Address 51h) (RO)
of REFCLK of the Vertical Sync period measurement.
D7-4Reserved
Revision 0.95- 32 -2000/06/14
Page 33
MYSON
It states the high byte of the number of lines between the end of VSYNC and the acti ve image
Input V Acti ve Image Coun t by Inpu t HS - Low (Add r ess 54h) (RO)
Input V Acti ve Image Coun t by Inpu t HS - High (Add r ess 55h) (RO)
It states the high byte of the number of
MTL002
TECHNOLOGY
D3-0VSPRD[11:8]
Input V Back Porch Coun t b y Inpu t HS - Low (Add r ess 52h) (RO)
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 ess 53h) (RO)
D7-3Reserved
D2-0VBPW[10:8]
It states the low byte of the number of the active image lines.
D7-0VACTW[7:0]
(Rev. 0.95)
It states the high byte of the number of the active image lines
D7-3Reserved
D2-0VACTW[10:8]
Input V Total Image Coun t b y Input HS - Low (Addr ess 56h) (RO)
It states the low byte of the number of the total image lines.
D7-0VTOTW[7:0]
Input V Total Image Cou n t b y Inp u t HS - High (Ad d r es s 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 (Add r ess 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 Coun t b y REFCLK - High (Ad d r ess 59h) (RO)
REFCLKs of the Horizontal Sync period measurement.
D7-5Reserved
D4-0HSPRD[12:8]
Revision 0.95- 33 -2000/06/14
Page 34
MYSON
Input H Back Porch Count 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.
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.
MTL002
TECHNOLOGY
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)
D7-3Reserved
D2-0HBPW[10:8]
Input H Activ e Image Count b y Input Pixel Clock -Low(Add ress 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)
(Rev. 0.95)
D7-3Reserved
D2-0HACTW[10:8]
Input H Total Image Count b y Inpu t Pixel Cloc k- Low (Addr ess 5Eh) (RO)
It states the low byte of the number of the Horizontal total image pixels.
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 (Address 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 (Add r es s 61h) (R/W)
D7-3Reserved
D2-0DV_TOTAL[10:8]
Revision 0.95- 34 -2000/06/14
Page 35
MYSON
Disp lay Vertical Act iv e Start - Low
It defines the low byte of
Display Verti c al Acti v 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 Acti v e End - High (Ad dr ess 67h) (R/W)
It defines the high byte of
(Add ress 71h) (R/W)
MTL002
TECHNOLOGY
Display Verti c al SYNC End - Low (Addres 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 (Addr es s 63h) (R/W)
It defines the high byte of Vertical SYNC end position in lines.
D7-3Reserved
D2-0DV_SYNC_END[10:8]
Note: Display Vertical SYNC Start is always equal 0.
(Add ress 64h) (R/W)
D7-0DV_ACT_START[7:0]
Vertical Active region start position in lines.
(Rev. 0.95)
(Add ress 65h) (R/W)
D7-3Reserved
D2-0DV_ACT_START[10:8]
D7-0DV_ACT_END[7:0]
D7-3Reserved
D2-0DV_ACT_END[10:8]
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.
Vertical Active region start position in lines.
(Add r es s 66h) (R/W)
Vertical Active region end position in lines.
Vertical Active region end position in lines.
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]
Revision 0.95- 35 -2000/06/14
Page 36
MYSON
(Add ress 73h) (R/W)
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 (Addr es s 75h) (R/W)
It defines the high byte of
Displ ay Horizontal Act i 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 (Addres s 77h) (R/W)
It defines the high byte of
(Add ress 88h) (R/W)
MTL002
TECHNOLOGY
Display Horizo nt al SYNC End - Low (Addres s 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
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.
D7-0DH_ACT_START[7:0]
(Add r es s 74h) (R/W)
(Rev. 0.95)
D7-3Reserved
D2-0DH_ACT_START[10:8]
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.
D7-0Free Running mode Select
60h: Normal
80h: Free Running
Horizontal Active region start position in display clock cycles.
(Add r es s 76h) (R/W)
Horizontal Active region end position in display clock c ycles.
Output Image Contro l Register 0
D7-5Reserved
Revision 0.95- 36 -2000/06/14
Page 37
MYSON
(Add ress 89h) (R/W)
(Add r es s 8Ah ) (R/W)
MTL002
TECHNOLOGY
D4OUTPUT port MSB / LSB Exchange
0: No Exchange
1: Exchange
D3Reserved
D2Output Pixel 18 bit RGB Mode Select
when Input HS Frequency Changes.
D7-0HSCMPREG[7:0]
Power Management Cont r o l (Add r ess F1h) (R/W)
D7Reserved
D6Power Down Gamma & Interpolation Table
0: Normal
1: Power Down
D5Reserved
(Rev. 0.95)
D4Power Down Line Buffers
0: Normal
1: Power Down
D3Power Down Oscillator PAD
0: Power Down
1: Normal
D2Reserved
D1Power Down all the clocks except REFCLK
0: Normal
1: Power Down
D0Software Reset Enable
0: Disable
1: Enable
It controls the data of the GPIO pins.
D7-4Reserved
D3-0GPIO[3:0]
GPIO Direct i o n Cont r o l (Add r ess F5h) (R/W)
It controls the In/Out direction of the GPIO pins, where “0” means Input, and
“1” means Output.
D7-4Reserved
D3-0GPIO[3:0] In/Out Select
Revision 0.95- 48 -2000/06/14
Page 49
MYSON
Misc Cont r o l (Add r ess F6h) (R/W)
MTL002
TECHNOLOGY
0: Input
1: Output
GPIO
It defines the GPIO pins miscellaneous control.
D7-1Reserved
D0GPIO[1:0] Output Pins Source
0: from Reg. F4h GPIO[1:0]
1: from ADVS/ADHS
(Rev. 0.95)
Revision 0.95- 49 -2000/06/14
Page 50
MYSON
5. ELECTRICAL CHA R ACTERISTICS
5.1 DC CHARACTERISTICS
PAR AMETER
MTL002
TECHNOLOGY
Table 5.1 Recommended Operating Conditio ns
SYMBOL
Vcc Operation Voltage 3.0 3.3 3.6 V
Tamb Operating Ambient Temperature 0 70
Tstg Storage Temperature -55 150
SYMBOLPARAMETERCONDITIONS MIN TYP MAXUNIT
VIL Input Low Voltage 0.8 V
VIH Input High Voltage 2.0 V
Vt- Input Schmitt Trigger
Vt+ Input Schmitt Trigger
VOL Output Low Voltage 0.4 V
VOH Output High Voltage 2.4 V
RI Input Pull-up/Down
ILI Input Leakage Current -10 10uA
ILO Output Le akage Current -20 20uA
Table 5.2 DC Electric al Characteris t ic s fo r 3.3 V Operation
Low Voltage at pins
SDA and SCK
High Voltage at pins
SDA and SCK
VIL = 0v or
Resistance
VIH = VCC
MIN TYP MAXUNIT
1.0
1.7
75Kohm
(Rev. 0.95)
o
C
o
C
Revision 0.95- 50 -2000/06/14
Page 51
MYSON
5.2 AC CHARA CTERISTICS
PARAMETER
MTL002
TECHNOLOGY
¨Input Interface Timin g
Figur e 5.2.1Input Interface Timing
IPCLK
Input VS/HS
PIXIN[23:0]
(Rev. 0.95)
TivhhTivhs
Tids
Tidh
Table 5.2.1 Input Interface Timing
SYMBOL
Tids Input Image Signal Setup Time for IPCLK 2 ns
Tidh Input Image Signal Hold Time for IPCLK 3 ns
Tivhs Input VSYNC/HSYNC Setup Time for IPCLK 2 ns
Tivhh Input VSYNC/HSYNC Hold Time for IPCLK 3 ns
MIN MAX UNIT
Revision 0.95- 51 -2000/06/14
Page 52
MYSON
PARAMETER
Display VSYNC Output Delay to DDCLK
Display HSYNC Output Delay to DDCLK
Display DDEN Output Delay to DDCLK
Display Data Output Delay to DDCLK
MTL002
TECHNOLOGY
¨Output Interface Timing
Figur e 5.2.2 Outpu t Interface Timing
DDCLK
Display VS
Display HS
(Rev. 0.95)
Tdck
Tdvs
Tdhs
Tdde
Display DDEN
Tddp
PIXOUT1[23:0] / PIXOUT2[23:0]
Table 5.2.2 Output Interface Timing
SYMBOL
Tdck Display Clock DDCLK Frequency 10 ns
Tdvs
Tdhs
Tdde
Tddp
Note: DDCLK phase can be adjusted relative to data and control outputs using the DDCLK_INV
(Reg. A4h/D5-4) and DDCLK_DELAY[2:0] (Reg. A6h/D7-0) programming controls.
MIN MAX UNIT
2 ns
0.5 ns
1 ns
1.5 ns
Revision 0.95- 52 -2000/06/14
Page 53
MYSON
PARAMETER
OSD VS / HS Output Delay to OCLK
MTL002
TECHNOLOGY
¨OSD Int erf ace Timin g
Figur e 5.2.3OSD Interface Timin g
OCLK
OVSYNC / OHSYNC
Input OSDDEN / OSDRED /
OSDGRN / OSDBLU
(Rev. 0.95)
Tosdd
TosdsTosdh
Table 5.2.3 OSD Interf ace Timin g
SYMBOL
Tosdd
Tosds OSD Signal Input Setup Time for OCLK 5.5 ns
Tosdh OSD Signal Input Hold Time for OCLK 0 ns
Note: OCLK phase can be adjusted using OCLK_INV (Reg. A1h/D3) programming control and OHSYNC
phase can be adjusted using OHSYNC_DELAY[1:0] (Reg. A1h/D5-4) programming control.
MIN MAX UNIT
2 ns
Revision 0.95- 53 -2000/06/14
Page 54
MYSON
PARAMETER
MTL002
TECHNOLOGY
¨I2C Hos t Interf ace Timin g
Figur e 5.2.4I2C Host Interface Timin g
Thigh
Tsu:staThd:sto
Thd:sta
Tlow
Tsu:dat
Thd:dat
(Rev. 0.95)
Tsu:sto
Table 5.2.4 I2C Host Interface Timin g
SYMBOL
Thigh Clock High Period 500 ns
Tlow Clock Low Period 500 ns
Tsu:dat Data in Setup Time 200 ns
Thd:dat Data in Hold Time 100 ns
Tsu:sta Start condition Setup Time 500 ns
Thd:sta Start condition Hold Time 500 ns
Tsu:sto Stop condition Setup Time 500 ns
Thd:sto Stop condition Hold Time 500 ns
MIN MAX UNIT
Revision 0.95- 54 -2000/06/14
Page 55
MYSON
PARAMETER
WR/RD Pulse Width
ALE Low to WR/RD Low
WR/RD High to ALE High
WR/RD
MTL002
TECHNOLOGY
¨8-bit Direct Host Interface Timi ng
Figur e 5.2.58-bit Direct Host Interface Timing
ALE
TllwlTrwpw
Tavll Tllax
AD(7:0)/WR
A0-A7
(Rev. 0.95)
Twhlh
Tqvwh
DATA IN
AD(7:0)/RD
Trlaz
Table 5.2.5 8-bit Direct Host Interface Timing
SYMBOL
Tavll Addr ess Valid to ALE Low 3 ns
Tllax Address Hold After A LE Low 5 ns
Trwpw
Tllwl
Tqvwh Data Valid to WR High 3 ns
Twhqx Data Hold After WR 10 ns
Twhlh
Trlaz RD Low to Ad dress Float -5 ns
Trldv RD Low to Valid Data In 30 ns
Trhdz Data Float after RD High 0 15 ns
– Register IO R/W 0 ns
DATA OUTA0-A7
TrhdzTrldv
MIN MAX UNIT
35 ns
5 ns
Revision 0.95- 55 -2000/06/14
Page 56
MYSON
6. PACKAGE DIMENSION
3
D
A-B
b
A-B D
A-B D
e
E1
E2
D1
0.05
;L1
B
A
S
S
L
0.25mm
MTL002
TECHNOLOGY
120/128/132/144/160/184/208/256L OFP
28 X 28 X 3.32 mm
2.6mm FOOTPRINT
1
D2
D
4X
ddd
4X
bbb
C
aaa
(Rev. 0.95)
A2
C
H
S
A1
C
C
2
R1
R2
GAGE PLANE
ccc
C
MIN. NOM. MAX. MIN.NOM. MAX.
0.170.200.270.0070.0080.011
0.50 BSC.0.020 BSC.
25.501.004
25.501.004
TOLERANCES OF FORM AND POSITION
0.200.008
0.200.008
X0.08XX0.003X
X0.08XX0.003X
NOTES:
1. DIMENSIONS D1 AND E1 DO NOT INCLUDE MOLD PROTRUSION.
2. SIMENSION b DOES NOT INCLUDE DAMBAR PROTRUSION.
ALLOWABLE DAMBAR PROTRUSION SHALL NOT CAUSE THE
LEAD WIDTH TO EXCEED THE MAXIMUM b DIMENSION BY MORE
THAN 0.08mm.
DAMBAR CAN NOT BE LOCATED ON THE LOWER RADIUS OR THE
FOOT. THE MINIMUM SPACE BETWEEN PROTRUSION AND AN
ADJACENT LEAD SHALL NOT BE LESS THAN 0.07 mm.
3. THE TOP PACKAGE BOOY SIZE MAY BE SMALLER THAN THE
BOTTOM PACKAGE BOOY SIZE.