•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/SXGA display resolution.
•Overlay input interface with external OSD controller.
•
Memory Interf ace
•Support 48/32/24 bit bus width, SDRAM/SGRAM x2 or x3 configuration.
•Optional dis
•Support power down mode.
GENERAL DESCRIPTION
The MTL003 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, configurable frame-buffer memory interface, video scaling up/down processor, OSD input
interface and output display processor in 256-pin PQFP or 272-pin BGA package.
Revision 0.95 - 1 - 2000/06/14
Page 2
MYSON
video
RGB
To SDRAM/SGRAM
Generator
8-bit MCU
MTV130
OSD
SDRAM/
SGRAM
Decoder
S-Video
MTL003
TECHNOLOGY
BL OCK DIAGRAM
Digital
PC
YUV
Input
RGB
Input
Auto
Calibration
YUV
to
RGB
Mode
Detect
Scale
Down
Frame
Buffer
Control
Host
Interface
To 8-bit MCU
Scale
Up
Gain
Control
Dithering
Gamma
Correct
(Rev. 0.95)
To external OSD
OSD
&
Output
MUX
Output &
Memory
Timing
RGB
output
APPLICA TIONS
LVDS/PanelLink
TMDS Receiver
Composite/
D-sub RGB
graphic signals
Digital
Video
ADC1
ADC2
MTL003
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.
Note: Pin connection of 272-pin BGA to be defined later
Revision 0.95- 3 -2000/06/14
Page 4
MYSON
Vertical sync input
MTL003
TECHNOLOGY
(Rev. 0.95)
2. PIN DESCRIPTION
ADC1 Input Inter face (YUV or RGB or TMDS Inpu t Data)
NameTypePin# Description
VSYNCI249
HSYNC/CSI248 Horizontal or Composite sync input
RGBSELO29 Input select. 1:RGB input, 0:YUV input
TMDSSELO250 TMDS input select, active high
CLAMPO247 Clamp pulse output for ADC
IPCLKI253 Input pixel clock
R1IN[7:0]/YIN[7:0]I2-9 Red or Y channel or TMDS input data (Single/Dual ADC)
G1IN[7:0]/UVIN[7:0]I11-18 Green or UV channel or TMDS input data (Single/Dual ADC)
B1IN[7:0]I20-27 Blue channel or TMDS input data (Single/Dual ADC)
TDIEI251 TMDS digital input enable
ADC2 Input Inter face (RGB Data)
NameTypePin# Description
R2IN[7:0]I31-38 Red channel input data (Dual ADC)
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
G2IN[7:0]I40-47 Green channel input data (Dual ADC)
B2IN[7:0]I49-56 Blue channel input data (Dual ADC)
Displ ay Outp ut Interface
NameTypePin# Description
DDENO124 Display data output enable for LCD panel
DVSYNCO123 Display Vertical sync output
DHSYNCO122 Display Horizontal sync output
DDCLK1O94 Display output clock for odd data
DDCLK2O93 Display output clock for even data
R1OUT[7:0]O113-120 Red output even data , bit[7:2] for 6-bit panel
G1OUT[7:0]O104-111 Green output even data , bit[7:2] for 6-bit panel
B1OUT[7:0]O96-103 Blue output even data , bit[7:2] for 6-bit panel
R2OUT[7:0]O84-91 Red output odd data , bit[7:2] for 6-bit panel
G2OUT[7:0]O75-82 Green output odd data , bit[7:2] for 6-bit panel
B2OUT[7:0]O67-74 Blue output odd data , bit[7:2] for 6-bit panel
Memory Interf ace
NameTypePin# Description
MCKO180 Memory output clock
MCKEO178 Memory clock enable
MCS#O168 Memory chip select, active low.
MRAS#O197 Memory row address strobe, active low
MCAS#O196 Memory column address strobe, active low
MWE#O195 Memory write enable, active low
DQM[1:0]O198-199 Memory data mask byte enable
BA/MA11O182 Memory bank address or Memory address line
DQM3/MA10O149 SGRAM data mask byte enable or SDRAM address line
DQM2/MA9O148 SGRAM data mask byte enable or SDRAM address line
MA[8:0]O 183-191 Memory address line
Revision 0.95- 4 -2000/06/14
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 6: ADHS, Horizontal sync for A/D converter
Input Sync On Green
MTL003
TECHNOLOGY
MD[47:40]I/O151-158 Memory Blue (B1) data
MD[39:32]I/O170-177 Memory Green (G1) data
MD[31:24]I/O211-218 Memory Red (R1) data
MD[23:16]I/O140-147 Memory Blue (B0) data
MD[15:8]I/O160-167 Memory Green (G0) data
MD[7:0]I/O202-209 Memory Red (R0) data
(Rev. 0.95)
Host Interface
NameTypePin# Descrip tio n
RST#I235 System reset input, active low.
AD[7:0]I/O227-220 T he address and da ta bus of 8-bit direct interface or
2-wire I2C series bus
Bit 1: SDA, serial bus data
Bit 0: SCK, serial bus clock
HWR#I232 Host write strobe , active low
HRD#I233 Host read strobe, active low
ALEI230 Host address latch enable for 8-bit direct bus
HCS#I228 Host chip select
BUSSELI236 Bus mode selection. 0: I2C bus, 1: 8-bit direct bus
IRQO237 Interrupt request output
OSD Interf ac e
NameTypePin# Description
OCLKO126 Clock for external OSD
OVSYNCO136
OHSYNCO138
OSDREDI131 OSD red input
OSDGRNI132 OSD green input
OSDBLUI133 OSD blue input
OSDINTI135
OSDENI134
Other Interface
NameTypePin# Description
XII61
XOO60
EXTDCLKI246 External display clock input
EXTMCLKI234 External memory clock input
GPIO[7:0]I/O238-245 General purpose I/O or
NC- 254 No connection
Bit 7: ADVS, Vertical sync for A/D converter
Bit 2: MA9_SGRAM, Memory address 9 for SGRAM
Bit 0: RAWHS/SOG, Input source HSYNC or
Default: Bit[7:2]: Output direction
Bit[1:0]: Input direction
3.3V Power and Grou n d
NamePin# Description
DVDD 19, 30, 92, 121, 139, 159, 179, 201 Digital power 3.3V
DVSS 10, 28, 95, 112, 137, 150, 169, 200 Digital ground
PVDD 1, 48, 64, 83, 125, 129, 192, 210, 229, 252 Pad power 3.3V
PVSS 39, 57, 65, 66, 127, 128, 130, 181, 193, 194, Pad ground
Revision 0.95- 5 -2000/06/14
Page 6
MYSON
MTL003
TECHNOLOGY
219, 231, 255, 256
AVDD 62, 63 Analog power 3.3V
AVSS 58, 59 Analog ground
(Rev. 0.95)
Revision 0.95- 6 -2000/06/14
Page 7
MYSON
Single Pixel mode, only the ports
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
depending on the type of input images.
MTL003
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 MTL003 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 Decimation circuit to scale down
the input image with arbitrary ratios down to 1/32 and the built-in YUV to RGB color space converter.
3.1.1RGB Inpu t Format
The RGB input port can work in two modes: Single Pixel mode (24 bits) and Double Pixel mode (48 bits). For
R1IN[7:0], G1IN[7:0], and B1IN[7:0] are internally sampled. For Double
Pixel mode, besides the ports R1IN[7:0], G1IN[7:0], and B1IN[7:0], the ports R2IN[7:0], G2IN[7:0], and
B2IN[7:0] are needed additionally. 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 Input Form at
“Digital Input Enable
DIEN” is needed.
pixel input interface, the supported format is up to true color, including the 18
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 the ports R1IN[7:0] and G1IN[7:0]. The 5 bit control signals are shared
with the port R2IN[4: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
standard.
3.1.4YUV 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.5De-interlace mod e
For interlace input, MTL003 features several de-interlacing algorithms for processing interlaced video data
¨Static Mode
In this mode, the first and second fields are put together without any filtering. Memory for two fields is
needed. It is commonly used in still image input.
¨Tog gl e Mode
In this mode, only one field is displayed at a time. First field and second field is toggled displayed. The
missing lines are calculated from duplicating the neighboring lines. For moving picture, it has a good quality.
¨Spatial Mod e
In this mode, two fields are toggled displayed, just like Toggle mode. The missing lines are calculated from
interpolating the neighboring lines. This mode has an generally good quality for still and moving pictures.
3.1.6Sync Processor
The V/H SYNC processing block performs the functions of Composite signal separation/insertion, SYNC
inputs the presence check, frequency counting, polarity detection and control. It contains 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.
Revision 0.95- 7 -2000/06/14
Page 8
MYSON
input sample registers to aid in centering the screen automatically.
s phase and frequency. MTL003
colors. This advanced function helps the firmware to analyze ADC performance. Usually the firmware can
s phase and frequency.
MTL003
TECHNOLOGY
¨V/H SYNC Frequency Counter
(Rev. 0.95)
MTL003 measures VSYNC/HSYNC frequency counted in the proper clock and using the following formulae:
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
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 is 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 low pulse, the negative polarity is asserted; otherwise, positive polarity is asserted.
¨Comp os it e SYNC separatio n/ins erti on
MTL003 continuously monitors the input HSYNC. If the input VSYNC can be extracted from it, a CVpre flag is
set. MTL003 can insert HSYNC pulse during Composite VSYNC’s active time and the insertion frequency
can adapt to original HSYNC’s.
3.1.7Aut o Tune
Auto Tune function consists of Auto Position that automatically centering the screen and A uto Calibration
which contains Phase Calibration, Histogram, Min/Max Value, and Pixel Grab described as below. With 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
MTL003 provides Horizontal/Vertical back porch and active region values. Users can use these values to set
¨Phase Calibrati on
MTL003 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 the traditional Difference method, the
other is MYSON’s proprietary method; the latter one is recommended for a better performance.
¨Histogr am
Histogram means the total number of input pixels below/above one threshold value, for individual R/G/B
use this information to measure ADC’s noise margin, and 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.95- 8 -2000/06/14
Page 9
MYSON
because they share the same line buffers.
: Image will be scaled up/down based on scaling factor. Every point of output image data
image data will be filtered by the
MTL003
TECHNOLOGY
(Rev. 0.95)
3.2 Video Proc ess o r
General Descrip t io n
MTL003 possesses a powerful and programmable video processor b y providing the following functions:
Scaling Up/Down, Gain Control, Brightness Control, Gamma Correction, and Dithering Control.
The block diagram of Video Processor is as follows:
Scaling Factor
SCALING
GAIN
BRIGHTNESS
Transition Table
Gain Factor
Brightness Factor
GAMMA
DITHERING
Fig. 3.2.1 Video Processor Block Diagram
3.2.1Scaling
MTL003 provides scaling function ranging from 1/32 to 32 for both up and down sca ling, and for both
horizontal and vertical processing. Note that the up and down scaling cannot operate in the same time,
For scaling up, both horizontal and vertical processing, MTL003 provides four methods:
¨Pass Mod e: Image will be passed through without considering any scaling factor.
¨Dupl ic ate Mode: Image will be scaled up/down based on scaling factor. Every point of output image
comes from the input. In this method, Output image will have the good contrast but may be nonuniformed.
¨Bi linear Mode
will be filtered by bilinear filter. In this method, output image will have the good scaling quality but may
be blurred.
Gamma Table
Dithering Table
¨Interpo l atio n Table Mode: Image will be scaled up/down based on scaling factor. Every point of output
user defined filter.
Revision 0.95- 9 -2000/06/14
Page 10
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. MTL003 contains an 8/10-
true color (8 bits per color) or high color (6 bits per color) display.
MTL003
TECHNOLOGY
Input pixelAB
Interpolation pixel
SC
64
SC’
[a]
63
32
[b]
O
(Rev. 0.95)
[a]: duplicate filter
[b]: bilinear filter
[c]: user defined filter
[c]
3263
Fig. 3.2.2 Scaling filter
Note: For scaling down, for both horizontal and vertical processing, MTL003 provides three methods: Pass
mode, Duplicate mode, and Bilinear mode.
3.2.2Gain/Brightness Control
MTL003 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 Correcti on
bit Gamma table to fix this phenomenon. The 10-bit Gamma Table performs a better output quality, and is
commonly used together with dithering function. A traditional 8-bit Gamma correction table can also be used.
3.2.4Color Dithering
MTL003 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:
O = [(64-SC’)*A + SC’*B]/64
SC
¨Static dithering: Dithering coefficient is fixed.
¨Temporal dithering : Dithering coefficient is time dependent.
Revision 0.95- 10 -2000/06/14
Page 11
MYSON
Output processor provides the interface for both LCD panel and OSD controller. MTL003 can work for framebuffer or non-frame-buffer mode. When in frame-buffer mode, there is no restriction between the timing of
input and output. When in non-frame-butter mode, output frame rate must be equal to input frame rate and
output display time must be equal to input display time due to the absence of frame buffer. Some features
based on using the frame buffer do not work in non-frame-buffer mode, for example the screen write, static
display timing modes:
Frame SYNC Mode
3.2.3 Display Timing modes
MTL003
TECHNOLOGY
(Rev. 0.95)
3.3 Outpu t Process or
General Descrip t io n
mode in de-interlace etc.
3.3.1Displ ay Timing Generation
There are three
¨Frame-buf fer Mode: is used for frame rate conversion. External frame buffer is needed.
¨Non-fr ame-buffer Mode: performs a low cost version of solution where the external frame buffer is not
needed. This mode is used in the condition that output frame rate is equal to input frame; some features
are disabled in this mode.
¨
gives the moving picture a smooth change.
: is used for video input. In this m ode, output frame is synchronized to input frame,
Frame Buff er Mode:
Input Frame
Non Frame Buf f er Mode
Input Frame
x
Lock point
Frame SYNC Mode
Input Frame
x
Lock point
Output Frame
External Frame Buffer
Output Frame
Output Frame
External Frame Buffer
Fig.
Revision 0.95- 11 -2000/06/14
Page 12
MYSON
Is designed to support TFT panels with single pixel input. Only PORT1 is active. The frequency of DCLK1 is
R1OUT/G1OUT
R1OUT/G1OUT
R2OUT/G2OUT
SINGLE PORT
3.2.4 Display Data Timing
MTL003
TECHNOLOGY
3.3.2OSD Overlay
MTL003 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. MTL003 receives OSD Enable, OSD Red, OSD Green, OSD Blue, and OSD Intensity from external
OSD device.
3.3.3RGB Outp u t Format
MTL003 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 PORT1 and PORT 2 respectively.
The control signals for output port are the display horizontal sync signal (DHSYNC), the display vertical sync
signal (DVSYNC) and the 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
equal to the internal display clock.
¨Dual Pixel Mod e
Is designed to support TFT panels with dual pixel input. PORT1 and PORT2 are used. The first pixel is at
PORT1, and the second at PORT2.
(Rev. 0.95)
DCLK
DDEN
/B1OUT
DUA L PORT
DCLK
DCLK1
000rgb0rgb1rgb2rgb3rgb4
DCLK2
DDEN
/B1OUT
/B2OUT
000rgb0rgb2rgb4rgb6rgb8
000rgb1rgb3rgb5rgb7rgb9
Fig.
Revision 0.95- 12 -2000/06/14
Page 13
MYSON
SDRAM Config ur ation
SGRAM Config u ratio n
MTL003
TECHNOLOGY
(Rev. 0.95)
3.4 Memo r y Inter f ace
General Descrip t io n
In frame buffer mode, the MTL003 connects to the external frame buffers by means of memory interface. The
external frame memory can be made for 1M516bits SDRAM, 256K532bits or 512K532bits SGRAM
devices. Due to different applications such as VGA, SVGA, XGA as well as SXGA, the image resolution of
input and output will be limited resulting from the bandwidth of memory interface. Two configurations with 24,
32 and 48 bits bus modes will be supported to resolve the bandwidth constraint in most of applications. The
clock for external frame memory devices can be provided from the internal PLL circuit or the external clock
applied to pin EXTMCLK and its frequency can be up to 118 MHz. The MTL003 also supplies a simple and
complete memory self-testing mechanism for SDRAM and SGRAM, which can be used to detect memory cell
status and to check connection in memory interface.
3.4.1
In current applications, the most popular organization of SDRAM is 1M516bits. To achieve the desired
bandwidth in memory interface, 2 or 3 devices have to be constructed in parallel. The memory clock range is
from 50Mhz to 118Mhz by tuning the appropriate parameters for the internal PLL circuit. In two devices
configuration, the 24 and 32 bits bus modes are supported. By these m odes, the maximum input image
resolution can be supported up to 10245768 @ 60Hz and 10245768 @ 85Hz respectively. The 48 bits bus
mode in 3 devices will provide the maximum input image resolution up to 128051024 @ 75Hz. Table 3.4.1
gives the configuration for different input and output image format. Figure 3.4.1 shows the co nnection
between the MTL003 and SDRAM devices in 2 configurations.
Unit: device
Output Resolution
Input Resolution
YUV222
VGA (6405480)222
SVGA (8005600)222
XGA (10245768)222
SXGA (128051024)333
SVGAXGASXGA
Table 3.4.1 SDRAM configuration in different input and output modes
3.4.2
The SGRAM devices in 256K532bits and 512K532bits constructions are usually used to feature the wide
data bus for high speed applications. In case of SGRAM usage, the 32 bits data bus of each device is divided
into 2 parts to store input image data. The memory clock is able to be set the desired range as SDRAM case
as well. In two devices(512K532bits) configuration, the 24 and 32 bits bus modes are supported. By these
modes, the maximum input image resolution can be supported up to 10245768 @ 60Hz and 10245768 @
85Hz respectively. The 48 bits bus mode in 3 devices(512K532bits) will provide the maximum input image
resolution up to 128051024 @ 75Hz. Table 3.4.2 provides the configuration for different input and output
image format. Figure 3.4.2 and 3.4.3 show the connection between the MTL003 and SGRAM devices in 2
configurations by 256K532bits and 512K532bits constructions respectively..
Fig. 3.4.3 The interface between MTL003and 512Kx32 bits SGRAM
Revision 0.95- 16 -2000/06/14
Page 17
MYSON
frame buffer, and display output as well.
condition, concluded with STOP condition and acknowledged by ACK condition by the receiver.
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 8 bits that provides the access to any one of the 256 bytes in the selected memory range.
MTL003
TECHNOLOGY
(Rev. 0.95)
3.5 Host Inter fac e
General Descrip t io n
The primary function of Host Interface is to provide the interface between MTL003 and external CPU by 2wire I2C Bus or Direct Bus selected by the input pin BUSSEL. It can generate a ll the I/O decoded control
timing to control all the registers in MTL003. The other function is Screen Write, which allows users to clear
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 the data. The communication must be started with a valid START
The I2C bus device address of MTL003 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
means a LOW to HIGH transition of SDA when SCK is high. Data of SDA only changes when SCK is low.
Ref. Fig.3.5.1.
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, MTL003 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- 17 -2000/06/14
Page 18
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
MTL003
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,
MTL003 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
¨
MTL003 contains an address counter which maintains the last access address incremented by one. If the last
R/W bit set to 1, MTL003 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- 18 -2000/06/14
Page 19
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. MTL003 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
MTL003
TECHNOLOGY
¨Rando m 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
¨Sequent i 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 other read methods. However, the master generates an Acknowledge indicating that it
requires more data to read. MTL003 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.28-bit Direct Bus
or write address from AD[7:0] and HRD#, HWR# to access data. Ref. Fig. 3.5.7.
DATA n
A
C
K
DATA n+1
DATA n+x
A
C
K
S
T
O
P
AD[7:0]Address and data multiplex bus.
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.
Revision 0.95- 19 -2000/06/14
Page 20
MYSON
what events are happening. After the operation is completed, Firmware needs to clear interrupt status by
GPIO[7:6] pins. One is to set them as output only GPIO pins, and the other is to set them as Composite
Writing data to Reg. F4h/D0 when
pin to output ADHS which is HSYNC signal decoded from VGA input Composite signal by the
Writing data to F4h/D6 when
HWR/HRD
MTL003
TECHNOLOGY
AD[7:0]
ALE
Fig. 3.5.7 Direct Bus Timing
3.5.3Interrupt
MTL003 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 E9h) to decide
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.
3.5.4Screen Write
Screen Write function can be used to clear frame buffer m emory and display output by a fixed value defined
in Reg. C6h, C7h, C8h.
DATAADDRESS
(Rev. 0.95)
3.5.5Bi -dir ecti o nal GPIO
MTL003 supports eight General Purpose Input and Output (GPIO) pins GPIO[7:0] on chip. The GPIO[5:0]
pins are bi-directional GPIO pins, and the GPIO[7:6] pins are output only GPIO pins. T here are two functions
for
decoded VSYNC/HSYNC for A/D converters in VGA input path. The data and I/O dir ection of GPIO[7:0] pins
are controlled by Reg. F4h and F5h respectively, and each bit in the register is mapped to GPIO[7:0]
correspondingly. The following description is the process to control GPIO[0] and GPIO[6] in detail, and the
control processes of GPIO[4:1] and GPIO[7] also follows in the same m anner.
¨Bi -directio nal GPIO contr ol proc ess
q Setting Reg. F5h/D0 = 0 or 1 to assign GPIO[0] as output or input.
q
Reg. F4h/D0 when GPIO[0] is input.
¨Outpu t onl y GPIO contro l proc ess
q Setting Reg. F5h/D6 = 0 or 1 to assign GPIO[6] as output or tri-state.
q Setting Reg. F6h/D0 = 0 to select output source from Reg. F4h/D6 or setting it as 1 to make GPIO[6]
MTL003.
q
F5h/D6 = 0. If F6h/D0 is set to 1, the GPIO[6] pin outputs ADHS for AD converters in VGA input path.
3.5.6Update 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.
GPIO[0] is assigned to output status, otherwise reading data from
GPIO[6] is assigned to output only GPIO pin, that is, F6h/D0 = 0 and
Revision 0.95- 20 -2000/06/14
Page 21
MYSON
The MTL003 needs three clock sources to drive synchronous circuits on chip. These cl ocks are generated
XI and XO by an external quartz crystal at 14.31818 MHz. The first one is the same as to the oscillator clock
Polarity as well as Presence. The second is memory clock to synchronize memory controller with the external
118 MHz by means of adjusting a set of appropriate values for M, N and R. The formula for calculating the
MTL003
TECHNOLOGY
(Rev. 0.95)
3.6 On-Chip PLL
General Descrip t io n
from the internal Phase Lock Loop (PLL) circuits with reference to the oscillator clock which is applied to pin
at frequency (14.31818 MHz) to detect and measure graphic vertical and horizontal SYNC Frequency,
frame buffers. The third is the display clock for display controller on chip and output signals to LCD panel.
3.6.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.6.2Memory Clock
This clock is the synchronous clock for the external frame buffer. To accomplish the different DRAM types,
configuration and bandwidth needed for various applications, the memory clock can be set from 50 MHz to
desired frequency of the memory clock is as follows:
f
= f
mclk
Where f
3.6.3Display 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 160 MHz by means of choosing a set of appropriate values for M, N as
well as R. The computing formula is exactly the same as for the memory clock.
5(M+2)/(N+2)51/R
osc
mclk
f
osc
M: post-divider ratio
N: pre-divider ratio
R: optional divider ratio
: the desired memory clock
: oscillator clock with 14.31818 MHz
Revision 0.95- 21 -2000/06/14
Page 22
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
MTL003
TECHNOLOGY
(Rev. 0.95)
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
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 -
-
-
-
-
-
-
-
-
Revision 0.95- 22 -2000/06/14
Page 23
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
MTL003
TECHNOLOGY
40hR/W Pixel Grab V Reference Position - Low00h
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
(Rev. 0.95)
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 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 Total Pixels Count by Input Pixel Clock - High-
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
96hR/W
97hR/W
98hR/W
9EhR/W Dithering Table Data Port 9FhR/W Gamma Table Data Port-
(Rev. 0.95)
00h
00h
00h
A0hR/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 Line Number - LowFFh
ABhR/W Output Vertical 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-
ZOOM CONTROL REGISTERS
AddressMod eRegist ersReset value
B0hR/W Zoom Control Register 000h
B1hR/W Zoom Control Register 100h
B2hR/W Zoom Vertical Scale Down Integer00h
B3hR/W Zoom Horizontal Scale Down Integer00h
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
00h
Revision 0.95- 24 -2000/06/14
Page 25
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.
MTL003
TECHNOLOGY
BFhR/W Interpolation Table Data Port-
HOST CONTROL REGISTERS
AddressMod eRegist ersReset value
C0hR/W Host Control Reg ister 000h
C1hR/W Host Control Reg ister 100h
C4hR/W Host Screen Write Line Length - Low00h
C5hR/W Host Screen Write Line Length - High03h
C6hR/W Host Fill Color - RED00h
C7hR/W Host Fill Color - GREEN00h
C8hR/W Host Fill Color - BLUE00h
CBhRO Host Access Mode Status-
MEMORY CONTROL REGISTERS
AddressMod eRegist ersReset value
D0hR/W Memory Type Control00h
D2hR/W Memory Self Test Control00h
D4hR/W Memory Line Offset - Low00h
D5hR/W Memory Line Offset - High04h
DChROMemory Self-Test Com pare Error Address – MiddleDDhROMemory Self-Test Com pare Error Address – High-
CLOCK CONTROL REGISTERS
AddressMod eRegist ersReset value
E0hR/W Clock Control Register00h
E1hWO Clock Synthesizer Value Load-
E2hR/W Display Clock Synthesizer N Value0Bh
E3hR/W Display Clock Synthesizer M Value32h
E4hR/W Memory Clock Synthesizer N Value0Bh
E5hR/W Memory Clock Synthesizer M Value32h
E6hR/W Clock Synthesizer R Value00h
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
00h
(Add r es s 00h) (R/W)
Revision 0.95- 25 -2000/06/14
Page 26
MYSON
(Address 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)
Inpu t Image Horizont al Acti v e Pixels - Low
Inpu t Image Horizon t al Acti v e Pixels - High (A d dress 07h) (R/W)
(Address 10h) (R/W)
MTL003
TECHNOLOGY
D7-0IV_ACT_START[7:0]
Input Image Vertic al Act i v e Lin e Start - High
D7-3 Reserved
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-3 Reserved
(Rev. 0.95)
D2-0IV_ACT_LEN[10:8]
Inpu t Image Horizon t al Acti v e Pixel Start - Low (Ad dress 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-3 Reserved
D2-0IH_ACT_START[10:8]
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.
(Add r es s 06h) (R/W)
D7-3 Reserved
D2-0IH_ACT_WIDTH[10:8]
Input Image Cont ro l Regist er 0
D7Horizontal Sampling Point Reference
0: from Input HSYNC.
Revision 0.95- 26 -2000/06/14
Page 27
MYSON
1: from Input HREF (only for Video Decoder).
(Address 11h) (R/W)
(Address 12h) (R/W)
MTL003
TECHNOLOGY
D6Input YCBCR Format
D5Digital RGB 6 bit Mode
D4Digital RGB Mode Select
D3Input Image Format
D2Input Clock Source
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 PLL clock.
1: from Video Decoder clock.
(Rev. 0.95)
D1Input Image Source
0: from Graphic source through ADC.
1: from Video source through Video Decoder like SAA7111A.
D0ADC Configuration
0: Double Pixel mode
1: Single Pixel mode
Input Image Cont ro l Regist er 1
D7 Reserved
D6-4De-interlace mode Select
000: All Fields write mode
001: Toggle Field write mode
010: Spatial Filtering write mode
D3Input YUV CCIR656 Format
0: Disable
1: Enable
D2-1 Reserved
D0Still mode Enable
0: Live mode
1: Still mode
Input Image Cont ro l Regist er 2
D7Input ODD Field Invert
0: Normal
1: Invert
D6External Input Interlace Select
0: Non-interlace
Revision 0.95- 27 -2000/06/14
Page 28
MYSON
Input VSYNC Polarity Source
(Address 13h) (R/W)
0: Select Normal HSYNC/ Composite Sync
1: Select Sync On Green
(Address 14h) (R/W)
MTL003
TECHNOLOGY
1: Interlace
D5External Input VSYNC Polarity
0: Active Low
1: Active High
D4External Input HSYNC Polarity
0: Active Low
1: Active High
D3Input ODD Field Source
0: from Internal Detection
1: from External pin.
D2Input Interlace Source
0: from Internal detection
1: from Register setting (D6)
D1
0: from Internal detection
1: from Register setting (D5)
(Rev. 0.95)
D0Input HSYNC Polarity Source
0: from Internal detection
1: from Register setting (D4)
Input Image Cont ro l Regist er 3
D7 Active Position Area for Auto Position in TMDS
0: from Internal Detection
1: from External Data Enable (TDIE)
D6-3 Reserved
D2 Sync On Green Select
D1Input Vertical Timing based on VSYNC
D0Input Horizontal Timing based on HSYNC
Input Image Cont ro l Regist er 4
0: Leading Edge
1: Trailing Edge
0: Leading Edge
1: Trailing Edge
D7Input ODD Field Detection Point
0: at the start of VSYNC pulse.
1: at the end of VSYNC pulse.
D6Input Image Port A, B Data and Clocks Swap
0: Normal
1: Swap
D5Reserved
Revision 0.95- 28 -2000/06/14
Page 29
MYSON
(Address 15h) (R/W)
(Address 16h) (R/W)
ADC HS Polarity Invert when D1=1
(Add r es s 1Ah ) (R/W)
Input VSYNC Delay Adjustment
(Add ress 1Ch) (R/W)
Input HS Pulse Width Forward Extend by IDCLK
MTL003
TECHNOLOGY
D4Input Image CBCR Order Swap
0: Normal
1: Swap
D3-0Reserved
Input Image Cont ro l Regist er 5
D7 Horizontal Pixel Valid Select
0: from Internal Programming
1: from External HREF/TDIE
D6-0Reserved
Input Image Cont ro l Regist er 6
D7-3Reserved
D2
0: Active Low
1: Active High
(Rev. 0.95)
D1Raw HS path Enable
0: Disable
1: Enable
D0Reserved
Inpu t Delay Contro l 2
D7-4
1111: 7 IDCLKs delay
1110: 6 IDCLKs delay
1101: 5 IDCLKs delay
1100: 4 IDCLKs delay
1011: 3 IDCLKs delay
1010: 2 IDCLKs delay
1001: 1 IDCLK delay
1000: Reserved
0111: 7ns gate delay
0110: 6ns gate delay
0101: 5ns gate delay
0100: 4ns gate delay
0011: 3ns gate delay
0010: 2ns gate delay
0001: 1ns gate delay
0000: No delay
D3-0Input HSYNC Delay Adjustment
16 steps to change, each of them is 1ns delay/step.
Input HS Pulse Width Forw ard Extend
D7-0
HS1FWEXT[7:0]: Used when Interlace First/Second Field Detection.
Revision 0.95- 29 -2000/06/14
Page 30
MYSON
(Add ress 1Dh) (R/W)
Input HS Pulse Width Backward Extend by IDCLK
HS1BWEXT[7:0]: Used when Interlace First/Second Field Detection.
(Add ress 1Fh) (RO)
Show Display VSYNC signal directly.
External Input HSYNC Polarity Status
(Add ress 20h) (R/W)
Input Image Back Porch Guard Band by IDCLK
Frame Sync Con t r o l 0 (Add r ess 28h) (R/W)
MTL003
TECHNOLOGY
Inpu t HS Pulse Width Backw ard Extend
D7-0
Input Image Status Register
D7Display VSYNC Monitor
D6Input VSYNC Monitor
D5External Input Interlace Status
D4Extracted CVSYNC Present Status
D3External Input VSYNC Present Status
Show Input VSYNC signal directly.
0: Non-interlace
1: Interlace
0: Not Present
1: Present
0: Not Present
1: Present
(Rev. 0.95)
D2External Input HSYNC Present Status
0: Not Present
1: Present
D1External Input VSYNC Polarity Status
0: Active Low
1: Active High
D0
0: Active Low
1: Active High
Input Image Back Porc h Guard Band
D7-0
HBPGB[7:0]: Used in Auto Position detection to mask out unwanted data.
Inpu t Image Front Porch Guard Band (Ad dress 21h) (R/W)
D7-0Input Image Front Porch Guard Band by IDCLK
HFPGB[7:0]: Used in Auto Position detection to mask out unwanted data.
D7-5Reserved
D1Frame Sync Select in Frame Buffer mode
0: Normal
1: Frame Sync
D0Frame Buffer mode Select
0: Frame Buffer mode
Revision 0.95- 30 -2000/06/14
Page 31
MYSON
Auto Calibr atio n Cont r ol 0 (Address 30h) (R/W)
Pixel Grab Ready Flag
0: MYSON proprietary method
MTL003
TECHNOLOGY
1: Non Frame Buffer mode
Input Image Vertic al Loc k Posi t io n - Low (Add ress 2Ch) (R/W)
It defines the low byte of the number of input lines where Display image tim ing
synchronizes the input image source.
D7-0IPV_LOCK_POS[7:0]
Input Image Verti cal Lo c k Posi t i on - High (Addr ess 2Dh) (R/W)
It defines the high byte of the number of input lines where Display image timing
synchronizes the input image source.
D7-3Reserved
D2-0IPV_LOCK_POS[10:8]
Input Image Hori zon t al Loc k Posi t i o n - Low (Addr ess 2Eh) (R/W)
It defines the low byte of the number of input pixel clocks where Displa y image
timing synchronizes the input image source.
(Rev. 0.95)
D7-0IPH_LOCK_POS[7:0]
Input Image Hori zon t al Loc k Posit i o n - High (Add r ess 2Fh) (R/W)
It defines the high byte of the number of input pixel clocks where Display image
timing synchronizes the input image source.
D7-3Reserved
D2-0IPH_LOCK_POS[10:8]
D7
0: Ready
1: Not Ready
D6Pixel Grab Update Enable
0: Stop updating
1: Continue updating
D5Threshold Select
Used in Histogram mode or MIN/MAX mode.
0: High bound / MAX
1: Low bound / MIN
(RO)
D4Phase Calibration Method Select
1: Difference Value method
D3-2Auto Calibration Modes Select
The measured value is available one item at a time,
selected as shown:
00: Phase Calibration Mode
Revision 0.95- 31 -2000/06/14
Page 32
MYSON
Auto Calibration Ready Flag
Auto Calibr atio n Cont r ol 1 (Address 31h) (R/W)
It is used only for Phase Calibration to mask noise.
000: No Mask
001: Mask bit0
010: Mask bit0,1
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
(Rev. 0.95)
Auto Calib ration RED Value - Byte 0 (Add r es 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 (Addr ess 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]
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)
Revision 0.95- 32 -2000/06/14
Page 33
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
MTL003
TECHNOLOGY
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 SECOND field of Interlace mode.
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 SECOND field of Interlace mode.
D7-0CALVAL_G[15:8]
(Rev. 0.95)
Aut o Calib r ation GREEN Value - Byte 2 (Addres s 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 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
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 Valu e - Byte 2 (Address 3Eh) (RO)
Revision 0.95- 33 -2000/06/14
Page 34
MYSON
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.
RED (Addres s 44h) (R/W)
GREEN (Address 45h) (R/W)
BLUE (Add ress 46h) (R/W)
MTL003
TECHNOLOGY
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)
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)
(Rev. 0.95)
D7-3Reserved
D2-0VGRAB_POS[10:8]
Pixel Grab H Reference Position - 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 (Address 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.
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.
Revision 0.95- 34 -2000/06/14
Page 35
MYSON
SYNC Process o r Contro l (Add ress 48h) (R/W)
Auto Posit i o n Cont ro l (Addr ess 49h) (R/W)
Auto Position Ready Flag
0 (Address 4Eh) (R/W)
MTL003
TECHNOLOGY
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)
0: Ready
1: Not Ready
(Rev. 0.95)
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)
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
0: Normal
1: Mask out Clamp Pulse
0: From Input HSYNC trailing edge.
1: From Input HSYNC leading edge.
D5Clamp Pulse output Polarity
0: Active High
Revision 0.95- 35 -2000/06/14
Page 36
MYSON
1 (Address 4Fh) (R/W)
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
Input V Acti ve Image Count b y Inpu t HS - Low (Add r ess 54h) (RO)
Input V Acti ve Image Count b y Inpu t HS - High (Address 55h) (RO)
MTL003
TECHNOLOGY
1: Active Low
D4-0 Clamp Pulse Start
Start of Clamp Pulse after the selected edge of Input HSYNC by Input DCLK.
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.
D7-0VSPRD[7:0]
Input VS Period Count by REFCLK - High (Add r ess 51h) (RO)
To adjust Clamp Pulse Width by input DCLK.
of REFCLK of the Vertical Sync period measurement.
(Rev. 0.95)
D7-4Reserved
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]
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 (Add r es s 56h) (RO)
It states the low byte of the number of the total image lines.
Revision 0.95- 36 -2000/06/14
Page 37
MYSON
It states the high byte of the number of
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.
MTL003
TECHNOLOGY
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 Count by REFCLK - High (Address 59h) (RO)
REFCLKs of the Horizontal Sync period measurement.
D7-5Reserved
(Rev. 0.95)
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)
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.
Revision 0.95- 37 -2000/06/14
Page 38
MYSON
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.
(Add ress 63h) (R/W)
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
MTL003
TECHNOLOGY
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
(Rev. 0.95)
D2-0DV_TOTAL[10:8]
Display Verti c al SYNC End - Low (Address 62h) (R/W)
It defines the low byte of Vertical SYNC end position in lines.
D7-0DV_SYNC_END[7:0]
Display Verti c al VSYNC End - High
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.
D7-0DV_ACT_START[7:0]
Vertical Active region start position in lines.
(Add ress 64h) (R/W)
(Add ress 65h) (R/W)
D7-3Reserved
D2-0DV_ACT_START[10:8]
Revision 0.95- 38 -2000/06/14
Vertical Active region start position in lines.
(Add r es s 66h) (R/W)
Vertical Active region end position in lines.
Page 39
MYSON
Display Verti c al Acti v e End - High (Ad dress 67h) (R/W)
It defines the high byte of
It defines the low byte of Vertical Border start position in lines.
(Add ress 69h) (R/W)
It defines the high byte of Vertical Border start position in lines.
Display Vertic al Bo rd er End - Low (Addr ess 6Ah) (R/W)
(Add ress 71h) (R/W)
MTL003
TECHNOLOGY
D7-0DV_ACT_END[7:0]
D7-3Reserved
D2-0DV_ACT_END[10:8]
Disp lay Vertical Bo rd er Start - Low (A d dress 68h) (R/W)
D7-0DV_BOR_START[7:0]
Display Verti c al Bor d er Start - High
D7-3Reserved
Vertical Active region end position in lines.
(Rev. 0.95)
D2-0DV_BOR_START[10:8]
It defines the low byte of Vertical Border end position in lines.
D7-0DV_BOR_END[7:0]
Display Vertic al Bo rd er End - High (Addr ess 6Bh) (R/W)
It defines the high byte of Vertical Border end position in lines.
D7-3Reserved
D2-0DV_BOR_END[10:8]
Disp lay Horizon t al Total - Low (Addres 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]
Display Horizo nt al SYNC End - Low (Address 72h) (R/W)
It defines the low byte of Horizontal SYNC end position in display clock cycles.
Revision 0.95- 39 -2000/06/14
Page 40
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 (Address 77h) (R/W)
It defines the high byte of
Display Horizon t al Bo rd er End - Low (Addr ess 7Ah) (R/W)
MTL003
TECHNOLOGY
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]
Horizontal Active region start position in display clock cycles.
(Add r es s 74h) (R/W)
(Rev. 0.95)
D7-3Reserved
D2-0DH_ACT_START[10:8]
(Add r es s 76h) (R/W)
D7-0DH_ACT_END[7:0]
D7-3Reserved
D2-0DH_ACT_END[10:8]
Disp lay Horizont al Bor der Start - Low (Addres s 78h) (R/W)
It defines the low byte of Horizontal Border start position in display clock cycles.
D7-0DH_BOR_START[7:0]
Display Horizo nt al Bo r d er Start - High (Addr ess 79h) (R/W)
Horizontal Active region end position in display clock c ycles.
It defines the high byte of Horizontal Border start position in display clock cycles.
D7-3Reserved
D2-0DH_BOR_START[10:8]
It defines the low byte of Horizontal Border end position in display clock cycles.
Revision 0.95- 40 -2000/06/14
Page 41
MYSON
(Add ress 88h) (R/W)
(Add ress 89h) (R/W)
(Add r es s 8Ah ) (R/W)
MTL003
TECHNOLOGY
D7-0DH_BOR_END[7:0]
Display Horizon t al Bo rd er End - High (Address 7Bh) (R/W)
It defines the high byte of Horizontal Border end position in display clock cycles.
D7-3Reserved
D2-0DH_BOR_END[10:8]
Output Image Contro l Register 0
D7-3Reserved
D2Output Pixel 18 bit RGB Mode Select
0: 24 bit RGB
1: 18 bit RGB
D1Output Dual Pixel Data Exchange
0: Normal
1: Exchange
(Rev. 0.95)
D0Output Dual Pixel Select
0: Dual Pixel
1: Single Pixel
Output Image Contro l Register 1
D7-6Reserved
D5RGB Brightness Control Enable
0: Disable
1: Enable
D4RGB Gain Control Enable
0: Disable
1: Enable
D3-2Reserved
D1Border Window Function
0: OFF
1: ON
D0Output Blank Screen
0: Normal
1: Output Pixel masked as BLACK color
Output Image Contro l Register 2
D7Reserved
D6Temporal Dithering Enable
0: Static Dithering
1: Temporal Dithering
Revision 0.95- 41 -2000/06/14
Page 42
MYSON
Dithering Table R/W Access Enabl
Colo r Gain Cont r ol - RED (Add r ess 90h) (R/W)
It can be used to adjust the gain of RED component of the Display Image.
(Add ress 91h) (R/W)
It can be used to adjust the gain of GREEN component of the Display Image.
(Address 92h) (R/W)
It can be used to adjust the brightness of RED component of the Display Image.
It can be used to adjust the brightness of GREEN component of the Display Image.
MTL003
TECHNOLOGY
D5
0: Disable
1: Enable
D4Dithering Enable
0: Disable
1: Enable
D3 Reserved
D210 bit Gamma Table Enable
0: 8 bit Gamma Table
1: 10 bit Gamma Table
D1Gamma Table R/W Access Enable
0: Disable
1: Enable
D0Gamma Correction Function
0: OFF
1: ON
(Rev. 0.95)
e
D7-0RGAIN[7:0]
0(00h) ~ x1(80h) ~ x1.992185(FFh)
Color Gain Control - GREEN
D7-0GGAIN[7:0]
0(00h) ~ x1(80h) ~ x1.992185(FFh)
Color Gain Contr ol - BLUE
It can be used to adjust the gain of BLUE component of the Display Im age.
D7-0BGAIN[7:0]
0(00h) ~ x1(80h) ~ x1.992185(FFh)
Color Br i gh t n ess Cont r o l - RED (Addr ess 93h) (R/W)
D7-0RBRIGHT[7:0]
-128(80h) ~ 0(00h) ~127(7Fh)
Color Br i g h t n ess Cont r o l - GREEN (Address 94h) (R/W)
D7-0GBRIGHT[7:0]
-128(80h) ~ 0(00h) ~127(7Fh)
Revision 0.95- 42 -2000/06/14
Page 43
MYSON
Bor d er Win d o w Col o r - RED (Address 96h) (R/W)
When the Display Image is not expanded to full screen, it can be specified as the
Border Windo w Color - GREEN (Address 97h) (R/W)
When the Display Image is not expanded to full screen, it can be specified as the
Bor d er Wind o w Color - BLUE (Addr ess 98h) (R/W)
When the Display Image is not expanded to full screen, it can be specified as the
OSD Contro l Regist ers (Add r ess A0h) (R/W)
0: from Internal Display Dot Clock
1: from Internal Display Dot Clock x 2
OSD Intensity Enable (For MOTOROLA)
MTL003
TECHNOLOGY
Color Bri g h t n ess Cont r o l - BLUE (Address 95h) (R/W)
It can be used to adjust the brightness of BLUE component of the Display Image.
D7-0BBRIGHT[7:0]
-128(80h) ~ 0(00h) ~127(7Fh)
RED component of the border color.
D7-0BCR[7:0]
GREEN component of the border color.
D7-0BCG[7:0]
(Rev. 0.95)
BLUE component of the border color.
D7-0BCB[7:0]
Ditherin g Table Data Port (Ad dress 9Eh) (R/W)
Since the Dithering Table is downloadable, this data port is the entry address.
D7-0DITHER_PORT[7:0]
Gamma Tabl e Data Port (Addr es s 9Fh) (R/W)
Since the Gamma Table is downloadable, this data port is the entry address.
D7-0GAMMA_PORT[7:0]
D7OSD Output Clock Select
D6OSD Output VS Invert
0: Normal
1: Invert
D5-4Reserved
D3OSD Function
0: OFF
1: ON
D2
Revision 0.95- 43 -2000/06/14
Page 44
MYSON
(Add r es s A1h ) (R/W)
4 steps to change, each of them is 1ns delay/step.
8 steps to change, each of them is 1ns delay/step.
OSD Con t r o l Regis t er 2 (Addr ess A2h ) (R/W)
(Addr es s A4h ) (R/W)
MTL003
TECHNOLOGY
0: Disable
1: Enable
D1-0OSD TYPE Select
00: OSDRGB = {R0000000, G0000000, B0000000}
01: OSDRGB = {RR000000, GG000000, BB000000}
10: OSDRGB = {RRRR0000, GGGG0000, BBBB0000}
11: OSDRGB = {RRRRRRRR, GGGGGGGG, BBBBBBBB}
R = OSDR, G = OSDG, B = OSDB
OSD Contro l Regist er 1
D7OSD Output HS Invert
D6OSD Output DCLK Invert
D5-4OSD Output HS Delay
0: Normal
1: Invert.
0: Normal
1: Invert.
(Rev. 0.95)
D3OSD Input Data Sample Clock Invert
D2-0OSD Input Data Sample Clock Delay
D7-4Reserved
D3-0OSD Output Clock Delay
Output Invert Contro l
D7 Reserved
D6RGB Data Invert Enable
D5Display DCLK2 Invert
0: Normal.
1: Invert.
16 steps to change, each of them is 1ns delay/step.
0: Disable
1: Enable
0: Normal
1: Invert
D4Display DCLK1 Invert
0: Normal
1: Invert
D3Reserved
D2Display Data Enable (DDEN) Invert
0: Normal
Revision 0.95- 44 -2000/06/14
Page 45
MYSON
(Add r es s A5h ) (R/W)
Output Clocks Duty Cycle Adjust ment (Ad dress A7h) (R/W)
isplay DCLK2 duty cycle Increase/Decrease
MTL003
TECHNOLOGY
1: Invert
D1Display VSYNC Invert
0: Normal
1: Invert
D0Display HSYNC Invert
0: Normal
1: Invert
Output Tri_state Control
D7Display Data R2OUT, G2OUT, B2OUT Output Disable
0: Normal
1: Tri_stated
D6Display Data R1OUT, G1OUT, B1OUT Output Disable
It defines the low byte of Output Vertical Active Line Number only used for getting the values of
Output Vertical Acti v e Line Number - High
ABh) (R/W)
MTL003
TECHNOLOGY
D6-4
8 steps to adjust, Typical 0.5ns delay/step
D3
0: Decrease
1: Increase
D2-0Display DCLK1
8 steps to adjust, Typical 0.5ns delay/step
Outpu t Miscellaneous Contr ol
D7Second field Line Buffer Overflow status for Interlace input (RO)
0: Not Overflow
1: Overflow
D6Second field Line Buffer Underflow status for Interlace input (RO)
0: Not Underflow
1: Underflow
D5First field Line Buffer Overflow status for Interlace input or
Line buffer Overflow status for Non-interlace input (RO)
0: Not Overflow
1: Overflow
(Rev. 0.95)
D4First field Line Buffer Underflow status for Interlace input or
Line Buffer Overflow status for Non-interlace input (RO)
0: Not Underflow
1: Underflow
D3Auto Output Horizontal Total Calculation Start (W)
0: Disable
1: Enable
Auto Output Horizontal Total C
0: Ready
1: Not Ready
D2-0Reserved
Reg. ACh and ADh.
D7-0OVDE[7:0]
It defines the high byte of Output Vertical Active Line Number only used for getting the values of
Reg. ACh and ADh.
(Address
(Address
(R)
D1-0OVDE[9:8]
Output Horizon t al Total Pixel Number - Low (Address ACh) (RO)
It states the low byte of Output Horizontal Total Pixel Number.
Revision 0.95- 46 -2000/06/14
Page 47
MYSON
It states the high byte of Output Horizontal Total Pixel Residue Number.
Zoom Cont r o l Register 0 (Address B0h) (R/W)
INTERPOLATION TABLE mode (only for Scale Up)
Zoom Contr o l Regist er 1 (Address B 1h) (R/W)
Interpolation Table R/W Access Enable
MTL003
TECHNOLOGY
D7-0OHTOT[7:0]
Output Horizont al Total Pixel Numb er - High (Address ADh) (RO)
It states the high byte of Output Horizontal Total Pixel Number.
D2-0OHTOT[10:8]
Output Horizon t al Total Residu e Numb er - Low (Addr ess AEh) (RO)
It states the low byte of Output Horizontal Total Pixel Residue Number.
D7-0OHTOT_RES[7:0]
Output Horizont al Total Resid ue Number - High (Address AFh) (RO)
D7-2Reserved
D1-0OHTOT_RES[9:8]
(Rev. 0.95)
D7Vertical Scale Mode
0: Scale Up
1: Scale Down
D6-4Vertical Scale Select
0XX:PASS mode
10X:DUPLICATE mode
110:BILINEAR mode
111:
D3Horizontal Scale Mode
D2-0Horizontal Scale Select
D7-1Reserved
D0
0: scale up
1: scale down
0xx: PASS mode
10x: DUPLICATE mode
110: BILINEAR mode
111: INTERPOLATION TABLE mode
0: Disable
1: Enable
Zoom Vertic al Scale Down Integer Ratio Region (Address B2h) (R/W)
It defines vertical scale down integer ratio value region
Revision 0.95- 47 -2000/06/14
Page 48
MYSON
It defines the low byte of vertical scale ratio value for scale up and down.
(Add r es s B5h ) (R/W)
It defines the low byte of vertical scale ratio value for scale up and down.
(Add r es s B7h ) (R/W)
It defines the entry address of the Interpolation table data port.
MTL003
TECHNOLOGY
D7-3Reserved
D2-0ZVDIV[2:0]
0 : scale down ratio = 1-1/2(exclude 1)
1 : scale down ratio = 1/2-1/4(exclude 1/2)
2: scale down ratio = 1/4-1/8(exclude 1/4)
3: scale down ratio = 1/8-1/16(exclude 1/8)
4: scale down ratio = 1/16-1/32(exclude 1/16)
Zoom Horizon t al Scale Down Integer Ratio Region (Add r ess B3h) (R/W)
It defines horizontal scale down integer ratio value region.
D7-3Reserved
D2-0ZHDIV[2:0]
0 : scale down ratio = 1-1/2(exclude 1)
1 : scale down ratio = 1/2-1/4(exclude 1/2)
2: scale down ratio = 1/4-1/8(exclude 1/4)
3: scale down ratio = 1/8-1/16(exclude 1/8)
4: scale down ratio = 1/16-1/32(exclude 1/16)
(Rev. 0.95)
Zoom Vertic al Scale Ratio – Low (Add ress B4h) (R/W)
D7-0ZVSF[7:0]
Zoom Vertic al Scale Ratio - High
D7-0ZVSF[15:8]
For Scale Up ZVSF = CEIL[(input_height – 1)/ (output_height – 1)* 216]
For Scale Down ZVSF = CEIL{[(input_height’ – 1)/ (output_height – 1)-1]* 216}
,where input_height’ = input_height / 2^ZVDIV. The means of ZVDIV is referenced to Reg. B2h.
Zoom Horizon t al Scale Ratio - Low (Add r ess B6h) (R/W)
It defines the low byte of horizontal scale ratio value for scale up and down.
D7-0ZHSF[7:0]
Zoom Horizo nt al Scale Ratio - High
It defines the high byte of horizontal scale ratio value for scale up and down.
D7-0ZHSF[15:8]
For Scale Up ZHSF = ROUND[(input_width – 1)/ (output_width – 1)* 216]
For Scale Down ZVSF = ROUND{[(input_width’ – 1)/ (output_width – 1)-1]* 216}
,where input_width’ = input_width / 2^ZHDIV. The means of ZHDIV is referenced to Reg. B3h.
Interpolati o n Table Data Port (Address BFh) (R/W)
Revision 0.95- 48 -2000/06/14
Page 49
MYSON
Host Cont r o l Regist er 0 (Address C0h) (R/W)
Host Screen Write Stop Enable
Host Screen Write Ready Flag
Host Cont ro l Regis t er 1 (Addr ess C1h) (R/W)
1: Delay to Display VSYNC
It defines the low byte of the vertical line length for Host Screen Write.
(Add ress C5h) (R/W)
It defines the high byte of the vertical line length for Host Screen Write.
It defines the low byte of Memory Line Offset Address Length for Memory Read/Write.
D7-0Line_offset[7:0]
Memory Line Offset –
It defines the high byte of Memory Line Offset Address Length for Memory Read/Write.
D7-3Reserved
D2-0Line_offset[10:8]
D7-0MSFTBA [7:0]
– Low (Addr ess DBh) (RO)
(Rev. 0.95)
– Middle (Address DCh) (RO)
D7-0MSFTBA [15:8]
– High (Add ress DDh) (RO)
and Patterns Number.
D7Reserved
D6-5Memory Self-Test Patterns Number when Comparing Error
00: Pattern Constructed by Linear Memory Address
01: 48 Bits Pattern Toggled between 55 and AA
10: 48 Bits Pattern Toggled between AA and 55
11: Reserved
D4-0MSFTBA [20:16]
Clock Synthesizer Control Regist er
D7-4Reserved
D3Memory Clock Source
0: Internal Memory Clock
1: External Memory Clock from pin EXTMCLK
D2Display Clock Source
D1Memory Clock Synthesizer Enable
Revision 0.95- 51 -2000/06/14
0: Enable
Page 52
MYSON
(Add r es s E1h) (WO)
(Add ress E3h) (R/W)
Clock Syn t hesizer R Value (Addr ess E6h) (R/W)
0: No Display VSYNC pulse detected
1: Any Display VSYNC pulse detected
MTL003
TECHNOLOGY
1: Disable
D0Display Clock Synthesizer Enable
0: Enable
1: Disable
Clock Synth esizer Value Load
D7-2Reserved
D1Memory Clock Synthesizer Value Load (WO)
D0Display Clock Synthesizer Value Load (WO)
Display Cloc k Syn t h esi zer N Value (Add r ess E2h) (R/W)
D7-0Display Clock Synthesizer N value
Display Cloc k Synth esizer M Value
D7-0 Display Clock Synthesizer M value
(Rev. 0.95)
Memory Cloc k Syn t h esi zer N Value (Add r ess E4h) (R/W)
D7-0Memory Clock Synthesizer N value
Memory Cloc k Syn t h esi zer M Value (Add res s E5h) (R/W)
D7-0 Memory Clock Synthesizer M value
D7-4Reserved
D3-2 Memory Clock Synthesizer R value
00: No divided
01: Divided by 2
1x: Divided by 4
D1-0 Display Clock Synthesizer R value
00: No divided
01: Divided by 2
1x: Divided by 4
SYNC Interru p t Flag Cont r o l (Add r es s E8h) (R)
It contains the status of SYNC Interrupts.
D7Display VSYNC Pulse Interrupt Status
D6Input VSYNC Pulse Interrupt Status
D5VSYNC Presence Change Status
Revision 0.95- 52 -2000/06/14
0: No Input VSYNC pulse detected
1: Any Input VSYNC pulse detected
Page 53
MYSON
VSYNC Polarity Change Status
HSYNC Polarity Change Status
HSYNC Frequency Change Status
MTL003
TECHNOLOGY
0: No Change
1: Change
D4HSYNC Presence Change Status
0: No Change
1: Change
D3
0: No Change
1: Change
D2
0: No Change
1: Change
D1VSYNC Frequency Change Status
0: No Change
1: Change
D0
0: No Change
1: Change
(Rev. 0.95)
SYNC Interr u p t Flag Contr o l (Add r ess E8h) (W)
It is used to clear the corresponding SYNC interrupt signal when Software finishes
serving the interrupt service routine.
It is used to control Interrupt generation by comparing the frequency change value
MTL003
TECHNOLOGY
1: Enable
D1VSYNC Frequency Change Interrupt Enable
0: Disable
1: Enable
D0
0: Disable
1: Enable
EBh ) (R/W)
It is used to enable General Interrupt functions.
D7
0: Active Low
1: Active High
D6-2Reserved
D1Auto Position Finish Interrupt Enable
0: Disable
1: Enable
(Rev. 0.95)
D0Auto Calibration Finish Interrupt Enable
0: Disable
1: Enable
ECh) (R/W)
when Input HS Frequency Changes.
D7-0HSCMPREG[7:0]
Power Management Contr o l (Add r ess F1h) (R/W)
D7Reserved
D6Power Down Gamma & Interpolation Table
0: Normal
1: Power Down
D5Power Down Output Line Buffers
0: Normal
1: Power Down
D4Power Down Input Line Buffers
0: Normal
1: Power Down
D3-2Reserved
D1Power Down all the clocks except REFCLK
0: Normal
1: Power Down
Revision 0.95- 55 -2000/06/14
Page 56
MYSON
GPIO Cont r ol Regist er (Address F4h) (R/W)
Misc Cont r o l (Add res s F6h) (R/W)
MTL003
TECHNOLOGY
D0Software Reset Enable
0: Disable
1: Enable
It controls the data of the GPIO pins.
D7-0GPIO[7:0]
GPIO Direct i o n Cont r o l (Addres s F5h) (R/W)
It controls the In/Out direction of the GPIO pins, where “0” means Output, and
“1” means Tri_state or Input.
D7-6GPIO[7:6] Output Enable
0: Output
1: Tri_state
D5-0GPIO[5:0] In/Out Select
0: Output
1: Input
(Rev. 0.95)
GPIO
It defines the GPIO pins miscellaneous control.
D7-1Reserved
D0GPIO[7:6] Output Pins Source
0: from Reg. F4h/D7-6
1: from ADVS/ADHS
Revision 0.95- 56 -2000/06/14
Page 57
MYSON
5. ELECTRICAL CHA R ACTERISTICS
5.1 DC CHARACTERISTICS
PAR AMETER
MTL003
TECHNOLOGY
Tabl e 5.1 Recomm ended Operating Conditi ons
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 Leakage 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- 57 -2000/06/14
Page 58
MYSON
5.2 AC CHARA CTERISTICS
PARAMETER
MTL003
TECHNOLOGY
¨Inpu t Interface Timin g
Figure 5.2.1 Input 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- 58 -2000/06/14
Page 59
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
MTL003
TECHNOLOGY
¨Outpu t Interface Timin g
Figure 5.2.2 Output 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 9 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- 59 -2000/06/14
Page 60
MYSON
PARAMETER
OSD VS / HS Output Delay to OCLK
MTL003
TECHNOLOGY
¨OSD Interface 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- 60 -2000/06/14
Page 61
MYSON
PARAMETER
MTL003
TECHNOLOGY
2
¨I
C Host Interface Timin g
Tsu:staThd:sto
Figur e 5.2.4I2C Host Interface Timing
Thigh
Tlow
Thd:sta
Tsu:dat
Thd:dat
(Rev. 0.95)
Tsu:sto
Table 5.2.4 I2C Host Interface Timing
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- 61 -2000/06/14
Page 62
MYSON
PARAMETER
WR/RD Pulse Width
ALE Low to WR/RD Low
WR/RD High to ALE High
WR/RD
MTL003
TECHNOLOGY
¨8-bit Direct Host Interface Timing
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 Address Float -5 ns
Trldv RD Low to Valid Data In 30 ns
Trhdz Data Float after RD High 0 15 ns
DATA OUTA0-A7
TrhdzTrldv
MIN MAX UNIT
35 ns
5 ns
0 ns
Revision 0.95- 62 -2000/06/14
Page 63
MYSON
PARAMETER
Memory Output Delay to MCK
MCKE, MCS#, MRAS#,
MCAS#, MWE#,
DQM[1:0], MA[11:0]
mck
MTL003
TECHNOLOGY
¨Memory Interf ac e (SDRAM/SGRAM) Tim i n g
Figure 5.2.6 Memor y Interface Timin g
T
Tmch
MCK
Tmds Tmdh
MD[47:0]
Tmod
(Rev. 0.95)
Table 5.2.6 Memor y Interface Timin g
SYMBOL
TmckMemory Clock Cycle Time8.5 ns
Tmch/TmckMemory Clock Duty Cycle0.4 0.6 ns
TmdsData-in Setup Time for MCK1 ns
Tmdh Data-in Hold Time for MCK2 ns
Tmod
MIN MAX UNIT
2 8.5 ns
Revision 0.95- 63 -2000/06/14
Page 64
MYSON
6. PACKAGE DIMENSION
3
D
A-B
b
A-B D
A-B D
e
EE1E2
D1
0.05
;L1
NOTES:
B
A
S
S
L
0.25mm
MTL003
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
2
R1
R2
GAGE PLANE
ccc
C
MIN. NOM. MAX. MIN.NOM.MAX.
0.13 0.160.230.0050.0060.009
0.40 BSC.0.016 BSC.
25.200.992
25.200.992
TOLERANCES OF FORM AND
POSITION
0.200.008
0.200.008
X0.08XX0.003X
X0.07XX0.003X
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.