BAT32G1x9 user manual | Chapter 23 LCD bus interface
983 / 1149
Rev.1.02
Chapter 23 LCD bus interface
The LCD bus interface function is a proprietary function of BAT32G179.
The LCD bus interface is used to connect the internal bus system and the external LCD controller/driver.
The interface includes an asynchronous 8bit parallel data bus and two control lines.
The LCD bus interface supports bidirectional communication, which can be sent to or received from the
LCD controller.
23.1 Functions of the LCD bus interface
The LCD bus interface has the following functions:
•
Two different bus standards are supported:
–
Mode 80: The bus control read and write signals for this mode are separated.
–
Mode 68: The bus-controlled read and write signals in this mode are controlled by a pin with different
levels.
•
When the internal data bus accesses the LBDATA registers, data transfer begins.
•
Supports 8/16 bit read and write operations
•
The transmission speed can be controlled (up to 10MHz) through the following settings
–
Select the input clock
–
Set the transfer time
–
Set the waiting status
•
The following two events can trigger DMA (DMA supports interrupt triggering).
–
Internal data transfer enablement
–
The external bus access is complete
•
Flags are used to indicate the status of data registers, to send data to or receive data from the LCD
controller.
•
Support DMA read and write
Note: When LCD bus is used in the case of
EVDDx
≦
VDD
,
the LCD C/D
associated registers must be set to the initial value
(LCDON=0, SCOC=0, MDSET1-0=00, LCDPFx=0),
otherwise normal operation is not guaranteed.
Note: When the LCD bus interface is multiplexed to a pin, the input/output mode of the pin is automatically switched by the
LCD bus interface according to the read and write function.