
Public Version
Display Subsystem Use Cases and Tips
www.ti.com
Table 7-96. Configure DISPC_CONTROL (continued)
Comments
Registers
Value
The hardware has finished updating the internal shadow
registers of the pipeline(s) connected to the LCD output using
[5] GOLCD
0x0
the user values. The hardware resets the bit when the update
completes.
Active matrix display operation mode
[3] STNTFT
0x1
LCD interface is disabled.
[0] LCDENABLE
0x0
The input image is converted from UYVY into RGB (see
) :
Table 7-97. Configure DISPC_VID1_ATTRIBUTES
Comments
Registers
Value
Row of VIDn will not be read twice.
DISPC_VID1_ATTRIBUTES[18] VIDROWREPEATENABLE
0x0
8 x 32-bit bursts
DISPC_VID1_ATTRIBUTES[15:14] VIDBURSTSIZE
0x1
Full range selected: Y is not modified before the
DISPC_VID1_ATTRIBUTES[11] VIDFULLRANGE
0x1
color space conversion.
Enable color space conversion CbYCr to RGB.
DISPC_VID1_ATTRIBUTES[9] VIDCOLORCONVENABLE
0x1
UYVY
DISPC_VID1_ATTRIBUTES[4:1] VIDFORMAT
0xB
Video disabled
DISPC_VID1_ATTRIBUTES[0] VIDENABLE
0x0
7.6.4.5
Enable Video Mode Using the DISPC Video Port
lists the steps to enable DISPC to send frames continuously.
Table 7-98. Enable DISPC
Steps
Registers
Value
Set up long packet header
DSI_VC0_LONG_PACKET_HEADER[31:0]
0x0005 A03E
Enable VC0.
DSI_VC0_CTRL[1] VC_EN
0x1
Enable IF.
[0] IF_EN
0x1
Wait until IF_EN
≠
0.
[0] IF_EN
Read 0x0
Enable VID1.
DISPC_VID1_ATTRIBUTES[0] VIDENABLE
0x1
Enable LCD interface.
[0] LCDENABLE
0x1
Enable GOLCD.
[5] GOLCD
0x1
Wait until GOLCD = 0.
[5] GOLCD
Read 0x0
7.6.5 DSI Command Mode Using the DISPC Video Port
This section presents some generic use cases and tips for setting the modules of the display subsystem.
7.6.5.1
Display Subsystem Use Cases and Tips
This section explains the basic programming model of command mode using the DISPC video port.
The DSI interface is connected to an external MIPI DISPC using the following parameters:
•
One data lane: NDL = 1
•
Clock lane at 150 MHz (DSI_DDR_CLK)
•
LCD size is 640 x 480:
–
480 PPL
–
680 LPP
•
DISPC input format: YUV
•
DISPC output format: RGB888 (24 BPP)
•
Word Count: WC = 3 x PPL
•
DSS2_ALWON_FLCK = 26 MHz used as a reference clock for DSI PLL
1802
Display Subsystem
SWPU177N – December 2009 – Revised November 2010
Copyright © 2009–2010, Texas Instruments Incorporated