371
CHAPTER 18 LCD CONTROLLER/DRIVER
User’s Manual U15798EJ2V0UD
18.5 LCD Controller/Driver Settings
Set the LCD controller/driver as follows:
(1)
Specify whether P80/S12 to P87/S19, P90/S20 to P97/S27, P100/S28 toP107/S35, and P110/S36 to P113/
S39 are used as segment output pins or port output pins, by using the pin function switching registers (PF8
to PF11).
(2)
Specify the display mode of the segment output pins (S0 to S11) by using static/dynamic display switching
register 3 (SDSEL3).
(3)
Set the displayed default value to the LCD display data area (bits 0 to 3) of the LCD display RAM. The
addresses and capacity of the LCD display RAM are FA00H to FA27H (40 bytes).
To use the blinking function, set the corresponding bit of the blinking select bit area (bits 4 to 7) in the LCD
display RAM to 1.
(4)
Specify the display mode using bit 0 (LCDM0) of LCD display mode register 3 (LCDM3).
(5)
Select the source clock and frame frequency of the LCD using LCD clock control register 3 (LCDC3).
(6)
Select the LCD reference voltage by using LCD gain adjust register 0 (VLCG0).
(7)
Set bit 5 (VLCON) of LCD display mode register 3 (LCDM3) to 1 to start the operation of the booster circuit.
(8)
Make sure that a wait time of 500 ms or longer elapses with software.
(9)
Set bit 6 (SCOC) of LCD display mode register 3 (LCDM3) to 1 so that the unselect waveform is output to
the segment pins and common pins.
(10) To use the blinking function, select a blinking cycle of 0.5 s or 1.0 s by using bit 4 (BLSEL) of LCD display
mode register 3 (LCDM3).
(11) Set bit 7 (LCDON) of LCD display mode register 3 (LCDM3) to 1 to set the display to ON. To blink the LCD,
set bit 3 (BLON) of LCD display mode register 3 (LCDM3) to 1 to set the display to ON.
Then, set the data of the display data memory and the timing of the blinking display according to the data to be
displayed.
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...