
Public Version
www.ti.com
Display Subsystem Use Cases and Tips
Table 7-106. DSI Complex I/O Registers (continued)
Steps
Register/Bit Field/Programming
Value
Clear all COMPLEXIO IRQ status.
0xC3F39CE7
Disable all COMPLEXIO IRQs.
0x0
Enable interface.
[0] IF_EN
0x1
Disable interface.
[0] IF_EN
0x0
Wait until IF_EN = 0.
[0] IF_EN
Enable the LP clock.
[20] LP_CLK_ENABLE
0x1
Check whether reset is complete.
[29] RESET_DONE
0x1
Check whether power control is on.
[26:25] PWR_STATUS
0x1
Check whether reset is complete.
[0] RESETDONE
0x1
7.6.5.1.2.4.2 Configure DSI Timing and Virtual Channels
lists the steps to configure DSI timing and the virtual channels.
Table 7-107. DSI Timing Registers
Steps
Register/Bit Field/Programming
Value
Determine the number of DSI_FCLK clock
0x999
cycles for the STOP-STATE counter.
STOP_STATE_COUNTER_IO
Disable the multiplication factor of 4 for the
number of DSI_FCLK clock cycles for the
[13] STOP_STATE_X4_IO
0x0
STOP-STATE counter.
Disable the multiplication factor of 16 for the
number of DSI_FCLK clock cycles for the
[14] STOP_STATE_X16_IO
0x0
STOP-STATE counter.
Clear turn-around timer settings.
0x0000
Determine the number of DSI_FCLK clock
[12:0] LP_RX_TO_COUNTER
0x0CD
cycles for the LP RX timer.
Disable the multiplication factor of 4 for the
number of DSI_FCLK clock cycles for the LP
[13] LP_RX_TO_X4
0x0
RX timer.
Enable the multiplication factor of 16 for the
number of DSI_FCLK clock cycles for the LP
[14] LP_RX_TO_X16
0x1
RX timer.
Determine the number of TxByteClkHS clock
[12:0] HS_TX_TO_COUNTER
0xFD2
cycles for the HS RX timer.
Disable the multiplication factor of 8 for the
number of TxByteClkHS clock cycles for the
[13] HS_TX_TO_X8
0x0
HS TX timer.
Enable the multiplication factor of 16 for the
number of TxByteClkHS clock cycles for the
[14] HS_TX_TO_X16
0x1
HS TX timer.
DDR_CLK_PRE<<8|DDR_CLK_POST
[31:0]
0x0000 0F0B
Configuration of VC1
Enable the checksum generation for the
DSI_VC1_CTRL[7] CS_TX_EN
0x1
transmit payload.
Enable the ECC generation for the transmit
DSI_VC1_CTRL[8] ECC_TX_EN
0x1
header.
Disable DMA request for TX FIFO.
DSI_VC1_CTRL[23:21] DMA_TX_REQ_NB
0x4
Disable DMA request for RX FIFO.
DSI_VC1_CTRL[29:27] DMA_RX_REQ_NB
0x4
Configuration of VC0
Selects source of data and enable VP_STALL.
DSI_VC0_CTRL[1] SOURCE
0x1
Enable the checksum generation for the
DSI_VC0_CTRL[7] CS_TX_EN
0x1
transmit payload.
1807
SWPU177N – December 2009 – Revised November 2010
Display Subsystem
Copyright © 2009–2010, Texas Instruments Incorporated