Datasheet RTL Display CTRL
Datasheet RTL Display CTRL
Datasheet RTL Display CTRL
Realtek
RTD2523B Series
RTD2523B/2513B/2023B/2013B
Flat Panel Display Controller
Fully Technology
Revision
Version 1.01
Last updated: 2005/3/1
www.DataSheet.net/
Realtek
RTD2523B Series
1. FEATURES............................................................................................................................................................................ 6
2. CHIP DATA PATH BLOCK DIAGRAM ...........................................................................................................................18
3. Architecture.19
4. FUNCTIONAL DESCRIPTION.........................................................................................................................................20
4.1 INPUT ...............................................................................................................................................................................20
Digital Input (ITU 656).....................................................................................................................................................20
Analog Input .....................................................................................................................................................................22
TMDS Input (Optional).....................................................................................................................................................22
Input Capture Window ......................................................................................................................................................23
4.2 OUTPUT TIMING ...............................................................................................................................................................24
Display Output Timing......................................................................................................................................................24
Display Active Window .....................................................................................................................................................27
4.3 COLOR PROCESSING .........................................................................................................................................................28
4.4 OSD & COLOR LUT ........................................................................................................................................................28
Build-In OSD ....................................................................................................................................................................28
Color LUT & Overlay Port...............................................................................................................................................28
4.5 AUTO-ADJUSTMENT .........................................................................................................................................................30
Auto-Position ....................................................................................................................................................................30
Auto-Tracking ...................................................................................................................................................................30
4.6 PLL SYSTEM ....................................................................................................................................................................30
DCLK PLL ........................................................................................................................................................................30
M2PLL ..............................................................................................................................................................................31
ADC Pixel Sampling PLL .................................................................................................................................................31
4.7 HOST INTERFACE ..............................................................................................................................................................32
Parallel/Serial Port Determination: .................................................................................................................................32
Host Interface Location Determination:...........................................................................................................................32
Double Data Rate Serial/Parallel Interface: ....................................................................................................................33
4.9 THE PROGRAMMABLE SCHMITT TRIGGER OF HSYNC .....................................................................................................35
4.10 CRYSTAL FREQUENCY OUTPUT ......................................................................................................................................35
www.DataSheet.net/
2
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
www.DataSheet.net/
3
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
Revision History
Ver 1.01
1/3/2005
RTD2523B Series
Initial release
www.DataSheet.net/
4
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Overview
Realtek RTD2523B series products are all-in-one LCD monitor controllers support up to
SXGA/XGA(optional), and integrate Realtek high performance ADC, TMDS Rx(optional), scaling
engine, OSD engine, LVDS TX, RSDS TX and so on. Moreover, all products are pin compatible in
low pin count package to save cost and make the design easier .The RTD2523B series derivative
pin compatible products are listed below by application:
Part Number
RTD2523B
RTD2513B
RTD2023B
RTD2013B
RTD2523BH
RTD2513BH
ADC
160MHz
110MHz
160MHz
110MHz
160MHz
110MHz
Note:
The following datasheet will take RTD2523B as an example and if it exists any optional feature not supported in all
RTD2523B series products, we will mark optional after it.
www.DataSheet.net/
5
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
1. Features
General
l
l
l
l
l
l
l
Color Processor
l
l
l
l
l
l
l
Output Interface
l
l
l
l
l
l
www.DataSheet.net/
l
l
l
l
l
l
l
l
l
l
l
l
l
Scaling
l
l
l
Embedded OSD
l Embedded 12K SRAM dynamically stores OSD
l
Host Interface
l Support MCU serial/parallel bus interface.
l Support MCU dual edge data latch.
6
Datasheet pdf - http://www.DataSheet4U.co.kr/
RTD2523B Series
RTD2523B
www.DataSheet.net/
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
NC
NC
NC
NC
NC
NC
NC
NC
TXO0TXO0+
TXO1TXO1+
TXO2TXO2+
TXOCTXOC+
TXO3TXO3+
PGND
PVCC
TXE0TXE0+
TXE1TXE1+
TXE2TXE2+
TXECTXEC+
TXE3TXE3+
NC
NC
NC
NC
NC
NC
NC
NC
V0
VCLK
NC
NC
NC
NC
NC
GNDK
VCCK
PWM1/COUT
PWM2
DDCSCL1
DDCSDA1
SDIO[0]
SDIO[1]
SDIO[2]
SDIO[3]
SCSB
SCLK
BJT_B
PVCC
PGND
NC
NC
NC
NC
Optional
APLL_GND
APLL_VDD
PLL_TEST1/PWM0
PLL_TEST2/PWM1
TMDS_TST/PWM0
REXT
TMDS_VDD
RX0P/RX2P
RX0N/RX2N
TMDS_GND
RX1P
RX1N
TMDS_VDD
RX2P/RX0P
RX2N/RX0N
TMDS_GND
RXCP
RXCN
AVS0
AHS0
ADC_VDD
ADC_GND
B0+
B0SOG0
G0+
G0R0+
R0V7
V6
V5
V4
V3
V2
V1
ADC_GND
ADC_VDD
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
XI
XO
DPLL_GND
DPLL_VDD
33VRST_REF
RESET_OUT
PWM0
DDCSCL2/VCLK
DDCSDA2/V7
SCLK/V6
SCSB/V5
GNDK
VCCK
SDIO[3]/V4
SDIO[2]/V3
SDIO[1]/V2
SDIO[0]/V1
V0
COUT
33VPNLOUT
PVCC
PGND
NC
NC
NC
NC
Realtek
7
Datasheet pdf - http://www.DataSheet4U.co.kr/
RTD2523B Series
www.DataSheet.net/
RTD2523B
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
AR3N
AR3P
AG1N
AG1P
AG2N
AG2P
NC
NC
AG3N
AG3P
ACLKN
ACLKP
AB1N
AB1P
AB2N
AB2P
AB3N
AB3P
PGND
PVCC
BR1N
BR1P
BR2N
BR2P
BR3N
BR3P
BG1N
BG1P
BG2N
BG2P
NC
NC
BG3N
BG3P
BCLKN
BCLKP
BB1N
BB1P
V0
VCLK
NC
NC
NC
NC
NC
GNDK
VCCK
PWM1/TCON0/COUT
PWM2/TCON1/TCON7
DDCSCL1/TCON4
DDCSDA1/TCON9
SDIO[0] /TCON13
SDIO[1]/TCON7
SDIO[2]/TCON11
SDIO[3]/TCON0
SCSB/TCON12
SCLK/TCON3
BJT_B
PVCC
PGND
BB3P
BB3N
BB2P
BB2N
Optional
APLL_GND
APLL_VDD
PLL_TEST1/TCON0/TCON3/PWM
PLL_TEST2/TCON1/TCON12/PWM
0
1
TMDS_TST/PWM0/TCON2
REXT
TMDS_VDD
RX0P/RX2P
RX0N/RX2N
TMDS_GND
RX1P
RX1N
TMDS_VDD
RX0P
RX0N
TMDS_GND
RXCP
RXCN
AVS0
AHS0
ADC_VDD
ADC_GND
B0+
B0SOG0
G0+
G0R0+
R0V7
V6
V5
V4
V3
V2
V1
ADC_GND
ADC_VDD
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
XI
XO
DPLL_GND
DPLL_VDD
33VRST_REF
RESET_OUT
TCON9/PWM0
DDCSCL2/VCLK/TCON4
DDCSDA2/V7/TCON6
SCLK/V6/TCON3
SCSB/V5/TCON7
GNDK
VCCK
SDIO[3]/V4/TCON9
SDIO[2]/V3/TCON5
SDIO[1]/V2/TCON8
SDIO[0]/V1/TCON10
V0/TCON2
TCON13/COUT
33VPNLOUT
PVCC
PGND
AR1N
AR1P
AR2N
AR2P
Realtek
8
Datasheet pdf - http://www.DataSheet4U.co.kr/
RTD2523B Series
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
XI
XO
DPLL_GND
DPLL_VDD
33VRST_REF
RESET_OUT
TCON9/PWM0
DDCSCL2/VCLK/TCON4
DDCSDA2/V7/TCON6
SCLK/V6/TCON3
SCSB/V5/TCON7
GNDK
VCCK
SDIO[3]/V4/TCON9
SDIO[2]/V3/TCON5
SDIO[1]/V2/TCON8
SDIO[0]/V1/TCON10
V0/TCON2
TCON13/COUT
33PNLOUT
PVCC
PGND
NC
NC
NC
NC
Realtek
RTD2523B
www.DataSheet.net/
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
NC
NC
TCON0
TCON1
TCON2
TCON3
NC
NC
TCON4
TCON5
TCON6
TCON7
TCON8
TCON9
TCON10
TCON11
TCON12
TCON13
PGND
PVCC
BR1N
BR1P
BR2N
BR2P
BR3N
BR3P
BG1N
BG1P
BG2N
BG2P
NC
NC
BG3N
BG3P
BCLKN
BCLKP
BB1N
BB1P
V0
VCLK
NC
NC
NC
NC
NC
GNDK
VCCK
PWM1/TCON0/COUT
PWM2/TCON1/TCON7
DDCSCL1/TCON4
DDCSDA1/TCON9
SDIO[0] /TCON13
SDIO[1]/TCON7
SDIO[2]/TCON11
SDIO[3]/TCON0
SCSB/TCON12
SCLK/TCON3
BJT_B
PVCC
PGND
BB3P
BB3N
BB2P
BB2N
Optional
APLL_GND
APLL_VDD
PLL _TEST1/TCON0/TCON3/PWM0
PLL _TEST2/TCON1/TCON12/PWM1
TMDS_TST/PWM 0/TCON2
REXT
TMDS_VDD
RX2P
RX2N
TMDS_GND
RX1P
RX1N
TMDS_VDD
RX0P
RX 0N
TMDS_GND
RXCP
RXCN
AVS0
AHS0
ADC_VDD
ADC_GND
B0+
B0SOG0
G0+
G0R0+
R0V7
V6
V5
V4
V3
V2
V1
ADC_GND
ADC_VDD
For CPT panel, output interface has 7 TCON pins, for Hannstar panel, it has 8 output TCON pins.
9
Datasheet pdf - http://www.DataSheet4U.co.kr/
RTD2523B Series
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
XI
XO
DPLL_GND
DPLL_VDD
33VRST_REF
RESET_OUT
PWM0
DDCSCL2/VCLK/DENA
DDCSDA2/V7
SCLK/V6
SCSB/V5
GNDK
VCCK
SDIO[3]/V4
SDIO[2]/V3/DDCSDA2
SDIO[1]/V2/DDCSCL2
SDIO[0]/V1/PWM2
V0/PWM1
COUT
33VPNLOUT
PVCC
PGND
ARED2
ARED3
ARED4
ARED5
Realtek
RTD2523B
www.DataSheet.net/
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
ARED6
ARED7
AGRN2
AGRN3
AGRN4
AGRN5
NC
NC
AGRN6
AGRN7
NC
ACLK
ABLU2
ABLU3
ABLU4
ABLU5
ABLU6
ABLU7
PGND
PVCC
BRED2
BRED3
BRED4
BRED5
BRED6
BRED7
BGRN2
BGRN3
BGRN4
BGRN5
NC
NC
BGRN 6
BGRN 7
NC
BCLK
BBLU2
BBLU3
V0
VCLK
NC
NC
NC
NC
NC
GNDK
VCCK
PWM 1/COUT
DVS/PWM 2
DDCSCL1
DDCSDA1
SDIO[0]
DENA/SDIO[1]
DHS/SDIO[2]
SDIO[3]
SCSB
SCLK
BJ T_B
PVCC
PGND
BBLU7
BBLU6
BBLU5
BBLU4
Optional
APLL_GND
APLL_VDD
PLL _TEST1/DVS/PWM0
PLL _TEST2/DHS/PWM1
TMDS_TST/PWM 0
REXT
TMDS_VDD
RX2P
RX2N
TMDS_GND
RX1P
RX1N
TMDS_VDD
RX0P
RX0N
TMDS_GND
RXCP
RXCN
AVS0
AHS0
ADC_VDD
ADC_GND
B0+
B0SOG0
G0+
G0R0+
R 0V7
V6
V5
V4
V3
V2
V1
ADC_GND
ADC_VDD
10
Datasheet pdf - http://www.DataSheet4U.co.kr/
RTD2523B Series
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
XI
XO
DPLL_GND
DPLL_VDD
33VRST_REF
RESET_OUT
PWM0
DDCSCL2/DENA
DDCSDA2/DCLK
SCLK
SCSB
GNDK
VCCK
SDIO[3]
AGRN0
AGRN1
ARED0
ARED1
COUT
33VPNLOUT
PVCC
PGND
ARED2
ARED3
ARED4
ARED5
Realtek
RTD2523B
www.DataSheet.net/
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
ARED6
ARED7
AGRN2
AGRN3
AGRN4
AGRN5
NC
NC
AGRN6
AGRN7
ABLU0
ABLU1
ABLU2
ABLU3
ABLU4
ABLU5
ABLU6
ABLU7
PGND
PVCC
BRED 2
BRED 3
BRED 4
BRED 5
BRED 6
BRED 7
BGRN 2
BGRN 3
BGRN4
BGRN5
NC
NC
BGRN6
BGRN7
BBLU 0
BBLU 1
BBLU2
BBLU3
V0
VCLK
NC
NC
NC
NC
NC
GNDK
VCCK
DHS/PWM1/COUT
DVS/PWM2
DDCSCL1
DDCSDA1
DCLK
DENA
BGRN0
BGRN1
BRED0
BRED1
BJT_B
PVCC
PGND
BBLU7
BBLU6
BBLU5
BBLU4
Optional
APLL_GND
APLL_VDD
PLL_TEST1/DVS/PWM0
PLL_TEST2/DHS/PWM1
TMDS_TST/PWM 0
REXT
TMDS_VDD
RX2P
RX2N
TMDS_GND
RX1P
RX1N
TMDS_VDD
RX0P
RX0N
TMDS_GND
RXCP
RXCN
AVS0
AHS0
ADC_VDD
ADC_GND
B0+
B0SOG0
G0+
G0R0+
R0V7
V6
V5
V4
V3
V2
V1
ADC_GND
ADC_VDD
11
Datasheet pdf - http://www.DataSheet4U.co.kr/
RTD2523B Series
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
XI
XO
DPLL_GND
DPLL_VDD
33VRST_REF
RESET_OUT
PWM0
DDCSCL2/DENA
DDCSDA2/DCLK
SCLK
SCSB
GNDK
VCCK
SDIO[3]
AGRN0
AGRN1
ARED0
ARED1
COUT
33VPNLOUT
PVCC
PGND
ARED2
ARED3
ARED4
ARED5
Realtek
RTD2523B
www.DataSheet.net/
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
ARED6
ARED7
AGRN2
AGRN3
AGRN4
AGRN5
NC
NC
AGRN6
AGRN7
ABLU0
ABLU1
ABLU2
ABLU3
ABLU4
ABLU5
ABLU6
ABLU7
PGND
PVCC
BRED 2
BRED 3
BRED 4
BRED 5
BRED 6
BRED 7
BGRN 2
BGRN 3
BGRN4
BGRN5
NC
NC
BGRN6
BGRN7
BBLU 0
BBLU 1
BBLU2
BBLU3
V0
VCLK
NC
NC
NC
NC
NC
GNDK
VCCK
DHS/PWM1/COUT
DVS/PWM2
DDCSCL1
DDCSDA1
DCLK
DENA
BGRN0
BGRN1
BRED0
BRED1
BJT_B
PVCC
PGND
BBLU7
BBLU6
BBLU5
BBLU4
Optional
APLL_GND
APLL_VDD
PLL_TEST1/DVS/PWM0
PLL_TEST2/DHS/PWM1
TMDS_TST/PWM 0
REXT
TMDS_VDD
RX2P
RX2N
TMDS_GND
RX1P
RX1N
TMDS_VDD
RX0P
RX0N
TMDS_GND
RXCP
RXCN
AVS0
AHS0
ADC_VDD
ADC_GND
B0+
B0SOG0
G0+
G0R0+
R0V7
V6
V5
V4
V3
V2
V1
ADC_GND
ADC_VDD
12
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
(I/O Legend:
n
RTD2523B Series
INPUT PORT
Name
I/O
No
Description
AG
AG
AI
AI
AI
AI
AI
AI
AI
AP
AP
AI/I
AI/I
AI/I
AI/I
AI/I
AI/I
AI/I
AI/I
AI/I
I
22
37
23
24
25
26
27
28
29
21
38
30
31
32
33
34
35
36
39
40
19
20
ADC Ground
ADC Ground
1st Positive BLUE analog input (Pb+)
1st Negative BLUE analog input (Pb-)
1st Sync on Green
1st Positive GREEN analog input (Y+)
1st Negative GREEN analog input (Y-)
1st Positive RED analog input (Pr+)
1st Negative RED analog input (Pr-)
ADC Power
ADC Power
Video8 bit 7
Video8 bit 6
Video8 bit 5
Video8 bit 4
Video8 bit 3
Video8 bit 2
Video8 bit 1
Video8 bit 0
Video8 Clock
ADC vertical sync input
5V tolerance
Power from PIN 13
ADC horizontal sync input
Adjustable Schmidt trigger 5V tolerance
Power from PIN 13
Pin No
Description
XO
XI
I/O
AO
AI
127
128
DPLL_GND
DPLL_VDD
APLL_VDD
PLL_TEST1
AG
AP
AP
I/O
126
125
2
3
PLL_TEST2
I/O
APLL_GND
AG
I/O
I/O
I/O
I/O
I/O
Pin No
52/112
53/113
54/114
55/115
O
O
56/118
57/119
ADC_GND
ADC_GND
B0+
B0SOG0
G0+
G0R0+
R0ADC_VDD
ADC_VDD
V7
V6
V5
V4
V3
V2
V1
V0
VCLK
AVS0
Note
(1.8V)
(1.8V)
www.DataSheet.net/
AHS0
PLL
Name
Note
3.3V
tolerance
3.3V
3.3V
M2PLL
Selection
Host interface
Name
SDIO[0]
SDIO[1]
SDIO[2]
SDIO[3]
SCSB
SCLK
Description
Parallel port data [0] (Open drain)LSB
Parallel port data [1] (Open drain)
Parallel port data [2] (Open drain)
Serial control I/F data in or Parallel port
data [3] (Open drain) MSB
Serial control I/F chip select (Open drain)
Serial control I/F clock (Open drain)
Note
13
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
n
TMDS: (Optional)
Name
I/O
Pin No
TMDS_TST
AIO
REXT
TMDS_VDD
RX2P
RX2N
TMDS_GND
RX1P
RX1N
TMDS_VDD
RX0P
RX0N
TMDS_GND
RXCP
RXCN
AI
AP
AI
AI
AG
AI
AI
AP
AI
AI
AG
AI
AI
6
7
8
9
10
11
12
13
14
15
16
17
18
Description
TMDS_TEST Pin
Power-on-latch for host interface type
Impedance Match Reference.
TMDS power
Differential Data Input
Differential Data Input
TMDS ground
Differential Data Input
Differential Data Input
TMDS power
Differential Data Input
Differential Data Input
TMDS ground
Differential Data Input
Differential Data Input
Note
(3.3V)
(3.3V)
RTD2523B Series
I/O
Pin No
P
G
P
G
59/83/108
60/84/107
47/116
46/117
Description
PVCC
PGND
VCCK
GNDK
I/O
No
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
73
74
75
76
77
78
79
80
81
82
85
86
87
88
89
90
91
92
93
94
Description
www.DataSheet.net/
TXE3+
TXE3TXEC+
TXECTXE2+
TXE2TXE1+
TXE1TXE0+
TXE0TXO3+
TXO3TXOC+
TXOCTXO2+
TXO2TXO1+
TXO1TXO0+
TXO0-
I/O
No
O
O
O
O
61
62
63
64
Description
14
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
BB1P
BB1N
BCLKP
BCLKN
BG3P
BG3N
BG2P
BG2N
BG1P
BG1N
BR3P
BR3N
BR2P
BR2N
BR1P
BR1N
AB3P
AB3N
AB2P
AB2N
AB1P
AB1N
ACLKP
ACLKN
AG3P
AG3N
AG2P
AG2N
AG1P
AG1N
AR3P
AR3N
AR2P
AR2N
AR1P
AR1N
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
65
66
67
68
69
70
73
74
75
76
77
78
79
80
81
82
85
86
87
88
89
90
91
92
93
94
97
98
99
100
101
102
103
104
105
106
I/O
No
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
61
62
63
64
65
66
67
68
69
70
73
74
75
76
55
www.DataSheet.net/
Description
15
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
BGRN0/NC
BRED7
BRED6
BRED5
BRED4
BRED3
BRED2
BRED1/NC
BRED0/BCLK
ABLU7
ABLU6
ABLU5
ABLU4
ABLU3
ABLU2
ABLU1/ACLK
ABLU0/NC
AGRN7
AGRN6
AGRN5
AGRN4
AGRN3
AGRN2
AGRN1/NC
AGRN0/NC
ARED7
ARED6
ARED5
ARED4
ARED3
ARED2
ARED1/NC
ARED0/NC
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
54
77
78
79
80
81
82
57
56
85
86
87
88
89
90
91
92
93
94
97
98
99
100
113
114
101
102
103
104
105
106
111
112
www.DataSheet.net/
Timing Controller
Name
TCON0
TCON1
TCON2
TCON3
TCON4
TCON5
TCON6
TCON7
TCON8
TCON9
TCON10
TCON11
TCON12
TCON13
RTD2523B Series
I/O
No
O
O
O
O
O
O
O
O
O
O
O
O
O
O
3/55/47/100
49/99/4
5/98/111
3/57/97/119
50/94/110/121
93/114
92/120
49/52/91/118
90/113
51/89/115/122
88/112
54/87
4/56/86
52/85
Description
I/O
No
Description
50
DDC Channel
Name
DDCSCL1(ADC)
16
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
DDCSDA1(ADC)
DDCSCL2(DVI)
DDCSDA2(DVI)
51
121
120
I/O
No
Description
O
O
O
3/5/122
4/48/111
49/112
I/O
No
RESET_OUT
123
COUT
33VRST_REF
33VPNLOUT
BJT_B
O
I
O
O
110/48
124
109
58
Name
MISC
Name
I/O
I
I/O
PWM
PWM0
PWM1
PWM2
RTD2523B Series
Description
Reset out
Open drain (Internal 75KOhm high)
Crystal out
Reference 3.3V for Reset Out
Panel on/off switch out (Max current driving 1A)
Embedded regulator P type BJT control pin out
MCU location
Parallel
Left
110 or 48
Serial
Left
110 or 48
Parallel
Right
110 or 48
Serial
Right
110 or 48
www.DataSheet.net/
The Crystal OUT can be output from PIN48 or PIN110, and then turn off one of them.
17
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
ADC/YPrPb
DVI
VGIP
Digital
Filter
YUV/RGB
Scaling
Down
256 pixel
FIFO
Video 8
Scaling Up
sRGB
Contrast/
Brightness
Mixer
Gamma/
Dithering
TTL/
LVDS/
RSDS
OSD
www.DataSheet.net/
18
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
3. Architecture
Y
RSDS/LVDS/TTL PANEL
PANEL VCC
Pb
Pr
R
G
B
RTD2523B
DVI
RESET OUT
MCU
5 to 3.3
Regulator
Video
Decoder
CVBS
5V Power
Source
www.DataSheet.net/
RST
RST
Buffer
Buffer
XI
MCU
RTD2523B
COUT
MCU
RTD2523B
RST
Buffer
MCU
COUT
RTD2523B
Figure 1
19
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
4. Functional Description
4.1 Input
Digital Input (ITU 656)
RTD is designed to connect the interface of digital signal from video decoder. Input data is latched
within a capture window defined in registers. The timing scheme designed for input devices are
showed in the following diagram.
There are not H syncV sync signals provided by the video decoder with ITU BT.656, these
synchronal signals have to be generated by decoding the EAV & SAV timing reference signals.
VGBCLK
xxx
VGB_R(Byte)
U0
Y0
V0
Y1
U2
www.DataSheet.net/
Figure 2
Only 254 of possible 256 8-bit words may be used to express a signal value, 0 and 255 are
reserved for data identification purposes. Video 8 data stream is as below:
Blanking
Timing reference
period
code
80
10
Timing reference
Blanking
code
period
EAV 80 10
SAV/EAV format
Bit 7
Bit 6(F)
Bit 5(V)
Bit 4(H)
Bit
Bit
Bit
Bit
3(P3)
2(P2)
1(P1)
0(P0)
20
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
1
Field bit
1st field F=0
2nd field F=1
RTD2523B Series
Vertical blanking bit V=1 H=0 in SAV Protection bits
Active video V=0
H=1 in EAV
Hardware can recognize the occurrence of EAV & SAV by detecting the 0xff , 0x00 , 0x00 data
sequence, and then generate the HsyncVsyncField signals internally by decoding the fourth
word of the timing reference signal(EAVSAV). F & V change state synchronously with the
EAV(End of active video) reference code at the beginning of the digital line.
Bits P0, P1, P2, P3, have states dependent on the states of the bits F, V and H as shown below. At
the receiver this permits one-bit errors to be corrected and two-bits errors to be detected.
www.DataSheet.net/
Error correction
A = P1 xor F xor V
B = P2 xor F xor H
C = P3 xor V xor H
D = F xor V xor H xor P3 xor P2 xor P1 xor P0
F = F xor (DA BC# )
V = V xor (DAB#C)
H = H xor (DA#BC)
SAV/EAV one-bit error occurs when D(A + B + C)
SAV/EAV two-bit error occurs when D#(A + B + C)
21
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Analog Input
RTD 2523B integrates three ADCs (analog-to-digital converters), one for each color (red, green,
and blue). The sync-processor can deal with Separate-Sync, Composite-Sync, and Sync-On-Green.
And the PLL can generate very low jitter clock from HS to sample the analog signal to digital data.
Input data is latched within a capture window defined in registers refer to VS and HS leading edge.
RTD 2523B has a YPbPr input, we can connect DVD or some devices that has YPbPr input,
TMDS Input (Optional)
RTD 2523B integrates high-speed single link receiver function. It can operate up to 135 M at 25
meters cable. RTD 2523B integrates an equalizer to enhance the cable loss weakness in long cable
application and the advanced tracking algorithm to have better performance in DVI RX and with
good capability of popular DVI graphic cards in the market.
www.DataSheet.net/
22
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
IHS
IVS
IPV_ACT_STA
www.DataSheet.net/
IPV_ACT_LEN
Horizontal blanking
region (back porch)
Horizontal blanking
region (front porch)
IPH_ACT_STA
IPH_ACT_WID
Figure 3
23
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
DCLK
www.DataSheet.net/
DEN
DA/RGB
xxx
rgb0
rgb1
rgb2
rgb3
rgb4
rgb5
xxx
DB/RGB
Figure 4
DHCLK
DEN
DA/RGB
xxx
rgb0
rgb2
rgb4
rgb6
rgb8
rgb10
DB/RGB
xxx
rgb1
rgb3
rgb5
rgb7
rgb9
rgb11
Figure 5
24
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
25
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
www.DataSheet.net/
26
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
DHS
DEN
DVS
DV_VS_END
Vertical blanking region (back porch)
DV_BKGD_STA
Background Region
DV_ACT_STA
www.DataSheet.net/
Horizontal blanking
region (front porch)
DV_ACT_END
DV_BKGD_END
Vertical blanking region (front porch)
DV_TOTAL
DH_HS_END
DH_BKGD_STA
DH_ACT_STA
DH_ACT_END
DH_BKGD_END
DH_TOTAL
Figure 9
27
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
sRGB
10
Contrast
10
www.DataSheet.net/
Brightness
10
Figure 10
Gamma
10
Dithering
8 or 6
28
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
u8.2
RTD2523B Series
Gamma
Correction
u8.2
+
u10
Dithering
u8
Internal
OSD
Output
Format
Convert
u8
Background
Color
Mux
Figure 11
www.DataSheet.net/
29
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
4.5 Auto-Adjustment
There are two main independent auto-adjustment functions supported by RTD, including
auto-position & auto-tracking. The operation procedure is as following;
Auto-Position
1. Define the RGB color noise margin: When the value of color channel R or G or B is greater
than these noise margins, a valid pixel is found.
2. Define the threshold-pixel for vertical boundary search
3. Define the boundary window of searching for horizontal boundary search.
4. Start auto-function.
5. The result can be read from register.
Auto-Tracking
1. Setting the control-registers for the function (auto-phase, auto-balance) according to the
Control-Table.
2. Define the Threshold
3. Define the boundary window of searching for tracking window.
4. Start auto-function.
5. The result can be read from register
www.DataSheet.net/
30
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
M2PLL
Crystal
OUT
RESET OUT
SB
1X
watch
dog
M2PLL
RESTB
MCU
PWR Det
S1
S2
S1
MUX
MUX
S2
PIN2
Load default value
RTD POR
Figure 12
M2PLL is a PLL used to double the input Xtal clock, once if you use a 12M Xtal, tie PIN2 low,
otherwise, tie it high, by this procedure; you can use only one Xtal to share between MCU and
Scalar.
www.DataSheet.net/
Ctrl
Signal
DDS
Phase
Shifter
PLL 1
Fbck
Fav
DIV
N2
PLL 2
DIV
Fout
UP
Icp
Vctrl
VCO
LOOP
PUMP
PFD 1
DN
DIV
M2
31
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
RESET
www.DataSheet.net/
PIN3 or
PIN5
32
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
SCLK
ADRL
ADRH
R/W
INC
D0
[4:0]
D0
[8:5]
D1
[4:0]
D1
[8:5]
100n
SDIOX
SCSB
SCLK
ADRH
ADRL
INC/RW
D0[4:0]
D0[8:5]
D1[4:0]
D1[8:5]
Figure 15 Parallel Port Read (Upper)/Write (Below) with Dual edge data latch
SDIO0
ADRL [A0]
ADRH[A4]
R/W
D0[0]
D0[4]
D1[0]
D1[4]
www.DataSheet.net/
SDIO1
ADRL [A1]
ADRH[A5]
INC
D0[1]
D0[5]
D1[1]
D1[5]
SDIO2
ADRL [A2]
ADRH[A6]
D0[2]
D0[6]
D1[2]
D1[6]
SDIO3
ADRL [A3]
ADRH[A7]
D0[3]
D0[7]
D1[3]
D1[7]
SCLK
A A A A A A A A R I
0 1 2 3 4 5 6 7 W N
C
D D D D D D D D
0 1 2 3 4 5 6 7
SCSB
SCLK
A A A A A A A A R I D D D D D D D D
0 1 2 3 4 5 6 7 W N 0 1 2 3 4 5 6 7
C
A0 A1 A2
A3 A4 A5 A6 A7 R/W INC D0 D1 D2 D3 D4 D5
D6
D7
Serial Port Read (Upper)/Write (Below) with Dual edge data latch, and Serial port data alignment
33
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Reset out
RESETB
Package
www.DataSheet.net/
Reset in
34
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Input HSYNC
V t+
V t-
Output HSYNC
www.DataSheet.net/
35
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
www.DataSheet.net/
36
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
5. Register description
Global event flag
Reading unimplemented registers will return 0.
ID_REG
Address: 00
Bit
Mode
7:0
Default: 91
Function
Address: 01
Bit
Mode
7:3
--
R/W
Default: 02
Function
Reserved to 0
Power Down Mode Enable
0: Normal (Default)
1: Enable power down mode
Turn off ADC R/G/B/Banggap/DPLL/LVDS/PLL1/PLL2/SOG/SYNC PROC/TMDS
R/W
www.DataSheet.net/
R/W
Address: 02
Bit
Mode
Default: 00h
Function
Input ODD Toggle Occur (For internal field odd toggle, refer to CR0F[5])
If the ODD signal (From SAV/EAV) toggle occurs, this bit is set to 1.
37
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Default: 00h
Mode
Function
Line Buffer Overflow Status
1: Line Buffer overflow has occurred since the last status cleared
6
Mode
R/W
Default: 00h
Function
2
3
R/W
Only the first event of input overflow/underflow will be recorded at the same time.
Both input overflow/underflow status will be recorded whenever it happens.
38
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
R/W
R/W
R/W
R/W
--
Reserved to 0
www.DataSheet.net/
39
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Mode
R/W
Default: 00h
Function
8 bit Random Generator
0: Disable(Default)
1: Enable
R/W
R/W
When the list table of CR05 [4] is set, then enable CR05 [5], finally, hardware will auto load
these value into RTD2523B as the trigger event happens and clear CR05 [5] to 0.
www.DataSheet.net/
R/W
VGIP Double Buffer Mode Enable(Each register describe below has its own double buffer)
0: Disable (Original- Write instantly by MCU write cycles)
1: Enable (Double Buffer Function Write Mode)
Register
IPH_ACT_STA(CR09,CR0A)
Trigger Event
IDEN STOP
(Falling edge of IDEN)
IPV_ACT_STA (CR09,CR0A)
IDEN STOP
IV_DV_LINES (CR40)
IDEN STOP
(CR12, CR13[0])
PLLPHASE(CRAB,CRAC)
Add 1-clk Delay to IHS Delay
(CR07[4])
HSYNC Synchronize Edge
(CR07[3])
IVS_DELAY( for capture)
(CR[11],CR13[1])
3:2
R/W
IDEN STOP
(Falling edge of IDEN)
40
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
R/W
Address: 06
Bit
Mode
R/W
Default: 00h
Function
Safe Mode
0: Normal (Default)
1: Safe Mode Enable, mask 1 frame IVS of every 2 frame IVS, slow down input frame rate.
R/W
R/W
www.DataSheet.net/
R/W
R/W
R/W
R/W
R/W
41
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
VGIP_DELAY_CTRL
Address: 07
Default: 00h
Function
Bit
Mode
R/W
R/W
R/W
1:0
R/W
www.DataSheet.net/
Mode
R/W
Default: 00h
Function
ODD invert for ODD-Controlled-IVS_delay.
0: Not Invert (Default)
1: Invert
R/W
R/W
R/W
Force ODD toggle enable (Without ODD/EVEN toggle select in Safe Mode)
0: Disable (Default)
1: Enable
R/W
42
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
0: Disable (Default)
1: Enable
i.e. This bit should be always enable when in Video8 mode.
2
R/W
R/W
R/W
www.DataSheet.net/
43
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: 09
Bit
7
Mode
R/W
Default: 00h
Function
Input Test Output Enable
0: Disable (Default)
1:Test signals output to INPUT_TEST_OUT [29:0] & INPUT_CLK output to ADCLK
6:4
R/W
Select Color Output To Input_Test_Output [29:0] Pin 102-67, also set output mode to Hi-Z
000: 0, Z0TST[3:0],ADCLK, Red[7:0],Green[7:0],Blue[7:0] through VGIP
001: 0, Z0TST[3:0], ADCLK, Red[7:0],Green[7:0],Blue[7:0] After Scale Down
010: 0, Z0TST[3:0], ADCLK, IVS_DLY, IHS_DLY, IFD_ODD, IENA, VSD_DEN, VSD_ACT,
Auto_hs, Auto_vs, COAST, HS_OUT, SOG_IN, CLAMP, PHASE_ERROR, SOG_IN,
FAV,MSB2_signal, TMDS_DBG_OUT[7:0]
011: 0, Z0TST[3:0],ADCLK, 0, MCUWR, MCURD, MCU_ADR_INC, MIN[7:0], MADR[7:0],
SDMOUT_TST[3:0],
100: 0, Z0TST[3:0], ADCLK, RAW_VS, RAW_HS, RAW_ODD, RAW_DEN,0,0,0,0, Green[7:0],
Red[7:0] through VGIP
101: 0, Z0TST[3:0], ADCLK, VGIPTST_CLK, RAW_VS, RAW_HS, RAW_DEN, Red[7:0],
www.DataSheet.net/
Green[7:0], 0,0,0,0
110: 0, Z0TST[3:0], ADCLK, VGIPTST_CLK, RAW_VS, RAW_HS, RAW_ODD, Blue[7:0],
Green[7:0],0,0,0,0,
111: 0, Z0TST[3:0], ADCLK, VGIPTST_CLK, RAW_VS, RAW_HS, RAW_ODD,
TMDS_DBG_OUT[7:0], Green[7:0], 0,0,0,0
3
--
2:0
R/W
Address: 0A
Bit
Mode
7:0
R/W
Reserved
Input Video Horizontal Active Start -- High Byte [10:8]
IPH_ACT_STA_L (Input Horizontal Active Start Low)
Default: 00h
Function
Input Video Horizontal Active Start -- Low Byte [7:0]
In analog mode, the number of pixel clocks from the leading edge of HS to the first pixel of the active line.
Target = IPH_ACT_STA(>=2) +2,
Address: 0B
Bit
Mode
R/W
Default: 00h
Function
Video 8 Port Input Latch Bus MSB to LSB Swap Control:
0: Normal (Default)
44
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
R/W
R/W
R/W
2:0
R/W
CR0B[4]
CR0B[5]
CR0B[6]
G
www.DataSheet.net/
RTD
CR0B[6:4]= 000 => RGB, CR0B[6:4]= 100 => RBG, CR0B[6:4]= 001 => GRB,
CR0B[6:4]= 101 => GBR, CR0B[6:4]= 010 => BGR, CR0B[6:4]= 011 => BRG
IPH_ACT_WID_L (Input Horizontal Active Width Low)
Address: 0C
Bit
Mode
7:0
R/W
Default: 00h
Function
Input Video Horizontal Active Width -- Low Byte [7:0]
Address: 0D
Bit
Mode
7:3
--
2:0
R/W
Address: 0E
Bit
Mode
7:0
R/W
Default: 00h
Function
Reserved
Input Video Vertical Active Start High Byte [10:8]
IPV_ACT_STA_L (Input Vertical Active Start Low)
Default: 00h
Function
Input Video Vertical Active Start Low Byte [7:0]
The numbers of lines from the leading edge of selected input video VSYNC to the first line of the active window.
The value above should be larger than 1.
45
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: 0F
Default: 00h
Function
Bit
Mode
4:3
2:0
R/W
Address: 10
Bit
Mode
7:0
R/W
Default: 00h
Function
Input Video Vertical Active Lines Low Byte [7:0]
Address: 11
Bit
Mode
7:0
R/W
Default: 00h
Function
Input VS delay count by Input HSYNC [7:0]
Its IVS delay for capture and digital filter, not for auto function
Address: 12
Bit
Mode
Default: 00h
Function
www.DataSheet.net/
7:0
R/W
Address: 13
Bit
Mode
7:6
R/W
Default: 00h
Function
5:4
R/W
3:2
--
R/W
R/W
Reserved to 0
46
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
FIFO Window
DRL_H_BSU (Display Read High Byte Before Scaling-Up)
Address: 14
Bit
Mode
--
6:4
R/W
--
2:0
R/W
Address: 15
Bit
Mode
7:0
R/W
Address: 16
Bit
Mode
7:0
R/W
Default: 00h
Function
Reserved
Display window read width before scaling up: High Byte [10:8] (horizontal)
Reserved
Display window read length before scaling up: High Byte [10:8] (vertical)
DRW_L_BSU (Display Read Width Low Byte Before Scaling-Up)
Default: 00h
Function
Display window read width before scaling up: Low Byte [7:0] (horizontal)
DRL_L_BSU (Display Read Length Low Byte Before Scaling-Up)
Default: 00h
Function
Display window read length before scaling up: Low Byte [7:0] (vertical)
IHS_DELAY
CR13[0] / CR12
IVS_DELAY
CR13[1] / CR11
For Capture
www.DataSheet.net/
IHS
IVS
1 CLK
DELAY
CR07[4]
IVS_DELAY FOR
AUTO
CR13[5:4]
For Auto
IHS_DELAY FOR
AUTO
CR13[7:6]
Figure 18
For Auto
Digital Filter
Address: 17
Bit
Mode
7:5
R/W
DIGITAL_FILTER_CTRL
Default: 00h
Function
47
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
2:0
--
Reserved to 0
DIGITAL_FILTER_PORT
Address: 18
Bit
Mode
R/W
Default: 00h
Function
Y EN (G): function enable
0: function disable
1: function enable
R/W
R/W
www.DataSheet.net/
1: function enable
4
R/W
Initial value:
0: raw data
1: extension
3:0
--
Reserved to 0
DIGITAL_FILTER_PORT
Bit
Mode
R/W
Default: 00h
Function
EN: function enable
0: function disable
1: function enable
6:4
R/W
THD_OFFSET
Threshold value of phase and mismatch or offset value of smear and ringing
3:2
R/W
48
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
1:0
--
RTD2523B Series
Reserved to 0
THD_OFFSET define:
The THD value define of phase enhance function
Bit6~4
000
001
010
011
100
101
110
111
Value
112
128
144
160
176
192
208
224
000
001
010
011
100
101
110
111
Value
no use
16
32
48
64
80
96
112
000
XX1
Value
Scaling Up Function
SCALE_CTRL (Scale Control Register)
Address: 19
Bit
Mode
R/W
Default: 00h
Function
R/W
www.DataSheet.net/
R/W
R/W
R/W
R/W
49
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
When using H/V duplication mode, FIFO window width set original width, but FIFO length should be 2X the
original height.
SF_ACCESS_Port
Address: 1A
Bit
Mode
R/W
6:5
--
4:0
R/W
Default: 00h
Function
When disable scaling factor access port, the access port pointer will reset to 0
Mode
7:4
--
3:0
R/W
Function
Reserved
Bit [19:16] of horizontal scale factor
Mode
Function
www.DataSheet.net/
7:0
R/W
Mode
7:0
R/W
Function
Bit [7:0] of horizontal scale factor
Mode
Function
7:4
--
Reserved
3:0
R/W
Mode
7:0
R/W
Function
Bit [15:8] of vertical scale factor
Mode
7:0
R/W
Function
Bit [7:0] of vertical scale factor
This scale-up factor includes a 20-bit fraction part to present a vertical scaled up size over the stream input. For
example, for 600-line original picture scaled up to 768-line, the factor should be as follows:
20
(600/768) * 2
= 0.78125 * 2
20
50
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Mode
7:3
--
2:0
R/W
Default: 00h
Function
Reserved
Bit [10:8] of Scaling Factor Segment 1 pixel
Mode
7:0
R/W
Default: 00h
Function
Mode
7:3
--
2:0
R/W
Default: 00h
Function
Reserved
Bit [10:8] of Scaling Factor Segment 2 pixel
Mode
7:0
R/W
Default: 00h
Function
Mode
7:3
--
2:0
R/W
Default: 00h
Function
Reserved
Bit [10:8] of Scaling Factor Segment 3 pixel
www.DataSheet.net/
Mode
7:0
R/W
Default: 00h
Function
Mode
7:5
--
4:0
R/W
Default: 00h
Function
Reserved
Bit [12:8] of Horizontal Scale Factor delta 1
Mode
7:0
R/W
Default: 00h
Function
Mode
7:5
--
4:0
R/W
Default: 00h
Function
Reserved
Bit [12:8] of Horizontal Scale Factor delta 2
Mode
7:0
R/W
Default: 00h
Function
51
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Mode
7:0
R/W
Default: C4h
Function
Mode
7:0
R/W
Default: C4h
Function
Address: 1C
Bit
Mode
R/W
Default: 00h
Function
R/W
Select H/V User Defined Filter Coefficient Table for Access Channel
0: 1st coefficient table (Default)
1: 2nd coefficient table
R/W
R/W
--
Reserved to 0
The User Defined Filter Coefficient Table can be modified on-line. Only the non-active coefficient-table can be
modified, and then switch it to active.
Address: 1D
Bit
Mode
7:0
Default: 00h
Function
Access port for user defined filter coefficient table
When enable filter coefficient accessing, the first write byte is stored into the LSB(bit[7:0]) of coefficient #1 and
the second byte is into MSB (bit[8:11]). Therefore, the valid write sequence for this table is c0-LSB, c0-MSB,
c1-LSB, c1-MSB, c2-LSB, c2-MSB c63-LSB & c63-MSB, totally 64 * 2 cycles. Since the 128 taps is
symmetric, we need to fill the 64-coefficient sequence into table only.
Address: 1E
Bit
Mode
7:0
R/W
Address: 1F
Bit
Mode
R/W
OSD_REFERENCE__DEN
Default: 00h
Function
Default: 00h
Function
52
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
0: Disable
1: Enable
6
R/W
R/W
R/W
Reserved to 0
3:0
R/W
DCLK_Delay[11:8]
Address: 20
Bit
Mode
7:0
R/W
NEW_DV_DLY
Default: 00h
Function
DCLK_Delay[7:0]
When CR 1F[7]=1, CR1F[3:0] & CR20 cant be 0, when compensation pixel is smaller than 1 total line, just turn on
pixel compensation, otherwise users should turn on line compensation
Address: 21 Reserved
www.DataSheet.net/
53
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: 22
Bit
Mode
Default: 00h
Function
Bist for FiFo ok
0: Fail
1: Ok
R/W
R/W
www.DataSheet.net/
1: Start
2
R/W
R/W
R/W
Address: 23
Bit
Mode
Function
7:3
R/W
2:0
R/W
Scale Down Initial Point Select: for example, if the value is 20, we select the initial point is 40/64
Address: 24
Bit
Mode
7:0
R/W
54
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: 25
Bit
Mode
7:0
R/W
Function
Horizontal Scale Down Factor: Low Byte [7:0]
First left side point is always latched, then the remaining points interpolates by the shrinking ratio.
17
Address: 26
Bit
Mode
7:6
--
5:0
R/W
Address: 27
Bit
Mode
7:0
R/W
Function
Reserved to 0
Vertical Scale Down Factor: High Byte [13:8]
V_SCALE_DOWN_L (Vertical scale down factor register)
Function
Vertical Scale Down Factor: Low Byte [7:0]
12
www.DataSheet.net/
55
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Display Format
Address: 28
Bit
Mode
R/W
Default: 20h
Function
Force Display Timing Generator Enable: (Should be set when in Free-Run mode)
0: wait for input IVS trigger
1: force enable
R/W
R/W
R/W
R/W
www.DataSheet.net/
R/W
R/W
R/W
Steps to disable output: First set CR28[1]=0, set CR28[6], then set CR28[0]=0 to disable output.
Address: 29
Default: 00h
56
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
Bit
Mode
R/W
RTD2523B Series
Function
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Address: 2A
Bit
Mode
7:4
--
3:0
R/W
Address: 2B
Bit
Mode
7:0
R/W
Reserved to 0
Display Horizontal Total Pixel Clocks: High Byte[11:8]
DH_TOTAL_L (Display Horizontal Total Pixels)
Function
Display Horizontal Total Pixel Clocks: Low Byte[7:0]
Mode
7:0
R/W
57
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: 2D
Bit
Mode
7:4
--
3:0
R/W
Function
Reserved
Display Horizontal Background Start: High Byte [11:8]
DH_BKGD_STA_L (Display Horizontal Background Start)
Address: 2E
Bit
Mode
7:0
R/W
Function
Display Horizontal Background Start: Low Byte [7:0]
Determines the number of DCLK cycles from leading edge of DHS to first pixel of Background region.
Real DH_BKGD_STA (Target value)= DH_BKGD_STA (Register value)+ 10
DH_ACT_STA_H (Display Horizontal Active Start)
Address: 2F
Bit
Mode
7:4
--
3:0
R/W
Function
Reserved
Display Horizontal Active Region Start: High Byte [11:8]
DH_ACT_STA_L (Display Horizontal Active Start)
Address: 30
Bit
Mode
7:0
R/W
Function
Display Horizontal Active Region Start: Low Byte [7:0]
Determines the number of DCLK cycles from leading edge of DHS to first pixel of Active region.
www.DataSheet.net/
Address: 31
Bit
Mode
7:4
--
3:0
R/W
Function
Reserved
Display Horizontal Active End: High Byte [11:8]
DH_ACT_END_L (Display Horizontal Active End)
Address: 32
Bit
Mode
7:0
R/W
Function
Display Horizontal Active End: Low Byte [7:0]
Determines the number of DCLK cycles from leading edge of DHS to the pixel of background region.
Real DH_ACT_END (Target value)= DH_ACT_END (Register value)+ 10
DH_BKGD_END_H (Display Horizontal Background End)
Address: 33
Bit
Mode
7:4
--
3:0
R/W
Address: 34
Bit
Mode
7:0
R/W
Function
Reserved
Display Horizontal Background end: High Byte [11:8]
DH_BKGD_END_L (Display Horizontal Background End)
Function
Display Horizontal Background end: Low Byte [7:0]
58
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: 35
Bit
Mode
7:4
--
3:0
R/W
Function
Reserved to 0
Display Vertical Total: High Byte [11:8]
DV_TOTAL_L (Display Vertical Total Lines)
Address: 36
Bit
Mode
7:0
R/W
Function
Display Vertical Total: Low Byte [7:0]
CR35, CR36 use as watch dog reference value in frame sync mode, the event should be active when the line
number of display HS is equal to DV Total.
Address: 37
Bit
Mode
7:5
--
4:0
R/W
Function
Reserved
Display Vertical Sync End[4:0]:
Determines the duration of DVS pulse in lines
DV_BKGD_STA_H (Display Vertical Background Start)
Address: 38
Bit
Mode
7:4
--
3:0
R/W
Function
Reserved
www.DataSheet.net/
Address: 39
Bit
Mode
7:0
R/W
Function
Display Vertical Background Start: Low Byte [7:0]
DV_ACT_STA_H (Display Vertical Active Start)
Address: 3A
Bit
Mode
7:4
--
3:0
R/W
Function
Reserved
Display Vertical Active Region Start: High Byte [11:8]
Determines the number of lines from leading edge of DVS to first line of active region.
DV_ACT_STA_L (Display Vertical Active Start)
Address: 3B
Bit
Mode
7:0
R/W
Function
Display Vertical Active Region Start: Low Byte [7:0]
DV_ACT_END_H (Display Vertical Active End)
Address: 3C
Bit
Mode
7:4
--
3:0
R/W
Function
Reserved
Display Vertical Active Region End: High Byte [11:8]
59
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: 3D
Bit
Mode
Function
7:0
R/W
Determine the number of lines from leading edge of DVS to the line of following background region.
DV_BKGD_END_H (Display Vertical Background End)
Address: 3E
Bit
Mode
7:4
--
3:0
R/W
Address: 3F
Bit
Mode
7:0
R/W
Function
Reserved to 0
Display Vertical Background end: High Byte [11:8]
DV_BKGD_END_L (Display Vertical Background End)
Function
Display Vertical Background End: Low Byte [7:0]
Determine the number of lines from leading edge of DVS to the line of start of vertical blanking.
www.DataSheet.net/
60
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Mode
7:0
R/W
Default: 00h
Function
IVS to DVS Lines: (Only for FrameSync Mode)
The number of input HS from IVS to DVS.
Should be double buffer by CR05[5:4]
Address: 41
Bit
Mode
7:0
R/W
Default: 00h
Function
Frame Sync Mode Delay Fine Tune [7:0] 00 to disable
Applied to all fields when Interlaced_FS_Delay_Fine_Tuning is disabled (CR43[1] = 0)
Only for odd-field when Interlaced_FS_Delay_Fine_Tuning is enabled (CR43[1] = 1)
In Frame Sync Mode , CR40[7:0] represents output VS delay fine-tuning. For example, it delays the number of
(CR41 [7:0] *16 + 16) input clocks. Fill 00h, means 0, fill 01h, and means 32
Address: 42
Bit
Mode
7:0
R/W
Default: 00h
Function
Frame Sync Mode Delay Fine Tune [7:0] 00 to disable
Only for even-field when Interlaced_FS_Delay_Fine_Tuning is enabled (CR43[1] = 1)
Address: 43
FS_DELAY_FINE_TUNING
Bit
Mode
7:3
R/W
R/W
Default: 00h
www.DataSheet.net/
Function
Reference to Fine Tune Delay Mode Select
R/W
Interlaced_FS_Delay_Fine_Tuning
0: Disable (Default)
1: Enable
R/W
Address: 44
Bit
Mode
R/W
LAST_LINE_H
Default: 00h
Function
R/W
61
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
0: Disable
1: Enable
5
R/W
R/W
3:0
Address: 45
Bit
Mode
7:0
Function
DV Total or Last Line Width[7:0] Before Sync in Frame Sync Mode
Bit
Mode
R/W
Reserved to 0
6:4
R/W
Default: 00h
Function
www.DataSheet.net/
R/W
ACLK/BCLK Output Enable ( Only used in 6 bit TTL/smart panel, otherwise, use DCLK)
0: Disable
1: Enable
R/W
R/W
R/W
62
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
0: Non-Inverted
1: Inverted
www.DataSheet.net/
63
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Sync Processor
Address: 47
Bit
Mode
R/W
SYNC_SELECT
Default: 00h
Function
R/W
R/W
R/W
Input HS selection
0 : HS_RAW(SS/CS) (Default)
1: SOG/SOY
R/W
Set to 0
R/W
Set to 0
R/W
www.DataSheet.net/
0: Input Active Region (Vertical IDEN start to IDEN stop) (measure at IDEN STOP) (Default)
1: Display Active Region(Vertical DEN start to DEN stop) (measure at DEN STOP)
The function should work correctly when IVS or DVS occurs.
0
R/W
Address: 48
Bit
Mode
R/W
SYNC_INVERT
Default: 00h
Function
R/W
R/W
64
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
R/W
R/W
R/W
HS Recovery in Coast
0: Disable (Default) (SS/SOY)
1: Enable (CS or SOG )
R/W
Address: 49
Bit
Mode
R/W
Default: 02h
www.DataSheet.net/
Function
R/W
R/W
R/W
R/W
R/W
65
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
(Default)
01: VIDEO8
10: AHS/ADC_VS
11: Reserved
Y-Pb-Pr Control
DETECT_HSYNC_PERIOD_MSB
Address: 4A
Bit
Mode
7:0
Function
Detected_Hsync_Period[10:3] MSB
Hsync period counted by crystal-clock.
DETECT_HSYNC_PERIOD_LSB
Address: 4B
Bit
Mode
Function
5:3
www.DataSheet.net/
2:0
Detected_Hsync_Period[2:0] LSB
Hsync period counted by crystal-clock.
VSYNC_COUNTER_LEVEL_MSB
Address: 4C
Bit
Mode
7:6
--
R/W
Default: 03h
Function
Reserved
Video switch
0: NA (Default)
1: Video8 (Should power on ADC Band-gap CRE8[3])
R/W
SOY De-Composite
0: Auto period de-composite (Default)
1: Force period de-composite
R/W
Pop up Detected_Hsync_Period
0: no pop up
1: pop up result (CR4A[7:0], CR4B[2:0])
2:0
R/W
66
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: 4D
Bit
Mode
7:0
R/W
Default: 00h
Function
Address: 4E
Bit
Mode
7:0
R/W
Default: 50h
Function
Address: 4F
Default: 00h
Bit
Mode
Function
---
Reserved to 0
HSYNC Polarity Change (write clear) flag will be cleared when this byte being accessed
R/W
R/W
R/W
R/W
Stable Count
0 : 32 lines (Default)
1 : 64 lines
R/W
R/W
Address: 50
Bit
Mode
Function
HS Overflow(16-bits)
67
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
2:0
Stable Period[10:8]
Compare each lines period, if we get continuous N lines with the same one, the period is updated
as the stable period. N is determined by CR4F [2].
STABLE_PERIO_L
Address: 51
Bit
Mode
7:0
Function
Stable Period[7:0]
Compare each lines period, if we get continuous N lines with the same one, the period is
updated as the stable period. N is determined by CR4E[2]
MEAS_HS_PER_H (HSYNC Period Measured Result)
Address: 52
Bit
Mode
R/W
Default: 0xh
Function
On Line Auto Measure Enable
0: Disable (Default)
www.DataSheet.net/
1: Enable
6
R/W
R/W
Start a HS & VS period / H & V resolution & polarity measurement (on line monitor)
0: Finished/Disable (Default)
1: Enable to start a measurement, auto cleared after finished
3:0
Address: 53
Bit
Mode
7:0
Function
Input HSYNC Period Measurement Result: Low Byte[7:0]
When measured digitally, the result is expressed as the number of input clocks between 2 input HS signals
Address: 54
68
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
Bit
Mode
RTD2523B Series
Function
3:0
Address: 55
Bit
Mode
7:0
Function
Input VSYNC Period Measurement Result: Low Byte[7:0]
When measured digitally, the result is expressed as the number of input ENA signal within a frame.
www.DataSheet.net/
Address: 56
Bit
Mode
Function
7:4
3:0
Address: 57
Bit
Mode
7:0
Function
Input HSYNC High Period Measurement Result: Low Byte[7:0]
This result is expressed in terms of crystal clocks. When measured digitally, the result is expressed as the number of
input clocks inside the input enable signal
MEAS_VS_HIGH_PERIOD_L (VSYNC High Period Measured Result)
Address: 58
Bit
Mode
7:0
Function
Input VSYNC High Period Measurement Result: Low Byte[7:0]
Mode
7:0
R/W
69
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Mode
7:0
R/W
Default: 10h
Function
Start of Output Clamp Signal Pulse[7:0]:
Determine the number of input double-pixel between the trailing edge of input
HSYNC and the start of the output CLAMP signal.
Address: 5B
Bit
Mode
7:0
R/W
Default: 14h
Function
Address: 5C
Bit
Mode
R/W
CLAMP_CTRL0
Default:00h
Function
R/W
CLAMP_Trigger_Edge_Inverse
0: Trailing edge (Disable)
1: Leading edge
5:0
R/W
Address: 5D
Bit
Mode
R/W
Default: 00h
Function
R/W
5:0
R/W
70
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
CR49[6]
ADC sync processor
CR47[2]
1ST
HS
2ND HS
CR48[5]
SeHS
HS_RAW
0
DeHS
CS_RAW
HS_OUT
HS
De-composite
1
SOG/SOY
SOG0/SOY0
CR47[6:5]
CR48[4]
DeVS
CR48[3]
CR5D[6]
COAST
ADC/
PLL
AHS
MUX
CR47[4]
SOG1/SOY1
CR48[7]
Stable Period
Detection
CR48[6]
Clamp Mask
CR47[3]
CR47[2]
1ST VS
CR4F[4:0]
TMDS
00
2ND VS
ADC_HS1
10
0
ADC_VS
1
1
MEAS_HS
(polarity
& period)
Video8 01
CR49[5]
VS_RAW
HS_OUT
D
Clamp Ckt
Clamp
CR48[2]
11
CR49[4]
0
CR49[3]
ADC_HS1
XTAL
CR49[1:0]
HS
1
CR49[2]
CR48[0]
TMDS
CR05[3:2]
AHS
00
MEAS_VS
(polarity
& period)
CR4F[5]
Video8 01
MUX
FB HS
ADC_HS
TMDS(HS)
MUX
IHS to VGIP
ADC_VS 10
CR06[2]
VIDEO8(HS)
11
Measure Block
CR48[0]
CR48[1]
CR05[3:2]
ADC_VS
COAST
MUX
IVS to VGIP
TMDS(VS)
VIDEO8(VS)
CR06[3]
To VGIP
www.DataSheet.net/
Figure 19
Sync processor
Address: 5E
Bit
Mode
--
R/W
Default: 00h
Function
Reserved to 0
sRGB precision
0: Normal (Default)
1: 1 bit shift
5:3
R/W
71
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
R/W
R/W
Address: 5F
Bit
Mode
7:0
Function
sRGB_COEF[7:0]
For filling multiplier coefficient, the sequence should be SIGN bit (High Byte), 8 bit fractional (Low Byte)
R ' 1 + RR
RG
RB R + Roffset
'
GB G + Goffset
G = GR 1 + GG
B ' BR
BG 1 + BB B + Boffset
www.DataSheet.net/
Brightness Coefficient:
Address: 60
Bit
Mode
7:0
R/W
Address: 61
Bit
Mode
7:0
R/W
Address: 62
Bit
Mode
7:0
R/W
+127(FFh)
+127(FFh)
72
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
Valid range: -128(00h)
RTD2523B Series
~ 0(80h) ~
+127(FFh)
Contrast Coefficient:
CTS_RED_COE (Contrast Red Coefficient)
Address: 63
Bit
Mode
7:0
R/W
Default: 80h
Function
Contrast Red Coefficient:
Valid range: 0(00h) ~ 1(80h)
~ 2(FFh)
Address: 64
Bit
Mode
7:0
R/W
Function
Contrast Green Coefficient:
Valid range: 0(00h) ~ 1(80h)
~ 2(FFh)
Address: 65
Bit
Mode
7:0
R/W
Default: 80h
Default: 80h
Function
Contrast Blue Coefficient:
Valid range: 0(00h) ~ 1(80h)
~ 2(FFh)
Gamma Control
www.DataSheet.net/
Address: 66
GAMMA_PORT
Bit
Mode
7:0
Function
Access port for gamma correction table
(First, users should turn on DCLK and then fill the coefficient)
The input data sequence is {g0[9:2]}, {g0[1:0], 1b0, d0[4:0]}, {3b0, d1[4:0]}; {g2[9:2]}, {g2[1:0], 1b0,
d2[4:0]}, {3b0, d3[4:0]}; ; {g254[9:2]}, {g254[1:0] , 1b0, d254[4:0]}, {3b0, d255[4:0]} for full gamma
table.
The input data sequence is {g0[9:2]}, {g0[1:0], 1b0, d0[4:0]}, {g2[9:2]}, {g2[1:0] , 1b0, d2[4:0]} ,
{g254[9:2]}, {g254[1:0] ,1b0, d254[4:0] } for compact gamma table.
g(n) is 10bit gamma coefficient, and d(n) is g(n+1) g(n) with 5bit.
l
The latest stage of d[n] cant let gamma curve exceed 255.
GAMMA_CTRL
Address: 67
Bit
Mode
Function
7
R/W Enable Access Channels for Gamma Correction Coefficient:
Default: 00h
73
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
5:4
R/W
1: enable
--
R/W
Reserved to 0
Gamma Access Type
0: access compact gamma table (Default)
1: access full gamma table
l
Access Gamma_Access register will reset GAMMA_PORT index.
GAMMA_BIST (Color Control Register)
Default: 01h
Address: 68
Bit
Mode
Function
7
R/W Test_mode
0: Disable, dither_out = dither_result[9:2];
// truncate to integer number (Default)
1: Enable, dither_out = dither_result[7:0];
6:4
--
3:2
R/W
Reserved to 0
www.DataSheet.net/
R/W
Gamma BIST_Progress
0: BIST is done (Default)
1: BIST is running
Dithering Control
DITHERING_SEQUENCE_TABLE
Address: 69
Bit
Mode
Function
7:6
5:4
3:2
74
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
1:0
l
RTD2523B Series
There are three set of dithering sequence table, each table contains 32 elements, s0, s1,
, s31.
l
R + (2R+1) * C choose sequence element, where R is Row Number / 2, and C is Column Number / 2.
DITHERING_TABLE_ACCESS (Dithering Table Access Port)
Address: 6A
Bit
Mode
7:4
3:0
Function
Red, green, blue each channel has 4 dithering table, each table is 2x2 elements, and one element has 4 bit
for 10B/8B, the elements should fill 0 to 3, for 10B/6B, the elements should fill 0 to 15.
D01
D10
D11
D20
D21
D30
D31
D02
D03
D12
D13
D22
D23
D32
D33
DITHERING_CTRL
Address: 6B
Function
Bit
Mode
Enable
Access
Dithering
Sequence
Table
7
R/W
0: disable (Default)
Default: 00h
www.DataSheet.net/
1: enable
6
R/W
R/W
1: enable
5
1: enable
4
R/W
Temporal Dithering
0: Disable (Default)
1: Enable
R/W
R/W
Dithering Mode
0: New (Default)
1: Old
R/W
75
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
1: Enable
0
R/W
{Dithering sequence + Frame Number (if temporal dithering)} mod 4 determine which dithering table to use
www.DataSheet.net/
76
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: 6C
Bit
Mode
7:6
--
R/W
Default: 00h
Function
Reserved to 0
Background color access enable
0: Disable(Reset CR6D Write Pointer to R)
1: Enable
4:2
R/W
Alpha blending level (Also enable OSD frame control register 0x003 byte 1[3:2]
000: Disable (Default)
001 ~111: 1/8~ 7/8
R/W
R/W
background.
Address: 6D
BGND_COLOR_CTRL
Bit
Mode
7:0
R/W
Default: 00h
Function
There are 3 bytes color select of background R, G, B, once we enable Background color access channel(CR6C[5]
and the continuous writing sequence is R/G/B
OVERLAY_LUT_ADDR (Overlay LUT Address)
Address: 6E
Bit
Mode
--
R/W
Default: 01h
Function
Reserved to 0
Enable Overlay Color Plate Access:
0: Disable (Default)
1: Enable
5:0
l
R/W
Address: 6F
Bit
Mode
7:0
Function
Color Palette 16x24 Look-Up-Table access port [7:0]
Using this port to access overlay color plate which addressing by the above registers.
77
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
l
RTD2523B Series
The writing sequence into LUT is [R0, G0, B0, R1, G1, B1, R15, G15, and B15] and the address counter will
be automatic increment and circular from 0 to 47.
Address: 70
Bit
Mode
--
6:4
R/W
3:0
R/W
Default: 33h
Function
Reserved
High Byte [10:8]
High Byte [11:8]
H_BOUNDARY_STA_L
Address: 71
Bit
Mode
7:0
R/W
Default: 04h
Function
Address: 72
Bit
Mode
7:0
R/W
Default: C0h
Function
Address: 73
Default: 85h
Bit
Mode
--
6:4
R/W
3:0
R/W
Function
Reserved
www.DataSheet.net/
Address: 74
Bit
Mode
7:0
R/W
Default: 20h
Function
Address: 75
Bit
Mode
7:0
R/W
Default: 42h
Function
Address: 76
Bit
Mode
7:2
R/W
1:0
--
Function
Red pixel noise margin setting register
Reserved to 0
GRN_NOISE_MARGIN (Green Noise Margin Register)
Address: 77
Bit
Mode
7:2
R/W
1:0
--
Default: 00h
Default: 80h
Function
Green pixel noise margin setting register
Reserved to 0
78
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: 78
Bit
Mode
7:2
R/W
1:0
--
Address: 79
Bit
Mode
7:0
R/W
Address: 7A
Bit
Mode
R/W
Default: 18h
Function
Blue pixel noise margin setting register
Reserved to 0
DIFF_THRESHOLD
Default: 85h
Function
Difference Threshold
AUTO_ADJ_CTRL0
Default: 00h
Function
R/W
R/W
R/W
www.DataSheet.net/
3:2
R/W
1:0
R/W
Address: 7B
Bit
Mode
7:3
R/W
HW_AUTO_PHASE_CTRL0
Default: 00h
Function
(Valut+1)
(How many times (steps reference CR7B[2:0]) jumps when using Hardware Auto)
79
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
2:0
R/W
RTD2523B Series
Address: 7C
Bit
Mode
R/W
Default: 00h
Function
R/W
(121-LPF)
0: Disable (Default)
1: Enable
5:0
R/W
Address: 7D
AUTO_ADJ_CTRL1
Bit
Mode
R/W
Default: 00h
www.DataSheet.net/
Function
R/W
R/W
R/W
R/W
--
R/W
Reserved to 0
Function (Phase/Balance) Selection
80
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
0: Auto-Balance (Default)
1: Auto-Phase
0
R/W
Sub-Function
Auto-Balance
Max pixel
Min pixel
Mode1
Th
Mode2
Th
All pixel
Auto-Phase Type
Accumulation
Address: 7E
Bit
Mode
Function
7:4
3:0
Address: 7F
www.DataSheet.net/
Bit
Mode
7:0
Function
Active region vertical start measurement result: bit[7:0]
VER_END_L (Active region vertical end Register)
Address: 80
Bit
Mode
7:0
Function
Active region vertical end measurement result: bit[7:0]
H_START_END_H (Active region horizontal start Register)
Address: 81
Bit
Mode
7:4
3:0
Address: 82
Bit
Mode
7:0
Function
Active region horizontal start measurement result: bit[7:0]
H_END_L (Active region horizontal end Register)
Address: 83
Bit
Mode
7:0
Address: 84
Function
Function
Active region horizontal end measurement result: bit[7:0]
AUTO_PHASE_3 (Auto phase result byte3 register)
81
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
Bit
Mode
7:0
RTD2523B Series
Function
Address: 85
Bit
Mode
7:0
Function
Auto phase measurement result: bit[23:16]
AUTO_PHASE_1 (Auto phase result byte1 register)
Address: 86
Bit
Mode
7:0
Function
Auto phase measurement result: bit[15:8]
AUTO_PHASE_0 (Auto phase result byte0 register)
Address: 87
Bit
Mode
7:0
Function
Auto phase measurement result: bit[7:0]
The measured value of R or G or B color max or min. (Auto-Balance)
Address: 88 Reserved to 0
Address: 89
Bit
Mode
7:5
R/W
Default: 00h
Function
YUV Coefficient Write Enable:
www.DataSheet.net/
--
R/W
Reserved to 0
Enable YUV/RGB coefficient Access:
0: Disable
1: Enable
R/W
Cb Cr Clamp
0: Bypass
1: Cb-128, Cr-128
R/W
Y Gain/Offset:
0 : Bypass
1: (Y-16)*1.164
82
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
0
R/W
RTD2523B Series
Address: 8A
Bit
Mode
7:0
YUV_RGB_COEF_DATA
Function
COEF_DATA[7:0]
0 Y 16(orY )
R 1.164(or1) h12
Cr 128
B 1.164(or1)
0
h33 Cb 128
l
l
l
l
l
l
l
h12: 11 bits, 1 bit integer and 10-bit fractional bits (Default: 5_80h)
h22: 10 bits, all fractional bits (Default: 1_40h)
h23: 9 bits, the MSB mean 0.25 (Default: 0_A0h)
h33: 12 bits, 2 bit integer and 10-bit fractional bits (Default: 7_00h)
To fill h coefficients expressed by 2s complement without signed bit.
h22 and h23 cant be 000h
When enable coefficient access, the coefficient fill method should write CR89 [7:5] and then write CR8A
repetitively.
www.DataSheet.net/
83
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: 8B
Bit
Mode
7:0
R/W
Default: 00h
Function
Address: 8C
Bit
Mode
7:0
R/W
Address: 00
Default: 00h
Function
Bit
Mode
R/W
Default: 01h
Function
Enable Timing Controller Function (Global)
0: Disable (Default)
1: Enable
Reset all TCON pins after Enable TCON function is set and ties low.
R/W
R/W
0: DEN (Default)
1: TCON [13]
4
--
3:2
R/W
Reserved
Crystal Out Frequency (Glitch free mux)
00: 1/4 X (Default)
01: 1/2 X
1X: 1X
1:0
R/W
Address: 01
Bit
Mode
7:5
--
R/W
Default: 00h
Function
Reserved to 0
Pin110/111/112/113/114/115/118/119/120/121/122
Pin 48/49/50/51/52/53/54/55/56/57 drive current setting
84
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
0: 4mA
1: 6mA
3:1
R/W
--
Address: 02
Reserved to 0
RSDS Misc
Bit
Mode
R/W
Default: 00h
Function
6:4
R/W
--
R/W
Reserved to 0
RSDS Green / Clock Pair Swap (Also refer to CR29[6:4])
0: No Swap (Default)
1: Swap
R/W
R/W
85
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Even/Odd swap
Red/Blue swap
Anti-Flicker Control
Anti-flicker control is intended to switch polarity control of the panel, the hardware detects the picture
condition and switch the toggle style between 1-line/2-line, and the dedicated polarity control pin is TCON 7,
users should build one-line toggle in TCON6 and then TCON 7 will auto switch between 1-line/2-line polarity
change.
Address: 03
Default: 00h
www.DataSheet.net/
Bit
Mode
7:0
R/W
Address: 04
Function
2 line Sum of Difference Threshold 1 Value: bit [7:0]
Pixel Threshold Low Value for Smart Polarity (TH2)
Bit
Mode
7:0
R/W
Address: 05
Mode
R/W
Default: 00h
Function
2 line Sum of Difference Threshold 2 Value: bit [7:0]
Line Threshold Value for Smart Polarity
Bit
ie:TH1
ie:TH2
Default: 00h
Function
Measure Dot Pattern over Threshold
1: Run.
Auto: always measure (Reference to CR05[5])
Manual: start to measure, clear after finish
0: Stop
R/W
86
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
0: Manual
4:0
R/W
RSDS Display Data Bus Interleaving Line Buffer Length High Byte
Bit
Mode
R/W
Default: 00h
Function
RSDS Type III Line Buffer Enable
0: Disable
1: Enable
6:5
R/W
R/W
R/W
0: Fail
1: Ok
2
R/W
1:0
R/W
Address: 07
RSDS Display Data Bus Interleaving Line Buffer Length Low Byte
Bit
Mode
Function
7:0
R/W
Default: 00h
Bit
Mode
7:0
Address: 09
Function
Line number [7:0] at which TCON control generation begins
TCON [0]_VS_MSB (TCON [0] Vertical Start/End MSB Register)
Bit
Mode
--
Function
Reserved
87
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
6:4
--
Reserved
2:0
Address: 0A
Bit
Mode
7:0
Address: 0B
Bit
Mode
7:0
Address: 0C
Bit
Mode
Function
--
Reserved
6:4
--
Reserved
2:0
Mode
Function
www.DataSheet.net/
7:0
If the register number is large than display format, the horizontal component is always on.
Real TCON_HS = TCON_HS-4, Real TCON_HS = TCON_HS-4
Address: 0E
Bit
Mode
R/W
Default: 00h
Function
TCON [n] Enable (Local)
0: Disable (TCON [n] output clamp to 0) (Default)
1: Enable
R/W
Polarity Control
0: Normal output (Default)
1: Inverted output
5:4
--
R/W
Reserved to 0
Toggle Circuit Enable/Disable
0: Normal TCON output (Default)
1: Toggle Circuit enable
When using toggle circuit enable mode, the TCON[n] will be 1 clock earlier than TCON[n-1] and
then toggling together, finally output will be 1 clock delay comparing to toggling result.
2:0
R/W
88
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
TCON [13] has inactive data controller function.
TCON [13]~[10] has dot masking function
TCON [7] has flicking reduce function.
000: Normal TCON output (Default) (When toggle enable, it will toggle itself)
001: Select TCON [n] AND with TCON [n-1]
010: Select TCON [n] OR with TCON [n-1]
011: Select TCON [n] XOR with TCON [n-1]
100: Select TCON [n-1] rising edge as toggle trigger signal (only when toggle enable)
101: Select TCON [n-1] rising edge as toggle trigger signal, then AND (only when toggle enable)
110: Select TCON [n-1] rising edge as toggle trigger signal, then OR ( only when toggle enable)
111: Select TCON [n] and TCON [n-1] on alternating frames.
-------------------------------------------------------------------------------------------------------------------TCON [9:8] (TCON Combination Select)
000: Normal TCON output
001: Select TCON [n] AND with TCON [n-1]
010: Select TCON [n] OR with TCON [n-1]
011: Select TCON [n] XOR with TCON [n-1]
100: Select TCON [n-1] rising edge as toggle trigger signal (when toggle enable)
101: Select TCON [n-1] rising edge as toggle trigger signal, then AND (when toggle enable)
www.DataSheet.net/
110: Select TCON [n-1] rising edge as toggle trigger signal, then OR (when toggle enable)
111: Select TCON [n] and TCON [n-1] reference ODD signal as alternating frames.
-------------------------------------------------------------------------------------------------------------------TCON [3] (TCON Combination Select)
000: Normal TCON output
001: Select TCON [3] AND with TCON [2]
010: Select TCON [3] OR with TCON [2]
011: Select TCON [3] XOR with TCON [2]
100: Select TCON [2] rising edge as toggle trigger signal (when toggle enable)
101: Select TCON [2] rising edge as toggle trigger signal, then AND (when toggle enable)
110: Select TCON [2] rising edge as toggle trigger signal, then OR (when toggle enable)
111: Select reset(ODD=0) or set(ODD=1) TCON [3] by DVS, when toggle function enable
-------------------------------------------------------------------------------------------------------------------TCON [2] (Clock Toggle Function)[toggle function is inactive]
00x: Normal TCON output
010: Select DCLK/2 when TCON [2] is 0
011: Select DCLK/2 when TCON [2] is 1
100: Select DCLK/4 when TCON [2] is 0
89
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Dot masking
www.DataSheet.net/
Mode
7:3
R/W
Reserved to 0
R/W
Default: 00h
Function
0: Disable (Default)
1: Enable
1
R/W
R/W
When applying dot masking, the timing setting for TCON will be
Real TCON_Mask_STA = TCON_STA+2
Real TCON_Mask_END = TCON_END +2
90
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Data(# bits)
Default
0A,09,08
0D,0C,0B
0E
TCON [0]_CTRL_REG
0F
Reserved
12,11,10
15,14,13
16
TCON [1]_CTRL_REG
17
Reserved
1A,19,18
1D,1C,1B
1E
TCON [2]_CTRL_REG
1F
Reserved
22,21,20
25,24,23
26
TCON [3]_CTRL_REG
27
Reserved
2A,29,28
2D,2C,2B
2E
TCON [4]_CTRL_REG
2F
Reserved
32,31,30
35,34,33
36
TCON [5]_CTRL_REG
37
Reserved
3A,39,38
3D,3C,3B
3E
TCON [6]_CTRL_REG
00
00
00
www.DataSheet.net/
00
00
00
00
91
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
3F
Reserved
42,41,40
45,44,43
46
TCON [7]_CTRL_REG
47
Reserved
4A,49,48
4D,4C,4B
4E
TCON [8]_CTRL_REG
4F
Reserved
52,51,50
55,54,53
56
TCON [9]_CTRL_REG
57
Reserved
5A,59,58
5D,5C,5B
5E
TCON [10]_CTRL_REG
5F
TCON [10]_CTRL_REG
62,61,60
65,64,63
66
TCON [11]_CTRL_REG
00
67
TCON [11]_CTRL_REG
00
6A,69,68
6D,6C,6B
6E
TCON [12]_CTRL_REG
00
6F
TCON [12]_CTRL_REG
00
72,71,70
75,74,73
76
TCON [13]_CTRL_REG
00
00
00
www.DataSheet.net/
00
00
92
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
77
RTD2523B Series
TCON [13]_CTRL_REG
00
LVDS_CTRL0
Default: 00h
Mode
R/W Power up band-gap of LVDS/RSDS
Function
0: Off (Default)
1: On
6
R/W
R/W
R/W
3:2
R/W
--
Reserved to 0
Address: 79
Bit
7
LVDS_CTRL1
Default: 04h
Mode
Function
R/W Enable PLL test signal output to pin 85
0: Disable (Default)
1: Enable
R/W
5:3
R/W
93
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
010: VBG
011: IB100u(20K ohm to GND)
1xx: TSTPLL (50 ohm to VDD)
2:0
R/W
Address: 7A
Bit
7:6
5:4
Default: 16h
Mode
-Reserved to 0
R/W
Function
3:0
R/W
Address: 7B
Default: 12h
Bit
Mode
Function
7:6
--
5:3
R/W
2:1
R/W
R/W
Reserved to 0
www.DataSheet.net/
0: Table 1 (Default)
1: Table 2
TCLK+
LVDS
Even A
Even B
Even C
Even D
Odd A
Odd B
Odd C
Odd D
Bit 1
ER1
EG2
EB3
ER7
OR1
OG2
OB3
OR7
Bit 0
ER0
EG1
EB2
ER6
OR0
OG1
OB2
OR6
Bit 6
EG0
EB1
DEN
RSV
OG0
OB1
DEN
RSV
Bit 5
Bit 4
Bit 3
Bit 2
ER5
ER4
ER3
ER2
EB0
EG5
EG4
EG3
VS
HS
EB5
EB4
EB7
EB6
EG7
EG6
OR5
OR4
OR3
OR2
OB0
OG5
OG4
OG3
VS
HS
OB5
OB4
OB7
OB6
OG7
OG6
Bit-Mapping 6bit(5~0)+2bit(7~6)
Bit 1
ER1
EG2
EB3
ER7
OR1
OG2
OB3
OR7
Bit 0
ER0
EG1
EB2
ER6
OR0
OG1
OB2
OR6
Bit 6
EG0
EB1
DEN*6
RSV*7
OG0
OB1
DEN*2
RSV*3
Bit 5
ER5
EB0
VS*5
EB7
OR5
OB0
VS*1
OB7
Bit 1
ER3
EG4
EB5
ER1
Bit 0
ER2
EG3
EB4
ER0
Bit 6
EG2
EB3
DEN
RSV
Bit 5
ER7
EB2
VS
EB1
Bit 1
ER3
EG4
EB5
ER1
Bit 0
ER2
EG3
EB4
ER0
Bit 6
EG2
EB3
DEN*6
RSV*7
Bit 5
ER7
EB2
VS*5
EB1
TCLK+
LVDS
Even A
Even B
Even C
Even D
Bit 4
ER6
EG7
HS
EB0
Bit 3
ER5
EG6
EB7
EG1
Bit 2
ER4
EG5
EB6
EG0
94
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
Odd A
Odd B
Odd C
Odd D
OR3
OG4
OB5
OR1
Address: 7C
Bit
7:6
OR2
OG3
OB4
OR0
RTD2523B Series
OG2
OB3
DEN
RSV
OR7
OR6
OR5
OR4
OB2
OG7
OG6
OG5
VS
HS
OB7
OB6
OB1
OB0
OG1
OG0
Bit-Mapping 6bit(7~2)+2bit(1~0)
LVDS_CTRL4
OR3
OG4
OB5
OR1
OR2
OG3
OB4
OR0
OG2
OB3
DEN*2
RSV*3
OR7
OB2
VS*1
OB1
Default: 80h
Function
Mode
R/W E_RSV: even port reserve signal select
11: Always 1
10: Always 0
01: TCON [11]
00: PWM_0
5:4
R/W
3:2
R/W
www.DataSheet.net/
00: DVS
1:0
R/W
Address: 7D
Bit
7:6
LVDS_CTRL5
Mode
R/W O_RSV: odd port reserve signal select
Default: 80h
Function
11: Always 1
10: Always 0
01: TCON [13]
00: PWM_1
5:4
R/W
95
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
3:2
R/W
RTD2523B Series
1:0
R/W
Address: 7E Reserved
www.DataSheet.net/
96
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Pin Share
Address: 8D
Bit
Mode
7:6
R/W
PIN_SHARE_CTRL0
Default: 00h
Function
5:4
R/W
3:2
R/W
Pin 48
00: COUT (Default)
01: PWM1
10: DHS
11: TCON0
1:0
R/W
www.DataSheet.net/
Pin 49
00: TCON7 (Default)
01: PWM2
10: DVS
11: TCON1
Address: 8E
Bit
Mode
R/W
PIN_SHARE_CTRL1
Default: 04h
Function
Pin 50/51
0: DDCSCL1/DDCSDA1
1: TCON4/TCON9
R/W
Pin 52/53
0: TCON13/TCON7
1: DCLK/DEN (Should set CR46[1]=1 first )
i.e. Become SDIO0/SDIO1 if Power on latch for parallel port and MCU 52/53 location.
5:4
R/W
Pin 54
00: TCON11
01: DHS
10: BGRN0
97
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
11: Rsv
i.e. Become SDIO2 if Power on latch for parallel port and MCU 54 location.
3
R/W
Pin 55/56/57
0: TCON0/TCON12/TCON3
1: BGRN1/BRED0/BRED1
i.e. Become SDIO3/SCSB/SCLK if Power on latch for MCU 55-57 location.
R/W
Pin 122 (During reset period, the output should be M2PLL Out)
0: Normal function (Refer to CR8F[0])
1: M2PLL
R/W
Pin 110
0: COUT (Default)
1: TCON13
--
Address: 8F
Bit
Mode
7:6
R/W
Reserved to 0
PIN_SHARE_CTRL2
Default: 00h
Function
Pin 111
00: V0
01: ARED1
10: PWM1
www.DataSheet.net/
11: TCON2
5:4
R/W
Pin 112/113/114
00: V1/V2/V3
01: ARED0/AGRN1/AGRN0
10: PWM2/DDCSCL2/DDCSDA2
11: TCON10/TCON8/TCON5
i.e. Become SDIO0/SDIO1/SDIO2 if Power on latch for parallel port and MCU left location.
R/W
Pin 115/118/119
0: V4/V5/V6
1: TCON9/TCON7/TCON3
i.e. Become SDIO3/SCSB/SCLK if Power on latch for parallel port and MCU left location.
2:1
R/W
Pin 120/121
00: V7/VCLK
01: DCLK/DENA
10: DDCSDA2/DDCSCL2
11: TCON6/TCON4
R/W
98
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
0: PWM0
1: TCON9
www.DataSheet.net/
99
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Embedded OSD
OSD_ADDR_MSB (OSD Address MSB 8-bit)
Address: 90
Bit
Mode
7:0
R/W
Function
OSD MSB 8-bit address
OSD _ADDR_LSB (OSD Address LSB 8-bit)
Address: 91
Bit
Mode
7:0
R/W
Function
OSD LSB 8-bit address
OSD_DATA_PORT (OSD Data Port)
Address: 92
Bit
Mode
7:0
Function
Data port for embedded OSD access
Address: 93
Bit
Mode
R/W
Default: 05
Function
BIST Start
0: stop (Default)
1: start (auto clear to 0 when BIST finish)
www.DataSheet.net/
BIST Result ( Read this bit when CR05[7] return to stop condition )
0: fail (Default)
1: success
Double_Buffer_Write_Status
0: double buffer write out is finish, or data write to double buffer is not ready, or no double buffer
function.
1: after data write to dbuf and before dbuf write out, such that double buffer is busy.
--
2:0
R/W
Reserved to 0
Double buffer depth (Default=6) [ Should set CR6C[0]=1]
000~101=>1~6
Address: 94
Bit
Mode
7:0
R/W
OSD_TEST
Default: 00
Function
Testing Pattern
100
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: 95
Bit
Mode
7:6
R/W
Default: 14
Function
5:4
R/W
R/W
2:0
R/W
EBD_REGLATOR_VOL
Address: 96
Bit
Mode
7:5
R/W
Default: 88
Function
4:3
R/W
R/W
Reserved to 0
R/W
--
Reserved to 0
Mode
R/W
HS_SCHMITT_TRIGGE_CTRL
Default: 41h
Function
HSYNC Schmitt Power Down (Only for Schmitt trigger new mode)
0: Power down (Default)
101
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
1: Normal
6
R/W
R/W
R/W
3:2
R/W
1:0
R/W
2.68V
1.7V
10
2.3
1.3
11
2.0V
1.3V
New mode: Fully programmable Schmitt trigger.
The following table will determine the Schmitt Trigger positive and negative voltage:
bit[6]=1 Category 1
bit[6] = 0 Category 2
bit[3:2]
Vt+
bit[1:0]
Vtbit[3:2]
Vt+
bit[1:0]
00
1.2V
00
0.2V
00
1.6V
00
01
1.4V
01
0.4V
01
1.7V
01
10
1.5V
10
0.7V
10
2.0V
10
11
1.7V
11
1.0V
11
2.1V
11
After we get the threshold voltage by the table, we still can fine tune it:
Final Positive Threshold Voltage = Vt+ - 0.1* bit[4]
Final Negative Threshold Voltage = Vt-- 0.1* bit[4]
www.DataSheet.net/
3.
Vt0.2
0.75
2.0
2.1
102
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Phase-Lock-Loop (PLL)
DDS Setting for ADC
Address: 98
PLL_DIV_CTRL
Bit
Mode
7
R/W PFD Selection
Default: 04h
Function
R/W
R/W
R/W
R/W
HS output synchronized by
0: phase 32
1: phase 0 (Default)
www.DataSheet.net/
2:1
R/W
R/W
I_CODE_L
Address: 99
Bit
Mode
Function
7:3
R/W Old/New mode: I_Code [9:5] (Default: 01000)
2
R/W
Default: 47h
(Default=1)
New mode:
I-code control mechanism
0: new linear mode, PE*(2+NEW_I[13])
1: old mode, P-code = I[17:0] 1 (Default)
1:0
R/W
103
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
Default: 00h
Function
R/W
R/W
R/W
R/W
NEW _ P+ 2
R/W
( NEW _ I [ 9:5]+ 2 )
R/W
Address: 9C
Bit
Mode
--
R/W
5:0
Default: 18h
Default: 8b 00xxxxxx
Function
Reserved to 0
PFD Calibration Enable
Overwrite 0 to 1 return a new PFD calibrated results.
PFD Calibrated Results[5:0]
PE_MEARSURE
Address: 9D
Bit
Mode
7:6
--
Default: 00h
Function
Reserved to 0
104
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
5
R/W
RTD2523B Series
PE Measure Enable
0: Disable (Default)
1: Start PE Measurement, clear after finish.
4:0
Address: 9E
Bit
Mode
---
R/W
Default: 00h
Function
Reserved to 0
PE Max. Measure Enable
0: Disable (Default)
1: Start PE Max. Measurement
R/W
4:0
PE Max Value[4:0]
FAST_PLL_CTRL
Address: 9F
Bit
Mode
--
R/W
Default: 00h
Function
Reserved to 0
Enable APLL Setting
0: Disable (Default)
www.DataSheet.net/
R/W
--
R/W
Reserved to 0
DDS I_SUM Setting Updated Enable
0: Disable (Default)
1: Enable (Auto clear when finished)
R/W
Measure I_SUM
0: Disable
1: Enable (Auto clear after finish)
R/W
Enable Port A0
0: Disable Port A0 Access
1: Enable Port A0 Access
When this bit is 0, port address will be reset to 00, and will auto increase when read or write
105
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
0
R/W
RTD2523B Series
Address: A0
Bit
Mode
7:0
R/W
FAST_PLL_ISUM
Default: 80h
Function
www.DataSheet.net/
106
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
ADC PLL1
PLL1_M (M Parameter Register)
Address: A1
Bit
Mode
7:0
R/W
Default: 0Fh
Function
Address: A2
Bit
Mode
R/W
Default: 80h
Function
6:4
---
3:0
R/W
l
l
Reserved to 0
PLL1N[3:0] (PLL1_DPN value 2)
Address: A3
Bit
Mode
R/W
Reserved to 0
6:4
R/W
Default: 33h
Function
000: 20K
www.DataSheet.net/
001: 21K
010: 22K
011: 23K (Default)
100: 24K
101: 25K
110: 26K
111: 27K
3:0
R/W
Mode
Default: 0Eh
Function
R/W
107
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
5
R/W
RTD2523B Series
4:3
R/W
R/W
R/W
---
Reserved to 0
ADC PLL2
Address: A5
Bit
Mode
7:0
R/W
Default: 3Eh
Function
Address: A6
Bit
Mode
7:0
R/W
l
l
l
Default: 3Dh
Function
Address: A7
Bit
Mode
Function
7:5
R/W
Default: 6Fh
000: 15K
001: 16K
010: 17K
011: 18K
100: 19K
101: 20K
110: 21K
111: 22K
4:0
R/W
108
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Default: 09h
Function
R/W
R/W
4:3
R/W
2:1
R/W
www.DataSheet.net/
R/W
Address: A9
Bit
Mode
---
R/W
Default: 05h
Function
Reserved to 0
Phase_Select_Method
0: Manual (Default)
1: Look-Up-Table
R/W
PLL2PH0PATH
0: Short Path (Default)
1: Long Path (Compensate PLL_ADC path delay)
R/W
PLL2D2
0:ADC CLK=1/2 VCO CLK (Default)
1:ADC CLK=1/4 VCO CLK
109
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
3:0
R/W
RTD2523B Series
PLLDIV_L
Address: AA
Bit
Mode
Function
R/W PLL Divider Ratio Control. Low-Byte [7:0].
7:0
Default: 3Fh
PLLDIV should be double buffered when PLLDIV_LO changes and IDEN_STOP occurs.
l
This register determines the horizontal total pixels. PLL derives the sampling clock and data output clock
(DCLK) from input HSYNC. The real operation Divider Ratio = PLLDIV+1
The default value of PLLDIV is 053Fh(=1343, VESA timing standard, 1024x768 60Hz, Horizontal time).
CRA9 & AA will be written in when CR AA is written.
l
l
Address: AB
Default: 30h
Bit
Mode
R/W
R/W
R/W
R/W
3:0
R/W
Address: AC
Function
Default: 00h
Function
Bit
Mode
R/W
R/W
MSB of 128 phase (Only for ADC CLK=1/4 VCO CLK) (Default=0)
5:0
R/W
www.DataSheet.net/
Address: AD
PLL2_PHASE_INTERPOLATION
Default: 50h
Bit
Mode
Function
7:6
R/W
5:3
R/W
2:1
R/W
R/W
110
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Phase
[XY^^^^^]
Phase
[XY ^^^^^]
Phase
[XY ^^^^^]
Phase
[XY ^^^^^]
[11 00000]
16
[01 10000 ]
32
[10 00000]
48
[00 10000]
[11 00001]
17
[01 10001 ]
33
[10 00001]
49
[00 10001]
[11 00010]
18
[01 10010 ]
34
[10 00010]
50
[00 10010]
[11 00011]
19
[01 10011]
35
[10 00011]
51
[00 10011]
[11 00100]
20
[01 10100]
36
[10 00100]
52
[00 10100]
[11 00101]
21
[00 10101]
37
[10 00101]
53
[00 10101]
[11 00110]
22
[00 10110]
38
[10 00110]
54
[00 10110]
[11 00111]
23
[01 10111]
39
[10 00111]
55
[00 10111]
[11 01000]
24
[01 11000]
40
[10 01000]
56
[00 11000]
[11 01001]
25
[01 11001]
41
[10 01001]
57
[00 11001]
10
[01 01010]
26
[10 11010]
42
[10 01010]
58
[11 11010]
11
[01 01011]
27
[10 11011]
43
[10 01011]
59
[11 11011]
12
[01 01100]
28
[10 11100]
44
[00 01100]
60
[11 11100]
13
[01 01101]
29
[10 11101]
45
[00 01101]
61
[11 11101]
14
[01 01110]
30
[10 11110]
46
[00 01110]
62
[11 11110]
15
[01 01111]
31
[10 11111]
47
[00 01111]
63
[11 11111]
DISPLAY PLL
DPLL_M (DPLL M Divider Register)
Address: AE
Bit
Mode
7:0
R/W
R/W
Function
Default: 2Ch
www.DataSheet.net/
Default: 83h
Function
R/W
5:4
R/W
3:0
l
l
R/W
111
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
l
RTD2523B Series
Address: B0
Bit
Mode
Function
7:6
R/W
Default: 6Ah
R/W
Address: B1
Bit
7
Default: 0Fh
Mode
R
DPLLSTATUS (DPLL WD Status)
Function
0: Normal
1: Abnormal
6
R/W
www.DataSheet.net/
1: Reset
5
R/W
4:3
R/W
R/W
R/W
R/W
112
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
0: LPFMode=0DPN<=5
1: LPFMode=116>=DPN>=5
Address: B2
Bit
Mode
7:4
R/W
Default: E2h
Function
R/W
R/W
R/W
M2PLL N Code
0: N=1
1: N=2 (Default)
M2PLL WD Status
0: Normal
www.DataSheet.net/
1: Abnormal
Address: B3
Bit
Mode
7:6
R/W
MULTI_PLL_CTRL1
Default: 94h
Function
5:4
R/W
3:2
R/W
M2PLL WD Voltage
00: 0.80V
01: 1.0V (Default)
10: 1.2V
11: 1.4V
R/W
M2PLL_WDRST
0: Normal (Default)
113
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
M2PLL_WDSET
0: Normal (Default)
1: Set (Free Run by WD asserts VCO Voltage)
PLL TEST
PLL_TEST (PIN3)
Address: B4
Bit
7:6
5
Default: 19h
Mode
Function
-Reserved to 0
R/W PLL_TP1_FAST (PLL_TestPin1 TTL Output Driving)
0: Slow (Default)
1: Fast
4:3
R/W
2:0
R/W
Mode
--
R/W
Default: 19h
Function
Reserved to 0
Select the external clock source instead of DPLL clock for MP test (Digital TTL input)
0: Disable
1: Enable
R/W
4:3
R/W
114
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
Mode
R/W
DCLK_FINE_TUNE_OFFSET_MSB
Default: 00h
Function
1: PLL_TP2
6
R/W
R/W
R/W
3:0
R/W
Address: B6
Bit
Mode
7:0
R/W
Address: B7
Bit
Mode
7:4
R/W
Default: 00h
Function
Default: 00h
Function
115
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
3
R/W
RTD2523B Series
R/W
1:0
R/W
The following control register will be written after CRB7[2] is applied, be ready the following bits before
applying CRB7[2]
1. DCLK spreading range (CRB7[7:4])
2. Spread spectrum FMDIV (CRB7[3])
3. DCLK offset setting (CRB5[3:0] & CRB6)
4. Frequency synthesis select (CRB7[1:0])
Address: B8
FIXED_LAST_LINE_MSB
Bit
Mode
6:4
R/W
3:0
R/W
Address: B9
Bit
Mode
7:0
R/W
Address: BA
Bit
7:0
l
Function
FIXED_LAST_LINE_DVTOTAL _LSB
Function
Fixed DVTOTAL [7:0]
www.DataSheet.net/
FIXED_LAST_LINE_ LENGTH_LSB
Mode
R/W Fixed Last Line Length [7:0]
Function
Fixed last line value cant be zero, and cant smaller than DH_Sync width.
Address: BB
Bit
7:4
3
FIXED_LAST_LINE_CTRL
Mode
-Reserved to 0
R/W
Default: 00h
Function
R/W
R/W
R/W
116
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
1: Enable
Procedure:
l
First, we have set M/N code and then we need to tune DCLK OFFSET to achieve frame-sync, every step of
15
When we finished the frame-sync, we turn on CR BB[1] to let the system running in to free-run mode, at this
time, the CRB8,CRB9,CRBA are the reference DV and DH total and Fixed last Line Length.
But the free-run mode DVS should be close to frame-sync mode DVS to achieve pseudo-frame-sync( actually, it
is free run mode now)
Then we use CRB7 [1:0] (F-N*dF) to keep DVS and DVS very closely to achieve pseudo-frame-sync.
Notice:
l
In RTD2523B, when all the setting above is ready, then we open spread spectrum function, the DCLK OFFSET
will shift, please keep the DCLK OFFSET keeps steady when we open spread spectrum function.
In Real free-run mode, the DV_TOTAL refers to CR32/CR33, and in Fixed-Last-Line mode, the free-run timing
DV_TOTAL refers to CRB8/CRB9, at this time CR35/36 serve for Vsync-timeout watch dog reference.
www.DataSheet.net/
117
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
www.DataSheet.net/
Address: BC
Bit
Mode
--
6:4
R/W
TMDS_MEASURE_SELECT
Default: 00h
Function
Reserved to 0
Measure times(exponential of 2)
000: 1
001: 2
010: 4
011: 8
100: 16
101: Not available
110: Not available
111: Not available
3:0
R/W
118
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
.
1111: 15
This function will do bit [6:4] times, each time lasts for bit [3:0]/12 ms.
Address: BD
Bit
Mode
R/W
TMDS_MEAS_RESULT0
Default: 0000011xb
Function
Transition measurement
0:Stop measure, Cleared after finish (Default)
1:Start measure
6:5
R/W
4:3
R/W
Measure Select
00: Measure Hsync transition times before error correction.
01: Measure Hsync transition times after error correction.
10: Measure Data Enable transition times before error correction.
11: Measure Data Enable transition times after error correction.
R/W
Clock DC Offset
0: Disable
www.DataSheet.net/
R/W
R/G/B DC Offset
0: Disable
1: Enable DC Offset Compensation
--
Address: BE
Reserved
TMDS_MEAS_RESULT1
Function
Bit
Mode
---
Reserved
6:0
Address: BF
Bit
7
TMDS_CTRL
Mode
Function
R
B channel detect (DE low 128 clock)(write clear)
0: no
1: yes
119
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
5
RTD2523B Series
HS_DEC
VS_DEC
HS'
ERROR
CORRECTION
VS'
HS_Gen
VS_Gen
M
U
X
www.DataSheet.net/
DE_Only
Address: C0
Bit
Mode
7:0
R/W
CRC_OUTPUT_BYTE_2
Function
st
The read pointer should be reset when 1. CRC Output Byte is written 2. CRC Check starts.
The read back CRC value address should be auto-increase, the sequence is shown above
Address: C1
Bit
7
TMDS_OUTPUT_CTRL
Mode
R/W Auto Output Enable
Default: 04h
Function
0: Disable (Default)
1: Enable
120
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
6
R/W
RTD2523B Series
5:
R/W
R/W
R/W
OCLK Enable
0: Disable
1: Enable (Default)
R/W
R/W
OCLK divide 2
0: Disable (Default)
1: Enable
R/W
CLK25XINV
www.DataSheet.net/
0: No Invert (Default)
1: Invert
Address: C2
Bit
7
POWER_ON_OFF_CTRL
Default: 20h
Mode
Function
R/W DE-only: Generate VS/HS from DE signal
0: Disable (Default)
1: Enable
R/W
R/W
R/W
R/W
Enable Red input port (For manual use, cut off 50ohm internal resistor)
121
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
Enable Green input port (For manual use, cut off 50ohm internal resistor)
(can be manually controlled when CRC2[5]=0 )
0: Disable (Default)
1: Enable
R/W
Enable Blue input port (For manual use, cut off 50ohm internal resistor)
(can be manually controlled when CRC2[5]=0 )
0: Disable (Default)
1: Enable
R/W
CRC check
0: Stop
1: Start CRC check during the next full frame and clear after finish (CRC value in CRC1)
Address: C3
Bit
7:4
ANALOG_COMMON_CTRL0
Default: 83h
Mode
R
RESL<3:0> Z0 value
Function
0000: max.
1111: min.
www.DataSheet.net/
R/W
Address: C4
Bit
Mode
7:6
R/W
ANALOG_COMMON_CTRL1
Default: 00h
Function
R/W
122
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
0: off
1: on
4:0
R/W
00x00
CLKPLLPOWL
10010
00x01
10011
00x10
10100
00x11
10101
01000
BLUPOWL
10110
01001
10111
01010
11000
REDPOWL
01011
11001
01100
11010
01101
11011
01110
11100
01111
11101
10000
GRNPOWL
11110
10001
11111
ANALOG_BIAS_CTRL
Address: C5
Bit
7
Mode
-Reserved to 0
Default: 0x31
www.DataSheet.net/
Function
6:3
R/W
2:0
R/W
Address: C6
Bit
7
Mode
R/W SIBINL: select bias source
Default: 0x20
Function
R/W
R/W
123
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
1
Address: C7
Bit
7
RTD2523B Series
Z0_CALIBRATION_CTRL2
Default: A3h
Mode
R/W STUNEL: select calibration
Function
R/W
5:2
R/W
1:0
R/W
SREXTL<1:0>: select REXT value (select corresponding REXT value on the PCB to SREXTL)
00:4k
01:2k
10:4k/3
11:1k
CLOCK_PLL_SETTING
Address: C8
Bit
Mode
7
--Reserved to 0
6:5
R/W
Default: 32h
Function
www.DataSheet.net/
4:2
R/W
1:0
R/W
Address: C9
Bit
7
6:5
RGB_PLL_SETTING
Default: 28h
Mode
Function
--Reserved to 0
R/W SSAVCSETL<1:0>: when reset R/G/B PLL, the reset value of VC node
00: 2.17
01: 1.98 (Default)
10: 1.79
11: 1.60
124
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
4:2
R/W
RTD2523B Series
1:0
R/W
Address: CA
Bit
Mode
---
R/W
WATCH_DOG_CTRL
Default: 40h
Function
Reserved to 0
FIFO R/W Auto Calibration
0: Manual
1: Auto (Default)
R/W
R/W
3:2
R/W
CKWDCONL<1:0>: PLL watch dog mode, when CKL<0.7Mhz, reset PLL (Clock)
00: Enable (Default)
01: Keep PLL VCO=SCKVCSETL<1:0> (break PLL loop)
www.DataSheet.net/
R/W
SAWDCONL<1:0>: PLL watch dog mode, when CKL<0.7Mhz, reset PLL (Sampling Data)
00: Enable (Default)
01: Keep PLL VCO=SSAVCSETL<1:0> (break PLL loop)
1x: Disable watch dog
Address: CB
Bit
Mode
7:6
R/W
CDR_CTRL0
Default: 0x02
Function
UDCNT_SEL<1:0>
Indicate which channel to be R/W in CRCB[5], CRCE
(Only when manual mode (CRCE[7]=0))
1x:Red
01:Green
00:Blue
R/W
3:2
R/W
One UP/DOWN could mean to change the phase by 1~4 minimum step sizes.
125
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
1:0
R/W
RTD2523B Series
Address: CC
Bit
7:0
Mode
R/W
Address: CD
Bit
7:0
Mode
R/W
CDR_CTRL1
Default: 0Ah
Function
Default: 0Ah
Function
Mode
R/W
6:0
R/W
Address: CF
Bit
Mode
7:0
R/W
UP_DOWN_ADJUSTING0
Default: 80h
Function
UP_DOWN_ADJUSTING1
Default: 14h
Function
Address: D0
Bit
7:0
UP_DOWN_ADJUSTING2
Mode
Function
R
PHASE_REC<7:0>: Records the number of phase adjusting. Default=0. Each time phase is
adjusted (up/down) n phases, PHASE_REC will be (inc/dec) by n, with n = ADJ_GAIN+1.
Address: D1
Bit
UP_DOWN_CTRL0
Mode
7
R/W
Default: 92h
Function
6:5
R/W
UPDOWN_R<1:0>: Manually adjust of up/down for PLL, in RED channel. This is only useful when
ADJ_AUTO_R is set to 0.
10: UP
01: DOWN
00: hold (Default)
R/W
126
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
3:2
R/W
RTD2523B Series
UPDOWN_G<1:0>: Manually adjust of up/down for PLL, in GREEN channel. This is only useful
when ADJ_AUTO_R is set to 0.
10: UP
01: DOWN
00: hold (Default)
R/W
R/W
UP side DOWN
0: Disable
1: Enable
UP_DOWN_CTRL1
Address: D2
Bit
Mode
7:6
R/W UPDOWN_B<1:0>:
Default: 0x10
Function
Manually adjust of up/down for PLL, in BLUE channel. This is only useful when ADJ_AUTO_R is
set to 0.
10: UP
01: DOWN
00: hold
5
R/W
R/W
Reserved to 0
www.DataSheet.net/
3:0
Address: D3
Bit
UP_DOWN_CTRL2
Mode
7
R/W
Default: 30h
Function
CPTEST
0: normal mode, in which clock and data from analog are used.
1: select TSTCKIN/TSTDIN as input 2X5 clock and data respectively, for TESTING.
127
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
6:4
R/W
RTD2523B Series
3:0
R/W
NL_FW<3:0>: Frequency selected by firmware. The valid values are the same as those listed in
previous row. (Read back value in CRD3)
UP_DOWN_CRTL3
Address: D4
Bit
7:6
Mode
R/W
Default: 00h
Function
ERRC_SEL<1:0>
00: original signal
01: debouncing 1 cycle
10: debouncing 1+8 cycle
11: 1+8 cycle debouncing+ DE masking transition of vs/hs+vs+(hs88) to masking DE
5:0
R/W
DEBUG_SEL
Address: D5
Bit
Mode
R/W
Default: 00h
Function
R/W
R/W
R/W
R/W
128
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
0
R/W
RTD2523B Series
HDCP Enable
High: Auto Enable HDCP function, when Tx I2C write Aksv,
Low: Disable HDCP
Address: D6
DEVICE_KEY_ACCESS_PORT
Bit
Mode
7:0
R/W
Default: 00h
Function
When enable device key accessing 40x56 table, the 56-bit key table will be transferred to 64-bit
pseudo data with 7th, 15th, 23rd, 31st, 39th, 47th, 55th bits inserted.
The inserted data are 0.And the write sequence is:
{D0-Byte0, D0-Byte1, D0-Byte2, D0-Byte3,D0-Byte4, D0-Byte5, D0-Byte6, D0-Byte7},
{D1-Byte0, D1-Byte1, 1-Byte2,D1-Byte3,
D1-Byte4, D1-Byte5, D1-Byte6, D1-Byte7},
Address: D7:
DEVICE_KEY_BIST_PATTERN
Bit
Mode
R/W
Default: 00h
Function
6:0
R/W
Address: D8
HDCP_ADDR_PORT
Bit
Mode
7:0
R/W
Address: D9
Default: 00h
Function
Bit
Mode
7:0
R/W
Function
Data port for embedded HDCP access
Write/ Size in
Register
Address
Read
Bytes
Name
0x00
R/W
BKSV
Function
Video receiver KSV. This value must always be available for reading, and
may be used to determine that the video receiver is HDCP capable. Valid
KSVs contain 20 ones and 20 zeros, a characteristic that must be verified by
video transmitter hardware before encryption is enable.
0x05
0x08
Read as 0x00
Ri
129
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
100ms after AKSV is received. Subsequent Ri values must be available a
maximum of 128 pixel clocks following the assertion of CTL3
0x0A
0x10
Read as 0x00
AKSV
Video transmitter KSV. Writes to this multi-byte value are written least
significant byte first. The final write to 0x14 triggers the authentication
sequence in the display device.
0x15
0x18
Read as 0x00
An
0x20
20
Read as 0x00
0x34
12
Read as 0x00
0x40
Bcaps
0x41
Bstatus
0x43
KSV/FIFO
0x44
124
This device does not support repeater capability. All byte read as 0x00.
Read as 0x00
Read as 0x00
www.DataSheet.net/
I2C Control Register Map (DVI DDC side): Address mapping 0x74, 0x75
Hex
Write/ Size in
Register
Address
Read
Bytes
Name
0x00
BKSV
Function
Video receiver KSV. This value must always be available for reading, and
may be used to determine that the video receiver is HDCP capable. Valid
KSVs contain 20 ones and 20 zeros, a characteristic that must be verified by
video transmitter hardware before encryption is enable.
0x05
Reserved
0x08
Ri
0x0A
Reserved
0x10
R/W
AKSV
130
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
significant byte first. The final write to 0x14 triggers the authentication
sequence in the display device.
0x15
Reserved
0x18
R/W
An
0x20
0x34
0x40
R
R
R
20
12
1
Reserved
Reserved
Bcaps
0x41
0x43
R
R
2
1
0x44
124
Bstatus
KSV
FIFO
Reserved
www.DataSheet.net/
131
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Watch Dog
Address: DA
Bit
Mode
7:6
--
R/W
WATCH_DOG_CTRL
Default: 00h
Function
Reserved to 0
Auto switch when Display Vsync timeout
0: Disable (Default)
1: Enable
R/W
R/W
R/W
R/W
www.DataSheet.net/
1: Background
Turn off overlay enable and switch to background simultaneously.
0
132
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Macro Vision
Address: DB
Bit
Mode
7:4
R/W
MACRO_VISION_CTRL
Default: 60h
Function
Skip Line[3:0]
Skip Lines after Vsync detected
R/W
R/W
R/W
www.DataSheet.net/
133
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Embedded ADC
ADC_ RGB_CTRL
Address: DC
Function
Bit
Mode
7:6
R/W
PGA (00: Ash=0.9 01: Ash=1.0 10: Ash=1.1 11: Ash=1.2) (Default: 01)
5:4
R/W
PGA (00: Aref=0.9 01: Aref=1.0 10: Aref=1.1 11: Aref=1.2)(Default: 01)
3
R/W
ADC source select (Need to select corresponding ADC_OUT_SOG 0 or 1)
0 : Input0 (Default)
1 : Input1
2
R/W
ADC input mode selection
0 : Single Ended
1 : Differential (Default)
1:0
R/W
Bandwidth Adjustment
00 : 75M
01 : 150M
10 : 300M (Default)
11 : 500M
ADC_ RED_CTRL
Address: DD
Bit
Mode
Function
7
R/W RED channel clamp mode selection
0: Low clamp (Default)
1: Middle clamp
6:4
R/W Red channel Clamp Voltage
0~700mV, Step=100mV (Default: 100)
3
R/W RED channel Offset Depends on Gain
0: RGB Dependent, YPbPr Independent (Default)
1: RGB Independent, YPbPr Independent
2:0
R/W Red Channel ADC Fine Tune Delay
(Step=90ps) (Default: 000)
ADC_GRN_CTRL
Address: DE
Bit
Mode
Function
7
R/W GREEN channel clamp mode selection
0: Low clamp (Default)
1: Middle clamp
6:4
R/W GREEN channel Clamp Voltage
0~700mV, Step=100mV(Default:100)
3
R/W GREEN channel Offset Depends on Gain
0: RGB Dependent, YPbPr Independent(Default)
1: RGB Independent, YPbPr Independent
2:0
R/W Green Channel ADC Fine Tune Delay
(Step=90ps) (Default:000)
ADC_BLU_CTRL
Address: DF
Bit
Mode
Function
7
R/W BLUE channel clamp mode selection
0: Low clamp(Default)
1: Middle clamp
6:4
R/W BLUE channel Clamp Voltage
0~700mV, Step=100mV (Default:100)
3
R/W BLUE channel Offset Depends on Gain
0: RGB Dependent, YPbPr Independent(Default)
1: RGB Independent, YPbPr Independent
2:0
R/W Blue Channel ADC Fine Tune Delay
(Step=90ps) (Default: 000)
RED_GAIN
Address: E0
Default: (56h)
Default: (40h)
www.DataSheet.net/
Default: (40h)
Default: (40h)
Default: (80h)
134
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
Bit
Mode
7:0
R/W
Address: E1
Bit
Mode
7:0
R/W
Address: E2
Bit
Mode
7:0
R/W
Address: E3
Bit
Mode
7:0
R/W
Address: E4
Bit
Mode
7:0
R/W
Address: E5
Bit
Mode
7:0
R/W
Address: E6
Bit
Mode
7:6
-5:0
R/W
RTD2523B Series
Function
Default: (80h)
Function
Default: (80h)
Function
Default: (80h)
Function
Default: (80h)
Function
Default: (80h)
Function
Default: (20h)
Function
Reserved to 0
SOG Reference Control
0~630mV, Step=10mV (Default: 100000)
Reserved
Default:
Address: E7
l The lowest voltage of SOG_IN is clamped to about 200mV.
l SOG reference control set the threshold voltage to extract the sync signal from G. The threshold voltage maps the
value 0~63 to 0~630 mV.
(Minimum Voltage at 200mV)
www.DataSheet.net/
Level_Shift
SOG_IN
SOG_Shift
SOG_Compare
Capacitor
0V
500mV
Compare Voltage(0~630mV)
-300mV
ADC_POWER_CTRL
Address: E8
Bit
Mode
7:6
--Reserved to 0
5
R/W SOG Power On
0 : Power Down(Default)
1 : Power On
4
R/W Set to 0
3
R/W Band-gap Power On
0 : Power Down
1 : Power On (Default)
2
R/W Red Channel ADC Power On
0 : Power Down (Default)
1 : Power On
200mV
0V
Default: (08h)
Function
135
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
1
RTD2523B Series
R/W
6:4
R/W
3:2
R/W
SOG Resistor
00: Poly R=100K, external C=47nF
01: Poly R=500K, external C=10nf
(Default)
The others: NA
1:0
R/W
136
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
11 : 1/4
ADC_IBIAS2
Address: EB
Bit
Mode
7:6
R/W APLL_IB60U[1:0]
Bias Current of APLL_IB60U
00:48uA
01:60uA (Default)
10:72uA
11:84Ua
5:4
R/W ADC_SF[1:0]
Bias Current of ADC_SF
00:15u
01:20u (Default)
10:25u
11:30u
3
R/W ADC_REF
Bias Current of ADC_REF
0:60u (Default)
1:80u
2:0
R/W ADC_OP[2:0]
Bias Current of ADC_OP
000:5u
001:10u
010:15u
011:20u (Default)
100:25u
101:30u
110:35u
111:40u
ADC_VBIAS0
Address: EC
Bit
Mode
7
R/W Resistor Reference (REFIO)
0:Ref. To Internal R (Default)
1:Ref. To External R=2K
6:4
R/W ADC_VBIAS0[6:4]
Band gap Voltage
000:0.890
001:0.841
010:0.792 (Default)
011:0.742
100:0.693
101:0.644
110:0.594
111:0.545
3:2
R
Temperature sensor 0~120 (70+38*1.2)
00: 30 degree
01: 30-60 degree
10: 60-90 degree
11: 120 degree
1:0
R/W ADC_VBIAS0[1:0]
Band gap Voltage
00:0.775
01:0.792 (Default)
10:0.810
11:0.829
ADC_VBIAS1
Address: ED
Default: (53h)
Function
www.DataSheet.net/
Default: (21h)
Function
Default: (0Dh)
137
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
Bit
7
6
Mode
--R/W
R/W
R/W
R/W
R/W
1:0
R/W
Address: EE
Bit
Mode
R/W
RTD2523B Series
Function
Reserved to 0
R Channel Clamp to -300mV
0: 0mV (Default)
1: -300mV
G Channel Clamp to -300mV
0: 0mV (Default)
1: -300mV
B Channel Clamp to -300mV
0: 0mV (Default)
1: -300mV
Vcmo with Lower VDD Ratio //(1)
0:Lower,1.068
1:Normal, 1.122 (Default)
Vcmo from VBG or from VDD //(1)
0:from VBG (constant)
1:from VDD (Default)
Vcmo Voltage[1:0] //(01)
00:0.90
01:1.00 (Default)
11:1.05
11:1.10
PTNPOS_H
Default: 00h
Function
Enable Test
0: Finish (and result sequence is R-G-B) (Default)
1: Start
6:4
R/W
www.DataSheet.net/
--
2:0
R/W
Reserved to 0
Test Pattern H Position Register [10:8]
Assign the test pattern digitized position in pixel after H_Start.
Address: EF
Bit
7:0
Mode
R/W
Address: F0
Bit
7:0
PTNPOS_V_L
Function
Test Pattern V Position Register [7:0]
Assign the test pattern digitized position in line after V_Start..
PTNPOS_H_L
Mode
R/W
Function
Test Pattern H Position Register [7:0]
Assign the test pattern digitized position in line after H_Start..
Use PTNPOS to assign the pixel position after HSYNC leading edge that input signal digitized.
PTNPOS is written, the digitized results will be loaded into PTNRD, PTNGD and PTNBD. For test issue, make the
input signal a fixed pattern before PTNPOS is written. Then the same digitized output will be got.
Address: F1
Bit
Mode
PTNRD
Function
138
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
7:0
RTD2523B Series
The test pattern digitized result after HSYNC leading edge about PTNPOS pixel.
The 1st time read result is Red, the second read result is Green, and the third read result is Blue
The read pointer should be reset when 1. PTNRD is written 2. Enable Test starts.
The read back Test Pattern Digitized Result value address should be auto-increase, the sequence is shown above
www.DataSheet.net/
139
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Cyclic-Redundant-Check
OP_CRC_CTRL (Output CRC Control Register)
Address: F2
Bit
Mode
7:1
--
R/W
Default: 00h
Function
Reserved to 0
Output CRC Control:
0: Stop or finish (Auto-stop after checked a completed display frame) (Default)
1: Start
Mode
R/W
st
The read pointer should be reset when 1. OP_CRC_BYTE is written 2. Output CRC Control starts.
The read back CRC value address should be auto-increase, the sequence is shown above
www.DataSheet.net/
140
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: F4
Bit
Mode
7:1
R/W
--
Default: 6E
Function
Address: F5
Bit
Mode
7:0
Function
DDC Sub-Address Received
DDC_DATA_IN
Address: F6
Bit
Mode
7:0
R/W
Function
Read: DDC Data Received (16-bytes buffer)
Write: DDC Data Received (16-bytes buffer)
Every Read/Write access, the buffer index is auto-decreased/increased.
DDC_CTRL
Address: F7
Bit
Mode
R/W
Default: 00h
Function
www.DataSheet.net/
1: start
6
--
R/W
Reserved
Auto reset DDC_DATA Buffer
0: disable
1: enable
In host (pc) write enable, when DDC write (No START after DDC_SUB), reset DDC_DATA
buffer.
R/W
R/W
141
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
Channel Select
0: from ADC DDC
1: from DVI DDC
DDC_STATUS
Address: F8
Bit
Mode
Function
DDC_DATA_BUFFER Full
If DDC_DATA buffer is full, this bit is set to 1. (On-line monitor)
The DDC_DATA buffer Full status will be on-line-monitor the condition, once it
becomes full, it kept high, if it is not-full, then it goes low.
DDC_DATA_BUFFER Empty
If DDC_DATA buffer is empty, this bit is set to 1. (On-line monitor)
The DDC_DATA buffer Empty status will be on-line-monitor the condition, once it
becomes empty, it kept high, if it is not-empty, then it goes low.
--
Reserved to 0
Address: F9
Bit
Mode
R/W
www.DataSheet.net/
DDC_IRQ_CTRL
Default: 20h
Function
R/W
---
R/W
Reserved
0: Disable the DDC_STOP signal as an interrupt source
1: Enable the DDC_STOP signal as an interrupt source
R/W
R/W
R/W
142
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R/W
www.DataSheet.net/
143
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Address: FA
Bit
Mode
7:5
R/W
Default: 00h
Function
DDC Channel Address Least Significant 3 Bits
(The default DDC channel address MSB 4 Bits is A)
R/W
R/W
R/W
R/W
R/W
www.DataSheet.net/
Mode
7:0
R/W
The DDC channel index register will be auto increased one by one after each read or write cycle.
Address: FC
Bit
Mode
7:0
R/W
** The DDC function can still work when Power_Down & Power_Save.
** After reset, the register will be set to default value, but the SRAM will keep original data.
DDC_DVI_ENABLE (DDC Channel Enable Register)
Address: FD
Bit
Mode
Function
7:5
R/W
Default: 00h
DVI DDC External Write Status (for external DDC access only)
It is cleared after write.
R/W
DVI DDC External Write Enable (for external DDC access only)
144
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
0: Disable
1: Enable
2
R/W
R/W
R/W
R/W
l
The DDC channel index register will be auto increased one by one after each read or write cycle.
DDC_DVI_ACCESS_PORT (DDC Channel ACCESS Port)
Address: FF
Bit
Mode
Function
7:0
l
l
R/W
The DDC function can still work when Power_Down & Power_Save.
After reset, the register will be set to default value, but the SRAM will keep original data.
www.DataSheet.net/
145
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Embedded OSD
Addressing and Accessing Register
ADDRESS
BIT
7
High Byte
A8
Low Byte
A7
A0
Figure 20.
A6
A5
A4
A3
A2
A1
Date
BIT
Byte 0
D7
D6
D5
D4
D3
D2
D1
D0
Byte 1
D7
D6
D5
D4
D3
D2
D1
D0
Byte 2
D7
D6
D5
D4
D3
D2
D1
D0
Figure 2.
Data Registers
www.DataSheet.net/
All kind of registers can be controlled and accessed by these 2 bytes, and each address contains 3-byte data, details are
described as follows:
3.75k*3byte
146
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Example:
Bit [15:14]=00
-All data followed are written to byte0 and address increases.
Byte0Byte0Byte0 (Address will auto increase)
Window 0 Shadow/Border/Gradient
Address: 100h
Byte 0
Bit
Mode
Function
7:6
--
Reserved
5:3
2:0
Byte 1
Bit
Mode
7:4
Function
Window 0 shadow color index in 16-color LUT
For 3D window, it is the left-top/bottom border color
147
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
3:0
RTD2523B Series
Window 0 border color index in 16-color LUT
For 3D window, it is the right-bottom/top border color
Byte 2
Bit
Mode
Function
R Gradient Polarity
0: Decrease
1: Increase
G Gradient Polarity
0: Decrease
1: Increase
B Gradient Polarity
0: Decrease
1: Increase
4:3
Gradient level
00: 1 step per level
01: Repeat 2 step per level
10: Repeat 3 step per level
11: Repeat 4 step per level
www.DataSheet.net/
148
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Mode
Function
7:2
1:0
--
Reserved
Byte 1
Bit
Mode
Function
7:5
4:0
Byte 2
Bit
Mode
7:0
Function
Window 0 vertical start [10:3] line
Mode
Function
7:2
1:0
--
Reserved
www.DataSheet.net/
Byte 1
Bit
Mode
Function
7:5
4:0
Byte 2
Bit
Mode
7:0
Function
Window 0 vertical end [10:3] line
Window 0 control
Address: 103h
Byte 0
Bit
Mode
7:0
--
Function
Reserved
Byte 1
Bit
Mode
--
Function
Reserved
149
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
6:4
3:0
Byte 2
default: 00h
Bit
Mode
Function
Reserved
Gradient function
0: Disable
1: Enable
Gradient direction
0: Horizontal
1: Vertical
Shadow/Border/3D button
0: Disable
1: Enable
3:1
Window 0 Type
000: Shadow Type 1
001: Shadow Type 2
010: Shadow Type3
www.DataSheet.net/
Window 0 Enable
0: Disable
1: Enable
150
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Window 1 Shadow/Border/Gradient
Address: 104h
Byte 0
Bit
Mode
Function
7:6
Reserved
5:3
2:0
Byte 1
Bit
Mode
Function
7:4
3:0
Byte 2
Bit
Mode
7:0
Function
Reserved
www.DataSheet.net/
Mode
Function
7:2
3:0
--
Reserved
Byte 1
Bit
Mode
Function
7:5
4:0
Byte 2
Bit
Mode
7:0
Function
Window 1 vertical start [10:3] line
Realtek
RTD2523B Series
Byte 0
Bit
Mode
Function
7:2
2:0
--
Reserved
Byte 1
Bit
Mode
Function
7:5
4:0
Byte 2
Bit
Mode
7:0
Function
Window 1 vertical end [10:3] line
www.DataSheet.net/
152
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Window 1 control
Address: 107h
Byte 0
Bit
Mode
7:0
--
Function
Reserved
Byte 1
Bit
Mode
Function
7:4
--
Reserved
3:0
Byte 2
default: 00h
Bit
Mode
7:5
Reserved
Shadow/Border/3D button
0: Disable
1: Enable
3:1
Window 1 Type
000: Shadow Type 1
001: Shadow Type 2
010: Shadow Type3
011: Shadow Type 4
100: 3D Button Type 1
101: 3D Button Type 2
110: Reserved
111: Border
Function
www.DataSheet.net/
Window 1 Enable
0: Disable
1: Enable
Window 2 Shadow/Border/Gradient
Address: 108h
Byte 0
Bit
Mode
Function
7:6
Reserved
5:3
2:0
Realtek
RTD2523B Series
Byte 1
Bit
Mode
Function
7:4
3:0
Byte 2
Bit
Mode
7:0
Function
Reserved
Mode
Function
7:2
1:0
--
Reserved
Byte 1
Bit
Mode
Function
7:5
4:0
www.DataSheet.net/
Byte 2
Bit
Mode
7:0
Function
Window 2 vertical start [10:3] line
Mode
Function
7:2
1:0
--
Reserved
Byte 1
Bit
Mode
Function
7:5
4:0
Byte 2
Bit
Mode
Function
154
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
7:0
RTD2523B Series
Window 2 vertical end [10:3] line
Mode
7:0
--
Function
Reserved
Byte 1
Bit
Mode
Function
7:4
--
Reserved
3:0
Byte 2
default: 00h
Bit
Mode
Function
7:5
Reserved
Shadow/Border/3D button
0: Disable
1: Enable
3:1
Window 2 Type
000: Shadow Type 1
001: Shadow Type 2
010: Shadow Type3
011: Shadow Type 4
100: 3D Button Type 1
101: 3D Button Type 2
110: Reserved
www.DataSheet.net/
111: Border
0
Window 2 Enable
0: Disable
1: Enable
Window 3 Shadow/Border/Gradient
Address: 10Ch
Byte 0
Bit
Mode
Function
7:6
Reserved
5:3
2:0
Realtek
RTD2523B Series
000~111: 1 ~ 8 line
It must be the same as bit[5:3] for 3D button thickness
Byte 1
Bit
Mode
Function
7:4
3:0
Byte 2
Bit
Mode
7:0
Function
Reserved
Mode
Function
7:2
1:0
--
Reserved
Byte 1
Bit
Mode
Function
7:5
4:0
www.DataSheet.net/
Byte 2
Bit
Mode
7:0
Function
Window 3 vertical start [10:3] line
Mode
Function
7:2
1:0
--
Reserved
Byte 1
Bit
Mode
Function
7:5
4:0
156
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Byte 2
Bit
Mode
7:0
Function
Window 3 vertical end [10:3] line
Mode
7:0
--
Function
Reserved
Byte 1
Bit
Mode
Function
7:4
--
Reserved
3:0
Byte 2
default: 00h
Bit
Mode
7:5
Reserved
Shadow/Border/3D button
0: Disable
1: Enable
3:1
Function
www.DataSheet.net/
Window 3 Type
000: Shadow Type 1
001: Shadow Type 2
010: Shadow Type3
011: Shadow Type 4
100: 3D Button Type 1
101: 3D Button Type 2
110: Reserved
111: Border
Window 3 Enable
0: Disable
1: Enable
Window 4 Shadow/Border/Gradient
Address: 110h
Byte 0
Bit
Mode
Function
7:6
Reserved
5:3
Realtek
RTD2523B Series
000~111: 1 ~ 8 pixel
2:0
Byte 1
Bit
Mode
Function
7:4
3:0
Byte 2
Bit
Mode
7:0
Function
Reserved
Mode
Function
7:2
2:0
--
Reserved
www.DataSheet.net/
Byte 1
Bit
Mode
Function
7:5
4:0
Byte 2
Bit
Mode
7:0
Function
Window 4 vertical start [10:3] line
Mode
Function
7:2
1:0
--
Reserved
Byte 1
Bit
Mode
Function
7:5
4:0
158
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Byte 2
Bit
Mode
7:0
Function
Window 4 vertical end [10:3] line
Window 4 control
Address: 113h
Byte 0
Bit
Mode
7:0
--
Function
Reserved
Byte 1
Bit
Mode
Function
7:4
--
Reserved
3:0
Byte 2
default: 00h
Bit
Mode
Function
7:5
Reserved
Shadow/Border/3D button
0: Disable
1: Enable
3:1
Window 4 Type
000: Shadow Type 1
001: Shadow Type 2
010: Shadow Type3
011: Shadow Type 4
100: 3D Button Type 1
101: 3D Button Type 2
www.DataSheet.net/
110: Reserved
111: Border
0
Window 4 Enable
0: Disable
1: Enable
Window 5 Shadow/Border/Gradient
Address: 114h
Byte 0
Bit
Mode
Function
7:6
Reserved
5:3
Realtek
2:0
RTD2523B Series
Window 5 shadow/border height in line unit
000~111: 1 ~ 8 line
It must be the same as bit[5:3] for 3D button thickness
Byte 1
Bit
Mode
Function
7:4
3:0
Byte 2
Bit
Mode
Function
R Gradient Polarity
0: Decrease
1: Increase
G Gradient Polarity
0: Decrease
1: Increase
B Gradient Polarity
0: Decrease
1: Increase
4:3
Gradient level
00: 1 step per level
01: Repeat 2 step per level
10: Repeat 3 step per level
11: Repeat 4 step per level
www.DataSheet.net/
Mode
Function
7:2
1:0
--
Reserved
Byte 1
Bit
Mode
Function
160
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
7:5
4:0
Byte 2
Bit
Mode
7:0
Function
Window 5 vertical start [10:3] line
Mode
Function
7:2
1:0
--
Reserved
Byte 1
Bit
Mode
Function
7:5
4:0
Byte 2
Bit
Mode
7:0
Function
Window 5 vertical end [10:3] line
Window 5 control
Address: 117h
Byte 0
Bit
Mode
7:0
--
www.DataSheet.net/
Function
Reserved
Byte 1
Bit
Mode
Function
--
Reserved
6:4
3:0
161
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Byte 2
default: 00h
Bit
Mode
Reserved
Gradient function
0: Disable
1: Enable
Gradient direction
0: Horizontal
1: Vertical
Shadow/Border/3D button
0: Disable
1: Enable
3:1
Window 5 Type
000: Shadow Type 1
001: Shadow Type 2
010: Shadow Type3
011: Shadow Type 4
100: 3D Button Type 1
101: 3D Button Type 2
110: Reserved
111: Border
Function
www.DataSheet.net/
Window 5 Enable
0: Disable
1: Enable
Window 6 Shadow/Border/Gradient
Address: 118h
Byte 0
Bit
Mode
Function
7:6
Reserved
5:3
2:0
Mode
Function
162
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
7:4
3:0
Byte 2
Bit
Mode
Function
R Gradient Polarity
0: Decrease
1: Increase
G Gradient Polarity
0: Decrease
1: Increase
B Gradient Polarity
0: Decrease
1: Increase
4:3
Gradient level
00: 1 step per level
01: Repeat 2 step per level
10: Repeat 3 step per level
11: Repeat 4 step per level
www.DataSheet.net/
Mode
Function
7:2
1:0
--
Reserved
Byte 1
Bit
Mode
Function
7:5
4:0
Byte 2
Bit
Mode
7:0
Function
Window 6 vertical start [10:3] line
163
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Mode
Function
7:2
1:0
--
Reserved
Byte 1
Bit
Mode
Function
7:5
4:0
Byte 2
Bit
Mode
7:0
Function
Window 6 vertical end [10:3] line
Window 6 control
Address: 11Bh
Byte 0
Bit
Mode
7:0
--
Function
Reserved
Byte 1
www.DataSheet.net/
Bit
Mode
Function
--
Reserved
6:4
3:0
Byte 2
default: 00h
Bit
Mode
Function
Reserved
Gradient function
0: Disable
1: Enable
164
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Gradient direction
0: Horizontal
1: Vertical
Shadow/Border/3D button
0: Disable
1: Enable
3:1
Window 6 Type
000: Shadow Type 1
001: Shadow Type 2
010: Shadow Type3
011: Shadow Type 4
100: 3D Button Type 1
101: 3D Button Type 2
110: Reserved
111: Border
Window 6 Enable
0: Disable
1: Enable
Window 7 Shadow/Border/Gradient
Address: 11Ch
Byte 0
www.DataSheet.net/
Bit
Mode
Function
7:6
Reserved
5:3
2:0
Mode
7:4
Function
Window 7 shadow color index in 16-color LUT
For 3D window, it is the left-top/bottom border color
3:0
Byte 2
Bit
Mode
Function
165
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R Gradient Polarity
0: Decrease
1: Increase
G Gradient Polarity
0: Decrease
1: Increase
B Gradient Polarity
0: Decrease
1: Increase
4:3
Gradient level
00: 1 step per level
01: Repeat 2 step per level
10: Repeat 3 step per level
11: Repeat 4 step per level
Mode
7:2
1:0
--
Reserved
www.DataSheet.net/
Function
Byte 1
Bit
Mode
Function
7:5
4:0
Byte 2
Bit
Mode
7:0
Function
Window 7 vertical start [10:3] line
Mode
Function
7:2
1:0
--
Reserved
Byte 1
166
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Bit
Mode
Function
7:5
4:0
Byte 2
Bit
Mode
7:0
Function
Window 7 vertical end [10:3] line
Window 7 control
Address: 11Fh
Byte 0
Bit
Mode
7:0
--
Function
Reserved
Byte 1
Bit
Mode
--
Reserved
6:4
3:0
Function
www.DataSheet.net/
Byte 2
default: 00h
Bit
Mode
Function
Reserved
Gradient function
0: Disable
1: Enable
Gradient direction
0: Horizontal
1: Vertical
Shadow/Border/3D button
0: Disable
1: Enable
3:1
Window 7 Type
167
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
000: Shadow Type 1
001: Shadow Type 2
010: Shadow Type3
011: Shadow Type 4
100: 3D Button Type 1
101: 3D Button Type 2
110: Reserved
111: Border
Window 7 Enable
0: Disable
1: Enable
www.DataSheet.net/
168
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
3D Button Type 1
www.DataSheet.net/
3D Button Type 2
169
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
width
height
Type 1
Type 2
Type 3
Type 4
transparent
www.DataSheet.net/
end
Window mask fade/in out function
170
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Mode
7:0
Function
Vertical Delay [10:3]
The bits define the vertical starting address. Total 2048 step unit: 1 line
Mode
Function
7:0
Mode
Function
7:6
5:3
2:1
OSD enable
0: OSD circuit is inactivated
1: OSD circuit is activated
When OSD is disabled, Double Width (address 0x002 Byte1[1]) must be disabled to save power.
171
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Mode
7:0
Default: 00h
Function
PWM_0
8bits decides the output duty width and waveform of PWM at PWM
channel
Byte 1
Default: 00h
Bit
Mode
7:0
Function
PWM_1
8bits decides the output duty width and waveform of PWM at PWM
channel
Byte 2
Default: 00h
Bit
Mode
7:0
Function
PWM_2
8bits decides the output duty width and waveform of PWM at PWM
channel
Address: 002h
Byte 0
Bit
Mode
7:0
Default: 00h
www.DataSheet.net/
Function
First stage clock divider N[7:0]
N=0-255, 1st F= F/2(N+1)
Byte 1
Default: 00h
Bit
Mode
Function
PWM0 First stage clock divider Enable
0: Disable
1: Enable
3:2
Realtek
RTD2523B Series
10: Crystal/4
11: Crystal/8
1:0
--
Reserved
Byte 2
Bit
7:0
Default: 00h
Mode
--
Function
Reserved
Address: 003h
Byte 0
Bit
default: xxxx_xxx0b
Mode
Function
--
Reserved
Window 7 Mask
0: Mask area appears
1: Mask area transparent
3:0
--
Reserved
Byte 1
www.DataSheet.net/
Bit
Mode
Function
7:4
3: 2
Double width enable (For all OSD including windows and characters)
0: Normal
1: Double
Double Height enable (For all OSD including windows and characters)
0: Normal
1: Double
Byte 2
Bit
Mode
7:6
Function
Font downloaded swap control
0x: No swap
173
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
10: CCW
11: CW
5:2
--
Reserved
Rotation
0: Normal (data latch 24 bit per 24 bit)
1: Rotation (data latch 18 bit per 24 bit)
Bit
Firmware
CW
CCW
www.DataSheet.net/
174
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
23~12 bit(High)
11~0 bit(Low)
www.DataSheet.net/
Mode
7:0
Function
Font Select Base Address[7:0]
Byte 1
Bit
Mode
Function
7:4
3:0
Byte 2
Bit
Mode
7:0
Function
Font Base Address[11:4]
175
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
R1
R2
Rn
End
C11 C12
C13
Cn1 Cn2
R1
R2
R3
R.
Rn
End
www.DataSheet.net/
Row Command R0~Rn represent the start of new row. Each command contains 3 bytes data which define the length
of a row and other attributes. OSD End Command represents the end of OSD. R0 is set in address 0 of SRAM.
2. Character/Blank Command (Font Select)
Character Command is used to select which character font is show. Each command contains three bytes which
specify its attribute and 1,2 or 4bit per pixel. Blank Command represents blank pixel to separate the preceding
character and following character. Use two or more Blank Command if the character distance exceeds 255 pixel.
The Font Select Base Address in Frame Control Register represents the address of the first character in Row 0, that
is, C01 in the above figure. The following character/blank is write in the next address. C11 represents the first
character in Row1, C12 represents the second character in Row1, and so on.
The address of the first character Cn1 in Row n = Font Select Base Address + Row 0 font base length + Row 1 font
base length + +Row n-1 font base length.
176
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
3. Font
User fonts are stored as bit map data. For normal font, one font has 12x18 pixel, and for rotation font, one has 18x12
pixel. One pixel use 1, 2 or 4 bits.
For 12x18 font,
One 1-bit font requires 9 * 24bit SRAM
One 2-bit font requires 18 * 24bit SRAM
One 4-bit font requires 36 * 24bit SRAM
Font Base Address in Frame Control Register point to the start of 1-bit font.
For normal (12x18) font:
1-bit Font, if CS = 128, Real Address of Font = Font Base Address + 9 * 128
2-bit Font, if CS = 128, Real Address of Font = Font Base Address + 18 * 128
www.DataSheet.net/
4-bit Font, if CS = 128, Real Address of Font = Font Base Address + 36 * 128
For rotational (18x12) font:
1-bit Font, if CS = 128, Real Address of Font = Font Base Address + 12 * 128
2-bit Font, if CS = 128, Real Address of Font = Font Base Address + 24 * 128
4-bit Font, if CS = 128, Real Address of Font = Font Base Address + 48 * 128
where CS is Character Selector in Character Command.
Note that Row Command, Font Select and Font share the same OSD SRAM.
When we download the font, we have to set the Frame control 002h byte1 [1:0] to set the method of hardware bit swap.
If the OSD is Counter-Clock-Wise rotated, we have to set to 0x01 (the 8 bits of every byte of font SRAM downloaded
by firmware will be in a sequence of
0 by hardware). If it is Clock-Wise rotated, we have to set to 0x10 (the 8 bits of every byte of font SRAM
downloaded by firmware will be in a sequence of
7 6 5 4 3 2 1 0 by hardware). After we finish the downloading or if we dont have to rotate the OSD, we have to set
it to 0x00.
177
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Row Command
Byte 0
Bit
Mode
6:5
Reserved
4:2
Character border/shadow
000: None
001: Border
100: Shadow (left-top)
101: Shadow (left-bottom)
110: Shadow (right-top)
111: Shadow (right-bottom)
Function
www.DataSheet.net/
Byte 1
Bit
Mode
Function
7:3
2:0
Column space
0~7 pixel column space
When Char is doubled, so is column space.
Notice:
When character height/width is doubled, the row height/column space definition also twice. If the
row height is larger than character height, the effect is just like space between rows. If it is smaller
than character height, it will drop last several bottom line of character.
When using 1/2/4LUT font, column space and font smaller than row height, the color of column
space and row space is the same as font background color, only 4 bit true color font mode, the
color is transparent
178
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
12
25
Byte 2
Bit
Mode
7:0
Function
Row length
www.DataSheet.net/
Mode
Function
Blinking effect
0: Disable
1: Enable
5:0
Reserved
Byte 1
Bit
Mode
7:0
Function
Blank pixel length
Mode
Function
7:5
Reserved
Reserved
3:0
Realtek
RTD2523B Series
Mode
Function
5:4
00
(Font type
00: 1-bit RAM Font
01: 4-bit RAM Font
1x: 2-bit RAM Font)
3:0
When using border/shadow/ effect, the width of the 1-bit font should at least 6 pixel.
Byte 1
Bit
Mode
7:0
Function
Character Select [7:0]
Byte 2
Bit
Mode
Function
7:4
Foreground color
Select one of 16-color from color LUT
3:0
Background color
Select one of 16-color from color LUT (0 is special for transparent)
180
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Mode
Function
3:1
Foreground color 11
Select one of 8 color from color LUT
Add Byte0 [6] as MSB for 16-color LUT.
Byte 1
Bit
Mode
7:0
Function
Character Select [7:0]
Byte 2
Bit
Mode
Function
7:6
5:3
Foreground color 10
Select one of 8 color from color LUT
Add Byte0 [4] as MSB for 16-color LUT.
2:0
Foreground color 01
Select one of 8 color from color LUT
Add Byte0 [4] as MSB for 16-color LUT.
Mode
Function
5:4
01
181
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
(Font type
00: 1-bit RAM Font
01: 4-bit RAM Font
1x: 2-bit RAM Font)
3:0
(for Byte1[7] = 0)
select one color from 16-color LUT as background
(for Byte1[7] = 1)
Red color level
MSB 4 bits for 8 bits color level (LSB 4 bits are 1111)
Byte 1
Bit
Mode
Function
0: 4bit Look Up Table, 0000b is transparent.
1: 3bit specify R,G,B pattern, color level defined in Byte0[3:0],Byte2. One
mask bit defines foreground or background.
6:0
W
Character Select [6:0]
l When 4-bit look-up table modecolor of column space is the same as background.
l
l
When 4-bit look-up table mode and pixel value is 0000, and byte0[3:0]=0000 means
transparent.
When true color mode and pixel value is 0000it is transparent
www.DataSheet.net/
Byte 2
Bit
Mode
Function
7:4
(for Byte1[7] = 1)
Green color level
MSB 4 bits for 8 bits color level (LSB 4 bits are 1111)
3:0
(for Byte1[7] = 1)
Blue color level
MSB 4 bits for 8 bits color level (LSB 4 bits are 1111)
182
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
window 6
window 5
window 4
window 3
window 2
window 7
window 1
window 0
Display Priority
We have four windows with gradient and four windows without gradient, the window priority is as
above, character should be always on the top layer of the window.
www.DataSheet.net/
Pattern gen.
Use OSD to replace display pattern generator.
Chess Board: make a font as below
If we want to fill to the full 1280x1024 screen with character, we need 1280*1024 pixels.
Required character is:
Using 12*18 font
1280/12 = 106.7 -> 107
1024/18 = 56.9 -> 57
107*57 = 6099 character
183
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
The required number of character map is larger than RAM size. We must turn on double width
or double height function to reduce the half of character map.
So the basic unit to chessboard is 2x2 pixel. You can use larger chessboard instead of 2x2
pixels unit, such as 4x4 and so on.
Gray level
We can display 256 gray level by gradient window, 8 and 16 gray level by character map. 32
and 64 gray level is not supported.
www.DataSheet.net/
184
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
www.DataSheet.net/
185
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
6. Electric Specification
DC Characteristics
Absolute Maximum Ratings
MAX
UNITS
VESD
3.0
kV
Latch-Up
ILA
100
mA
TA
70
TSTG
-55
125
35
C/W
PARAMETER
Electrostatic Discharge
SYMBOL
MIN
TYP
JA
DC Characteristics/Operating Condition
(0<TA<70; VDD = 3.3V 0.3V)
PARAMETER
Supply Voltage
SYMBOL
MIN
TYP
MAX
UNITS
VDD
3.0
3.3
3.6
V
mA
140(LVDS) 170(RSDS)
IDVCC
ADC Power
IADC_VDD
78(UXGA)
PLL Power
IPLL_VDD
48(UXGA)
Pad Power
IPVCC
80
ITMDS_VDD
146
TMDS Power
www.DataSheet.net/
104
mA
IDVCC
ADC Power
IADC_VDD
PLL Power
IPLL_VDD
1.45
Pad Power
IPVCC
ITMDS_VDD
0.48
TMDS Power
Output High Voltage
VOH
2.4
VDD
VOL
GND
0.5
VIH
2.0
VIL
V
0.8
186
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
7. Mechanical Specification
128 Pin Package
www.DataSheet.net/
187
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
Note:
Symbol
Dimension
in
Dimension
inch
in
mm
Min
Type Max
0.134
3.40
A1
A2
HD
HE
L1
0.004
12
0.25
3.Controlling dimension:
0.10
12
Millimeter
TITLE :
0.5 0.75
LEADFRAME
APPROVE
CHECK
MATERIAL:
DOC. NO.
530-ASS-P004
VERSION
PAGE
OF
DWG
NO.
DATE
REALTEK
SEMI-CONDUCTOR
Q128 - 1
MAR. 25.1997
CO., LTD
www.DataSheet.net/
188
Datasheet pdf - http://www.DataSheet4U.co.kr/
Realtek
RTD2523B Series
8. Ordering Information
The available RTD2523B series pin compatible products listed below:
Part Number
ADC
Output
Package
RTD2523B
160MHz Yes
No
SXGA
RTD2513B
110MHz Yes
No
XGA
RTD2023B
160MHz No
No
SXGA
RTD2013B
110MHz No
No
XGA
RTD2523BH
160MHz Yes
Yes
SXGA
RTD2513BH
110MHz Yes
Yes
XGA
RTD2523B-LF*
160MHz Yes
No
SXGA
RTD2513B-LF*
110MHz Yes
No
XGA
RTD2023B-LF*
160MHz No
No
SXGA
RTD2013B-LF*
110MHz No
No
XGA
RTD2523BH-LF*
160MHz Yes
Yes
SXGA
RTD2513BH-LF*
110MHz Yes
Yes
XGA
* lead free and green package are available for above items with suffix LF or GR respectively.
www.DataSheet.net/
189
Datasheet pdf - http://www.DataSheet4U.co.kr/