Datasheet

Memory LCD Programming
LCD Application Note 3
After the data bits follow 8 trailer bits (instead of 16),
then the address of the next line (8 bits) to be written,
followed by the data bits for that line, and so on until all
of the desired lines are written. See Figure 5.
For the last line to be written, use 16 trailer bits (see
Figure 6).
The command structure for Write Multiple Lines
looks like this:
Command: 8 bits (including V-bit)
Line address: 8 bits
Data bits: leftmost pixel first, little-endian format, with
data width depending on the resolution of the panel
(as explained previously).
Trailer: 8 bits
Address for next line
Data for next line
Trailer: 8 bits
This is carried on until all desired line updates
except the last one have been sent. The structure for
the last line is:
Address for last line
Data for last line
Trailer: 16 bits
The 16-bit trailer allows for latch transfer time and
signals the panel’s controller that all line updates have
been sent.
Clear Screen
This command clears the screen to all white by writ-
ing 0’s to all of the memory locations in the frame buf-
fer. See Figure 7. The command structure is as follows:
Command: 8 bits (including V-bit)
Trailer: 8 bits (allows for latch transfer time)
Toggle VCOM
This command is only used if [EXTMODE = L]. It is
used to toggle the state of VCOM if no other command
is to be executed. This is the periodic command to be
sent within the appropriate amount of time to maintain
proper VCOM frequency and DC panel bias. All com-
mands contain the V-bit that allows toggling the state of
VCOM. See Figure 8.
The command structure is:
Command: 8 bits
Trailer: 8 bits (allows for latch transfer time)
Figure 5. Write Multiple Lines Data String, Intermediate Lines
Figure 6. Write Multiple Lines Data String, Last Line
a a a a a a a a
0 0 0 0 0 0 0 0
Line
Number
Data Trailer
LCD45-7
a a a a a a a a
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Line
Number
Data Trailer
LCD45-8
Figure 7. Clear Screen Data String
0 V 1 0 0 0 0 0 0 0 0 0 0 0 0 0
Command Trailer
LCD45-4
Figure 8. Toggle VCOM Data String
0 V 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Command Trailer
LCD45-5