
S1C88348/317/316/308 TECHNICAL SOFTWARE
EPSON
II-87
13 LCD CONTROLLER
Specifications
Control of LCD controller
(1) lcd_init: Initialization for LCD controller
Sets the LCD controller as follows:
 LCD dot matrix type
5 x 8
 LCD drive duty
1/32
 LCD display control
Normal display
 Contrast
Middle (8/16)
 CL output
ON
 FR output
ON
(2) control_example, display_frame, display_1ch: Display control
By specifying the front address of the string stored in memory and the display memory address
(display position), data in the character generator table are written to display memory and are
shown on the LCD panel.
The message to be displayed is an ASCII code string and "00H" should be added to the end of the
string as an end mark.
Display example: "e" "0" "c" "8" "8" "3" "1" "6" 00H
5 x 8-dot character data are stored in the character generator ascii_table in ASCII code order. A
character is configured with 5 bytes of data. Consequently, data for the character code "n" should
be stored in 5 bytes from ascii_table + (n x 5) address.
30H
3EH
51H
49H
45H
3EH
31H
00H
42H
7FH
40H
00H
32H
42H
61H
51H
49H
46H
Fig. 13.1 Configuration of character data
Notes
(1) R26 and R25 terminals are common to the normal DC output port and CL output, and FR output.
When performing CL and FR output to expand the LCD driver externally, set the R26 and R25
registers at "1" and control the signal ON/OFF using the LCCLK and LCFRM registers.
(2) Maximum drive dot number of the S1C88348/317/316 is 1,632 dots (51 segments
× 32 commons).
(3) Maximum drive dot number of the S1C88308 is 1,312 dots (41 segments
× 32 commons).