SN65DSI84
SN65DSI84
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER
2020
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
www.ti.com
SN65DSI84 MIPI® DSI Bridge To FLATLINK™ LVDS
Single Channel DSI to Dual-Link LVDS Bridge
1 Features
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Implements MIPI® D-PHY version 1.00.00 physical
layer front-end and display serial interface (DSI)
version 1.02.00
Single channel DSI receiver configurable for one,
two, three, or four D-PHY data lanes per channel
operating up to 1 Gbps per lane
Supports 18 bpp and 24-bpp DSI video packets
with RGB666 and RGB888 formats
Suitable for 60-fps WUXGA 1920 × 1200
resolution at 18-bpp and 24-bpp color, 60 fps 1366
× 768 at 18 bpp and 24 bpp
FlatLink™ output configurable for single-link or
dual-link LVDS
Supports single channel DSI to dual-link LVDS
operating mode
LVDS output clock range of 25 MHz to 154 MHz in
dual-link or single-link modes
LVDS pixel clock may be sourced from freerunning continuous D-PHY clock or external
reference clock (REFCLK)
1.8-V main VCC power supply
Low power features include shutdown mode,
reduced LVDS output voltage swing, common
mode, and MIPI ultra-low power state (ULPS)
support
LVDS channel swap, LVDS PIN order reverse
feature for ease of PCB routing
ESD rating ±2 kV (HBM)
Packaged in 64-pin 5-mm × 5-mm nFBGA (ZXH)
Temperature range: –40°C to 85°C
2 Applications
•
•
•
3 Description
The SN65DSI84 DSI to FlatLink™ bridge features a
single-channel MIPI® D-PHY receiver front-end
configuration with 4 lanes per channel operating at 1
Gbps per lane; a maximum input bandwidth of 4
Gbps. The bridge decodes MIPI® DSI 18bpp RGB666
and 24 bpp RGB888 packets and converts the
formatted video data stream to a FlatLink™
compatible LVDS output operating at pixel clocks
operating from 25 MHz to 154 MHz, offering a DualLink LVDS, Single-Link LVDS interface with four data
lanes per link.
The SN65DSI84 is well suited for WUXGA 1920 x
1200 at 60 frames per second, with up to 24 bits-perpixel. Partial line buffering is implemented to
accommodate the data stream mismatch between the
DSI and LVDS interfaces.
Designed
with
industry
compliant
interface
technology, the SN65DSI84 is compatible with a wide
range of micro-processors, and is designed with a
range of power management features including lowswing LVDS outputs, and the MIPI® defined ultra-low
power state (ULPS) support.
The SN65DSI84 is implemented in a small outline
5x5mm nFBGA at 0.5 mm pitch package, and
operates across a temperature range from -40°C to
85°C.
Device Information (1)
PART NUMBER
SN65DSI84
(1)
PACKAGE
nFBGA (64)
BODY SIZE (NOM)
5.00 mm × 5.00 mm
For all available packages, see the orderable addendum at
the end of the datasheet.
PC & notebooks
Tablets
Connected peripherals & printers
Typical Application
An©IMPORTANT
NOTICEIncorporated
at the end of this data sheet addresses availability, warranty, changes, use in
safety-critical
applications,
Copyright
2020 Texas Instruments
Submit
Document
Feedback
intellectual property matters and other important disclaimers. PRODUCTION DATA.
Product Folder Links: SN65DSI84
1
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Table of Contents
1 Features............................................................................1
2 Applications..................................................................... 1
3 Description.......................................................................1
4 Revision History.............................................................. 2
5 Pin Configuration and Functions...................................4
6 Specifications.................................................................. 6
6.1 Absolute Maximum Ratings........................................ 6
6.2 EDS Ratings............................................................... 6
6.3 Recommended Operating Conditions.........................6
6.4 Thermal Information....................................................6
6.5 Electrical Characteristics.............................................7
6.6 Switching Characteristics............................................9
7 Detailed Description......................................................12
7.1 Overview................................................................... 12
7.2 Functional Block Diagram......................................... 12
7.3 Feature Description...................................................13
7.4 Device Functional Modes..........................................14
7.5 Programming............................................................ 22
7.6 Register Maps...........................................................23
8 Application and Implementation.................................. 33
8.1 Application Information............................................. 33
8.2 Typical Application.................................................... 33
9 Power Supply Recommendations................................40
9.1 VCC Power Supply.................................................... 40
9.2 VCORE Power Supply.............................................. 40
10 Layout...........................................................................41
10.1 Layout Guidelines................................................... 41
10.2 Layout Example...................................................... 42
11 Device and Documentation Support..........................43
11.1 Receiving Notification of Documentation Updates.. 43
11.2 Community Resources............................................43
11.3 Trademarks............................................................. 43
4 Revision History
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
Changes from Revision G (June 2018) to Revision H (October 2020)
Page
• NOTE: The device in the MicroStar Jr. BGA packaging were redesigned using a laminate nFBGA package.
This nFBGA package offers datasheet-equivalent electrical performance. It is also footprint equivalent to the
MicroStar Jr. BGA. The new package designator in place of the discontinued package designator will be
updated throughout the datasheet......................................................................................................................1
• Changed u*jr ZQE to nFBGA ZXH..................................................................................................................... 1
• Changed u*jr ZQE to nFBGA ZXH..................................................................................................................... 4
• Changed u*jr ZQE to nFBGA ZXH. Updated thermal information...................................................................... 6
• Changed u*jr ZQE to nFBGA ZXH................................................................................................................... 41
Changes from Revision F (August 2015) to Revision G (June 2018)
Page
• Deleted figure Shutdown and Reset Timing Definition While VCC Is High .........................................................9
• Changed the paragraph following Figure 7-3 .................................................................................................. 14
• Changed Recommended Initialization Sequence To: Initialization Sequence ................................................. 14
• Changed Table 7-2 .......................................................................................................................................... 14
• Changed item 3 in Video Stop and Restart Sequence From: Drive all DSI input lanes including DSI CLK lane
to LP11. To: Drive all DSI data lanes to LP11, but keep the DSI CLK lanes in HS. ......................................... 33
Changes from Revision E (October 2013) to Revision F (August 2015)
Page
• Added Pin Configuration and Functions section, ESD Ratings table, Feature Description section, Device
Functional Modes, Application and Implementation section, Power Supply Recommendations section, Layout
section, Device and Documentation Support section, and Mechanical, Packaging, and Orderable Information
section ............................................................................................................................................................... 1
• Changed ULPS Itemized List, item 3 from "Wait for the PLL_LOCK bit (CSR 0x0A.7) to be set" to "Wait for a
minimum of 3 ms."............................................................................................................................................ 13
• Changed Initialization Sequence Description for Init seq7 from "Wait for the PLL_LOCK bit to be set (CSR
0x0A.7)" to "Wait for a minimum of 3 ms." ....................................................................................................... 14
• Changed Table 7-6 Address 0x0A, Bit 7 description from "PLL_LOCK" to "PLL_EN_STAT"...........................23
• Changed Address 0x18, Bits 3, 2, 1, and 0 Descriptions in Table 7-8 for clarification......................................23
2
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
www.ti.com
•
SN65DSI84
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Changed Item 1 of the Video STOP and Restart sequence from "Clear the PLL_EN bit to 0(CSR 0x0A.7)" to
"Clear the PLL_EN bit to 0 (CSR 0x0D.0)" ...................................................................................................... 33
Changes from Revision D (August 2013) to Revision E (October 2013)
Page
• Added rows for Bits 7, and 6:5 to Table 7-7 CSR Bit Field Definition – DSI Registers..................................... 23
Changes from Revision C (December 2012) to Revision D (August 2013)
Page
• Aligned package description throughout datasheet............................................................................................1
Changes from Revision A (December 2012) to Revision B (December 2012)
Page
• Changed PGBA to PBGA................................................................................................................................... 1
Changes from Revision * (August 2012) to Revision A (December 2012)
Page
• Changed the value of VOH From: 1.3 MIN To: 1.25 MIN.....................................................................................7
• Changed the ICC TYP value From: 125 To: 106 and MAX value From: 200 To: 150 ......................................... 7
• Added a TYP value of 7.7 to IULPS .....................................................................................................................7
• Changed the IRST TYP value From: 0.05 To: 0.04 and MAX value From: 0.2 To: 0.06...................................... 7
• changed the values of |VOD|.............................................................................................................................. 7
• Changed the values of VOC(SS) for test conditions CSR 0x19.6 = 0 and, or CSR 0x19.4 = 0.............................7
• Changed table note 2......................................................................................................................................... 7
• Added table note 3..............................................................................................................................................7
• Changed the SWITCHING CHARACTERISTICS table......................................................................................9
• Changed the description of CHA_LVDS_VOD_SWING................................................................................... 23
• Changed the description of CHB_LVDS_VOD_SWING................................................................................... 23
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
3
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
5 Pin Configuration and Functions
A
B
C
D
E
F
G
H
J
9
VCC
GND
A_Y0N
A_Y1N
A_Y2N
A_CLKN
A_Y3N
GND
IRQ
8
GND
VCC
A_Y0P
A_Y1P
A_Y2P
A_CLKP
A_Y3P
RSVD1
VCORE
7
B_Y3N
B_Y3P
DA3P
DA3N
6
B_CLKN
B_CLKP
VCC
VCC
VCC
DA2P
DA2N
5
B_Y2N
B_Y2P
GND
VCC
GND
DACP
DACN
4
B_Y1N
B_Y1P
GND
GND
DA1P
DA1N
3
B_Y0N
B_Y0P
DA0P
DA0N
2
GND
RSVD2
NC
NC
NC
NC
NC
REFCLK
VCC
1
ADDR
EN
NC
NC
NC
NC
NC
SCL
SDA
Not to scale
To minimize the power supply noise floor, provide good decoupling near the SN65DSI84 power pins. The use of four ceramic capacitors
(2x 0.1 μF and 2x 0.01 μF) provides good performance. At the least, it is recommended to install one 0.1 μF and one 0.01 μF capacitor
near the SN65DSI84. To avoid large current loops and trace inductance, the trace length between decoupling capacitor and device
power inputs pins must be minimized. Placing the capacitor underneath the SN65DSI84 on the bottom of the PCB is often a good
choice.
Figure 5-1. ZXH Package 64-Pin nFBGA Top View
Table 5-1. Pin Functions
PIN
NAME
4
NO.
DA0P
H3
DA0N
J3
DA1P
H4
DA1N
J4
DA2P
H6
DA2N
J6
DA3P
H7
DA3N
J7
DACP
H5
DACN
J5
DESCRIPTION
I/O
MIPI® D-PHY Channel A Data Lane 0; data rate up to 1 Gbps.
MIPI® D-PHY Channel A Data Lane 1; data rate up to 1 Gbps.
LVDS Input (HS)
CMOS Input (LS)
(Failsafe)
MIPI® D-PHY Channel A Data Lane 2; data rate up to 1 Gbps.
MIPI® D-PHY Channel A Data Lane 3; data rate up to 1 Gbps.
MIPI® D-PHY Channel A Clock Lane; operates up to 500 MHz.
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Table 5-1. Pin Functions (continued)
PIN
NAME
NC
NO.
C2, C1, D2, D1, F2,
F1, G2, G1, E2, E1
A_Y0P
C8
A_Y0N
C9
A_Y1P
D8
A_Y1N
D9
A_Y2P
E8
A_Y2N
E9
A_Y3P
G8
A_Y3N
G9
A_CLKP
F8
A_CLKN
F9
B_Y0P
B3
B_Y0N
A3
B_Y1P
B4
B_Y1N
A4
DESCRIPTION
I/O
No connects.
These pins should not be connected to any signal, power or ground.
FlatLink™ Channel A LVDS Data Output 0.
FlatLink™ Channel A LVDS Data Output 1.
FlatLink™ Channel A LVDS Data Output 2.
FlatLink™ Channel A LVDS Data Output 3. A_Y3P and A_Y3N shall be left NC for 18 bpp
panels.
FlatLink™ Channel A LVDS Clock
LVDS Output
FlatLink™ Channel B LVDS Data Output 0.
FlatLink™ Channel B LVDS Data Output 1.
B_Y2P
B5
B_Y2N
A5
B_Y3P
B7
B_Y3N
A7
B_CLKP
B6
B_CLKN
A6
RSVD1
H8
CMOS Input/Output
with pulldown
Reserved. This pin should be left unconnected for normal operation.
RSVD2
B2
CMOS Input with
pulldown
Reserved. This pin should be left unconnected for normal operation.
ADDR
A1
CMOS Input/Output
Local I2C Interface Target Address Select. See Table 7-4. In normal operation this pin is an
input. When the ADDR pin is programmed high, it should be tied to the same 1.8 V power
rails where the SN65DSI84 VCC 1.8 V power rail is connected.
EN
B1
CMOS Input with
pullup (Failsafe)
Chip Enable and Reset. Device is reset (shutdown) when EN is low.
REFCLK
H2
SCL
H1
SDA
J1
Open Drain Input/
Output (Failsafe)
Local I2C Interface Bi-directional Data Signal.
IRQ
J9
CMOS Output
Interrupt Signal.
GND
A2, A8, B9, D5, E4,
F4, F5, H9
VCC
A9, B8, D6, E5, E6,
F6, J2
VCORE
FlatLink™ Channel B LVDS Data Output 2.
FlatLink™ Channel B LVDS Data Output 3. B_Y3P and B_Y3N shall be left NC for 18 bpp
panels.
FlatLink™ Channel B LVDS Clock.
Optional External Reference Clock for LVDS Pixel Clock. If an External Reference Clock is
not used, this pin should be pulled to GND with an external resistor. The source of the
reference clock should be placed as close as possible with a series resistor near the
source to reduce EMI.
CMOS Input
(Failsafe)
Local I2C Interface Clock.
Reference Ground.
Power Supply
J8
1.8 V Power Supply.
1.1 V Output from Voltage Regulator. This pin must have a 1 µF external capacitor to
GND.
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
5
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
6 Specifications
6.1 Absolute Maximum Ratings
over operating free-air temperature range (unless otherwise noted) (1)
Supply Voltage
Input Voltage
MIN
MAX
UNIT
VCC
–0.3
2.175
V
CMOS Input Terminals
–0.5
2.175
V
DSI Input Terminals (DA x P/N, DB x P/N)
–0.4
1.4
V
–65
105
°C
Storage Temperature Tstg
(1)
Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings
only, which do not imply functional operation of the device at these or any other conditions beyond those indicated under
Recommended Operating Conditions. Exposure to absolute-maximum-rated conditions for extended periods may affect device
reliability.
6.2 EDS Ratings
VALUE
V(ESD)
(1)
(2)
Electrostatic
discharge
Human body model (HBM), per ANSI/ESDA/JEDEC JS-001, all
pins(1)
UNIT
±200
Charged device model (CDM), per JEDEC specification JESD22-C101, all
pins(2)
V
±500
JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process.
JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process.
6.3 Recommended Operating Conditions
over operating free-air temperature range (unless otherwise noted)
VCC
VCC Power supply
VPSN
Supply noise on any VCC pin
TA
Operating free-air temperature
TCASE
Case temperature
VDSI_PIN
DSI input pin voltage range
f(I2C)
Local I2C input frequency
NOM
MAX
UNIT
165
18
195
V
f(noise) > 1MHz
0.05
V
–40
85
°C
92.2
°C
–50
fHS_CLK
DSI HS clock input frequency
tsetup
DSI HS data to clock setup time
thold
DSI HS data to clock hold time; see Figure 6-4
ZL
LVDS output differential impedance
(1)
MIN
1350
mV
400
kHz
500
MHz
40
0.15
UI(1)
0.15
90
132
Ω
The unit interval (UI) is one half of the period of the HS clock; at 500 MHz the minimum setup and hold time is 150 ps.
6.4 Thermal Information
SN65DSI84
THERMAL METRIC(1)
ZXH (nFBGA)
UNIT
64 PINS
RθJA
Junction-to-ambient thermal resistance
55.1
°C/W
RθJC(top)
Junction-to-case (top) thermal resistance
30.6
°C/W
RθJB
Junction-to-board thermal resistance
31.0
°C/W
ψJT
Junction-to-top characterization parameter
0.8
°C/W
ψJB
Junction-to-board characterization parameter
30.8
°C/W
(1)
6
For more information about traditional and new thermal metrics, see the Semiconductor and IC Package Thermal Metrics application
report.
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
6.5 Electrical Characteristics
over operating free-air temperature range (unless otherwise noted)
PARAMETER
VIL
Low-level control signal input voltage
VIH
High-level control signal input voltage
VOH
High-level output voltage
TEST CONDITIONS
MIN
TYP(1)
MAX
0.3 x VCC
IOH = –4 mA
UNIT
V
0.7 x VCC
V
1.25
V
VOL
Low-level output voltage
IOL = 4 mA
0.4
V
ILKG
Input failsafe leakage current
VCC = 0; VCC(PIN) = 1.8 V
±30
μA
IIH
High level input current
Any input terminal
±30
μA
IIL
Low level input current
Any input terminal
±30
μA
IOZ
High-impedance output current
Any output terminal
±10
μA
IOS
Short-circuit output current
Any output driving GND short
±20
mA
ICC
Device active current
see (2)
106
150
mA
IULPS
Device standby current
All data and clock lanes are in ultra-low
power state (ULPS)
7.7
10
mA
IRST
Shutdown current
EN = 0
0.04
0.06
mA
REN
EN control input resistor
200
kΩ
MIPI DSI INTERFACE
VIH-LP
LP receiver input high threshold
See Figure 6-1
VIL-LP
LP receiver input low threshold
See Figure 6-1
|VID|
HS differential input voltage
|VIDT|
HS differential input voltage threshold
VIL-ULPS
LP receiver input low threshold; ultra-low
power state (ULPS)
880
70
VCM-HS
HS common mode voltage; steady-state
ΔVCM-HS
HS common mode peak-to-peak variation
including symbol delta and interference
VIH-HS
HS single-ended input high voltage
See Figure 6-1
VIL-HS
HS single-ended input low voltage
See Figure 6-1
VTERM-EN
HS termination enable; single-ended input Termination is switched simultaneous for
voltage (both Dp AND Dn apply to enable) Dn and Dp
RDIFF-HS
HS mode differential input impedance
mV
550
70
mV
50
mV
300
mV
330
mV
100
mV
460
mV
–40
80
mV
270
mV
450
mV
125
Ω
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
7
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
over operating free-air temperature range (unless otherwise noted)
PARAMETER
TEST CONDITIONS
MIN
TYP(1)
MAX
CSR 0x19.3:2=00 and, or CSR
0x19.1:0=00;
100 Ω near end termination
180
245
313
CSR 0x19.3:2=01 and/or CSR
0x19.1:0=01;
100 Ω near end termination
215
293
372
CSR 0x19.3:2=10 and, or CSR
0x19.1:0=10;
100 Ω near end termination
250
341
430
290
389
488
150
204
261
CSR 0x19.3:2=01 and, or CSR
0x19.1:0=01;
200 Ω near end termination
200
271
346
CSR 0x19.3:2=10 and, or CSR
0x19.1:0=10;
200 Ω near end termination
250
337
428
CSR 0x19.3:2=11 and, or CSR
0x19.1:0=11;
200 Ω near end termination
300
402
511
CSR 0x19.3:2=00 and, or CSR
0x19.1:0=00
100 Ω near end termination
140
191
244
CSR 0x19.3:2=01 and, or CSR
0x19.1:0=01
100 Ω near end termination
168
229
290
CSR 0x19.3:2=10 and, or CSR
0x19.1:0=10
100 Ω near end termination
195
266
335
226
303
381
117
159
204
CSR 0x19.3:2=01 and, or CSR
0x19.1:0=01
200 Ω near end termination
156
211
270
CSR 0x19.3:2=10 and, or CSR
0x19.1:0=10
200 Ω near end termination
195
263
334
CSR 0x19.3:2=11 and, or CSR
0x19.1:0=11
200 Ω near end termination
234
314
399
UNIT
FLATLINK LVDS OUTPUT
CSR 0x19.3:2=11 and/or CSR
0x19.1:0=11;
Steady-state differential output voltage for 100 Ω near end termination
A_Y x P/N and B_Y x P/N
CSR 0x19.3:2=00 and, or CSR
0x19.1:0=00;
200 Ω near end termination
|VOD|
CSR 0x19.3:2=11 and, or CSR
0x19.1:0=11
Steady-state differential output voltage for 100 Ω near end termination
A_CLKP/N and B_CLKP/N
CSR 0x19.3:2=00 and, or CSR
0x19.1:0=00
200 Ω near end termination
Δ|VOD|
VOC(SS)
Steady state common-mode output
voltage(3)
VOC(PP)
Peak-to-peak common-mode output
voltage
RLVDS_DIS
Pull-down resistance for disabled LVDS
outputs
(1)
(2)
8
Change in steady-state differential output
voltage between opposite binary states
mV
mV
RL = 100 Ω
CSR 0x19.6 = 1 and CSR 0x1B.6 = 1;
and, or CSR 0x19.4 = 1 and
CSR 0x1B.4 = 1; see Figure 6-2
CSR 0x19.6 = 0 and, or CSR 0x19.4 = 0;
see Figure 6-2
35
0.8
0.9
mV
1
V
1.15
1.25
see Figure 6-2
1.35
35
1
mV
kΩ
All typical values are at VCC = 1.8 V and TA = 25°C
SN65DSI84: SINGLE Channel DSI to DUAL Channel LVDS, 1440 x 900
a. number of LVDS lanes = 2 x (3 data lanes + 1 CLK lane)
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
b.
c.
d.
e.
(3)
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
number of DSI lanes = 2 data lanes + 1 CLK lane
LVDS CLK OUT = 53.25 M
DSI CLK = 500 M
RGB888, LVDS18bpp
Maximum values are at VCC = 1.95 V and TA = 85°C
Tested at VCC = 1.8 V , TA = –40°C for MIN, TA = 25°C for TYP, TA = 85°C for MAX.
6.6 Switching Characteristics
over operating free-air temperature range (unless otherwise noted)
PARAMETER
TEST CONDITIONS
MIN
TYP(1)
MAX
UNIT
300
ps
40
ns
DSI
tGS
DSI LP glitch suppression pulse width
LVDS
tc
Output clock period
tw
High-level output clock (CLK) pulse
duration
6.49
t0
Delay time, CLK↑ to 1st serial bit
position
t1
Delay time, CLK↑ to 2nd serial bit
position
t2
Delay time, CLK↑ to 3rd serial bit
position
4/7 tc
tc = 6.49ns;
Input clock jitter < 25ps
(REFCLK)
ns
-0.15
0.15
ns
1/7 tc – 0.15
1/7 tc + 0.15
ns
2/7 tc – 0.15
2/7 tc + 0.15
ns
3/7 tc – 0.15
3/7 tc + 0.15
ns
t3
Delay time, CLK↑ to 4th serial bit
position
t4
Delay time, CLK↑ to 5th serial bit
position
4/7 tc – 0.15
4/7 tc + 0.15
ns
t5
Delay time, CLK↑ to 6th serial bit
position
5/7 tc – 0.15
5/7 tc + 0.15
ns
t6
Delay time, CLK↑ to 7th serial bit
position
6/7 tc – 0.15
6/7 tc + 0.15
ns
tr
Differential output rise-time
180
500
ps
tf
Differential output fall-time
See Figure 6-5
EN, ULPS, RESET
ten
Enable time from EN or ULPS
tdis
Disable time to standby
1
treset
Reset time
10
FREFCLK
REFCLK Freqeuncy. Supported
frequencies: 25 MHz-154 MHz
25
154
MHz
tr, tf
REFCLK rise and fall time
100 ps
1ns
s
tpj
REFCLK Peak-to-Peak Phase Jitter
50
ps
Duty
REFCLK Duty Cycle
tc(o) = 12.9 ns
0.1
ms
ms
REFCLK
40%
50%
60%
0.5%
1%
2%
REFCLK or DSI CLK (DACP/N, DBCP/N)
SSC_CLKIN
SSC enabled Input CLK center spread
depth (2)
Modulation Frequency Range
(1)
(2)
30
60
KHz
All typical values are at VCC = 1.8 V and TA = 25°C
For EMI reduction purpose, SN65DSI84 supports the center spreading of the LVDS CLK output through the REFCLK or DSI CLK
input. The center spread CLK input to the REFCLK or DSI CLK is passed through to the LVDS CLK output A_CLKP/N and/or
B_CLKP/N.
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
9
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
1.3V
LP-RX
Input HIGH
VIH-LP
VIL-LP
VIH-HS
VID
LP-RX
Input LOW
VCM-HS(MAX)
HS-RX
Common Mode
Range
VCM-HS(MIN)
GND
VIL-HS
High Speed (HS) Mode
Receiver
Low Power (LP)
Mode Receiver
Figure 6-1. DSI Receiver Voltage Definitions
49.9 ? ± 1% (2 PLCS)
A/B_YnP
VOD
VOC
A/B_YnN
100 %
80%
VOD(H)
0V
VOD(L)
20%
0%
tf
tr
VOC(PP)
VOC(SS)
VOC(SS)
0V
Figure 6-2. Test Load and Voltage Definitions for Flatlink Outputs
ULPS (LP00) State
DSI lane
ten
tdis
A_CLKP/N
(LVDS_CHA_CLK)
A. See the ULPS section of the data sheet for the ULPS entry and exit sequence.
10
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
B. ULPS entry and exit protocol and timing requirements must be met per MIPI® DPHY specification.
Figure 6-3. ULPS Timing Definition
Figure 6-4. DSI HS Mode Receiver Timing Definitions
CLK
t6
t5
t4
t3
t2
t1
t0
Yn
VOD(H)
0.00V
VOD(L)
t0-6
Figure 6-5. SN65DSI84 Flatlink Timing Definitions
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
11
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
7 Detailed Description
7.1 Overview
The SN65DSI84 DSI to FlatLink bridge features a single0channel MIPI D-PHY receiver front-end configuration
with 4 lanes per channel operating at 1 Gbps per lane; a maximum input bandwidth of 4 Gbps. The bridge
decodes MIPI DSI 18bpp RGB666 and 240bpp RG888 packets and converts the formatted video data stream to
a FlatLink compatible LVDS output operating at pixel clocks operating from 25 MHx to 154 MHz, offering a DualLink LVDS, Single-Link LVDS interface with four data lanes per link.
7.2 Functional Block Diagram
AVCC
AGND
DSI PACKET
PROCESSORS
VCC
ULPS
LANE
MERGE
GND
LPRX
DA0P
ERR
PACKET
HEADERS
(ODD )
18
8
HSRX
DA0N
LVDS SERIALIZER
ERR
LONG PACKETS
(EVEN )
18
DATA LANE 0
7-BIT SHIFT
REGISTER
EOT
DA1P
DA1N
DA2P
DA2N
DA3P
DA3N
SOT
DATA LANE 1
(Circuit same as DATA LANE 0)
8
DATA LANE 2
(Circuit same as DATA LANE 0)
8
Timers
32
A_Y0P
A_Y0N
A_Y1P
A_Y1N
A_Y2P
A_Y2N
A_CLKP
A_CLKN
A_Y3P
A_Y3N
BE
SHORT PACKETS
DE
VS
DATA LANE 3
(Circuit same as DATA LANE 0)
HS
8
DSI CHANNEL
MERGING
ULPS
CHANNEL
FORMATTER
PARTIAL
LINE BUFFER
LPRX
DACP
LVDSPLL
PLL
Lock
DACN
HSRX
CLOCK CIRCUITS
CLK LANE
PIXEL CLOCK
SCL
CSR
2
HS Clock Sourced
M /N Pixel Clock
PLL
B_Y0P
B_Y0N
B_Y1P
B_Y1N
B_Y2P
B_Y2N
B_CLKP
B_CLKN
B_Y3P
B_Y3N
LOCAL I C
CSR READ
SDA
IRQ
CSR WRITE
ADDR
Clock Dividers
Reset
SN65DSI84
12
Submit Document Feedback
REFCLK
EN
RSVD1
RSVD2
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
7.3 Feature Description
7.3.1 Clock Configurations and Multipliers
The FlatLink™ LVDS clock may be derived from the DSI channel A clock, or from an external reference clock
source. When the MIPI® D-PHY channel A HS clock is used as the LVDS clock source, the D-PHY clock lane
must operate in HS free-running (continuous) mode; this feature eliminates the need for an external reference
clock reducing system costs
The reference clock source is selected by HS_CLK_SRC (CSR 0x0A.0) programmed through the local I 2C
interface. If an external reference clock is selected, it is multiplied by the factor in REFCLK_MULTIPLIER (CSR
0x0B.1:0) to generate the FlatLink™ LVDS output clock. When an external reference clock is selected, it must be
between 25 MHz and 154 MHz. If the DSI channel A clock is selected, it is divided by the factor in
DSI_CLK_DIVIDER (CSR 0x0B.7:3) to generate the FlatLink™ LVDS output clock. Additionally,
LVDS_CLK_RANGE (CSR 0x0A.3:1) and CH_DSI_CLK_RANGE(CSR 0x12) must be set to the frequency
range of the FlatLink™ LVDS output clock for and DSI Channel A input clock respectively the internal PLL to
operate correctly. After these settings are programmed, PLL_EN (CSR 0x0D.0) must be set to enable the
internal PLL.
7.3.2 ULPS
The SN65DSI84 supports the MIPI defined ultra-low power state (ULPS). While the device is in the ULPS, the
CSR registers are accessible via I2C interface. ULPS sequence should be issued to all active DSI CLK and/or
DSI data lanes of the enabled DSI Channels for the SN65DSI84 enter the ULPS. The Following sequence
should be followed to enter and exit the ULPS.
1. Host issues a ULPS entry sequence to all DSI CLK and data lanes enabled.
2. When host is ready to exit the ULPS mode, host issues a ULPS exit sequence to all DSI CLK and data lanes
that need to be active in normal operation.
3. Wait for a minimum of 3 ms.
4. Set the SOFT_RESET bit (CSR 0x09.0).
5. Device resumes normal operation.(i.e video streaming resumes on the panel).
7.3.3 LVDS Pattern Generation
The SN65DSI84 supports a pattern generation feature on LVDS Channels. This feature can be used to test the
LVDS output path and LVDS panels in a system platform. The pattern generation feature can be enabled by
setting the CHA_TEST_PATTERN bit at address 0x3C. No DSI data is received while the pattern generation
feature is enabled.
There are three modes available for LVDS test pattern generation. The mode of test pattern generation is
determined by register configuration as shown in Table 7-1.
Table 7-1. Video Registers
Addr. bit
Register Name
0x20.7:0
CHA_ACTIVE_LINE_LENGTH_LOW
0x21.3:0
CHA_ACTIVE_LINE_LENGTH_HIGH
0x24.7:0
CHA_VERTICAL_DISPLAY_SIZE_LOW
0x25.3:0
CHA_VERTICAL_DISPLAY_SIZE_HIGH
0x2C.7:0
CHA_HSYNC_PULSE_WIDTH_LOW
0x2D.1:0
CHA_HSYNC_PULSE_WIDTH_HIGH
0x30.7:0
CHA_VSYNC_PULSE_WIDTH_LOW
0x31.1:0
CHA_VSYNC_PULSE_WIDTH_HIGH
0x34.7:0
CHA_HORIZONTAL_BACK_PORCH
0x36.7:0
CHA_VERTICAL_BACK_PORCH
0x38.7:0
CHA_HORIZONTAL_FRONT_PORCH
0x3A.7:0
CHA_VERTICAL_FRONT_PORCH
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
13
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
7.4 Device Functional Modes
7.4.1 Reset Implementation
When EN is de-asserted (low), the SN65DSI84 is in SHUTDOWN or RESET state. In this state, CMOS inputs
are ignored, the MIPI® D-PHY inputs are disabled and outputs are high impedance. It is critical to transition the
EN input from a low to a high level after the VCC supply has reached the minimum operating voltage as shown in
Figure 7-1. This is achieved by a control signal to the EN input, or by an external capacitor connected between
EN and GND.
VCC
1.65V
EN
tVCC
ten
Figure 7-1. Cold Start VCC Ramp up to EN
When implementing the external capacitor, the size of the external capacitor depends on the power up ramp of
the V CC supply, where a slower ramp-up results in a larger value external capacitor. See the latest reference
schematic for the SN65DSI84 device and, or consider approximately 200 nF capacitor as a reasonable first
estimate for the size of the external capacitor.
Both EN implementations are shown in Figure 7-2 and Figure 7-3.
VCC
GPO
EN
EN
C
REN =200 kΩ
C
controller
SN65DSI84
Figure 7-2. External Capacitor Controlled EN
SN65DSI84
Figure 7-3. EN Input From Active Controller
7.4.2
When the SN65DSI84 is reset while V CC is high, the EN pin must be held low for at least 10 ms before being
asserted high as described in Table 7-2 to be sure that the device is properly reset. The DSI CLK lane MUST be
in HS and the DSI data lanes MUST be driven to LP11 while the device is in reset before the EN pin is asserted
per the timing described in Table 7-2.
7.4.3 Initialization Sequence
Use the following initialization sequence to setup the SN65DSI84. This sequence is required for proper operation
of the device. Steps 9 through 11 in the sequence are optional.
Also see to Figure 7-1.
14
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Table 7-2. Initialization Sequence
INITIALIZATION
SEQUENCE
NUMBER
INITIALIZATION SEQUENCE DESCRIPTION
Init seq 1
Power on
Init seq 2
After power is applied and stable, the DSI CLK lanes MUST be in HS state and the DSI data lanes MUST be driven
to LP11 state
Init seq 3
Set EN pin to Low
Wait 10 ms (1)
Init seq 4
Tie EN pin to High
Wait 10 ms (1)
Init seq 5
Initialize all CSR registers to their appropriate values based on the implementation (The SN65DSI8x is not
functional until the CSR registers are initialized)
Init seq 6
Set the PLL_EN bit (CSR 0x0D.0)
Wait 10 ms
(1)
Init seq 7
Set the SOFT_RESET bit (CSR 0x09.0)
Wait 10 ms
(1)
Init seq 8
Wait 5 ms
Change DSI data lanes to HS state and start DSI video stream
(1)
Init seq 9
Read back all resisters and confirm they were correctly written
Init seq 10
Write 0xFF to CSR 0xE5 to clear the error registers
Wait 1 ms (1)
Init seq 11
(1)
Read CSR 0xE5. If CSR 0xE5!= 0x00, then go back to step #2 and re-initialize
Minimum recommended delay. It is fine to exceed these.
7.4.4 LVDS Output Formats
The SN65DSI84 processes DSI packets and produces video data driven to the FlatLink™ LVDS interface in an
industry standard format. Single-Link LVDS and Dual-Link LVDS are supported by the SN65DSI84; when the
FlatLink™ output is implemented in a Dual-Link configuration, channel A carries the odd pixel data, and channel
B carries the even pixel data. During conditions such as the default condition, and some video synchronization
periods, where no video stream data is passing from the DSI input to the LVDS output, the SN65DSI84 transmits
zero value pixel data on the LVDS outputs while maintaining transmission of the vertical sync and horizontal
sync status.
Figure 7-4 illustrates a Single-Link LVDS 18bpp application.
Figure 7-5 illustrates a Dual-Link 24 bpp application using Format 2, controlled by CHA_24BPP_FORMAT1
(CSR 0x18.1) and CHB_24BPP_FORMAT1 (CSR 0x18.0). In data Format 2, the two MSB per color are
transferred on the Y3P/N LVDS lane.
Figure 7-6 illustrates a 24 bpp Single-Link application using Format 1. In data Format 1, the two LSB per color
are transferred on the Y3P/N LVDS lane.
Figure 7-7 illustrates a Single-Link LVDS application where 24 bpp data is received from DSI and converted to
18 bpp data for transmission to an 18 bpp panel. This application is configured by setting
CHA_24BPP_FORMAT1 (CSR 0x18.1) to ‘1’ and CHA_24BPP_MODE (CSR 0x18.3) to ‘0’. In this configuration,
the SN65DSI84 will not transmit the 2 LSB per color since the Y3P/N LVDS lane is disabled.
Note
Note: Figure 7-4, Figure 7-5, Figure 7-6, and Figure 7-7 only illustrate a few example applications for
the SN65DSI84. Other applications are also supported.
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
15
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
A_CLKP/N
B_CLKP/N
cycle ‘n-1’
cycle ‘n’
A_Y0P/N
G0
R5
R4
R3
R2
R1
R0
A_Y1P/N
B1
B0
G5
G4
G3
G2
G1
A_Y2P/N
DE
VS
HS
B5
B4
B3
B2
A_Y3P/N
B_YxP/N
DE = Data Enable; Channel B Clock, Channel B Data, and A_Y3P/N are Output Low
Figure 7-4. Flatlink Output Data; Single-Link 18 Bpp
A_CLKP/N
B_CLKP/N
cycle ‘n-1’
cycle ‘n’
A_Y0P/N
G0
(o)
R5
(o)
R4
(o)
R3
(o)
R2
(o)
R1
(o)
R0
(o)
A_Y1P/N
B1
(o)
B0
(o)
G5
(o)
G4
(o)
G3
(o)
G2
(o)
G1
(o)
A_Y2P/N
DE
(o)
VS
(o)
HS
(o)
B5
(o)
B4
(o)
B3
(o)
B2
(o)
A_Y3P/N
0
(o)
B7
(o)
B6
(o)
G7
(o)
G6
(o)
R7
(o)
R6
(o)
B_Y0P/N
G0
(e)
R5
(e)
R4
(e)
R3
(e)
R2
(e)
R1
(e)
R0
(e)
B_Y1P/N
B1
(e)
B0
(e)
G5
(e)
G4
(e)
G3
(e)
G2
(e)
G1
(e)
B_Y2P/N
DE
(e)
VS
(e)
HS
(e)
B5
(e)
B4
(e)
B3
(e)
B2
(e)
B_Y3P/N
0
(e)
B7
(e)
B6
(e)
G7
(e)
G6
(e)
R7
(e)
R6
(e)
DE = Data Enable; (o) = Odd Pixels; (e) = Even Pixels
Figure 7-5. Flatlink Output Data (Format 2); Dual-Link 24 Bpp
A_CLKP/N
B_CLKP/N
cycle ‘n-1’
cycle ‘n’
A_Y0P/N
G2
R7
R6
R5
R4
R3
R2
A_Y1P/N
B3
B2
G7
G6
G5
G4
G3
A_Y2P/N
DE
VS
HS
B7
B6
B5
B4
A_Y3P/N
0
B1
B0
G1
G0
R1
R0
B_YxP/N
DE = Data Enable; Channel B Clock and Data are Output Low
Figure 7-6. Flatlink Output Data (Format 1); Single-Link 24 Bpp
16
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
A_CLKP/N
B_CLKP/N
cycle ‘n-1’
cycle ‘n’
A_Y0P/N
G2
R7
R6
R5
R4
R3
R2
A_Y1P/N
B3
B2
G7
G6
G5
G4
G3
A_Y2P/N
DE
VS
HS
B7
B6
B5
B4
A_Y3P/N
B_YxP/N
DE = Data Enable; Channel B Clock, Channel B Data, and A_Y3P/N a re Output Low; Channel B Clock, Channel B Data, and A_Y3P/N
are Output Low
Figure 7-7. Flatlink Output Data (Format 1); 24-Bpp to Single-Link 18-Bpp Conversion
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
17
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
7.4.5 DSI Lane Merging
The SN65DSI84 supports four DSI data lanes per input channel, and may be configured to support one, two, or
three DSI data lanes per channel. Unused DSI input pins on the SN65DSI84 should be left unconnected or
driven to LP11 state. The bytes received from the data lanes are merged in HS mode to form packets that carry
the video stream. DSI data lanes are bit and byte aligned.
Figure 7-8 illustrates the lane merging function for each channel; 4-Lane, 3-Lane, and 2-Lane modes are
illustrated
HS BYTES TRANSMITTED (n) IS INTEGER MULTIPLE OF 3
HS BYTES TRANSMITTED (n) IS INTEGER MULTIPLE OF 4
LANE 0
SOT
BYTE 0
BYTE 4
BYTE 8
BYTE n-4
EOT
LANE 0
SOT
BYTE 0
BYTE 3
BYTE 6
BYTE n-3
EOT
LANE 1
SOT
BYTE 1
BYTE 5
BYTE 9
BYTE n-3
EOT
LANE 1
SOT
BYTE 1
BYTE 4
BYTE 7
BYTE n-2
EOT
LANE 2
SOT
BYTE 2
BYTE 6
BYTE 10
BYTE n-2
EOT
LANE 2
SOT
BYTE 2
BYTE 5
BYTE 8
BYTE n-1
EOT
LANE 3
SOT
BYTE 3
BYTE 7
BYTE 11
BYTE n-1
EOT
HS BYTES TRANSMITTED (n) IS 1 LESS THAN INTEGER MULTIPLE OF 3
HS BYTES TRANSMITTED (n) IS 1 LESS THAN INTEGER MULTIPLE OF 4
LANE 0
SOT
BYTE 0
BYTE 4
BYTE 8
BYTE n-3
EOT
LANE 1
SOT
BYTE 1
BYTE 5
BYTE 9
BYTE n-2
EOT
LANE 2
SOT
BYTE 2
BYTE 6
BYTE 10
BYTE n-1
EOT
LANE 3
SOT
BYTE 3
BYTE 7
BYTE 11
EOT
SOT
BYTE 0
BYTE 4
BYTE 8
BYTE n-2
LANE 1
SOT
BYTE 1
BYTE 5
BYTE 9
BYTE n-1
LANE 2
SOT
BYTE 2
BYTE 6
BYTE 10
EOT
LANE 3
SOT
BYTE 3
BYTE 7
BYTE 11
EOT
SOT
BYTE 0
BYTE 3
BYTE 6
BYTE n-2
EOT
LANE 1
SOT
BYTE 1
BYTE 4
BYTE 7
BYTE n-1
EOT
LANE 2
SOT
BYTE 2
BYTE 5
BYTE 8
EOT
HS BYTES TRANSMITTED (n) IS 2 LESS THAN INTEGER MULTIPLE OF 3
HS BYTES TRANSMITTED (n) IS 2 LESS THAN INTEGER MULTIPLE OF 4
LANE 0
LANE 0
SOT
BYTE 0
BYTE 3
BYTE 6
LANE 1
SOT
BYTE 1
BYTE 4
BYTE 7
EOT
LANE 2
SOT
BYTE 2
BYTE 5
BYTE 8
EOT
LANE 0
LANE 0
SOT
BYTE 0
BYTE 4
BYTE 8
BYTE n-1
SOT
BYTE 1
BYTE 5
BYTE 9
EOT
LANE 2
SOT
BYTE 2
BYTE 6
BYTE 10
EOT
LANE 3
SOT
BYTE 3
BYTE 7
BYTE 11
EOT
4 DSI Data Lane Configuration (default)
EOT
EOT
EOT
3 DSI Data Lane Configuration
HS BYTES TRANSMITTED (n) IS INTEGER MULTIPLE OF 2
HS BYTES TRANSMITTED (n) IS 3 LESS THAN INTEGER MULTIPLE OF 4
LANE 1
BYTE n-1
EOT
LANE 0
SOT
BYTE 0
BYTE 2
BYTE 4
BYTE n-2
EOT
LANE 1
SOT
BYTE 1
BYTE 3
BYTE 5
BYTE n-1
EOT
HS BYTES TRANSMITTED (n) IS 1 LESS THAN INTEGER MULTIPLE OF 2
LANE 0
SOT
BYTE 0
BYTE 2
BYTE 4
BYTE n-1
LANE 1
SOT
BYTE 1
BYTE 3
BYTE 5
EOT
EOT
2 DSI Data Lane Configuration
Figure 7-8. SN65DSI84 DSI Lane Merging Illustration
7.4.6 DSI Pixel Stream Packets
The SN65DSI84 processes 18bpp (RGB666) and 24 bpp (RGB888) DSI packets on each channel as shown in
Figure 7-9, Figure 7-10, andFigure 7-11.
18
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
2 Bytes
DATA TYPE (0x2E)
VIRTUAL CHANNEL
1 Byte
1 Byte
WORD COUNT
WORD COUNT Bytes
18 bpp Loosely Packed Pixel Stream
ECC
CRC CHECKSUM
(Variable Size Payload)
Packet Payload
Packet Header
1 Byte
01
2 Bytes
1 Byte
1 Byte
1 Byte
1 Byte
Packet Footer
1 Byte
1 Byte
1 Byte
1 Byte
2
7
2
7
2
7
2
7
2
7
2
7
2
7
2
7
2
7
R0
R5
G0
G5
B0
B5
R0
R5
G0
G5
B0
B5
R0
R5
G0
G5
B0
B5
6-bits
RED
6-bits
GREEN
6-bits
BLUE
6-bits
RED
First Pixel in Packet
6-bits
GREEN
6-bits
BLUE
6-bits
RED
Second Pixel in Packet
6-bits
GREEN
6-bits
BLUE
Third Pixel in Packet
Variable Size Payload (Three Pixels Per Nine Bytes of Payload)
Figure 7-9. 18 Bpp (Loosely Packed) DSI Packet Structure
2 Bytes
DATA TYPE (0x1E)
VIRTUAL CHANNEL
1 Byte
1 Byte
WORD COUNT
WORD COUNT Bytes
18 bpp Packed Pixel Stream
ECC
0
R0
Packet Payload
5
1 Byte
6 7 0
R5 G0
6-bits
RED
CRC CHECKSUM
(Variable Size Payload)
Packet Header
1 Byte
2 Bytes
3
4
G5 B 0
6-bits
GREEN
1 Byte
7 01
2
7
B 5 R0
6-bits
BLUE
1 Byte
0
5
R5 G0
6-bits
RED
First Pixel in Packet
1 Byte
6 7 0
G5 B 0
6-bits
GREEN
Second Pixel in Packet
3
4
B 5 R0
6-bits
BLUE
Packet Footer
1 Byte
7 01
2
7
R5 G0
6-bits
RED
1 Byte
0
G5 B 0
6-bits
GREEN
Third Pixel in Packet
5
1 Byte
6 7 0
B 5 R0
6-bits
BLUE
3
4
7 01
R5 G0
6-bits
RED
1 Byte
2
G5 B 0
6-bits
GREEN
7
B5
6-bits
BLUE
Fourth Pixel in Packet
Variable Size Payload (Four Pixels Per Nine Bytes of Payload)
Figure 7-10. 18-Bpp (Tightly Packed) DSI Packet Structure
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
19
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
2 Bytes
VIRTUAL CHANNEL
DATA TYPE (0x3E)
1 Byte
1 Byte
WORD COUNT
WORD COUNT Bytes
24 bpp Packed Pixel Stream
ECC
CRC CHECKSUM
(Variable Size Payload)
Packet Payload
Packet Header
1 Byte
1 Byte
0
7
0
R0
R7
G0
8-bits
RED
2 Bytes
1 Byte
7
0
7
G 7 B0
8-bits
GREEN
1 Byte
B7
8-bits
BLUE
1 Byte
0
7
0
R0
R7
G0
8-bits
RED
First Pixel in Packet
Packet Footer
1 Byte
7
0
7
G 7 B0
8-bits
GREEN
1 Byte
B7
0
7
R0
8-bits
BLUE
1 Byte
R7
8-bits
RED
Second Pixel in Packet
1 Byte
0
7
G0
G7 B 0
0
8-bits
GREEN
7
B7
8-bits
BLUE
Third Pixel in Packet
Variable Size Payload (Three Pixels Per Nine Bytes of Payload)
Figure 7-11. 24-Bpp DSI Packet Structure
7.4.7 DSI Video Transmission Specifications
The SN65DSI84 supports burst video mode and non-burst video mode with sync events or with sync pulses
packet transmission as described in the DSI specification. The burst mode supports time-compressed pixel
stream packets that leave added time per scan line for power savings LP mode. The SN65DSI84 requires a
transition to LP mode once per frame to enable PHY synchronization with the DSI host processor; however, for a
robust and low-power implementation, the transition to LP mode is recommended on every video line.
Figure 7-12 illustrates the DSI video transmission applied to SN65DSI84 applications. In all applications, the
LVDS output rate must be less than or equal to the DSI input rate. The first line of a video frame shall start with a
VSS packet, and all other lines start with VSE or HSS. The position of the synchronization packets in time is of
utmost importance since this has a direct impact on the visual performance of the display panel; that is, these
packets generate the HS and VS (horizontal and vertical sync) signals on the LVDS interface after the delay
programmed into CHA_SYNC_DELAY_LOW/HIGH (CSR 0x28.7:0 and 0x29.3:0).
As required in the DSI specification, the SN65DSI84 requires that pixel stream packets contain an integer
number of pixels (i.e. end on a pixel boundary); it is recommended to transmit an entire scan line on one pixel
stream packet. When a scan line is broken in to multiple packets, inter-packet latency shall be considered such
that the video pipeline (ie. pixel queue or partial line buffer) does not run empty (i.e. under-run); during scan line
processing, if the pixel queue runs empty, the SN65DSI84 transmits zero data (18’b0 or 24’b0) on the LVDS
interface.
Note
When the HS clock is used as a source for the LVDS pixel clock, the LP mode transitions apply only to
the data lanes, and the DSI clock lane remains in the HS mode during the entire video transmission.
The DSI84 does not support the DSI Virtual Channel capability or reverse direction (peripheral to
processor) transmissions.
20
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
One Video Frame
Vertical sync / blanking
RGB
NOP/
LP
Active Lines
NOP/
LP
t LINE
...
HSS
NOP/ ...
LP
RGB
t LINE
HSS
NOP/
LP
t LINE
HSS
NOP/
LP
...
NOP/
LP
NOP/
LP
t LINE
HSS
NOP/
LP
t LINE
HSS
DSI
Channel A
t LINE
HSS
VSS
t LINE
NOP/
LP
Vertical sync / blanking
* VSS and HSS packets are required for DSI Channel B, although LVDS video sync signals are derived from DSI Channel A VSS and HSS packets
Vertical Blanking Period LVDS Transfer Function
t W (HS )
NOP/
LP
DSI
Channel(s)
NOP/
LP
RGB
...
t W(HS)
HS (1)
HS (1)
t PD
HS (1)
t PD
VS (2)
VS (2)
VS
DE (3)
DE (3)
DE (3)
DATA
NOP/
LP
DSI
Channel A
HSS
NOP/
LP
HSS
t LINE
t LINE
HSS
DSI
Channel A
VSS
t LINE
Active Video Line LVDS Transfer Function
0x000
DATA
0x000
DATA
(1) The assertion of HS is delayed (t PD) by a programmable number of pixel clocks from the
last bit of VSS/HSS packet received on DSI. The HS pulse width (tW(HS) ) is also programmable.
The illustration shows HS active low.
(2) VS is signaled for a programmable number of lines (tLINE ) and is asserted when HS is
asserted for the first line of the frame . VS is de -asserted when HS is asserted after the
number of lines programmed has been reached. The illustration shows VS active low
(2)
0x000
PixelStream Data
0x000 (4)
LEGEND
VSS
DSI Sync Event Packet: V Sync Start
HSS
DSI Sync Event Packet: H Sync Start
RGB
A sequence of DSI Pixel Stream Packets
and Null Packets
NOP/LP
DSI Null Packet , Blanking Packet , or a
transition to LP Mode
(3) DE is asserted when active pixel data is transmitted on LVDS , and polarity is set
independent to HS/VS. The illustration shows DE active high
(4) After the last pixel in an active line is output to LVDS, the LVDS data is output zero
Figure 7-12. DSI Channel Transmission and Transfer Function
7.4.8 Operating Modes
The SN65DSI84 can be configured for several different operating modes via LVDS_LINK_CFG (CSR 0x18.4),
LEFT_RIGHT_PIXELS (CSR 0x10.7), and DSI_CHANNEL_MODE (CSR 0x10.6:5). These modes are
summarized in Table 7-3. In each of the modes, video data can be 18 bpp or 24 bpp.
Table 7-3. SN65DSI84 Operating Modes
MODE
CSR 0x18.4
DESCRIPTION
LVDS_LINK_CFG
Single DSI Input to Single-Link LVDS
1
Single DSI Input on Channel A to Single-Link LVDS output on Channel A.
Single DSI Input to Dual-Link LVDS
0
Single DSI Input on Channel A to Dual-Link LVDS output with Odd pixels on
Channel A and Even pixels on Channel B.
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
21
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
7.5 Programming
7.5.1 Local I2C Interface Overview
The SN65DSI84 local I 2C interface is enabled when EN is input high, access to the CSR registers is supported
during ultra-low power state (ULPS). The SCL and SDA terminals are used for I 2C clock and I 2C data
respectively. The SN65DSI84 I 2C interface conforms to the two-wire serial interface defined by the I 2C Bus
Specification, Version 2.1 (January 2000), and supports fast mode transfers up to 400 kbps.
The device address byte is the first byte received following the START condition from the master device. The 7
bit device address for SN65DSI84 is factory preset to 010110X with the least significant bit being determined by
the ADDR control input. Table 7-4 clarifies the SN65DSI84 target address.
Table 7-4. SN65DSI84 I2C Target Address Description (1) (2)
SN65DSI84 I2C TARGET ADDRESS
BIT 7 (MSB)
0
(1)
(2)
BIT 6
BIT 5
1
BIT 4
0
BIT 3
1
BIT 2
1
BIT 1
0
ADDR
BIT 0 (W/R)
0/1
When ADDR=1, Address Cycle is 0x5A (Write) and 0x5B (Read)
When ADDR=0, Address Cycle is 0x58 (Write) and 0x59 (Read)
The following procedure is followed to write to the SN65DSI84 I2C registers.
1. The master initiates a write operation by generating a start condition (S), followed by the SN65DSI84 7-bit
address and a zero-value “W/R” bit to indicate a write cycle.
2. The SN65DSI84 acknowledges the address cycle.
3. The master presents the sub-address (I2C register within SN65DSI84) to be written, consisting of one byte of
data, MSB-first.
4. The SN65DSI84 acknowledges the sub-address cycle.
5. The master presents the first byte of data to be written to the I2C register.
6. The SN65DSI84 acknowledges the byte transfer.
7. The master may continue presenting additional bytes of data to be written, with each byte transfer completing
with an acknowledge from the SN65DSI84.
8. The master terminates the write operation by generating a stop condition (P).
The following procedure is followed to read the SN65DSI84 I2C registers:
1. The master initiates a read operation by generating a start condition (S), followed by the SN65DSI84 7-bit
address and a one-value “W/R” bit to indicate a read cycle.
2. The SN65DSI84 acknowledges the address cycle.
3. The SN65DSI84 transmit the contents of the memory registers MSB-first starting at register 00h. If a write to
the SN65DSI84 I2C register occurred prior to the read, then the SN65DSI84 will start at the sub-address
specified in the write.
4. The SN65DSI84 will wait for either an acknowledge (ACK) or a not-acknowledge (NACK) from the master
after each byte transfer; the I2C master acknowledges reception of each data byte transfer.
5. If an ACK is received, the SN65DSI84 transmits the next byte of data.
6. The master terminates the read operation by generating a stop condition (P).
The following procedure is followed for setting a starting sub-address for I2C reads:
1. The master initiates a write operation by generating a start condition (S), followed by the SN65DSI84 7-bit
address and a zero-value “W/R” bit to indicate a write cycle
2. The SN65DSI84 acknowledges the address cycle.
3. The master presents the sub-address (I2C register within SN65DSI84) to be written, consisting of one byte of
data, MSB-first.
4. The SN65DSI84 acknowledges the sub-address cycle.
5. The master terminates the write operation by generating a stop condition (P).
22
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
7.6 Register Maps
7.6.1 Control and Status Registers Overview
Many of the SN65DSI84 functions are controlled by the Control and Status Registers (CSR). All CSR registers
are accessible through the local I2C interface.
See the following tables for the SN65DSI84 CSR descriptions. Reserved or undefined bit fields should not be
modified. Otherwise, the device may operate incorrectly.
Table 7-5. CSR Bit Field Definitions – ID Registers
ADDRESS
BIT(S)
0x00 – 0x08
7:0
(1)
DESCRIPTION
Reserved
Addresses 0x08 - 0x00 = {0x01, 0x20, 0x20, 0x20, 0x44, 0x53, 0x49, 0x38,
0x35}
DEFAULT
ACCESS(1)
Reserved
RO
RO = Read Only; RW = Read/Write; RW1C = Read/Write ‘1’ to Clear; WO = Write Only (reads return undetermined values)
Table 7-6. CSR Bit Field Definitions – Reset and Clock Registers
ADDRESS
0x09
0x0A
DEFAULT
ACCESS (1)
0
SOFT_RESET
This bit automatically clears when set to ‘1’ and returns zeros when read.
This bit must be set after the CSR’s are updated. This bit must also be set
after making any changes to the DIS clock rate or after changing between
DSI burst and non-burst modes.
0 – No action (default)
1 – Reset device to default condition excluding the CSR bits.
0
WO
7
PLL_EN_STAT
0 – PLL not enabled (default)
1 – PLL enabled
Note: After PLL_EN_STAT = 1, wait at least 3ms for PLL to lock.
0
RO
3:1
LVDS_CLK_RANGE
This field selects the frequency range of the LVDS output clock.
000 – 25 MHz ≤ LVDS_CLK < 37.5 MHz
001 – 37.5 MHz ≤ LVDS_CLK < 62.5 MHz
010 – 62.5 MHz ≤ LVDS_CLK < 87.5 MHz
011 – 87.5 MHz ≤ LVDS_CLK < 112.5 MHz
100 – 112.5 MHz ≤ LVDS_CLK < 137.5 MHz
101 – 137.5 MHz ≤ LVDS_CLK ≤ 154 MHz (default)
110 – Reserved
111 – Reserved
101
RW
0
RW
BIT(S)
0
DESCRIPTION
HS_CLK_SRC
0 – LVDS pixel clock derived from input REFCLK (default)
1 – LVDS pixel clock derived from MIPI D-PHY channel A HS continuous
clock
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
23
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Table 7-6. CSR Bit Field Definitions – Reset and Clock Registers (continued)
ADDRESS
BIT(S)
(1)
DEFAULT
ACCESS (1)
00000
RW
7:3
DSI_CLK_DIVIDER
When CSR 0x0A.0 = ‘1’, this field controls the divider used to generate the
LVDS output clock from the MIPI D-PHY Channel A HS continuous clock.
When CSR 0x0A.0 = ‘0’, this field must be programmed to 00000.
00000 – LVDS clock = source clock (default)
00001 – Divide by 2
00010 – Divide by 3
00011 – Divide by 4
•
•
•
10111 – Divide by 24
11000 – Divide by 25
11001 through 11111 – Reserved
1:0
REFCLK_MULTIPLIER
When CSR 0x0A.0 = ‘0’, this field controls the multiplier used to generate the
LVDS output clock from the input REFCLK. When CSR 0x0A.0 = ‘1’, this field
must be programmed to 00.
00 – LVDS clock = source clock (default)
01 – Multiply by 2
10 – Multiply by 3
11 – Multiply by 4
00
RW
0
PLL_EN
When this bit is set, the PLL is enabled with the settings programmed into
CSR 0x0A and CSR 0x0B. The PLL should be disabled before changing any
of the settings in CSR 0x0A and CSR 0x0B. The input clock source must be
active and stable before the PLL is enabled.
0 – PLL disabled (default)
1 – PLL enabled
0
RW
0x0B
0x0D
DESCRIPTION
RO = Read Only; RW = Read/Write; RW1C = Read/Write ‘1’ to Clear; WO = Write Only (reads return undetermined values)
Table 7-7. CSR Bit Field Definitions – DSI Registers
ADDRESS
0x10
BIT(S)
DEFAULT
ACCESS (1)
7
Reserved - Do not write to this field. Must remain at default.
0
RW
6:5
Reserved - Do not write to this field. Must remain at default.
01
RW
4:3
CHA_DSI_LANES
This field controls the number of lanes that are enabled for DSI Channel A.
00 – Four lanes are enabled
01 – Three lanes are enabled
10 – Two lanes are enabled
11 – One lane is enabled (default)
Note: Unused DSI input pins on the SN65DSI84 should be left unconnected.
11
RW
SOT_ERR_TOL_DIS
0 – Single bit errors are tolerated for the start of transaction SoT leader
sequence (default)
1 – No SoT bit errors are tolerated
0
RW
7:6
CHA_DSI_DATA_EQ
This field controls the equalization for the DSI Channel A Data Lanes
00 – No equalization (default)
01 – 1 dB equalization
10 – Reserved
11 – 2 dB equalization
00
RW
3:2
CHA_DSI_CLK_EQ
This field controls the equalization for the DSI Channel A Clock
00 – No equalization (default)
01 – 1 dB equalization
10 – Reserved
11 – 2 dB equalization
00
RW
0
0x11
24
DESCRIPTION
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Table 7-7. CSR Bit Field Definitions – DSI Registers (continued)
ADDRESS
0x12
(1)
BIT(S)
7:0
DESCRIPTION
CHA_DSI_CLK_RANGE
This field specifies the DSI Clock frequency range in 5 MHz increments for
the DSI Channel A Clock
0x00 through 0x07 – Reserved
0x08 – 40 ≤ frequency < 45 MHz
0x09 – 45 ≤ frequency < 50 MHz
•
•
•
0x63 – 495 ≤ frequency < 500 MHz
0x64 – 500 MHz
0x65 through 0xFF – Reserved
DEFAULT
ACCESS (1)
0
RW
RO = Read Only; RW = Read/Write; RW1C = Read/Write ‘1’ to Clear; WO = Write Only (reads return undetermined values)
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
25
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Table 7-8. CSR Bit Field Definitions – LVDS Registers
ADDRESS
BIT(S)
DESCRIPTION
DEFAULT
ACCESS (1)
7
DE_NEG_POLARITY
0 – DE is positive polarity driven ‘1’ during active pixel transmission on LVDS
(default)
1 – DE is negative polarity driven ‘0’ during active pixel transmission on
LVDS
0
RW
6
HS_NEG_POLARITY
0 – HS is positive polarity driven ‘1’ during corresponding sync conditions
1 – HS is negative polarity driven ‘0’ during corresponding sync (default)
1
RW
5
VS_NEG_POLARITY
0 – VS is positive polarity driven ‘1’ during corresponding sync conditions
1 – VS is negative polarity driven ‘0’ during corresponding sync (default)
1
RW
1
RW
LVDS_LINK_CFG
0 – LVDS Channel A and Channel B outputs enabled
4
When CSR 0x10.6:5 = ’00’ or ‘01’, the LVDS is in Dual-Link
configuration
When CSR 0x10.6:5 = ‘10’, the LVDS is in two Single-Link
configuration
1 – LVDS Single-Link configuration; Channel A output enabled and Channel
B output disabled (default)
0x18
26
3
CHA_24BPP_MODE
0 – Force 18bpp; LVDS channel A lane 4 (A_Y3P/N) is disabled (default)
1 – Force 24bpp; LVDS channel A lane 4 (B_Y3P/N) is enabled
0
RW
2
CHB_24BPP_MODE
0 – Force 18bpp; LVDS channel B lane 4 (A_Y3P/N) is disabled (default)
1 – Force 24bpp; LVDS channel B lane 4 (B_Y3P/N) is enabled
0
RW
1
CHA_24BPP_FORMAT1
This field selects the 24bpp data format
0 – LVDS channel A lane A_Y3P/N transmits the 2 most significant bits
(MSB) per color; Format 2 (default)
1 – LVDS channel B lane A_Y3P/N transmits the 2 least significant bits
(LSB) per color; Format 1
Note1: This field must be ‘0’ when 18bpp data is received from DSI.
Note2: If this field is set to ‘1’ and CHA_24BPP_MODE is ‘0’, the SN65DSI84
will convert 24bpp data to 18bpp data for transmission to an 18bpp panel. In
this configuration, the SN65DSI84 will not transmit the 2 LSB per color on
LVDS channel A, since LVDS channel A lane A_Y3P/N is disabled.
0
RW
0
CHB_24BPP_FORMAT1
This field selects the 24bpp data format
0 – LVDS channel B lane B_Y3P/N transmits the 2 most significant bits
(MSB) per color; Format 2 (default)
1 – LVDS channel B lane B_Y3P/N transmits the 2 least significant bits
(LSB) per color; Format 1
Note1: This field must be ‘0’ when 18bpp data is received from DSI.
Note2: If this field is set to ‘1’ and CHB_24BPP_MODE is ‘0’, the SN65DSI84
will convert 24bpp data to 18bpp data for transmission to an 18bpp panel. In
this configuration, the SN65DSI84 will not transmit the 2 LSB per color on
LVDS channel B, since LVDS channel B lane B_Y3P/Nis disabled.
0
RW
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Table 7-8. CSR Bit Field Definitions – LVDS Registers (continued)
ADDRESS
DEFAULT
ACCESS (1)
6
CHA_LVDS_VOCM
This field controls the common mode output voltage for LVDS Channel A
0 – 1.2V (default)
1 – 0.9V (CSR 0x1B.5:4 CHA_LVDS_CM_ADJUST must be set to ‘01b’)
0
RW
4
CHB_LVDS_VOCM
This field controls the common mode output voltage for LVDS Channel B
0 – 1.2V (default)
1 – 0.9V (CSR 0x1B.1:0 CHB_LVDS_CM_ADJUST must be set to ‘01b’)
0
RW
3:2
CHA_LVDS_VOD_SWING
This field controls the differential output voltage for LVDS Channel A. See
the Electrical Characteristics table for |VOD| for each setting:
00, 01 (default), 10, 11.
01
RW
1:0
CHB_LVDS_VOD_SWING
This field controls the differential output voltage for LVDS Channel B. See
the Electrical Characteristics table for |VOD| for each setting:
00, 01 (default), 10, 11.
01
RW
BIT(S)
0x19
DESCRIPTION
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
27
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Table 7-8. CSR Bit Field Definitions – LVDS Registers (continued)
ADDRESS
DEFAULT
ACCESS (1)
0
RW
0
RW
0
RW
1
CHA_LVDS_TERM
This bit controls the near end differential termination for LVDS Channel A.
This bit also affects the output voltage for LVDS Channel A.
0 – 100Ω differential termination
1 – 200Ω differential termination (default)
1
RW
0
CHB_LVDS_TERM
This bit controls the near end differential termination for LVDS Channel B.
This bit also affects the output voltage for LVDS Channel B.
0 – 100Ω differential termination
1 – 200Ω differential termination (default)
1
RW
BIT(S)
6
DESCRIPTION
EVEN_ODD_SWAP
0 – Odd pixels routed to LVDS Channel A and Even pixels routed to LVDS
Channel B (default)
1 – Odd pixels routed to LVDS Channel B and Even pixels routed to LVDS
Channel A
Note: When the SN65DSI84 is in two stream mode (CSR 0x10.6:5 = ‘10’),
setting this bit to ‘1’ will cause the video stream from DSI Channel A to be
routed to LVDS Channel B and the video stream from DSI Channel B to be
routed to LVDS Channel A.
CHA_REVERSE_LVDS
This bit controls the order of the LVDS pins for Channel A.
0 – Normal LVDS Channel A pin order. LVDS Channel A pin order is the
same as listed in the Terminal Assignments Section. (default)
5
1 – Reversed LVDS Channel A pin order. LVDS Channel A
pin order is remapped as follows:
• A_Y0P → A_Y3P
• A_Y0N → A_Y3N
• A_Y1P → A_CLKP
• A_Y1N → A_CLKN
• A_Y2P → A_Y2P
• A_Y2N → A_Y2N
• A_CLKP → A_Y1P
• A_CLKN → A_Y1N
• A_Y3P → A_Y0P
• A_Y3N → A_Y0N
CHB_REVERSE_LVDS
This bit controls the order of the LVDS pins for Channel B.
0 – Normal LVDS Channel B pin order. LVDS Channel B pin order is the
same as listed in the Terminal Assignments Section. (default)
0x1A
1 – Reversed LVDS Channel B pin order. LVDS Channel B
pin order is remapped as follows:
• B_Y0P → B_Y3P
• B_Y0N → B_Y3N
4
28
•
•
•
•
•
•
•
•
B_Y1P → B_CLKP
B_Y1N → B_CLKN
B_Y2P → B_Y2P
B_Y2N → B_Y2N
B_CLKP → B_Y1P
B_CLKN → B_Y1N
B_Y3P → B_Y0P
B_Y3N → B_Y0N
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Table 7-8. CSR Bit Field Definitions – LVDS Registers (continued)
ADDRESS
DEFAULT
ACCESS (1)
5:4
CHA_LVDS_CM_ADJUST
This field can be used to adjust the common mode output voltage for LVDS
Channel A.
00 – No change to common mode voltage (default)
01 – Adjust common mode voltage down 3%
10 – Adjust common mode voltage up 3%
11 – Adjust common mode voltage up 6%
00
RW
1:0
CHB_LVDS_CM_ADJUST
This field can be used to adjust the common mode output voltage for LVDS
Channel B.
00 – No change to common mode voltage (default)
01 – Adjust common mode voltage down 3%
10 – Adjust common mode voltage up 3%
11 – Adjust common mode voltage up 6%
00
RW
BIT(S)
0x1B
(1)
DESCRIPTION
RO = Read Only; RW = Read/Write; RW1C = Read/Write ‘1’ to Clear; WO = Write Only (reads return undetermined values)
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
29
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Note for all video registers:
1. TEST PATTERN GENERATION PURPOSE ONLY registers are for test pattern generation use only. Others
are for normal operation unless the test pattern generation feature is enabled.
Table 7-9. CSR Bit Field Definitions – Video Registers
ADDRESS
0x20
0x21
0x24
0x25
0x28
0x29
0x2C
0x2D
30
DEFAULT
ACCESS(1)
7:0
CHA_ACTIVE_LINE_LENGTH_LOW
This field controls the length in pixels of the active horizontal line line that are
received on DSI Channel A and output to LVDS Channel A in single LVDS
Channel mode(CSR 0x18.4=1), Channel A and B in dual LVDS Channel
mode(CSR 0x18.4=0). The value in this field is the lower 8 bits of the 12-bit
value for the horizontal line length.
0
RW
3:0
CHA_ACTIVE_LINE_LENGTH_HIGH
This field controls the length in pixels of the active horizontal line that are
received on DSI Channel A and output to LVDS Channel A in single LVDS
Channel mode(CSR 0x18.4=1), Channel A and B in dual LVDS Channel
mode(CSR 0x18.4=0). The value in this field is the upper 4 bits of the 12-bit
value for the horizontal line length.
0
RW
7:0
CHA_VERTICAL_DISPLAY_SIZE_LOW
TEST PATTERN GENERATION PURPOSE ONLY. This field controls the
vertical display size in lines for LVDS Channel A in single LVDS Channel
mode(CSR 0x18.4=1), Channel A and B in dual LVDS Channel mode(CSR
0x18.4=0. The value in this field is the lower 8 bits of the 12-bit value for the
vertical display size.
0
RW
3:0
CHA_VERTICAL_DISPLAY_SIZE_HIGH
TEST PATTERN GENERATION PURPOSE ONLY. This field controls the
vertical display size in lines for LVDS Channel A in single LVDS Channel
mode(CSR 0x18.4=1), Channel A and B in dual LVDS Channel mode(CSR
0x18.4=0). The value in this field is the upper 4 bits of the 12-bit value for the
vertical display size
0
RW
7:0
CHA_SYNC_DELAY_LOW
This field controls the delay in pixel clocks from when an HSync or VSync is
received on the DSI to when it is transmitted on the LVDS interface for
Channel A in single LVDS Channel mode(CSR 0x18.4=1), Channel A and B
in dual LVDS Channel mode(CSR 0x18.4=0). The delay specified by this
field is in addition to the pipeline and synchronization delays in the
SN65DSI84. The additional delay is approximately 10 pixel clocks. The Sync
delay must be programmed to at least 32 pixel clocks to ensure proper
operation. The value in this field is the lower 8 bits of the 12-bit value for the
Sync delay.
0
RW
3:0
CHA_SYNC_DELAY_HIGH
This field controls the delay in pixel clocks from when an HSync or VSync is
received on the DSI to when it is transmitted on the LVDS interface for
Channel A in single LVDS Channel mode(CSR 0x18.4=1), Channel A and B
in dual LVDS Channel mode(CSR 0x18.4=0). The delay specified by this
field is in addition to the pipeline and synchronization delays in the
SN65DSI84. The additional delay is approximately 10 pixel clocks. The Sync
delay must be programmed to at least 32 pixel clocks to ensure proper
operation. The value in this field is the upper 4 bits of the 12-bit value for the
Sync delay.
0
RW
7:0
CHA_HSYNC_PULSE_WIDTH_LOW
This field controls the width in pixel clocks of the HSync Pulse Width for
LVDS Channel A in single LVDS Channel mode(CSR 0x18.4=1), Channel A
and B in dual LVDS Channel mode(CSR 0x18.4=0). The value in this field is
the lower 8 bits of the 10-bit value for the HSync Pulse Width.
0
RW
1:0
CHA_HSYNC_PULSE_WIDTH_HIGH
This field controls the width in pixel clocks of the HSync Pulse Width for
LVDS Channel A in single LVDS Channel mode(CSR 0x18.4=1), Channel A
and B in dual LVDS Channel mode(CSR 0x18.4=0). The value in this field is
the upper 2 bits of the 10-bit value for the HSync Pulse Width.
0
RW
BIT(S)
DESCRIPTION
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Table 7-9. CSR Bit Field Definitions – Video Registers (continued)
ADDRESS
0x30
0x31
0x34
0x36
0x38
0x3A
0x3C
(1)
DEFAULT
ACCESS(1)
7:0
CHA_VSYNC_PULSE_WIDTH_LOW
This field controls the length in lines of the VSync Pulse Width for LVDS
Channel A in single LVDS Channel mode(CSR 0x18.4=1), Channel A and B
in dual LVDS Channel mode(CSR 0x18.4=0). The value in this field is the
lower 8 bits of the 10-bit value for the VSync Pulse Width.
0
RW
1:0
CHA_VSYNC_PULSE_WIDTH_HIGH
This field controls the length in lines of the VSync Pulse Width for LVDS
Channel A in single LVDS Channel mode(CSR 0x18.4=1), Channel A and B
in dual LVDS Channel mode(CSR 0x18.4=0). The value in this field is the
upper 2 bits of the 10-bit value for the VSync Pulse Width.
0
RW
7:0
CHA_HORIZONTAL_BACK_PORCH
This field controls the time in pixel clocks between the end of the HSync
Pulse and the start of the active video data for LVDS Channel A in single
LVDS Channel mode(CSR 0x18.4=1), Channel A and B in dual LVDS
Channel mode(CSR 0x18.4=0).
0
RW
7:0
CHA_VERTICAL_BACK_PORCH
TEST PATTERN GENERATION PURPOSE ONLY. This field controls the
number of lines between the end of the VSync Pulse and the start of the
active video data for LVDS Channel A in single LVDS Channel mode(CSR
0x18.4=1), Channel A and B in dual LVDS Channel mode(CSR 0x18.4=0).
0
RW
7:0
CHA_HORIZONTAL_FRONT_PORCH
TEST PATTERN GENERATION PURPOSE ONLY. This field controls the
time in pixel clocks between the end of the active video data and the start of
the HSync Pulse for LVDS Channel A in single LVDS Channel mode(CSR
0x18.4=1), Channel A and B in dual LVDS Channel mode(CSR 0x18.4=0).
0
RW
7:0
CHA_VERTICAL_FRONT_PORCH
TEST PATTERN GENERATION PURPOSE ONLY. This field controls the
number of lines between the end of the active video data and the start of the
VSync Pulse for LVDS Channel A in single LVDS Channel mode(CSR
0x18.4=1), Channel A and B in dual LVDS Channel mode(CSR 0x18.4=0).
0
RW
CHA_TEST_PATTERN
TEST PATTERN GENERATION PURPOSE ONLY. When this bit is set, the
SN65DSI84 will generate a video test pattern based on the values
programmed into the Video Registers for LDS Channel A in single LVDS
Channel mode(CSR 0x18.4=1), Channel A and B in dual LVDS Channel
mode(CSR 0x18.4=0).
0
RW
BIT(S)
4
DESCRIPTION
RO = Read Only; RW = Read/Write; RW1C = Read/Write ‘1’ to Clear; WO = Write Only (reads return undetermined values)
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
31
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Table 7-10. CSR Bit Field Definitions – IRQ Registers
ADDRESS
0xE0
0xE1
BIT(S)
DESCRIPTION
DEFAULT
ACCESS (1)
0
IRQ_EN
When enabled by this field, the IRQ output is driven high to communicate
IRQ events.
0 – IRQ output is high-impedance (default)
1 – IRQ output is driven high when a bit is set in registers 0xE5 that also has
the corresponding IRQ_EN bit set to enable the interrupt condition
0
RW
7
CHA_SYNCH_ERR_EN
0 – CHA_SYNCH_ERR is masked
1 – CHA_SYNCH_ERR is enabled to generate IRQ events
0
RW
6
CHA_CRC_ERR_EN
0 – CHA_CRC_ERR is masked
1 – CHA_CRC_ERR is enabled to generate IRQ events
0
RW
5
CHA_UNC_ECC_ERR_EN
0 – CHA_UNC_ECC_ERR is masked
1 – CHA_UNC_ECC_ERR is enabled to generate IRQ events
0
RW
4
CHA_COR_ECC_ERR_EN
0 – CHA_COR_ECC_ERR is masked
1 – CHA_COR_ECC_ERR is enabled to generate IRQ events
0
RW
3
CHA_LLP_ERR_EN
0 – CHA_LLP_ERR is masked
1 – CHA_ LLP_ERR is enabled to generate IRQ events
0
RW
2
CHA_SOT_BIT_ERR_EN
0 – CHA_SOT_BIT_ERR is masked
1 – CHA_SOT_BIT_ERR is enabled to generate IRQ events
0
RW
0
PLL_UNLOCK_EN
0 – PLL_UNLOCK is masked
1 – PLL_UNLOCK is enabled to generate IRQ events
0
RW
7
CHA_SYNCH_ERR
When the DSI channel A packet processor detects an HS or VS
synchronization error, that is, an unexpected sync packet; this bit is set; this
bit is cleared by writing a ‘1’ value.
0
RW1C
6
CHA_CRC_ERR
When the DSI channel A packet processor detects a data stream CRC error,
this bit is set; this bit is cleared by writing a ‘1’ value.
0
RW1C
5
CHA_UNC_ECC_ERR
When the DSI channel A packet processor detects an uncorrectable ECC
error, this bit is set; this bit is cleared by writing a ‘1’ value.
0
RW1C
4
CHA_COR_ECC_ERR
When the DSI channel A packet processor detects a correctable ECC error,
this bit is set; this bit is cleared by writing a ‘1’ value.
0
RW1C
3
CHA_LLP_ERR
When the DSI channel A packet processor detects a low level protocol error,
this bit is set; this bit is cleared by writing a ‘1’ value.
Low level protocol errors include SoT and EoT sync errors, Escape Mode
entry command errors, LP transmission sync errors, and false control errors.
Lane merge errors are reported by this status condition.
0
RW1C
2
CHA_SOT_BIT_ERR
When the DSI channel A packet processor detects an SoT leader sequence
bit error, this bit is set; this bit is cleared by writing a ‘1’ value.
0
RW1C
0
PLL_UNLOCK
This bit is set whenever the PLL Lock status transitions from LOCK to
UNLOCK.
1
RW1C
0xE5
(1)
32
RO = Read Only; RW = Read/Write; RW1C = Read/Write ‘1’ to Clear; WO = Write Only (reads return undetermined values)
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
8 Application and Implementation
Note
Information in the following applications sections is not part of the TI component specification, and TI
does not warrant its accuracy or completeness. TI’s customers are responsible for determining
suitability of components for their purposes. Customers should validate and test their design
implementation to confirm system functionality.
8.1 Application Information
The SN65DSI84 device is primarily targeted for portable applications such as tablets and smart phones that
utilize the MIPI DSI video format. The SN65DSI84 device can be used between a GPU with DSI output and a
video panel with LVDS inputs
8.1.1 Video Stop and Restart Sequence
When the system requires to stop outputting video to the display, it is recommended to use the following
sequence for the SN65DSI84:
1. Clear the PLL_EN bit to 0 (CSR 0x0D.0)
2. Stop video streaming on DSI inputs
3. Drive all DSI data lanes to LP11, but keep the DSI CLK lanes in HS.
When the system is ready to restart the video streaming.
1. Start video streaming on DSI inputs.
2. Set the PLL_EN bit to 1(CSR 0x0D.0).
3. Wait for a minimum of 3 ms.
4. Set the SOFT_RESET bit(0x09.0).
8.1.2 Reverse LVDS Pin Order Option
For ease of PCB routing, the SN65DSI84 supports swapping/reversing the channel or pin order via configuration
register programming. The order of the LVDS pin for LVDS Channel A or Channel B can be reversed by setting
the address 0x1A bit 5 CHA_REVERSE_LVDS or bit 4 CHB_REVERSE_LVDS. The LVDS Channel A and
Channel B can be swapped by setting the 0x1A.6 EVEN_ODD_SWAP bit. See the corresponding register bit
definition for details.
8.1.3 IRQ Usage
The SN65DSI84 provides an IRQ pin that can be used to indicate when certain errors occur on DSI. The IRQ
output is enabled through the IRQ_EN bit (CSR 0xE0.0). The IRQ pin will be asserted when an error occurs on
DSI, the corresponding error enable bit is set, and the IRQ_EN bit is set. An error is cleared by writing a ‘1’ to the
corresponding error status bit.
Note
If the SOFT_RESET bit is set while the DSI video stream is active, some of the error status bits may
be set.
If the DSI video stream is stopped, some of the error status bits may be set. These error status bits
should be cleared before restarting the video stream.
If the DSI video stream starts before the device is configured, some of the error status bits may be set.
It is recommended to start streaming after the device is correctly configured as recommended in the
initialization sequence in the Section 7.4.3 section.
8.2 Typical Application
Figure 8-1 illustrates a typical application using the SN65DSI84 for a single channel DSI receiver to interface a
single-channel DSI application processor to an LVDS Dual-Link 18 bit-per-pixel panel supporting 1920 x 1200
WUXGA resolutions at 60 frames per second.
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
33
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
100Ω
DA0P
DA0N
A_Y1N
A_Y1P
100Ω
A_Y2N
A_Y2P
100Ω
A_CLKN
A_CLKP
100Ω
DA1P
DA1N
DA2P
DA2N
DA3P
DA3N
A_Y3N
A_Y3P
DACP
DACN
B_Y0N
B_Y0P
SCL
SDA
100Ω
IRQ
EN
B_Y1N
B_Y1P
100Ω
ADDR
REFCLK
GND
B_Y2N
B_Y2P
100Ω
B_CLKN
B_CLKP
100Ω
1.8V
to odd pixel
row and column
drivers
18bpp TCON
A_Y0N
A_Y0P
FPC
Application
Processor
SN65DSI84
to even pixel
row and column
drivers
B_Y3N
B_Y3P
VCC
C1
Figure 8-1. Typical 1920 x 1200 WUXGA 18-bpp Panel Application
8.2.1 Design Requirements
For the 1920 x 1200 WUXGA 18-bpp Panel typical application design parameters, see Table 8-1.
Table 8-1. Design Parameters
DESIGN PARAMETER
EXAMPLE VALUE
VCC
1.8V (±5%)
CLOCK
DSIA_CLK
REFCKL Frequency
N/A
DSIA Clock Frequency
490 MHz
PANEL INFORMATION
LVDS Output Clock Frequency
81 MHz
Resolution
1920 x 1200
Horizontal Active (pixels)
960
Horizontal Blanking (pixels)
144
Vertical Active (lines)
1200
Vertical Blanking (lines)
20
Horizontal Sync Offset (pixels)
50
Horizontal Sync Pulse Width (pixels)
50
Vertical Sync Offset (lines)
1
Vertical Sync Pulse Width (lines)
5
Horizontal Sync Pulse Polarity
Negative
Vertical Sync Pulse Polarity
Negative
Color Bit Depth (6bpc or 8bpc)
6-bit
Number of LVDS Lanes
2 X [3 Data Lanes + 1 Clock Lane]
DSI INFORMATION
Number of DSI Lanes
34
1 X [4 Data Lanes + 1 Clock Lane]
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
SN65DSI84
www.ti.com
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
Table 8-1. Design Parameters (continued)
DESIGN PARAMETER
EXAMPLE VALUE
DSI Input Clock Frequency
490MHz
Dual DSI Configuration(Odd/Even or Left/Right)
N/A
8.2.2 Detailed Design Procedure
The video resolution parameters required by the panel need to be programmed into the SN65DSI84. For this
example, the parameters programmed would be the following:
Horizontal active = 1920 or 0x780
CHA_ACTIVE_LINE_LENGTH_LOW = 0X80
CHA_ACTIVE_LINE_LENGTH_HIGH = 0x07
Horizontal pulse Width = 50 or 0x32
CHA_HSYNC_PULSE_WIDTH_LOW = 0x32
CHA_HSYNC_PULSE_WIDTH_HIGH= 0x00
Horizontal back porch = Horizontal blanking – (Horizontal sync offset + Horizontal sync pulse width)
Horizontal back porch = 144– (50 + 50)
Horizontal back porch = 44 or 0x2C
CHA_HORIZONTAL_BACK_PORCH = 0x2C
Vertical pulse width = 5
CHA_VSYNC_PULSE_WIDTH_LOW = 0x05
CHA_VSYNC_PULSE_WIDTH_HIGH= 0x00
The pattern generation feature can be enabled by setting the CHA_TEST_PATTERN bit at address 0x3C and
configuring the following TEST PATTERN GENERATION PURPOSE ONLY registers.
Vertical active = 1200 or 0x4B0
CHA_VERTICAL_DISPLAY_SIZE_LOW = 0xB0
CHA_VERTICAL_DISPLAY_SIZE_HIGH = 0x04
Vertical back porch = Vertical blanking – (Vertical sync offset +Vertical sync pulse width)
Vertical back porch = 20 – (1 + 5)
Vertical back porch = 14 or 0x0E
CHA_VERTICAL_BACK_PORCH = 0x0E
Horizontal front porch = Horizontal sync offset
Horizontal front porch = 50 or 0x32
CHA_HORIZONTAL_FRONT_PORCH = 0x32
Vertical front porch = Vertical sync offset
Vertical front porch =1
CHA_VERTICAL_FRONT_PORCH = 0x01
In this example, the clock source for the SN65DSI84 is the DSI clock. When the MIPI D-PHY clock is used as
the LVDS clock source, it is divided by the factor in DSI_CLK_DIVIDER (CSR 0x0B.7:3) to generate the FlatLink
LVDS output clock. Additionally, LVDS_CLK_RANGE (CSR 0x0A.3:1) and CH_DSI_CLK_RANGE(CSR 0x12)
must be set to the frequency range of the FlatLink LVDS output clock and DSI Channel A input clock respectively
for the internal PLL to operate correctly. After these settings are programmed, PLL_EN (CSR 0x0D.0) should be
set to enable the internal PLL.
LVDS_CLK_RANGE = 010b-62.5 MHz ≤ LVDS_CLK < 87.5 MHz
HS_CLK_SRC = 1 – LVDS pixel clock derived from MIPI D-PHY channel A HS continuous clock
DSI_CLK_DIVIDER = 0010b – Divide by 6
CHA_DSI_LANES = 00 – Four lanes are enabled
CHA_DSI_CLK_RANGE = 0x62 – 490 MHz ≤ frequency < 495 MHz
8.2.2.1 Example Script
This example configures the SN65DSI84 for the following configuration:
Submit Document Feedback
Copyright © 2020 Texas Instruments Incorporated
Product Folder Links: SN65DSI84
35
SN65DSI84
SLLSEC2H – SEPTEMBER 2012 – REVISED OCTOBER 2020
www.ti.com
=====SOFTRESET=======