Public Version
www.ti.com
Display Subsystem Basic Programming Model
•
SMS.SMS_ROT_SIZEn[10:0] IMAGEWIDTH = Picture width in pixels /2 (because 2 pixels are
present in each 32-bit container)
For more information about the VRFB module, see
, Rotation Engine, in
SDRAM Controller (SDRC) Subsystem.
NOTE:
When 5-tap mode is used, the scaling coefficients must be set even, if 1:1 scaling is
required.
Matrix color space coefficients must be set for YUV format inside
through the
registers.
The width of the input original picture must be even (for YUV4:2:2 and RGB16 formats).
The DMA optimization feature must be used only for YUV and RGB16 formats when 90- or
270-degree rotation is required. In all other configurations, the
[20] VIDDMAOPTIMIZATION bit must be kept at reset value
(0x0).
7.5.3.5
LCD-Specific Control Registers
The following registers define the LCD output configuration:
•
DSS.
•
DSS.
•
DSS.
(m=0)
•
DSS.
(m=0)
•
DSS.
•
DSS.
•
DSS.
•
DSS.
•
DSS.
•
DSS.
•
DSS.
, DSS.
Setting/resetting the DSS.
[0] LCDENABLE bit enables/disables the LCD output. A valid
configuration must be set before enabling the LCD output.
7.5.3.5.1 LCD Attributes
The following fields define the attributes of the panel connected to the display controller:
•
Monochrome or color panel (the DSS.
[2]MONOCOLOR bit)
•
Passive Matrix or active Matrix panel (the DSS.
[3] STNTFT bit)
•
Color depth (the DSS.
[9:8] TFTDATALINES bit field)
•
Number of lines per panel (the DSS.
[26:16] LPP bit field)
•
Number of pixels per line (the DSS.
[10:0] PPL bit field)
•
4- or 8-bit interface for Passive Matrix monochrome panel (the DSS.
[4] M8B bit)
7.5.3.5.2 LCD Timings
The following bit fields define the timing generation of HSYNC/VSYNC:
•
Horizontal front porch (the DSS.
[19:8] HFP bit field)
•
Horizontal back porch (the DSS.
[31:20] HBP bit field)
•
Horizontal synchronization pulse width (the DSS.
[7:0] HSW bit field)
•
Vertical front porch (the DSS.
[19:8] VFP bit field)
•
Vertical back porch (the DSS.
[31:20] VBP bit field)
•
Vertical synchronization pulse width (the DSS.
[7:0] VSW bit field)
1729
SWPU177N – December 2009 – Revised November 2010
Display Subsystem
Copyright © 2009–2010, Texas Instruments Incorporated