Keypad Switches And Scanning - LG B2070 Service Manual

Hide thumbs Also See for B2070:
Table of Contents

Advertisement

3.9 Keypad Switches and Scanning

The key switches are metal domes, which make contact between two concentric pads on the
keypad layer of the PCB when pressed. There are 21 switches (Normal Key 21EA, No sidekey),
connected in a matrix of 5 rows by 5 columns and additional GPIO 35 for KEY_ROW5, as shown in
Figure 3-24, except for the power switch, which is connected independently.
Functions, the row and column lines of the keypad are connected to ports of AD6527.
The columns are outputs, while the rows are inputs and have pull-up resistors built in.
When a key is pressed, the corresponding row and column are connected together, causing the
row input to go low and generate an interrupt. The columns/rows are then scanned by AD6527 to
identify the pressed key.
K
E
Y
R
3
1
0
K
E
Y
_
R
O
W
0
6
8
0
R
3
1
7
K
E
Y
_
R
O
W
1
6
8
0
R
3
2
4
K
E
Y
_
R
O
W
2
6
8
0
R
3
3
0
K
E
Y
_
R
O
W
3
6
8
0
V
A
3
3
0
A
V
L
C
1
4
S
0
2
R
3
3
5
K
E
Y
_
R
O
W
4
6
8
0
R
3
3
9
6
8
K
E
Y
_
C
O
L
0
R
3
4
0
6
8
K
E
Y
_
C
O
L
1
R
3
4
1
6
8
K
E
Y
_
C
O
L
2
R
3
4
2
6
8
K
E
Y
_
C
O
L
3
R
3
4
3
6
8
K
E
Y
_
C
O
L
4
V
A
3
3
1
A
V
L
C
1
4
S
0
2
P
O
W
E
R
K
E
Y
V
A
3
1
1
A
V
L
C
1
4
S
0
2
0
5
0
1
V
A
3
0
2
A
V
L
C
1
4
S
0
2
0
5
0
4
V
A
3
0
3
7
A
V
L
C
1
4
S
0
2
0
5
0
V
A
3
0
4
S
T
A
R
0
5
0
A
V
L
C
1
4
S
0
2
0
5
0
V
A
3
0
5
A
V
L
C
1
4
S
0
2
0
5
0
0
V
A
3
0
6
A
V
L
C
1
4
S
0
0
0
0
0
5
0
Figure 3-24 Keypad Switches and Scanning
V
B
A
T
R
3
0
1
E
N
D
1
0
K
R
3
0
9
6
8
0
2
3
5
6
8
9
0
S
H
A
R
P
V
A
3
0
7
V
A
3
0
8
0
2
0
5
0
A
V
L
C
1
4
S
0
2
0
5
0
A
V
L
C
1
- 41 -
3. TECHNICAL BRIEF
C
L
R
L
E
F
T
U
P
R
I
G
H
T
D
O
W
N
V
A
3
0
9
4
S
0
2
0
5
0
A
V
L
C
1
4
S
0
2
0
5
0
M
E
N
U
S
E
L
S
E
N
D
S
I
M
_
D
A
T
A
V
A
3
1
0
A
V
L
C
1
4
S
0
2
0
5
0

Advertisement

Table of Contents
loading

Table of Contents