835
LCD Bus Interface (LCD-I/F)
Chapter 23
Preliminary User’s Manual U17566EE1V2UM00
23.3.2
LCD Bus I/F states during and after accesses
Changing between input and output mode of the LCD bus pins DB[7:0] is done
automatically after they are configured as LCD Bus Interface pins via the port
configuration registers.
After the pins are configured as DB[7:0] they are operating in input mode.
During and after a bus read access DB[7:0] are operating in input mode and
retain this mode also after the read access is completed.
During and after a bus write access DB[7:0] are operating in output mode and
retain this mode also after the write access is completed.
23.3.3
Writing to the LCD bus
This section shows typical sequences of writing words, halfwords and bytes to
the LCD bus.
(1)
Writing words
Writing a word transmits four bytes to the external LCD Controller/Driver.
Figure 23-3
Timing (mod80: LBTCTL0.IMD0 = 0): write word, LBWST0.WST0 = 5,
LBCYC0.CYC0 = 8, LBTCTL0.TCIS0 = 0
Note
The timing diagrams are for functional explanation purposes only without any
relevance to the real hardware implementation.
Sequence
1. A word of LCD data is written to the LBDATA0 register. The internal bus
transfer takes some clocks until the register is updated. Then the busy flag
LBCTL0.BYF0 is set until the data is copied to the write buffer.
2. The LBDATA0 register contents is copied to the write buffer. This clears
LBCTL0.BYF0 and causes the interrupt output to become active for one
clock cycle. Transfer on the external bus interface starts with byte 0. The
“transfer in progress” flag LBCTL0.TPF0 is set to indicate that a transfer is
in progress.
Write word to LBDATA0 register
Byte0
Byte1
DBWR
SPCLK
DBRD
DBD[7:0]
LBCTL0.BYF0
INTLCD
LBDATA0
Word (consists of Byte0 … Byte3)
Byte2
Byte3
internal
write buffer
Word
LBCTL0.TPF0
electronic components distributor