Example Of Protocol Using An Lcd Controller (Cop472-3); Loading Sequence - Texas Instruments OMAP5910 Reference Manual

Dual-core processor microwire interface
Hide thumbs Also See for OMAP5910:
Table of Contents

Advertisement

1.4

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

1.4.1

Loading Sequence

SPRU686
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 the 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 the setup register 1 (SR1) the following value:
CS_EDGE_RD = 1
J
CS_EDGE_WR = 0
J
CSCS_LVL = 0
J
CS_FRQ = 10
J
CS_CHK = 0
J
This example describes a loading sequence to drive a four-digit display.
1) Set the following fields of the control and status register (CSR):
NB_BITS_RD: 0
J
NB_BITS_WR: 0
J
INDEX: 01
J
CS_CMD: 1
J
START: 0
J
2) Wait for the CSRB bit of the control and status register (CSR) to be reset.
3) Load the transmit data register (TDR) with:
D7d1...D0d1 D7d2...D0d2 D7d1...D0d1: Data for digit 1
J
D7d2...D0d2: Data for digit 2
J
4) Set the following fields of the control and status register (CSR):
NB_BITS_RD: 0
J
NB_BITS_WR: 16 (decimal)
J
INDEX: 01
J
CS_CMD: 1
J
START: 1
J
MicroWire Interface
MicroWire Interface
21

Advertisement

Table of Contents
loading

Table of Contents