Beruflich Dokumente
Kultur Dokumente
Application Notice
V0.1
TABLE OF CONTENTS
1 Document History ....................................................................................................................................4
2 System Layout Guide ..............................................................................................................................5
2.1 Layout placement recommendations ..........................................................................5
2.2 Power and Ground Guidelines .....................................................................................7
2.3 ADC Signal Guidelines..................................................................................................7
2.4 DP/HDMI/DVI Interface Guidelines .............................................................................9
2.5 Vx1 / eDP / LVDS Interface Guidelines .................................................................... 11
2.6 Un-used and Reserved signals Guidelines ..............................................................13
2.7 DDR3 Interface Guidelines .........................................................................................13
2.8 System Power Structure .............................................................................................19
3 Product ID ...............................................................................................................................................19
4 Register optimum setting ......................................................................................................................19
4.1 ADC Operating Setting: ..............................................................................................19
4.2 DisplayPort Receiver ...................................................................................................23
4.3 DisplayPort Transmitter ..............................................................................................24
4.4 TMDS/HDMI Receiver Operating Setting: ...............................................................27
4.5 HDMI / TMDS Transmitter Operating Setting: .........................................................35
4.6 LVDS/DPLL Operating Setting: .................................................................................41
4.7 MPLL Operating Setting: ............................................................................................45
4.8 Other Operating Setting: .............................................................................................47
4.9 MAU Operating Setting: ..............................................................................................49
4.10 DDR3_PHY Operating Setting:..................................................................................53
4.11 OD Operating Setting: .................................................................................................58
4.12 USB Type C BMC IO Operating Setting: ......................................................................58
4.13 HDR Application Setting: ...........................................................................................60
4.14 LDC (Local dimming control) Application Setting: .......................................................62
4.15 LDC GPIO Pins control Setting: ....................................................................................65
5 OD Application Guide ............................................................................................................................66
5.1 OD engine block diagram ...........................................................................................66
5.2 OD control register mapping ......................................................................................66
5.3 OD frame definition ......................................................................................................66
5.4 OD Window Control (Reg. 0x4B80~0x4B88) ..........................................................67
5.5 OD compression mode ...............................................................................................67
5.6 OD S/W setting sequence ..........................................................................................67
5.7 OD Threshold Setting ..................................................................................................67
5.8 OD Response Time Measurement Setting ..............................................................68
6 Audio Application Guide ........................................................................................................................69
6.1 Audio Setup Block .......................................................................................................69
6.2 Audio PLL Function .....................................................................................................69
6.3 Setup Audio General Control .....................................................................................70
7 Vx1 TX Control .......................................................................................................................................79
7.1 Control Registers .........................................................................................................79
7.2 Vx1 TX pin assignment ...............................................................................................79
7.3 Vx1 TX Data mapping and lane control ....................................................................79
7.4 S/W control flow. ..........................................................................................................81
8 Vx1 RX Control.......................................................................................................................................82
8.1 Control Registers .........................................................................................................82
8.2 Vx1 RX Data mapping and lane control ...................................................................82
8.3 Vx1 RX default setting ...................................................................................................83
8.4 S/W control flow. ............................................................................................................84
9 USB Reference circuit ...........................................................................................................................85
2
3
1 Document History
NT68400 series APN: Document History
4
2 System Layout Guide
2.1 Layout placement recommendations
NT68400
NT68400
NT68402
NT68402
5
NT68409
6
2.2 Power and Ground Guidelines
It’s the most important part of the PCB layout and should always be carefully considered in
the system design.
1. Maximize the ground plane area. The circuit board should have one large common
ground plane.
2. All ground pin should be directly connected to the ground layer through vias and as
short as possible of the length.
3. The component and solder side should be filled in with copper wherever possible.
4. Every power supply pin of the NT68400 series should connect to a ceramic bypass
capacitor. The capacitors should be position in the closest possible to the power pin and
double via should be used wherever possible.
5. To minimize plane-to-plane cross coupling noise and to maintain a low noise level,
power plane should be isolated with 25 mil-wide.
6. Each isolate power plane should be positioned close to their associated VDD pin and
ferrite beads should be positioned directly over the slits.
Bulk capacitors should be places near the power regulator, close to ferrite bead and
scattered in area of each VDD
7. One de-coupling capacitor should be used for each VDD/GND pin pair
8. The power group should be separated.(Please reference to NT68400 application
schematic)
9. The power trace width should be >= 40mil, can minimize the trace resistance and
minimize the power noise.
10. PLL power is more sensitive to noise. Please see section 2.4 to make sure the
schematic and placement can meet this rule.
7
RED+ FB409 30 OHM R454 75R 1/16W 5% C440 47nF
RIN+ 5
R453
D404 Parallel Line
75 R 1/16 W 5%
R460 100R 1/16W 5% C444 47nF
RIN- 5
BAV99
1
C447
Keep space in ESD_5V 0.1uF 16V
Signal pair of
R/G/B
R458
D405 Parallel Line
75 R 1/16 W 5%
C448
ESD_5V
0.1uF 16V
VS
C VSIN PIN
100
ZD5V6 100PF
A
GND_A GND_A
HS
C HSIN PIN
100
ZD5V6 22PF
A
GND_A GND_A
8
2.4 DP/HDMI/DVI Interface Guidelines
1. Receiver Trace Routing
The receiver chip should be placed as close as possible to the input connector that caries
the TMDS signals. For a system using the industry-standard HDMI/DVI connector, the
differential lines should be routed as directly as possible from connector to receiver.
Differential pair length is not critical but ideally should be less than 10cm. The routing for the
PanelLink chips is relatively simple since no spiral skew compensation routing is needed.
However, a few small precautions are required to achieve the full performance and reliability
of PanelLink. The receiver trace routing care should be taken to route each differential signal
pair together. Via should be avoided, but if used they should be placed on both signal lines
of the differential pair in a way that gives both lines equivalent reflection characteristics and
minimize the number of via the signal lines are routed through.
9
Figure 5 Pair separation and excessive or asymmetric via routing is not recommended
2. Impendence
As defined in the HDMI and DVI and MHL and DP Specification, the impedance of the traces
between the connector and the receiver should be 100 ohm differentially, The 100 ohm
requirement is to best match the differential impedance of the cable and connectors, to
prevent reflections. The common mode currents are very small on the TMDS interface, so
differential impedance is more important than single-ended.
Avoid any trace across DVI/HDMI/MHL input differential pair (top or bottom) just routing
AGND to reduce DVI EMI reflection.
10
4 Layer PCB Rule
PCB Layer Stacking
4-Layer Example:
Layer 1 component + signal side (short traces)
Layer 2 ground plane
Layer 3 power plane
Layer 4 component + signal side
PCB Stack up Example:
Layer Property Thickness (mil)
Top side solder mask 0.8
L1 Copper + plating 1.5
Prepreg 4
L2 copper 1.4
CORE 44.5
L3 copper 1.4
Prepreg 4
L4 Copper + plating 1.5
Bottom side solder mask 0.5
PCB Differential Pair Example:
HDMI / DP / LVDS Differential Impedance 100 ohm;
Figure 1
6. Differential pair features fast edge rates, therefore the inter-connect between transmitters
and receivers will act as a transmission line. The PCB traces that form this interconnect
must be de-signed with care. The following general guidelines should be adhered to:
Traces should be designed for differential impedance control (space between traces
needs to be controlled).
Minimize the distance between traces of a pair to maximize common mode rejection.
Place adjacent differential trace pairs at least twice (>2S) as far away (as the distance
between the conductors of the pair).
Place TTL/CMOS (large signals) far away from differential, at least three times (>3S)
away or on a different signal layer.
Match electrical length of all differential lines.
Avoid 90˚ bends (use two 45s).
Minimize the number of via on differential traces.
Match impedance of PCB trace to connector to media (cable) to termination to
12
minimize reflections (emissions) for cabled applications (typically 100 ohm
differential mode impedance).
2.6 Un-used and Reserved signals Guidelines
1. Unused Inputs:
Unused inputs of NT68400 series should be connected to ground. This is to avoid
unstable conditions when there is no on-chip, pull-up, and pull-down resister on this
input.
2. Unused Outputs:
Unused outputs of NT68400 series should be kept unconnected.
3. Reserved Signals (NC):
These signals are used for factory testing and debugging only. These pins shall be kept
unconnected.
13
Figure 2
6. Such as CMD/ADDR/CLK, the signal to signal routing distances do not match for minimizing layout.
7. The clock routing is reserved he terminate resistance 100 ohm in which it is in front of T-branch
position, as shown in figure 3.
Figure 3
DQ/DM Rules :
DQ/DM Impedance Control Zo=50 ohm
DQ-to-DQ spacing > 10 mils
DQ-to-DM spacing > 10 mils
DQ-to-CMD/ADDR spacing > 10 mils
Group1 : DQ[7:0] + DM[0] + PKG+PCB Length Matching Tolerance +/- 20 mils
DQS0_P/N
Group2 : DQ[15:8] + DM[1] + PKG+PCB Length Matching Tolerance +/- 20 mils
DQS1_P/N
Group3 : DQ[23:16] + DM[2] PKG+PCB Length Matching Tolerance +/- 20 mils
+ DQS2_P/N
Group4 : DQ[31:24] + DM[3] PKG+PCB Length Matching Tolerance +/- 20 mils
14
+ DQS3_P/N
Note1 : It is unnecessary to match routing length among Group1 to Group4.
Note2 : It is unnecessary to match routing length among DQS0 to DQS3.
DQS Rules :
DQS Differential Impedance Control Zdiff=100 ohm
DQS-to-Others spacing > 12 mils
15
16
CMD/ADDR Rules :
CMD/ADDR Impedance Control Zo=50 ohm
CSN-to-Others spacing > 10 mils
In addition to CSN, other CMD/ADDR-to-CMD/ADDR spacing > 8 mils.
For CMD/ADDR T-branch topology, the trace length of L1 and L2 must be matching. (Toleranc
e +/- 10 mils)
L1
DRAM0
L0
CMD/ADDR
Output Buffer
L2
DRAM1
CLK Rules :
CLK Differential Impedance Control Zdiff=100 ohm
CLK-to-Others spacing > 12 mils
Note1 : matching rule between CLK and Others signals.
17
18
2.8 System Power Structure
3 Product ID
The system can read the chip product ID from the register of 0x4510. NT6840x is 0x16.
4 Register optimum setting
4.1 ADC Operating Setting:
ADC OP Operate current select guide:
When you choice the maximum ADC OP current, the current is about 34mA
19
(0x8033[7]=1)
ii. Set 0x8033[6]=1, to enable SOG normal operating.
iii. Set 0x8034[5]=1, to enable SOG pull down
iv. To check Hsync and Vsync from Sync processor.
20
PU_SOG [6]:must set 1
0x8031[7:3] SOGTH[4:0] 5b' 11100
Enable trimming function
0x8020[7] 1b' 0
Internal 0.7V
0x8020[4] Internal 0.18V 1b' 0
0x4507 HS schmitt 0x37
0x4508 VS schmitt 0x37
0x4507[7] HS schmitt power 0
0x4507[3] HS schmitt mux 0
0x4508[7] VS schmitt power 0
0x4508[3] VS schmitt mux 0
capture clk invert
0x1A05[6] VGA mode 0 (reset value)
Main
Non-SOG mode 0
0x8034[5] SOG pull down resister
SOG mode 1
0x8021[4] bandgap sel. 1 (bandgap)
0x8014 ADC current 0x55
Power down ADC LDO
0x8033[0] 1 : Power down 1b' 1 (External LDO) *3
0 : Power up
comparator
0x8014 0x55 current
(細調)
0x801E LDO 1V voltage adj 0x40 LDO1V=1.099V
0x801A LDO 1V ref voltage 0x20 LDO1V=1.099V
第一級的
0x8017 0x88 level-shifter 電
流(粗調)
21
0x8033[0] PD_LDO 1b' 0
Note:
APLL
0x4904 PU_LDO_D[3:0] 0xFE
PU_RG20
0x4905 0xA1
BG_OP_EN
0x4906 0x83
0x4907 0x00
0x4908 0x05 MPLLx5
0x4909 0x71
0x490A 0xFF
0x490B 0x80
HPLL
0x490C 0x03
[1] HDDS_EN
0X4A00 0X33
[0] PU_HPLL
0X4A01 [1] PFD_PDB 0x02
phase lock filter
0x4A02 0x81
[0] hpll_plock_en
0x4A0E 0x50
0x4A08~
HPLL Div FW control
0x4A09
0x4A0F 0x0C
0x4A10 0x02
VGA separate sync refer to *1
0x4A01[5]
VGA composite/sog sync refer to *2
[7] HPLL_OP_LOOP
0x4A01[7:6] 2b' 00 (reset value)
[6]HS_QUICK_UNLOCK_CHK
DATA_SMP_INV
0x4A00[4] 1
data sample invert
HS≦25K , 0x0A
25K<HS≦50K ,
OSC12M
0x0B
0x0DB HPLL line
0x4A11[3:0] count HS>50K , 0x0C
TX_LS_CLOCK
Register 45AF[6] 45AE[2]
from MPLL input 0 X
from DPRX input 1 0 : RX4 phy, 1 : RX3 phy
27
TMDS-PHY registers are located at page 0x81/0x82/0x83, and 0x45FE is applied to access specific PHY.
The mapping is RX 0/1/2/3 corresponding to 0x45FE [0]/[1]/[2]/[3].
HDMI link0 registers are located at page 0/1/2/3.
HDMI link1 registers are located at page 4/5/6/7.
HDMI link2 registers are located at page 8/9/A/B.
0x45AF[0] is applied to select input-path of HDMI link2 coming from TMDS phy2 or phy3.
All possible TMDS paths are:
“TMDS PHY0 + HDMI LINK0” & “TMDS PHY1 + HDMI LINK1” &
“TMDS PHY2 + HDMI LINK2” & “TMDS PHY3 + HDMI LINK2” &
“TMDS PHY1+ TMDS PHY2 + HDMI LINK1”
0x0E if simultaneously
access lane 1~3
29
[5:4] EQR current
control=11
HDMI 1.4: 0x06
0x8300 [2] Leak-back block
HDMI 2.0: 0x36
enable bar=1
[1] RCK_HDMI enable=1
[7:4]L0~L3 Impedance
0x8302 EN=1111 0xFE
[3:0]L0~3 EQ enable=1110
The setting should
[4:0]L0,2,3 impedance match the impedance
0x8303
control of PCB trace
The setting should
0x8304 [4:0]L1 impedance control match the impedance
of PCB trace
0x830D TMDS CKDT 0x10 (Read only)
0x831C 0xA0
0x831D VCO LDO voltage control 0x02 (1.0V)
[7]L3_N switch on
[6]L3_P switch on
[5]L2_N switch on Before B version
[4]L2_P switch on (included): 0x0F
0x831F
[3]L1_N switch on After C version (included):
[2]L1_P switch on 0xFF
[1]L0_N switch on
[0]L0_P switch on
30
page 0/4/8,
0x45[3:0]=4’b0110 and
TMDS_CLK<120MHz,
set 0x8320 to 0xC2,
0x8321 to 0x1E,
0x8322 to 0x00,
0x8323 to 0x00,
page 0/4/8,
0x45[3:0]=4’b0110 and
TMDS_CLK>=120MHz,
set 0x8320 to 0xC0,
0x8321 to 0x1E,
0x8322 to 0x00,
0x8323 to 0x00,
page 0/4/8,
0x45[3:0]=4’b0111 and
TMDS_CLK<120MHz,
set 0x8320 to 0xC6,
0x8321 to 0x14,
0x8322 to 0x00,
0x8323 to 0x00,
page 0/4/8,
0x45[3:0]=4’b0111 and
TMDS_CLK>=120MHz,
set 0x8320 to 0xC4,
0x8321 to 0x14,
0x8322 to 0x00,
0x8323 to 0x00,
PD option 開
CP=02
Only for DVI R=2k
case: VC=0.4
CAP_MULT OFF
Check 81D2=0E
1. ENC=111 (8206=2F)
Flow CDR CLK Training
2. CP=02 (8208=02)
4. VC_L=0.3,VC_H=0.6V (820b=12)
5. VC=0.4 (820a=11)
6. LF RES: 2k (831B=30)
7. PD OPTION: ON (831B=B0)
31
HDMI Rx – LINK registers
Scaler Reg. Function Must Recommend
page 0/4/8, HDMI lost sync auto reset 1b1: before sync ready
0x05[4] circuit 1b0: after sync ready
page 0/4/8, Interrupt mode selection 1
0x08[0]
page 0/4/8, HDMI output clk invert 0
0x08[1]
page 0/4/8, HDCP slave address 0x74 HDCP receiver slave
0x3F[7:0] address
page 0/4/8, For H/W HDCP key 1
0x40[3] decryption use
page 0/4/8, For HDMI key download 1 When down load key
0x41[7] use use
page 0/4/8, HDMI Input clk invert 0
0x41[6]
page 0/4/8, HDMI deep color mode 3b' 111 This control must to
0xB4[2:0] auto control set to 3’b111.
page 0/4/8, HDMI video mode auto 0
0xB5[2] control
RX0 YCbCr 4:2:0 If 0x144[7:5]=3’b011,
0x0048[5]的設定值 set 0x0048[5]=1b1
If 0x144[7:5]!=3’b011,
set 0x0048[5]=1b0
If 0x544[7:5]=3’b011,
RX1
0x0448[5]的設定值 set 0x0448[5]=1b1
If 0x544[7:5]!=3’b011,
set 0x0448[5]=1b0
If 0x944[7:5]=3’b011,
RX2 set 0x0848[5]=1b1
0x0848[5]的設定值
If 0x944[7:5]!=3’b011,
set 0x0848[5]=1b0
If 0x944[7:5]=3’b011,
RX3 set 0x0848[5]=1b1
0x0848[5]的設定值
If 0x944[7:5]!=3’b011,
set 0x0848[5]=1b0
page 0/4/8, repetition If page 1/5/9,
0x08 0x48[3:0]=4b0000 (x1),
32
0x08[7:4]=4b0000
0x48[3:0]=4b0001 (x2),
0x08[7:4]=4b0101
0x48[3:0]=4b0011 (x4),
0x08[7:4]=4b1111
page 0/4/8,
0x45[3:0]=4’b0101,
0x3C89[4]/[5]/[6]=1b1
0x3C89[0]/[1]/[2]=1b0
page 0/4/8,
0x45[3:0]=4’b0110,
0x3C89[4]/[5]/[6]=1b1
0x3C89[0]/[1]/[2]=1b0
page 0/4/8,
0x45[3:0]=4’b0111,
0x3C89[4]/[5]/[6]=1b1
0x3C89[0]/[1]/[2]=1b0
RX0 YCbCr 4:2:0 If 0x144[7:5]=3’b011,
0x4590[0]的設定值 set 0x4590[0]=1b1
If 0x144[7:5]!=3’b011,
set 0x4590[0]=1b0
RX1 If 0x544[7:5]=3’b011,
0x4590[1]的設定值
set 0x4590[1]=1b0
If 0x544[7:5]!=3’b011,
set 0x4590[1]=1b0
RX2 If 0x944[7:5]=3’b011,
0x4590[2]的設定值 set 0x4590[2]=1b0
If 0x944[7:5]!=3’b011,
set 0x4590[2]=1b0
33
RX3 If 0x944[7:5]=3’b011,
0x4590[0]的設定值 set 0x4590[3]=1b1
If 0x944[7:5]!=3’b011,
set 0x4590[3]=1b0
0x45D1[4:2] 0x45D1[2] 1b1, RX0 + HDMI link0
0x45D1[3] 1b0, RX1 + HDMI link1
0x45D1[4] 1b0, RX2 + HDMI link2
0x45D1[4] 1b1, RX3 + HDMI link2
HDMI RX Low Power Control
operating mode to power-saving/power down
對應的 PHY (經由 0x45FD or 0x45FE 控制)
作以下的控制
0x81D2 = 0x0F
0x8302 = 0xF0 (for power-saving) / 0x00 (for
power-down)
0x8300 = 0x06 (for power-saving “DPMS
mode”) / 0x04 (for power-down “DC off
mode” & TVCC3V3 is ON) / 0x00 (for
power-saving/power-down power-down “DC off mode” & TVCC3V3 is
(power-down means the OFF)
HDMI RX PHY is shut-down and 0x831C = 0x00
would not have response to 0x8305 = 0x00
input signal) 0x82C0 = 0x00
0x82C9 = 0x00
0x8206 = 0x10
0x820D = 0x00
0x8320 = 0x00
0x8324 = 0x00
0x82FD = 0x00
HDMI TX0 LINK registers are located at page 0x6A & 0x6B.
HDMI TX0 PHY registers are located at page 0x6C.
HDMI TX1 LINK registers are located at page 0x6D & 0x6E.
HDMI TX1 PHY registers are located at page 0x6F.
*1:
0x02 TTX_SWAP_CFG R/W
*2:
Clkmult:0x6C05[3:2]
Div:0x6C06[3:2]
pclk 5 div
tclk div = 4(default), 5, 6
clkmult 5 clkmult = 8,4(default),2,1
pclk
tclk
PLL
*3:
0x0E=0x1D,我們測 CTS HF1-4- Intra-Pair Skew 會 Fail
*4:
480P60 – 27MHz / 720P60 – 74.25MHz
0x6C0e 0x01 REG_OE
REG_TERM_EN (Default)
REG_DE_EN (Default)
REG_CLK_DE_EN (Default)
0x6C66 0x20 REG_DYNAMIC_LEAK_EN
REG_DYNAMIC_LEAK=3’b000
0x6C30 0x00 HDMI 1.4
1080P60 – 148.5MHz
0x6C0e 0x01 REG_OE
REG_TERM_EN (Default)
REG_DE_EN (Default)
REG_CLK_DE_EN (Default)
0x6C66 0x24 REG_DYNAMIC_LEAK_EN
REG_DYNAMIC_LEAK=3’b001
0x6C30 0x00 HDMI 1.4
4K2KP30 – 297MHz
0x6C0e 0x25 REG_OE
REG_TERM_EN (297MHz)
REG_DE_EN (297MHz)
REG_CLK_DE_EN (Default)
0x6C66 0x2C REG_DYNAMIC_LEAK_EN
REG_DYNAMIC_LEAK=3’b011
38
0x6C30 0x00 HDMI 1.4
4K2KP60 – 594MHz
0x6C0e 0x1d REG_OE
REG_TERM_EN (594MHz)
REG_DE_EN (594MHz)
REG_CLK_DE_EN (Default)
0x6C66 0x38 REG_DYNAMIC_LEAK_EN
REG_DYNAMIC_LEAK=3’b110
0x6C30 0x06 HDMI 2.0
*5:
HDMI TX0
w B0 49A0 0 VPLL7 duty 50 OFF
[1]ttx_pclk_sel
w B0 6C00 2 1 : dbg_di[0]
0 : pclk
[0] REG_HDMI_TX0_TCLK_BYP
w B0 45EF 1
HDMI TX0 clkin bypass from MPLL filtered RX Tclk
[0] clk_vbi_clr_sel
CLK_VBI_CLR manual clock path source selection (to combotx /
w B0 492B 1 hdmitx )
0 : original vbi_clr path (for post frc enable clock )
1 : hdmi fpll clock path
HDMI TX1
w B0 49A0 0
w B0 6F00 2
w B0 45EF 2
w B0 492F 0
w B0 492B 1
w B0 492C 81
w B0 5120 B0
w B0 5120 F0
w B0 5120 B0
*6:
RX1 TXB
WRITE B0 8607 62 (RX1 8607[1]=1, 將 6502 關掉, 讀 860C 的值不變,表示有把 6502 關
掉)
WRITE B0 84D2 0E (同時將 RX1 的 ch0~2 寫入)
WRITE B0 85AF 01 (請看表 2)
WRITE B0 6F30 00
WRITE B0 45EA 2A (請看表 1 and 圖 1)
WRITE B0 6F30 03 (請看表 3)
RX1 TXA
WRITE B0 8607 62 (RX1 8607[1]=1, 將 6502 關掉, 讀 860C 的值不變,表示有把 6502 關
掉)
WRITE B0 84D2 0E (同時將 RX1 的 ch0~2 寫入)
39
WRITE B0 85AF 01 (請看表 2)
WRITE B0 6C30 00
WRITE B0 45EA 15 (請看表 1 and 圖 1)
WRITE B0 6C30 03 (請看表 3)
表1
表2
表3
0x6F 0x30 7-4 reg_dbg_sel
1 : hdmi mode for pattern gen
0x6F 0x30 3 hdmi_mode
0 : dvi mode for pattern gen
1 : Scramble On
0x6F 0x30 2 scramble_en
0 : Scramble Off
1 : HDMI 2.0 (1/40)
0x6F 0x30 1 hdmi_2p0
0 : HDMI 1.4 (1/10)
1 : bypass video data encoded function
0x6F 0x30 0 dvi_bypass_mode
0 : video data encoded
40
4.6 LVDS/DPLL Operating Setting:
DPLL Register Mapping Table
DPLL DPLL Ratio
FRC OFF GPLL0(FRC_m):
0x4A21, 0x4A22, 0x4A23
FRC ON GPLL4(DISP):
0x4A61, 0x4A62, 0x4A63
Note:
1. NT68400 only 2 port LVDS (C and D port)
43
Data Swing (mV) 0x685B[4:0]
80 00000
120 00001
160 00010
200 00011
240 00100
280 00101
320 00110
360 00111
400 01000
440 01001
480 01010
520 01011
560 01100
600 01101
640 01110
680 01111
720 10000
760 10001
800 10010
840 10011
880 10100
920 10101
960 10110
1000 10111
1040 11000
1080 11001
1120 11010
1160 11011
1200 11100
1240 11101
1280 11110
1320 11111
*1:
x2 clk 480MHz 以下: Duty mode off, option enable (0x512a)
VPLL setting in accordance with when DP using which PLL (VPLL0~VPLL7)
46
0x49A0[7]=0 video7 PLL
4.8.3 DDCCi
DDCCi
Scaler Reg. Function Must Recommend
0xF06A[7] DP_I2C_DDC_ADY 1’b1
50
CH4 addr2 0x465A AB
CH4 addr2 0x465B 0
CH5 addr0 OD 0x465C 0
CH5 addr0 Frame1 0x465D 0
CH5 addr0 0x465E B4
CH5 addr0 0x465F 0
CH5 addr1 0x4660 0
CH5 addr1 0x4661 0
CH5 addr1 0x4662 BD
CH5 addr1 0x4663 0
CH5 addr2 0x4664 0
CH5 addr2 0x4665 0
CH5 addr2 0x4666 BD
CH5 addr2 0x4667 0
3D NR 0x22B6 0
3D NR 0x22B7 0
3D NR 0x22B8 0
3D NR 0x22B9 0
AV Sync 0 Start 3D44 0
AV Sync 0 3D45 0
AV Sync 0 3D46 C6
AV Sync 0 3D47 0
AV Sync 0 End 3D48 0
AV Sync 0 3D49 0
AV Sync 0 3D4A C8
AV Sync 0 3D4B 0
AV Sync 1 Start 3D64 0
AV Sync 1 3D65 0
AV Sync 1 3D66 C8
AV Sync 1 3D67 0
AV Sync 1 End 3D68 FF
AV Sync 1 3D69 FF
AV Sync 1 3D6A C9
AV Sync 1 3D6B 0
3D DEI 3D DEI 0x56D0 0
3D DEI 3D DEI 0x56D1 0
3D DEI 3D DEI 0x56D2 0C
51
3604 00008AAA
3608 045917A4 Note.2-a
360C 1CBC8B56
3610 4726E16C
3614 00100D78 Bottom
3618 218 Note.2-a Note1,2
361C AA4D04E9
3620 10C00000
3624 33000000
3740 9E3C78EE Note.2-a
3748 08411D0B
374C 003C01C0
3778 0x03e00042
37B8 78
37F0 00FF2400
392C 000C0000
3600 0
3640 1
37D4 1
3600 6
3600 0
3600 0000000E
3600 0
3600 0000000D
3600 0
3204 00008AAA
3208 045917A4 Note.2-a
320C 1CBC8B56
3210 4726E16C
3214 00100D78
3218 218 Note.2-a TOP
321C AA4D04E9 Note1,2
3220 10C00000
3224 33000000
3340 9E3C78EE Note.2-a
3348 08411D0B
334C 003C01C0
3378 0x03e00042
52
33B8 78
33F0 00FF2400
352C 000C0000
3200 0
3240 1
33D4 1
3200 6
3200 0
3200 0000000E
3200 0
3200 0000000D
3200 0
044BF7A4 //1.3G 044BF7A4 //1.3G 044BF7A4 //1.3G 044BF7A4 //1.3G 044BF7A4 //1.3G 044BF7A4 //1.3G
0x3608 045917A4 //1.5G 045917A4 //1.5G 045917A4 //1.5G 045917A4 //1.5G 045917A4 //1.5G 045917A4 //1.5G
046187A4 //1.6G 046187A4 //1.6G 046187A4 //1.6G 046187A4 //1.6G 046187A4 //1.6G 046187A4 //1.6G
044BF7A4 //1.3G 044BF7A4 //1.3G 044BF7A4 //1.3G 044BF7A4 //1.3G 044BF7A4 //1.3G 044BF7A4 //1.3G
0x3208 045917A4 //1.5G 045917A4 //1.5G 045917A4 //1.5G 045917A4 //1.5G 045917A4 //1.5G 045917A4 //1.5G
046187A4 //1.6G 046187A4 //1.6G 046187A4 //1.6G 046187A4 //1.6G 046187A4 //1.6G 046187A4 //1.6G
53
0x7242[4:0] 0x16 PLEG_0_LB
0x7243[4:0] 0x16 NLEG_0_LB
0x7244[4:0] 0x16 PLEG_0_HB
0x7245[4:0] 0x16 NLEG_0_HB
0x7246[4:0] 0x1a PLEG_0_DQS
0x7247[4:0] 0x1a NLEG_0_DQS
0x7248[4:0] 0x16 PLEG_1_LB
[7]ODTEN_CA_MRST
0x7253 0xd2 [6]ODTEN_CA_MCS
[4:0]NLEG_CA_MRST
0x7254 0x12 NLEG_CA_MCS
0x7255 0x01 ODTMD_CA_MCS[4:0]
0x7256 0x01 ODTMD_CA_MRST[4:0]
0x7257[4:0] 0x12 PLEG_CA_MCS
0x7258[4:0] 0x12 PLEG_CA_MRST
0x7259[2:0] 0x01 ODT_MODE_WR_DQS0
0x7260[2:0] 0x01 ODT_MODE_WR_D0
0x7261[2:0] 0x01 ODT_MODE_WR_DQS1
0x7262[2:0] 0x01 ODT_MODE_WR_D1
0x7280[4:0] 0x16 NLEG_1_LB
0x7281[4:0] 0x16 PLEG_1_HB
0x7282[4:0] 0x16 NLEG_1_HB
0x7283[4:0] 0x1a PLEG_1_DQS
0x7284[4:0] 0x1a NLEG_1_DQS
[7] ODT_EN_CMD
[6:4] ODT_MODE_CMD
0x7285 0x99
[3] ODT_EN_CK
[2:0] CK ODT mode
DQ_ODT_EN_D0
DQ_ODT_MODE_D0
0x7286 0x99
DQS_ODT_EN_D0
DQS_ODT_MODE_D0
[7] DQ_ODT_EN_D1
[6:4] DQ_ODT_MODE_D1
0x7287 0x99
[3] DQS_ODT_EN_D1
[2:0] DQS_ODT_MODE_D1
[1] IEHB_Data1
IO Read enable 0x729e 0x03 Note3
[0] IEHB_Data0
0x729a 0x00 CMD_SEL[7:0]
Write CMD group selection 0x729b 0x00 CMD_SEL[15:8] Note3
0x729c 0x00 CMD_SEL[23:16]
54
0x729d 0x00 CMD_SEL[26:24]
0x7200[5:0] 0x00 CLK duty adjust
0x724a[5:0] 0x00 WDQS0 duty adjust
0x7207[5:0] 0x00 WDQS1 duty adjust
0x724b[5:0] 0x00 WDQS2 duty adjust
Signal duty adjustment 0x7207[5:0] 0x00 WDQS3 duty adjust Note3
55
0x7322 0x09 REN D1 LB
0x7323 0x09 REN D1 HB
0x7338[4:0] 0x12 PLEG_CA
0x7339[4:0] 0x12 NLEG_CA
0x7340[4:0] 0x1a PLEG_MCLK
0x7341[4:0] 0x1a NLEG_ MCLK
0x7342[4:0] 0x16 PLEG_0_LB
0x7343[4:0] 0x16 NLEG_0_LB
0x7344[4:0] 0x16 PLEG_0_HB
0x7345[4:0] 0x16 NLEG_0_HB
0x7346[4:0] 0x1a PLEG_0_DQS
0x7347[4:0] 0x1a NLEG_0_DQS
0x7348[4:0] 0x16 PLEG_1_LB
[7]ODTEN_CA_MRST
0x7353 0xd2 [6]ODTEN_CA_MCS
[4:0]NLEG_CA_MRST
0x7354 0x12 NLEG_CA_MCS
0x7355 0x01 ODTMD_CA_MCS[4:0]
0x7356 0x01 ODTMD_CA_MRST[4:0]
0x7357[4:0] 0x12 PLEG_CA_MCS
0x7358[4:0] 0x12 PLEG_CA_MRST
0x7359[2:0] 0x01 ODT_MODE_WR_DQS0
0x7360[2:0] 0x01 ODT_MODE_WR_D0
0x7361[2:0] 0x01 ODT_MODE_WR_DQS1
0x7362[2:0] 0x01 ODT_MODE_WR_D1
0x7380[4:0] 0x16 NLEG_1_LB
0x7381[4:0] 0x16 PLEG_1_HB
0x7382[4:0] 0x16 NLEG_1_HB
0x7383[4:0] 0x1a PLEG_1_DQS
0x7384[4:0] 0x1a NLEG_1_DQS
[7] ODT_EN_CMD
[6:4] ODT_MODE_CMD
0x7385 0x99
[3] ODT_EN_CK
[2:0] CK ODT mode
DQ_ODT_EN_D0
DQ_ODT_MODE_D0
0x7386 0x99
DQS_ODT_EN_D0
DQS_ODT_MODE_D0
56
[7] DQ_ODT_EN_D1
[6:4] DQ_ODT_MODE_D1
0x7387 0x99
[3] DQS_ODT_EN_D1
[2:0] DQS_ODT_MODE_D1
[1] IEHB_Data1
IO Read enable 0x739e 0x03 Note3
[0] IEHB_Data0
0x739a 0x00 CMD_SEL[7:0]
0x739b 0x00 CMD_SEL[15:8]
Write CMD group selection Note3
0x739c 0x00 CMD_SEL[23:16]
0x739d 0x00 CMD_SEL[26:24]
0x7300[5:0] 0x00 CLK duty adjust
0x734a[5:0] 0x00 WDQS0 duty adjust
0x7307[5:0] 0x00 WDQS1 duty adjust
0x734b[5:0] 0x00 WDQS2 duty adjust
Signal duty adjustment 0x7307[5:0] 0x00 WDQS3 duty adjust Note3
57
0x7320 Data0 LB
0x7321 Data0 HB
Read enable delay selection Note3
0x7322 Data1 LB
0x7323 Data1 HB
59
4.13 HDR Application Setting:
EOTF
General Setting
Register Function Must Recommand
E00E3F00[0] hdr double buffer 1
E00E3F00[1] bypass hdr control 1
EOTF
60
– Function:
Preout_0 = input_0 + PreOffset_0;
Preout_1 = input_1 + PreOffset_1;
Preout_2 = input_2 + PreOffset_2;
formula
TMO
purpose tmo mapping by different panel maximum luminance
OETF
reverse of Panel Gamma
table format input- 256 entry
output- maximum :2^12(12 bits depth)
61
4.14 LDC (Local dimming control) Application Setting:
interrupt
0xE0080400[4] Gamma duty enable 1
Histogram
1: Ave, 2: MAX95, 3 :MAX,4 : blend
0xE008028C[6:4] histogram Mode
depends on application
0xE0080010[9:0] INITIAL_DUTY_TH0 0x0100
0xE0080010[25:16] INITIAL_DUTY_TH1 0x0200
0xE0080014[9:0] INITIAL_DUTY_TH2 0x0300
0xE0080018[9:0] INITIAL_DUTY_SLOPE_0 0x40
63
0xE0080018[25:16] INITIAL_DUTY_SLOPE_1 0x40
0xE008001C[9:0] INITIAL_DUTY_SLOPE_2 0x40
0xE008001C[25:16] INITIAL_DUTY_SLOPE_3 0x40
0xE0080020[9:0] INITIAL_DUTY_OFFSET_0 0
0xE0080020[25:16] INITIAL_DUTY_OFFSET_1 0
0xE0080024[9:0] INITIAL_DUTY_OFFSET_2 0
0xE0080024[9:0] INITIAL_DUTY_OFFSET_3 0
Panel_width / Sample_X
0xE0080040[15:8] LB_LEN
(0xE0080370)
0xE0080040[7:0] R_LB_STR_ADDR (LB_LEN/2)
Profile Setting
COMPENSATION_MASK_
0xE0080280[15:8] 3
X
COMPENSATION_MASK_
0xE0080280[7:0] 3
Y
mask per block
0xE0080164[31:16] profile size
= ((block_X) * (block_Y)+4)/5
Address Setting
MAU address: 0x7A000
0xE0080160[31:0] Profile Address
Profile address:0xF40000
MAU address: 0xF20000
0xE00802A4[31:0] Intensity Address
LDC reg address(0x2A4):0x79000
Gain Setting
0xE0080B40~0xE008
RGB Gain LUT gain range: 0~0xFF
0B7C
table format:
0xE0080C00~ Gain1(2byte),Gain1-Gain2(2byte),Gain
pixel intensity Gain LUT
0xE0080FFF 2(2byte),Gain2-Gain3(2byte),Gain3(2b
yte)
64
4.15 LDC GPIO Pins control Setting:
LDC pins PI7-0 and PJ7-0, port I/J setting tables as show below:
65
5 OD Application Guide
5.1 OD engine block diagram
Current frame
Video input
Compress Motion
DCC
codec Check
Previous frame
SRAM
MMU
OD
BTC DCC
F2
Pixel_in F2_DC
compress decompress Pixel_out
F1_DC
F1
MMUIF
MMU
DRAM
Figure.1
66
5.4 OD Window Control (Reg. 0x4B80~0x4B88)
OD window begin position
(OD_WIN_H_BEG,OD_WIN_V_BEG)
OD_WND_V_LEN OD_WND_H_WID
IWND
(support : F1/ F2/ F1_DC/ F2_OD) OWND
(support : F2/ F2_DC)
Figure.2
Example:
Output resolution is 1280x1024,assume full screen use OD function,how should I set the OD window
Solution 1:
Use default setting for all resolution OD
Solution 2:
0x4B81 = 0h , 0x4B82 = 0h ;
H active = 1280 / 4 = 320d = 140h
0x4B83 = 40h , 0x4B84 = 1h
0x4B85 = 0h , 0x4B86 = 0h ;
V active = 1024 / 2 = 512d = 100h
0x4B87 = 0h, 0x4B88 = 1h
67
OD_MC OD_SC OD_EN_ENB
(0x4B9B[4]) (0x4B98[0]) (0x4B98[4])
Reg. MC_FRM_LO MC_FRM_HI SC_THRLD OD_EN_THRLD
(0x4BC0~2) (0x4BC3~5) (0x4B99) (0x4B9A)
Mode
(0x4B90)
0x4B90 = Ex : 1920x1080 Ex : 1920x1080 Bh 0h
71h 0x4BC0 = 00h 0x4BC3 = FFh
0x4BC1 = 00h 0x4BC4 = FFh
0x4BC2 = 40h 0x4BC5 = 1Fh
68
6 Audio Application Guide
6.1 Audio Setup Block
Audio setup up Block:
70
390 HDMI TX
(1)6B14=F1(stream EN)
(2)6B2F=41(HDMI mode)
(3)6B1D=00(I2S format)
(4)6B24[3:0]=1011(24bit)
(5)6B02[2:0]=001(256FS) ,if DP in 1057=0x03
400 HDMI TX
(1)6B14=09(PCM stream EN)
(2)6B2F=A1(HDMI 2.0 mode)
(3)6B1D=40(I2S format)
(4)6B24[3:0]=1011(24bit)
(5)6B02[2:0]=001(256FS) ,if DP in 1057=0x03
(6)6B01=02(HW auto CTS)
(7)6B03~6B05(ref Rx N) HW auto 6B09~6B0B (CTS)
(2)Avsync0+DP link0:
105A=00
1050=00
4D05=FF (bottom MAU ch EN)
02A7=00 (HDMI Avsync EN)
4495=40(DRAM_SRC_SEL)
449A=88
3D40=40
3D40=80
3D41=20
3D42=20
3D43=20
3D4C=80
3D4D=03
3D4E=00
3D4F=00
3D40=80
105A=80
1050=88([3]=1,DP Avsync EN)
400:
add DP avsync passthr MPLL
1051[0]=0 bypass =1passthr MPLL
72
1054[6]:FIFO-over
1054[1];FIFO under
105C[0]=0 Avsync FIFO mode mask
105C[7]=1 Avsync FIFO mode main mask
73
6.3.6 I2C IN
Ref Mclk:
F0D0[2]=1
453A=0x55 (I2S in GPIO )
4452=0x87(I2S in EN)
4470=0x10(root)
4450=0x03(clk cyc)
4451=0x08
4456=0x
Ref sck+PLL0
49B7[7]=1
49B2[2]=1
49B8=0x00
49B9=0x08
49BA=0x00
49BC=0x00
49BD=0x01
49BE=0x00
49B3[3]=1
49B2[5]=1
Toggle 49B2[6]=0 -1 -0
400:
Ref Mclk:
445D[7]=1(Mclk in from GPIO)
445D[3:0]=(I2S in internal path)
453A=0x55 (I2S in GPIO )
4452=0x87(I2S in EN)
4470=0x10(root)
4450=0x03(clk cyc)
4451=0x08
4456=0xFF
Ref sck+PLL0
49B7[7]=1
49B2[2]=1
49B8=0x00
49B9=0x04
49BA=0x00
49BC=0x00
49BD=0x01
49BE=0x00
49B3[3]=1
74
49B2[5]=1
Toggle 49B2[6]=0 -1 -0
75
6.3.7 Audio Control Flow chart
Initial HDMI Audio
Program Start
76
6.3.8 Hardware reference application circuit
I2S output
10 ohm 100 uF
Line-out min. min. Line-out
NT68400 Earphone NT68400 Closely to AMP
m K
100ohm ho 1 AMP
cte K 1 uF
otr 01
p K
D F 7
S p
0 .4
2.2n . E
~ 12mW for 16~32 0
0
~
0
1 7
4
ohm earphone
R602
2
82
Mute:
DAC mute: 4403[1]=1 (A-mute)
Zero cross mute:
4406[3][2]=11+4420[5:4]=11(D-zero cross)+4421=0xFF+4422=0x0F
Fast mute:
4489=0xFF (fast mute en)
When source change ,
Fast mute tigger ,then clear 4487 / 4488 flag to remove mute status.
78
7 Vx1 TX Control
7.1 Control Registers
Vx1 control registers:
Page: 0x3A Comb TX Vx1/eDP/LVDS control
Page: 0x67 Vx1 TX phy control
Page: 0x68 Vx1 TX link control
Page: 0x3B56 offset mode control
1 Section
Hactive= 3840
port 0 port 1 port 2 port 3
Lane
Lane 0 Lane 1 Lane 2 Lane 3 Lane 4 Lane 5 Lane 6 7
FSBS FSBS FSBS FSBS FSBS FSBS FSBS FSBS
FSBP FSBP FSBP FSBP FSBP FSBP FSBP FSBP
V Blanking
… … … … … … … …
FSBP FSBP FSBP FSBP FSBP FSBP FSBP FSBP
FSBE_
FSBE_SR FSBE_SR FSBE_SR FSBE_SR FSBE_SR FSBE_SR FSBE_SR SR
Pixel 1 Pixel 2 Pixel 3 Pixel 4 Pixel 5 Pixel 6 Pixel 7 Pixel 8
Pixel
Pixel 9 Pixel 10 Pixel 11 Pixel 12 Pixel 13 Pixel 14 Pixel 15 16
Line 1
… … … … … … … …
… … … … … … … …
Pixel Pixel
3833 Pixel 3834 Pixel 3835 Pixel 3836 Pixel 3837 Pixel 3838 Pixel 3839 3840
Bla
nki
ng
79
FSBP FSBP FSBP FSBP FSBP FSBP FSBP FSBP
… … … … … … … …
FSBP FSBP FSBP FSBP FSBP FSBP FSBP FSBP
FSBE FSBE FSBE FSBE FSBE FSBE FSBE FSBE
Pixel 1 Pixel 2 Pixel 3 Pixel 4 Pixel 5 Pixel 6 Pixel 7 Pixel 8
Pixel
Pixel 9 Pixel 10 Pixel 11 Pixel 12 Pixel 13 Pixel 14 Pixel 15 16
Line 2
… … … … … … … …
… … … … … … … …
Pixel Pixel
3833 Pixel 3834 Pixel 3835 Pixel 3836 Pixel 3837 Pixel 3838 Pixel 3839 3840
2 Section
Hactive= 3840
port 0 port 1 port 2 port 3
Lane 0 Lane 1 Lane 2 Lane 3 Lane 4 Lane 5 Lane 6 Lane 7
FSBS FSBS FSBS FSBS FSBS FSBS FSBS FSBS
FSBP FSBP FSBP FSBP FSBP FSBP FSBP FSBP
V Blanking
… … … … … … … …
FSBP FSBP FSBP FSBP FSBP FSBP FSBP FSBP
FSBE_S
FSBE_SR FSBE_SR FSBE_SR FSBE_SR FSBE_SR FSBE_SR R FSBE_SR
Pixel
Pixel 1 Pixel 2 Pixel 3 Pixel 4 Pixel 1921 Pixel 1922 1923 Pixel 1924
Pixel
Pixel 5 Pixel 6 Pixel 7 Pixel 8 Pixel 1925 Pixel 1926 1927 Pixel 1928
Line 1
… … … … … … … …
… … … … … … … …
Pixel Pixel
1917 Pixel 1918 Pixel 1919 Pixel 1920 Pixel 3837 Pixel 3838 3839 Pixel 3840
FSBS FSBS FSBS FSBS FSBS FSBS FSBS FSBS
H Blanking
… … … … … … … …
… … … … … … … …
Pixel Pixel
1917 Pixel 1918 Pixel 1919 Pixel 1920 Pixel 3837 Pixel 3838 3839 Pixel 3840
80
Lane count
4K2K/60 (3840x2160) 8
1920x1080/60 4 or 2
81
8 Vx1 RX Control
8.1 Control Registers
Vx1 control registers:
Page: 0x74 RX link control
Page: 0x75 Vx1 global control
Page: 0x76/77 phy A/B control
8.2 Vx1 RX Data mapping and lane control
Vx1 RX is support P/N, lane and port swap.
Support byte mode and resolution are show as below.
RGB 18 bit 24 bit 30 bit 36 bit
5 byte mode X X X X
4 byte mode X Y Y X
3 byte mode X Y Y X
1 Section
Hactive= 3840
port 0 port 1 port 2 port 3
Lane 0 Lane 1 Lane 2 Lane 3 Lane 4 Lane 5 Lane 6 Lane 7
FSBS FSBS FSBS FSBS FSBS FSBS FSBS FSBS
V Blanking
… … … … … … … …
… … … … … … … …
Pixel 3833 Pixel 3834 Pixel 3835 Pixel 3836 Pixel 3837 Pixel 3838 Pixel 3839 Pixel 3840
FSBS FSBS FSBS FSBS FSBS FSBS FSBS FSBS
H Blanking
… … … … … … … …
… … … … … … … …
Pixel 3833 Pixel 3834 Pixel 3835 Pixel 3836 Pixel 3837 Pixel 3838 Pixel 3839 Pixel 3840
82
Lane count
4K2K/60 (3840x2160) 8
1920x1080/60 4 or 2
Lane control
No. Description Registers
1 VX1 RX total lane count (set 8/4/2) 0x7410[3:0]
2 A/B phy lane count 0x7503
3 p/n pair swap 0x7607[6] / 0x7707[6]
lane_swap_4 (For 4 lane)
4
L0~L3-->L3~L0 0x7607[7] / 0x7707[7]
lane_swap_2 (For 2 lane)
5
L0,L1-->L1,L0 L2 L3-> L3,L2 0x7608[6] / 0x7708[6]
6 port swap A~B -> B~A 7403[2]
VX1 RX input port mode (Valid for 2/4 lane)
7 1: Use Two port (1+1 or 2+2)
0: Use Single port (2+0 or 4+0) 0x7403[4]
8 Clock source select See *1
9 display timing 0x7440~744F
Start
I n i t i 1a Rl XV xp/l hi ny k
S/W R e s e t
0x7504= 0x0->0x1-> delay 10mS-
>0x0
END
84
9 USB Reference circuit
NT68400 USB BLOCK
85