Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
LTA-15E302
LTA-20E302
LTA-20E303
www.akai.ru
TABLE OF CONTENTS
INPUT IMAGE SIGNAL SAMPLING AREA .........................................................................................................4
OUTPUT IMAGE SIGNAL AND DISPLAY AREA................................................................................................6
OUTPUT MODE 800X600@60HZ ...............................................................................................................................7
OUTPUT MODE 1024X768@60HZ .............................................................................................................................7
OUTPUT MODE 1280X1024@60HZ ...........................................................................................................................8
DE-INTERLACE MODES........................................................................................................................................9
CALCULATION OF SCALING DOWN/UP FACTOR.........................................................................................13
SCALING DOWN FACTOR ........................................................................................................................................13
SCALING UP FACTOR..............................................................................................................................................15
Horizontal Scaling up factor Examples..............................................................................................................15
Vertical Scaling up factor Examples..................................................................................................................16
BUS TYPES .............................................................................................................................................................18
DIRECT BUS ...........................................................................................................................................................18
SERIAL BUS ...........................................................................................................................................................18
NOTICE OF USING OF SERIAL BUS ..................................................................................................................20
FLUSH FUNCTION ................................................................................................................................................21
LINE WRITE...........................................................................................................................................................22
LINE READ.............................................................................................................................................................24
GAMMA FUNCTION .............................................................................................................................................26
PROCEDURE OF MEMORY CLOCK AND OUTPUT DOT CLOCK PROGRAMMING. ...............................27
MEMORY CLOCK REQUIREMENTS AND MEMORY AND OUTPUT VIDEO CLOCK CALCULATION.28
MEMORY CLOCK REQUIREMENTS -- MINIMUM MCLK (MHZ) ................................................................................28
MEMORY CLOCK CALCULATION: ............................................................................................................................28
OUTPUT VIDEO CLOCK CALCULATION:....................................................................................................................29
PROCEDURE OF AUTO TRACKING..................................................................................................................30
AUTO POSITION PROCEDURE ..........................................................................................................................32
MX88L284-V
Revision: 1.0
MX88L284-V
Revision: 1.0
VSYNC
ISSPV
Register
08h/09h
ISSPH
Register
0Ah/0Bh
(Reg. 11h D4=0)
ISDCV
Register
0Ch/0Dh
ISSPH
Register
0Ah/0Bh
(Reg. 11h D4=1)
ISDCH
Register
0Eh/0Fh
INPUT MODE
ISSPV REG.
ISDCV REG.
ISSPH REG.
ISDCH REG.
Register
0x08
0x09
0x0C
0x0D
0x0A
0x0B
0x0E
0x0F
720x400@70Hz
0x22
0x00
0x90
0x01
0x38
0x00
0xD0
0x02
640x350@85Hz
0x3B
0x00
0x5E
0x01
0x33
0x00
0x80
0x02
720x400@85Hz
0x2A
0x00
0x90
0x01
0x6C
0x00
0xD0
0x02
640x350@85Hz
0x3C
0x00
0x5E
0x01
0x60
0x00
0x80
0x02
640x480@85Hz
0x19
0x00
0xE0
0x01
0x50
0x00
0x80
0x02
640x480@75Hz
0x10
0x00
0xE0
0x01
0x78
0x00
0x80
0x02
640x480@72Hz
0x1C
0x00
0xE0
0x01
0x80
0x00
0x80
0x02
640x480@60Hz
0x21
0x00
0xE0
0x01
0x30
0x00
0x80
0x02
800x600@85Hz
0x1B
0x00
0x58
0x02
0x98
0x00
0x20
0x03
800x600@75Hz
0x15
0x00
0x58
0x02
0xA0
0x00
0x20
0x03
800x600@72Hz
0x17
0x00
0x58
0x02
0x40
0x00
0x20
0x03
800x600@60Hz
0x17
0x00
0x58
0x02
0x58
0x00
0x20
0x03
MX88L284-V
Revision: 1.0
INPUT MODE
ISSPV REG.
ISDCV REG.
ISSPH REG.
ISDCH REG.
Register
0x08
0x09
0x0C
0x0D
0x0A
0x0B
0x0E
0x0F
800x600@56Hz
0x16
0x00
0x58
0x02
0x80
0x00
0x20
0x03
1024x768@85Hz 0x24
0x00
0x00
0x03
0xD0
0x00
0x00
0x04
1024x768@75Hz 0x1C
0x00
0x00
0x03
0xB0
0x00
0x00
0x04
1024x768@70Hz 0x1D
0x00
0x00
0x03
0x90
0x00
0x00
0x04
1024x768@60Hz 0x1D
0x00
0x00
0x03
0xA0
0x00
0x00
0x04
1024x768@43i
0x14
0x00
0x00
0x03
0x38
0x00
0x00
0x04
1152x864@85Hz 0x2B
0x00
0x60
0x03
0xE0
0x00
0x80
0x04
1152x864@75Hz 0x20
0x00
0x60
0x03
0x00
0x01
0x80
0x04
1152x864@70Hz 0x2C
0x00
0x60
0x03
0xC8
0x00
0x80
0x04
1152x864@60Hz 0x25
0x00
0x60
0x03
0xC0
0x00
0x80
0x04
1280x960@60Hz 0x24
0x00
0xC0
0x03
0x38
0x01
0x00
0x05
1280x1024@85Hz 0x2C
0x00
0x00
0x04
0xE0
0x00
0x00
0x05
1280x1024@75Hz 0x26
0x00
0x00
0x04
0xF8
0x00
0x00
0x05
1280x1024@60Hz 0x26
0x00
0x00
0x04
0xF8
0x00
0x00
0x05
1280x1024@43i
0x00
0x00
0x04
0xB0
0x00
0x00
0x05
0x12
MX88L284-V
Revision: 1.0
HDTOT
Register
2E h/2F h
HSEND
Register
32 h/33 h
HSYNC
FHDE
HFEND
Register
2Ah/2Bh
HFST
Register
26 h/27 h
HDEND
Register
3A h/3Bh
MVDE
HDST
Register
36 h/37 h
VDST
Register
34 h/35 h
MHDE
VFST
Register
24 h/25 h
VDEND
Register
38 h/39 h
Display Area
Frame Window
VSYNC
FVDE
VSEND
Register
30 h/31 h
VFEND
Register
28 h/29 h
VDTOT
Register
2Ch/2Dh
MX88L284-V
Revision: 1.0
Timing name
Value
Register = Value -1
VDTOT
525(20Dh)
2Ch=0Ch
2Dh=02h
HDTOT
800(320h)
2Eh=1Fh
2Fh=03h
VSEND
30h=01h
31h=00h
HSEND
96(60h)
32h=5Fh
33h=00h
VFST/VDST
35(23h)
24h/34h=22h
25h/35h=00h
HFST/HDST
144(90h)
26h/36h=8Fh
27h/37h=00h
VFEND/VDEND 515(203h)
28h/38h=02h
29h/39h=02h
HFEND/HDEND 784(310h)
2Ah/3Ah=0Fh
2Bh/3Bh=03h
DCLK
25.175
B0h=BCh
B1h=32h
H Sync Polarity
NEGATIVE
E4h bit 0 = 0
V Sync Polarity
NEGATIVE
E4h bit 1 = 0
Timing name
Value
Register = Value -1
VDTOT
628(274h)
2Ch=73h
2Dh=02h
HDTOT
1056(420h)
2Eh=1Fh
2Fh=04h
VSEND
30h=03h
31h=00h
HSEND
128(80h)
32h=7Fh
33h=00h
VFST/VDST
27(1Bh)
24h/34h=1Ah
25h/35h=00h
HFST/HDST
216(D8h)
26h/36h=D7h
27h/37h=00h
VFEND/VDEND 627(273h)
28h/38h=72h
29h/39h=02h
HFEND/HDEND 1016(3F8h)
2Ah/3Ah=F7h
2Bh/3Bh=03h
DCLK
40
B0h=B2h
B1h=34h
H Sync Polarity
POSITIVE
E4h bit 0 = 1
V Sync Polarity
POSITIVE
E4h bit 1 = 1
Timing name
Value
Register = Value -1
VDTOT
806(326h)
2Ch=25h
2Dh=03h
HDTOT
1344(540h)
2Eh=3Fh
2Fh=05h
VSEND
30h=05h
31h=00h
HSEND
136(88h)
32h=87h
33h=00h
VFST/VDST
35(23h)
24h/34h=22h
25h/35h=00h
MX88L284-V
Revision: 1.0
HFST/HDST
296(128h)
26h/36h=27h
27h/37h=01h
VFEND/VDEND 803(323h)
28h/38h=22h
29h/39h=03h
HFEND/HDEND 1320(528h)
2Ah/3Ah=27h
2Bh/3Bh=05h
DCLK
65
B0h=ACh
B1h=BAh
H Sync Polarity
NEGATIVE
E4h bit 0 = 0
V Sync Polarity
NEGATIVE
E4h bit 1 = 0
Timing name
Value
Register = Value -1
VDTOT
1066(42Ah)
2Ch=29h
2Dh=04h
HDTOT
1688(698h)
2Eh=97h
2Fh=06h
VSEND
30h=02h
31h=00h
HSEND
112(70h)
32h=6Fh
33h=00h
VFST/VDST
41(29h)
24h/34h=28h
25h/35h=00h
HFST/HDST
360(168h)
26h/36h=67h
27h/37h=01h
VFEND/VDEND 1065(429h)
28h/38h=28h
29h/39h=04h
HFEND/HDEND 1640(668h)
2Ah/3Ah=67h
2Bh/3Bh=06h
DCLK
108
B0h=0Ch
B1h=B0h
H Sync Polarity
POSITIVE
E4h bit 0 = 1
V Sync Polarity
POSITIVE
E4h bit 1 = 1
MX88L284-V
Revision: 1.0
De-Interlace Modes
Register 0x13/D[2:0] defines de-interlace mode when input image data is interlace. If input data is noninterlace, all fields are written to frame memory and ignore these bits.
When odd de-interlace mode, only odd fields are written to frame memory.
When even de-interlace mode, only even fields are written to frame memory.
When odd/even de-interlace mode, odd and even fields are written to frame memory and composes to a
complete frame.
When toggle de-interlace mode, each fields are written to different frame memory. When reading from
frame memory, the source of display frame is toggled between two fields data which are in frame
memory.
When Motion-Adaptive de-interlace mode(0x13 D2=1), it only support YCbCr422 format data. The
maximum horizontal dot count of input is 768 dots, and please set register 0x14 as 10h. The VOP vertical
scaling factor is same as write frame model. And it doesnt support horizontal mirror.
Fig. 3 7 explains the relationship between input image and frame memory data.
MX88L284-V
Revision: 1.0
A input frame
Field 1 (odd)
Field 2 (even)
Line 1
Line 3
Line 5
Line 7
Line 2
Line 4
Line 6
Line 8
Line 1
Line 3
Line 5
Line 7
Line 9
.
.
.
.
.
Last line in odd field
A input frame
Field 1 (odd)
Field 2 (even)
Line 1
Line 3
Line 5
Line 7
Line 2
Line 4
Line 6
Line 8
Line 2
Line 4
Line 6
Line 8
Line 10
.
.
.
.
.
Last line in even field
10
MX88L284-V
Revision: 1.0
A input frame
Field 1 (odd)
Field 2 (even)
Line 1
Line 3
Line 5
Line 7
Line 2
Line 4
Line 6
Line 8
Fig. 5 Interlace input and uses odd/even (write frame) de-interlace mode
A input frame
Field 1 (odd)
Field 2 (even)
11
MX88L284-V
Revision: 1.0
A input frame
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
12
MX88L284-V
Revision: 1.0
Output Xm
640
640
13
0x00
MX88L284-V
Revision: 1.0
720
640
0x09
0x01
800
640
0x0A
0x01
1024
640
0x0C
0xCF
1152
640
0x0E
0x69
1280
640
0x10
0x04
800
800
0x08
0x00
1024
800
0x0A
0x3F
1152
800
0x0B
0x87
1280
800
0x0C
0xCF
1024
1024
0x08
0x00
1152
1024
0x09
0x01
1280
1024
0x0A
0x01
Output Ym
480
480
0x08
0x00
600
480
0x0A
0x02
768
480
0x0C
0xD0
864
480
0x0E
0x6A
1024
480
0x11
0x16
600
600
0x08
0x00
768
600
0x0A
0x3F
864
600
0x0B
0x87
1024
600
0x0D
0xAA
768
768
0x08
0x00
1024
768
0x0A
0xAC
14
MX88L284-V
Revision: 1.0
Scaling Up Factor
Scaling up factor calculation is easier than scaling downs.
Assume frame data in memory is (Xm, Ym) and will scale up to (Xo, Yo):
The horizontal factor is calculated as follow:
Let scaling up factor F = (Xm 1) / (Xo 1) = 0.ABCDE16, where ABCDE is the fraction part in the
scaling up factor and in hexadecimal. ABCD is the first 4 nibble (16 bits) of the factor F and E is the rest
part of the fraction.
If E = 0, then the ABCD16 is the value should write to MX88L284s scaling up registers.
If E <> 0, then the value (ABCDE16 + 1) should write to MX88L284s scaling up registers.
The same calculation is in vertical except use Ym and Yo.
Input
Xm
Output
Xo
MRRH-H
Scaling Up
Factor
OFFSET 0x59
F=(Xm-1)/(Xo-1)
MRRH-L
640
800
0.CCBD
0xCC
0xBD
640
1024
0.9FE8
0x9F
0XE8
640
1280
0.7FE7
0x7F
0xE7
720
800
0.E65F
0xE6
0x5F
720
1024
0.B3ED
0xB3
0xED
720
1280
0.8FEA
0x8F
0xEA
800
1024
0.C7F2
0xC7
0xF2
1024
1280
0.CCC3
0xCC
0xC3
1152
1280
0.E662
0xE6
0x62
OFFSET 0x58
Input
Xm
Output
Xo
Scaling Up
Factor
F=Xm/Xo
MRRH-H
OFFSET 0x59
MRRH-L
OFFSET 0x58
640
800
0.CCCD
0xCC
0xCD
640
1024
0.A000
0xA0
0x00
640
1280
0.8
0x80
0x00
720
800
0.E667
0xE6
0x67
15
MX88L284-V
Revision: 1.0
Input
Xm
Output
Xo
Scaling Up
Factor
F=Xm/Xo
MRRH-H
OFFSET 0x59
MRRH-L
OFFSET 0x58
720
1024
0.B400
0xB4
0x00
720
1280
0.9
0x90
0x00
800
1024
0.C800
0xC8
0x00
1024
1280
0.CCCD
0xCC
0xCD
1152
1280
0.E667
0xE6
0x67
Input
Ym
Output
Yo
MRRV-H
Scaling Up
Factor
OFFSET 0x57
F=(Ym-1)/(Yo-1)
MRRV-L
350
480
0.BA86
0xBA
0x86
350
600
0.9528
0x95
0x28
350
768
0.747D
0x74
0x7D
350
1024
0.5756
0x57
0x56
400
480
0.D53F
0xD5
0x3F
400
600
0.AA87
0xAA
0x87
400
768
0.852D
0x85
0x2D
400
1024
0.63D9
0x63
0xD9
480
600
0.CCB7
0xCC
0xB7
480
768
0.9FE0
0x9F
0xE0
480
1024
0.77DE
0x77
0xDE
600
768
0.C7EE
0xC7
0xEE
600
1024
0.95E6
0x95
0xE6
768
1024
0.BFF0
0xBF
0xF0
864
1024
0.D7F6
0xD7
0xF6
OFFSET 0x56
Input
Ym
Output
Yo
Scaling Up
Factor
F=Ym/Yo
MRRV-H
OFFSET 0x57
MRRV-L
OFFSET 0x56
350
480
0.BAAB
0xBA
0xAB
16
MX88L284-V
Revision: 1.0
Input
Ym
Output
Yo
Scaling Up
Factor
F=Ym/Yo
MRRV-H
OFFSET 0x57
MRRV-L
OFFSET 0x56
350
600
0.9556
0x95
0x56
350
768
0.74AB
0x74
0xAB
350
1024
0.578
0x57
0x80
400
480
0.D556
0xD5
0x56
400
600
0.AAAB
0xAA
0xAB
400
768
0.8556
0x85
0x56
400
1024
0.64
0x64
0x00
480
600
0.CCCD
0xCC
0xCD
480
768
0.A0000
0xA0
0x00
480
1024
0.78
0x78
0x00
600
768
0.C800
0xC8
0x00
600
1024
0.96
0x96
0x00
768
1024
0.C000
0xC0
0x00
864
1024
0.D800
0xD8
0x00
17
MX88L284-V
Revision: 1.0
Bus Types
MX88L284 support two bus types interface the host CPU: direct and serial bus through Bustype(pin 1). It
can let us access I/O registers and memory described as follows.
Direct Bus
The direct bus use AD[7:0], ALE, RD#, WR# and BCS# to interface with host CPU. This bus use ALE to
latch address on AD bus, WR# / RD# to get data.
BCS#
AD[7:0]
Serial Bus
This bus type use SBCLK, SBDATA, SBCS# and BCS#.
BCS#
SBCS#
SBCLK
SBDATA
18
MX88L284-V
Revision: 1.0
19
MX88L284-V
Revision: 1.0
20
MX88L284-V
Revision: 1.0
Flush Function
Flush function is a speedy way to fill memory with a specified color value.
There are 5 steps to use this function as following:
1.
2.
3.
Setup the line count to be filled. (Register 0x99h/0x9Ah, note that the define in
this registers is different with they are used in line write function)
4.
Set the flush function( Register 0x9Eh/bit 3) and send a start command(Register
0x9Eh/bit 1 = 1)
5.
Wait the ready bit (Register 0x9Eh/bit0) set to 1. You can get the state by polling
this bit directly or waiting for interrupt
6.
Please note that flush line length is fixed to 1024 pixels and the starting address is decided by reg. 0x96,
0x97, 0x98.
21
MX88L284-V
Revision: 1.0
Line Write
Line writes function is similar to flush function. If you like to write a pattern or a picture to memory, use
the line write function.
Following steps show you the way to use line write function:
1.
Switch to still mode. (Register 0x11h/bit 5 = 1) This step prevent the input data destroy
the image just written to memory.
2.
Set the displayed data format. (Register 0xCEh/bit 7. Bit 7 = 0 means the format is RGB
24 bit data, bit 7 = 1 and means the format is YUV422)
3.
4.
Set the written data format (Register 0xCEh/bit 5), write mode to line write (Register
0x9Eh/bit 3 = 0), R/W mode to write (Register 0x9Eh/bit 2 = 0).
5.
6.
Write one line data to data port (Register 0x9Fh). Assume there is N pixels in a line, you
write N * 3 byte data in following sequence: R0, G0, B0, R1, G1, B1, RN-1, GN-1, BN-1. If
the data is in YUV422 format, the sequence in N * 2 bytes is as following: Y0, UV0, Y1,
UV0, Y2, UV2, Y3, UV2, Y4, UV4, Y5, UV4, ,Y N-2, UVN-2, YN-1, UVN-2.
7.
8.
9.
When all lines are written, stop the line write function. (Register 0x9Eh/bit 1 = 0)
22
MX88L284-V
Revision: 1.0
23
MX88L284-V
Revision: 1.0
Line Read
The following steps show the way to use line read function:
1.
Switch to still mode. (Register 0x11h/bit 5 = 1) This step prevents the input data from
destroying the image to be read.
2.
Set the displayed data format. (Register 0xCEh/bit 7). Bit 7 = 0 means the format is
RGB 24 bit data, bit 7 = 1 means the format is YUV422.
3.
4.
Set the read data format (Register 0xCEh/bit 5), R/W mode to read (Register 0x9Eh/bit
2 = 1).
5.
6.
Read one line data from data port (Register 0x9Fh). Assume there are N pixels in a line,
you read N * 3 byte data in the following sequence: R0, G0, B0, R10, G1, B1, RN-1, GN-1,
BN-1. If the data is in YUV422 format, the sequence in N * 2 bytes is as following: Y0,
U0V0, Y1, U0V0, Y2, U2V2, Y3, U2V2, Y4, U4V4, Y5, U4V4, ,Y N-2, U N-2VN-2, YN-1, U N-2VN2.
7.
8.
9.
When all lines are read, stop the line read function. (Register 0x9Eh/bit 1 = 0)
24
MX88L284-V
Revision: 1.0
REGPORT(0x9A) = 4;
REGPORT(0x9E) = 0x06;
// read green
// read blue
}
}
REGPORT(0x9E) = 0x04;
25
MX88L284-V
Revision: 1.0
Gamma Function
There are 256 gamma entries in this chip. Following steps show the entries setup sequence:
1.
2.
3.
Write gamma values (256 * 3 bytes) to register 0x4Ah. (Gamma table index 0 red color
value, then index 0 green value, then index 0 blue value, then index 1 red value, index 1
green value, index 1 blue value, to index 255 red value, index 255 green value, index
255 blue value.)
4.
26
MX88L284-V
Revision: 1.0
2. Initialize MIU
1. Waiting for procedure 1 ready. That means memory clock is generated.
2. Initialize MIU by programming 0x90
read 0x90 D7
if D7=0 then program D7=1
else if D7=1 program D7=0, then program D7=1
3. Reset MIU
set 0xCD D3=1 then set 0xCD D3=0
4. Reset chip
set 0xCD D0=1 then set 0xCD D0=0
27
MX88L284-V
Revision: 1.0
Memory Clock Requirements and Memory and Output Video Clock Calculation
Memory Clock Requirements -- Minimum MCLK (MHz)
16(1)
32(2)
32(2)
640x480@85Hz
78
92
60
84
800x600@85Hz
101
119
73
97
1024x768@75Hz
126
147
89
111
1024x768@85Hz
133
157
97
119
1280x1024@60Hz
150
173
104
125
1280x1024@75Hz
170
199
121
147
clock
when R=00
= clock/2
when R=01 or 10
= clock/4
when R=11
= FREF * [(M+1)/(N+1)]
A.
FREF is the external x'tal frequency, it use 14.318MHz in Macronixs demo system.
B.
C.
To program this value, you have to set the M, N, and R in register 0xB2 and 0xB3.
Then toggle the bit0 of OxB4 (0 -> 1 ->0) to trigger the internal VCG to generate the
new frequency after this setting.
Memory Clock
64.4MHz
68.0MHz
70.2MHz
71.6MHz
75.2MHz
80.2MHz
84.5MHz
90.0MHz
94.9MHz
98.4MHz
Register 0xB2
0x21
0x21
0x24
0x21
0x21
0x04
0x24
0x06
0x023
0x023
Register 0xB3
0x11
0x12
0x30
0x13
0x14
0x1B
0x3A
0x2B
0x34
0x36
28
MX88L284-V
Revision: 1.0
= clock
when R=00
A.
FREF is the external x'tal frequency, it use 14.318MHz in Macronixs demo system.
B.
C.
BD=4
when B = 00
BD=2
when B = 01
BD=1
when B = 10
BD=1
when B = 11
To program these values, you have to set the M,N, R, and B in register 0xB0 and 0xB1.
Then toggle the bit1 of 0xB4 (0 -> 1 ->0) to trigger the internal VCG to generate the
new frequency after this setting.
Register 0xB0
Register 0xB1
Output Resolution
25.05MHz
0xE1
0x86
640x480 @60Hz
40.09MHz
0xE4
0x9B
800x600 @60Hz
49.5MHz
0x2A
0xA5
800x600 @75Hz
50.11MHz
0xA1
0x86
800x600 @72Hz
64.43MHz
0xA1
0x88
1024X768 @60Hz
75.16MHz
0xA3
0x94
1024X768 @70Hz
78.74MHz
0xA1
0x8A
1024X768 @75Hz
107.38MHz
0x83
0x8E
1280x1024 @60Hz
29
MX88L284-V
Revision: 1.0
6. repeat 3-5
7. set 0x87 D0 = 0 , Tracking done !
8. The correct clock and phase has maximum tracking value.
Note: All CPU reading command must be finished between two adjacent ready pulse. If not, new
tracking result will be loaded when next ready pulse presented. If the reading command too long for
your CPU, you can reduce the input vertical auto tracking range 0x79~0x7C to enlarge the tracking
result ready time.
Suggestion:
1. Before auto tracking , you should do auto position first to make sure that the sample range cover
image source.
2. Set auto tracking horizontal range(0x75~0x78) to both 10 points of left and right side greater than
horizontal image sample range.
3. Make sure that vertical range is corrected by programming the register 0x79~0x7C.
4.Enable the auto tracking range definition in suggestion 2 and 3 by programming the register 0x74 D1.
5. Set register 0x11 D0=1.
30
MX88L284-V
Revision: 1.0
FP : Front Porch
BP : Back Porch
VS : Vsync
31
MX88L284-V
Revision: 1.0
VSYNC
VPSTACOMP
Register
65 h /66h
HPSTACOMP
Register
61h/62h
Scan area
VPENDCOMP
Register
67 h/68h
HPENDCOMP
Register
63 h /64h
If turn on scan area (0x61 ~ 0x68), the circuit will detect pixel value inside solid line, else it will detect inside
dotted line. About noise margin, if one of RGB value of incoming pixel is over the value among noise margin (0x71 ~
0x73), it will be considered as valid pixel. Therefore we must set the value of 0x71 ~ 0x73 to the smallest pixel value of
all over the frame(if image is clean) or plus one offset(if image has noise).
MX88L284-V
Revision: 1.0
0x10 D5=0
0x10 D5=1
ISSPH=STAPOSH-1
ISSPH=STAPOSH-2
ISSPH=STAPOSH+2
ISSPH=STAPOSH+4
0xCE D4=0
Data Compress ON
0xCE D4=1
b. ISSPV = STAPOSV - 1.
c. ISDCH = ENDPOSH - STAPOSH + 1 (optional use).
d. ISDCV = ENDPOSV - STAPOSV + 1 (optional use).
33
MX88L284-V
Revision: 1.0
34
MX88L284-V
Revision: 1.0
Coef-B
0x5C Coef-C
1. sharpen
meet:
Coef-A + Coef-B + Coef-C = 1
Coef-A, Coef-C < 0
2. blur
meet:
Coef-A + Coef-B + Coef-C = 1
Coef-A, Coef-C > 0
3. Misc
no limitation, result depend on Coef-A/Coef-B/Coef-C
Example:
Coef-A/Coef-C
(0x5A / 0x5C)
=============================
D7
X
D6 D5 D4 D3 D2 D1 D0
. X
X
35
MX88L284-V
Revision: 1.0
Sign
Fraction
0.125 (D)
.0
= 10 (H)
0.5
.1
= 40 (H)
.1
= C0 (H)
(D)
-0.5 (D)
36
MX88L284-V
Revision: 1.0
Decimal meaning
1. positive value
= D7 + 1/2 * D6 + 1/4 * D5 + 1/8 * D4 + 1/16 * D3
+ 1/32 * D2 + 1/64 * D1 + 1/128 * D0
2. negative value
B[7:0] = ~D[7:0] + 1
= - (D7 + 1/2 * D6 + 1/4 * D5 + 1/8 * D4 + 1/16 * D3+ 1/32 * D2 + 1/64 * D1 +
1/128 * D0)
Ex.
40H
= ~(C0)
+1
Coef-B
(0x5B)
=================================
D7
D6
D5
D4
D3
D2
D1
D0
Integer
1.5
Fraction
(D)
1.
= 60 (H)
3.125 (D)
1.
= C8 (H)
37
MX88L284-V
Revision: 1.0
Program value
Coef-A 0x5A
Coef-B 0x5B
Coef-C 0x5C
Coef-A 0x5A
Coef-B 0x5B
Coef-C 0x5C
-1
-1
80
C0
80
-0.5
-0.5
C0
80
C0
-0.25
1.5
-0.25
E0
60
E0
-0.125
1.25
-0.125
F0
50
F0
-0.0625
1.125
-0.0625
F8
48
F8
Strong
\|/
\|/
Weak
Strong
0.328125
0.34375
0.328125
2A
16
2A
0.171875
0.65625
0.171875
16
2A
16
\|/
0.125
0.75
0.125
10
30
10
\|/
0.09375
0.8125
0.09375
0C
34
0C
Weak
38
MX88L284-V
Revision: 1.0
00
01
0xA5 D1
0xA5 D3-2
OSD data in
Display data
1
OSDBLINK
0xA5 D0
Delay
0
1
1
VOP 1/2X clock
0xA6 D3-0
0xA6 D6
0xA6 D5
39
0xA6 D4
LCD
MX88L284-V
Revision: 1.0
Normalized
input HSYNC
clamp
pulse
w idth
Clamp source
Normalized
input HSYNC
clamp source
0
output
Dot clock
Normalized
HSYNC
0x15:D4-0
clamp delay
by output
dot clock
0x15:D5
0x16:D6
0x16:D5-0
clamp pulse w idth
by 4* (output
dot clock)
40
MX88L284-V
Revision: 1.0
PA D M C L K
MCLK
Delay
0 x91:D2-0
0 x91:D3
DRA M
on Demo Board
lat c h
CLK
MCLK
Delay
1
1
0 x91:D7
Internal
mclk
0 x91:D6-4
0 x92:D7
PAD feedback
MCLK
MCLK
0
1
0 x92:D6
MCLK: memory clock from internal VCG
41
MX88L284-V
Revision: 1.0
512KX16X2
512KX16X2
MD[15:0]
MD[15:0]
MD[31:16]
MD[15:0]
DQM[0]
DQM[1:0]
DQM[1]
DQM[1:0]
RAS
RAS
RAS
RAS
CAS
CAS
CAS
CAS
WE
WE
WE
MA[10:0]
DQM[2]
0
MA[10:0]
MA[11]
MA[10:0]
DQM[2]
0
CS
WE
MA[10:0]
MA[11]
CS
MCLK
CLK
MCLK
CLK
CKE
CKE
CKE
CKE
512KX16X2
MD[15:0]
MD[15:0]
DQM[1:0]
DQM[1:0]
RAS
RAS
CAS
CAS
WE
MA[10:0]
DQM[2]
0
WE
MA[10:0]
MA[11]
CS
MCLK
CLK
CKE
CKE
42
MX88L284-V
Revision: 1.0
256KX32X2
256KX32X2
MD[31:0]
MD[31:0]
MD[31:0]
DQM[0]
DQM[1:0]
DQM[2]
DQM[1:0]
DQM[1]
DQM[3:2]
DQM[3]
DQM[3:2]
MD[31:0]
RAS
RAS
RAS
RAS
CAS
CAS
CAS
CAS
WE
WE
WE
WE
MA[10:0]
MA[10:0]
MA[10:0]
CS
MA[10:0]
CS
MCLK
CLK
MCLK
CLK
CKE
CKE
CKE
CKE
DSF
DSF
256KX32X2
MD[31:0]
MD[31:0]
DQM[0]
DQM[1:0]
DQM[1]
DQM[3:2]
RAS
RAS
CAS
CAS
WE
WE
MA[10:0]
0
MA[10:0]
CS
MCLK
CLK
CKE
CKE
DSF
43
MX88L284-V
Revision: 1.0
Brooktree
Bt829
VD[15:8]
Samsung
KSO122/
KS0127
Philips
SAA7111A
Y[7:0]
UV [7:0]
C[7:0]
VPO[7:0]
CLKX2
CK2
LLC2
~VRESET
~FIELD
(H)ACTIVE
PIXINA[7:0]
VPO[15:8]
VD[7:0]
~HRESET
MX88L284
Y[7:0]
PIXINA[15:8]
Video clock
PIXINA23 (MPLLC2)
Video H sync
HS1
PIXINA22 (MPHS)
HS
Video V sync
VS
PIXINA21 (MPVS)
VS
Video odd/even field
ODD
PIXINA20 (MPODD)
RTSO
Video horizontal active flag
HAV
PIXINA19 (MPHREF)
HREF
Video clock x 2 (optional)
CK
LLC
VAV
CREF
VREF
PIXINA18 (MPLLC)
Video clock reference (optional)
Video vertical reference (optional)
PIXINA17 (MPCREF)
PIXINA16 (MPVREF)
Remark: When data valid signal of Brooktree Bt829 become active will make MX88L284 malfunction.
For Video Decoder (e.g. VDP3132Y) which has RGB analog output should be treated as one
special mode of RGB input to ADC. In this case, motion adaptive should not be used for
de-interlace. Toggle mode is recommended.
44
MX88L284-V
Revision: 1.0
45
MX88L284-V
Revision: 1.0
MX88L284-V
Revision: 1.0
47
MX88L284-V
Revision: 1.0
MX88L284-V
Revision: 1.0
49
MX88L284-V
Revision: 1.0
Interrupt control
1. MX88L284 support an IRQ pin, it generates interrupt request.
2. IRQ could be active high/low when using level triggered, also could be rising/falling edge triggered when
using edge triggered.
3. Each interrupt function could enable or disable independently.
4. In level triggered mode, IRQ will active when any status bit of enabled interrupt function is set, until user
clears this bit.
5. In edge triggered mode, IRQ will generate a pulse when any enabled interrupt event happens. The interrupt
pulse width could be set by register 0xC5.
50
MX88L284-V
Revision: 1.0
System Notes
1. POWER
All VDD/VDDP(Pin 2,20,36,37,38,48,65,88,89,105,113,125,138,154,167,168,188) switch to 3.3V
-> Analog core power Pin 36,37 had better separate with another power
-> Digital core power Pin 20,88,113,168 had better separate with VDDP
2. CLOCK
-> Use crystal (14.318 MHz) with R (1 MOhm) /C (22 pF) added circuit or Oscillator to pin XI/XO.
XI
XO
|
|
|
1 MOhm
|
----^^^^^^^^----|
|
|
|
___
___
___22pF
___ 22pF
|
|
|
|
----3. SIGNAL Pin
3.3/5 tolerant Pin : Input signal level can be either 3.3 or 5 V, but output signal level only 3.3V
. Pixin (I)
Pin 3-10
Pin 12-19
Pin 21-28
. CPU Interface (I/O)
Pin 185 - 178 AD[7:0]
Pin 1,187,189,190,191,193,200
51