English
Language : 

SED1330F Datasheet, PDF (100/148 Pages) List of Unclassifed Manufacturers – LCD Controller ICs
6.0 Character Generator
Row
R3
R2
R1
R0
Row 0
0
0
0
0
Row 1
0
0
0
1
Row 2
0
0
1
0
Line 1
Row 7
0
1
1
1
Row 8
1
0
0
0
Line 2
Row 14
1
1
1
0
Row 15
1
1
1
1
Note: Lines = 1: lines in the character bitmap ≤ 8
Lines = 2: lines in the character bitmap ≥ 9
Figure 65. Row select address
6.3.1 M1 = 1
The SED1335F/1336F automatically converts all bits
set in bit 6 of character code for CG RAM 2 to zero.
Because of this, the CG RAM data areas become
contiguous in display memory.
When writing data to CG RAM:
• Calculate the address as for M1 = 0.
• Change bit 6 of the character code from “1” to
“0”.
6.3 – 6.3.2
As the character code table in Figure 58 shows, codes
80H to 9FH and E0H to FFH are allocated to the CG
RAM and can be used as desired. 80H is thus the first
code for CG RAM. As characters cannot be used if
only using graphics mode, there is no need to set the
CG RAM data.
Table 25. Character data example
CGRAM ADR
P1
P2
CSRDIR
CSRW
P1
P2
MWRITE
P
P2
P3
P4
P5
P6
P7
P8
P8
↓
P16
5CH
00H
40H
4CH
46H
00H
48H
42H
70H
88H
88H
88H
F8H
88H
88H
00H
00H
↓
00H
Reverse the CG RAM ad-
dress calculation to cal-
culate SAG
Set cursor shift direction
to right
CG RAM start address is
4800H
Write ROW 0 data
Write ROW 1 data
Write ROW 2 data
Write ROW 3 data
Write ROW 4 data
Write ROW 5 data
Write ROW 6 data
Write ROW 7 data
Write ROW 8 data
↓
Write ROW 15 data
6.3.2 CG RAM Addressing Example
• Define a pattern for the “A” in Figure 38.
• The CG RAM table start address is 4800H.
• The character code for the defined pattern is
80H (the first character code in the CG RAM
area).
100 S-MOS Systems, Inc. • 2460 North First Street • San Jose, CA 95131 • Tel: (408) 922-0200 • Fax: (408) 922-0238 268-0.4