Setting Lcd Controller/Driver; Lcd Display Data Memory - Renesas uPD789881 User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

10.4 Setting LCD Controller/Driver

Set the LCD controller/driver using the following procedure.
<1> Set the LCD display data memory (FA00H to FA19H) to the default value.
<2> Set the pins used for segment output by using the port function registers (PF8 and PF9).
<3> Select the display mode by using LCD display mode register 0 (LCDM0).
<4> Set the LCD frame frequency by using LCD clock control register 0 (LCDC0).
<5> In the 1/4 duty, 1/3 bias mode, set bit 4 (LIPS0) of LCDM0 to 1 and then wait for 500 ms or more.
<6> Start display output corresponding to the LCD display data memory by setting bit 7 (LCDON0) of LCDM0 to
1.

10.5 LCD Display Data Memory

The LCD display data memory is mapped at addresses FA00H to FA19H. Data in the LCD display data memory
can be displayed on the LCD panel using the LCD controller/driver.
Figure 10-7 shows the relationship between the contents of the LCD display data memory and the
segment/common outputs.
That part of the display data memory which is not used for display can be used as ordinary RAM.
Figure 10-7. Relationship Between LCD Display Data Memory Contents and Segment/Common Outputs
Address
FA19H
FA18H
FA17H
FA16H
FA02H
FA01H
FA00H
Caution No memory has been installed as the higher 4 bits of the LCD display data memory. Be sure to
clear them to 0.
CHAPTER 10 LCD CONTROLLER/DRIVER
(When Using S15 to S25)
b
b
b
b
7
6
5
4
User's Manual U15172EJ2V1UD
b
b
b
b
3
2
1
COM3
COM2
COM1
COM0
0
S25
S24
S23
S22
S2
S1
S0
167

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the uPD789881 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Upd78f9882Upd789881a

Table of Contents