Public Version
www.ti.com
Display Subsystem Register Manual
Table 7-114. Enable Command Mode and Automatic TE (continued)
Steps
Register/Bit Field/Programming
Value
Wait until PACKET_SENT_IRQ = 1.
DSI_VC1_IRQSTATUS[2] PACKET_SENT_IRQ
Write 1 to clear PACKET_SENT_IRQ.
DSI_VC1_IRQSTATUS[2] PACKET_SENT_IRQ
0x1
7.6.5.1.6 Send Frame Data to LCD Panel Using Automatic TE
summarizes the steps to send a frame data to the LCD panel using automatic TE.
Table 7-115. Send Frame Data to LCD Panel Using Automatic TE
Steps
Register/Bit Field/Programming
Value
Enable the transfer between DISPC and
[0] LCDENABLE
0x1
DSI. Reset after the transfer is done.
Specify the number of bytes to send. When
DCS insertions is used, word count (WC)
DSI_VC0_TE[23:0] TE_SIZE
(WC+1)*LPP
must include this one DCS byte.
Set up long packet header. Send 0x39
DCS long write/write_LUT command
packet used to send larger blocks of data
DSI_VC0_LONG_PACKET_HEADER[31:0] HEADER
(WC+1) << 8 + 0x39
to a display module that implements a
DCS.
Enable TE control.
DSI_VC0_TE[30] TE_EN
0x1
Wait until RX FIFO is empty,
DSI_VC1_CTRL[20] RX_FIFO_NOT_EMPTY
0x0
RX_FIFO_NOT_EMPTY = 0.
Wait until TX FIFO is not full.
DSI_VC1_CTRL[16] TX_FIFO_FULL
0x0
TX_FIFO_FULL = 0.
Enable first BTA to give bus possession to
DSI_VC1_CTRL[6] BTA_EN
0x1
the display module.
Wait until BTA IRQ.
DSI_VC1_IRQSTATUS[5] BTA_IRQ
0x1
Write 1 to clear BTA IRQ.
DSI_VC1_IRQSTATUS[5] BTA_IRQ
0x1
Enable second BTA to get the TE trigger.
DSI_VC1_CTRL[6] BTA_EN
0x1
Wait until BTA IRQ.
DSI_VC1_IRQSTATUS[5] BTA_IRQ
0x1
Write 1 to clear BTA IRQ.
DSI_VC1_IRQSTATUS[5] BTA_IRQ
0x1
Wait until transfer is complete.
DSI_VC0_TE[30] TE_EN
Read 0x0
7.7
Display Subsystem Register Manual
CAUTION
•
The DISS, DISPC, RFBI, and VENC registers have no register data width
access restriction and can be accessed in 8-bit, 16-bit and 32-bit access.
•
The DSI complex I/O and DSI PLL control module registers are limited to
32-bit data access; 16-bit and 8-bit data accesses are not allowed and can
corrupt register content.
•
The DSI protocol engine DSS.
and
DSS.
registers are limited to 32-bit
data access; 16-bit and 8-bit data accesses are not allowed and can corrupt
register content.
•
The DSI protocol engine DSS.
register is limited to 32-bit and 16-bit data access; 8-bit data accesses are
not allowed and can corrupt register content.
•
All other DSI protocol engine registers have no register data width access
restriction and can be accessed in 8-bit, 16-bit and 32-bit access.
1811
SWPU177N – December 2009 – Revised November 2010
Display Subsystem
Copyright © 2009–2010, Texas Instruments Incorporated