Example Of Protocol Using An Lcd Controller (Cop472-3) - Texas Instruments OMAP5912 Reference Manual

Multimedia processor device overview and architecture
Hide thumbs Also See for OMAP5912:
Table of Contents

Advertisement

3.4

Example of Protocol Using an LCD Controller (COP472-3)

SPRU760B
2) Load the transmit data register (TDR) with:
1 0 1 A7 A6 A5 A4 A3 A2 A1 A0 x x x x x x: Don't care
J
A7 ... A0: Address of the selected memory register
J
3) Wait for the CSRB bit of the control and status register (CSR) to be reset.
4) Set the following fields of the control and status register (CSR):
NB_BITS_RD: 0
J
NB_BITS_WR: 11 (decimal)
J
INDEX: 00
J
CS_CMD: 1
J
START: 1
J
5) Wait for the CSRB bit of the control and status register (CSR) to be reset.
6) Load the transmit data register (TDR) with:
D15 D14 ... D0
J
D15 ... D0: Data
J
7) Set the following fields of the control and status register (CSR):
NB_BITS_RD: 0
J
NB_BITS_WR: 16 (decimal)
J
INDEX: 00
J
CS_CMD 1
J
START: 1
J
8) Wait for the CSRB bit of CSR to be reset.
9) Set the following fields of the control and status register (CSR):
INDEX: 00
J
CS_CMD: 0
J
START: 0
J
Set up the interface by writing in setup 1 register (SR1) the following value:
CS_EDGE_RD = 1
-
CS_EDGE_WR = 0
-
CSCS_LVL = 0
-
CS_FRQ = 10
-
CS_CHK = 0
-
This example describes a loading sequence to drive a four-digit display.
MicroWire Interface
Serial Interfaces
109

Advertisement

Table of Contents
loading

Table of Contents