
Data Sheet S15726EJ2V0DS
25
μ
PD161401
5.2.5
Common scan circuit
The common scan circuit sets the sequence for the scan line of the common signal in which the display RAM is to be
read. The RAM line reading direction is set as shown in
Table 5
5
by the COMR flag of control register 1 (R0).
For example, if the duty ratio is 1/64, the number of scroll steps is 0, and COMR = 0, the RAM line reading direction
is from 00H to 3FH. If COMR = 1, it is from 3FH to 00H.
Table 5
5. Relationship between Common Scan Circuit and Scan Direction
0
00H
→
→
4FH
COMR
(D
0
)
1
4FH
00H
In addition, scanning of the common outputs can be assigned by using the COM scanning address setting register
(R21) as shown in
Table 5
6
, so that the scanning can be started from any O
1
to O
80
output pin. Therefore, the
common wiring of the LCD panel can be optimized when any duty ratio is selected.
When COMR = 0, the scan start (COM
1
) pin and scan end (COM
a
) pin are the On and O(
n+a
1
) pins, respectively. The
value of a is 64, 72, and 80 for 1/64 duty, 1/72 duty, and 1/80 duty, respectively. When COMR = 1, the scan start
(COM
1
) pin and scan end (COM
a
) pin are the O(
82
a
n
) and O(
80
n+1
) pins, respectively.
Examples of COM scan address settings for 1/64 duty, 1/72 duty, and 1/80 duty are shown in
Tables 5
5, 5
7
, and
5
8
, respectively.
Table 5
6. COM Scanning Address Setting (1/64 duty)
COMR = 0
COMR = 1
the scan start
(COM
1
) pin
→
the scan end
(COM
a
)
Note
pin
O(
n+a-1
)
Note
the scan start
(COM
1
) pin
O(
82-a-n
)
Note
→
the scan end
(COM
a
)
Note
pin
CSA4
CSA3
CSA2
CSA1
CSA0
n
O
n
→
→
O(
80-n+1
)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
O
1
O
2
O
3
O
4
O
5
O
6
O
7
O
8
O
9
O
10
O
11
O
12
O
13
O
14
O
15
O
16
O
17
→
→
→
→
→
→
→
→
→
→
→
→
→
→
→
→
→
O
64
O
65
O
66
O
67
O
68
O
69
O
70
O
71
O
72
O
73
O
74
O
75
O
76
O
77
O
78
O
79
O
80
O
17
O
16
O
15
O
14
O
13
O
12
O
11
O
10
O
9
O
8
O
7
O
6
O
5
O
4
O
3
O
2
O
1
→
→
→
→
→
→
→
→
→
→
→
→
→
→
→
→
→
O
80
O
79
O
78
O
77
O
76
O
75
O
74
O
73
O
72
O
71
O
70
O
69
O
68
O
67
O
66
O
65
O
64
Note
When in 1/64 duty, a = 64.