beautypg.com

8 programming notes – Epson S1C63558 User Manual

Page 66

background image

56

EPSON

S1C63558 TECHNICAL MANUAL

CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver)

LPAGE: LCD display memory selection register (FF61H•D0)

Selects the display memory area at 1/8 duty drive.

When "1" is written: F100H–F14FH (when 40

×

17 is selected), F100H–F15FH (when 48

×

8 is selected)

When "0" is written: F000H–F04FH (when 40

×

17 is selected), F000H–F05FH (when 48

×

8 is selected)

Reading: Valid

By writing "1" to the LPAGE register, the data set in F100H–F14FH/F15FH (the second half of the display
memory) is displayed, and when "0" is written, the data set in F000H–F04FH/F05FH (the first half of the
display memory) is displayed.
This function is valid only when 1/8 duty is selected, and when 1/16 or 1/17 duty is selected, this
register can be used as a general purpose register.
At initial reset, this register is set to "0".

LC3–LC0: LCD contrast adjustment register (FF62H)

Adjusts the LCD contrast.

LC3–LC0 = 0000B

light

:

:

LC3–LC0 = 1111B

dark

At room temperature, use setting number 7 or 8 as standard.
At initial reset, LC3–LC0 are undefined.

4.7.8 Programming notes

(1) When a program that access no memory mounted area (F060H–F0FFH, F160H–F1FFH, F201H, F203H,

· · ·, F25FH) is made, the operation is not guaranteed.

(2) Because at initial reset, the contents of display memory and LC3–LC0 (LCD contrast) are undefined,

there is need to initialize by the software. Furthermore, take care of the registers LPWR and ALOFF
because these are set so that the display goes OFF.

(3) The COM8–COM16 terminals can be set as the SEG47–SEG40 terminals by mask option. In this case,

only 1/8 drive duty can be selected, so a dot matrix type LCD with a maximum of 384 (48

×

8) dots

can be driven. When 48 segments

×

8 commons is selected, COM terminals change to SEG terminals

as follows:
COM16

SEG40 COM15

SEG41 COM14

SEG42 COM13

SEG43 COM12

SEG44

COM11

SEG45 COM10

SEG46 COM9

SEG47 COM8

SEG47

This option is valid on the PRC board, however, the SEG47–SEG40 terminals are separately provided.
Therefore, be aware that the COM8–COM16 terminals cannot be changed to the SEG47–SEG40.