SC16315S
Display mode and RAM address
Data transmitted from an external device to SC16315S via the serial interface are stored in the Display RAM
and are assigned addresses. The RAM Addresses of SC16315S are given below in 8 bits unit.
Figure 7:SC16315S RAM address
SG1
SG4 SG5
SG8 SG9
01H
SG12
00H
03H
06H
09H
12H
15H
18H
1BH
02H
05H
08H
0BH
14H
17H
1AH
1DH
DGT1
DGT2
DGT3
DGT4
DGT5
DGT6
DGT7
DGT8
04H
07H
0AH
13H
16H
19H
1CH
Figure 8: SC16315S written RAM data bytes
Note: X=don’t care
Key matrix & Key•input data storage ram
The key matrix is made up of 8x 2 arrays as shown below:
Figure 9: SC16315S key matrix
K1
K2
Each data entered by each key is stored as follows. They are read by a READ Command, starting from the last
significant bit. When the most significant bit of the data (SG1, b0) has been read, the least significant bit of the
next data (SG8, b7) is read.
Figure 10: SC16315S key input data storage
K1… … … K2 K1… … … . K2 K1… … … … .K2
K1… … … … ..K2
SG4/KS4
*
SG1/KS1
*
SG2/KS2
*
SG3/KS3
*
Reading sequence
SG5/KS5
b0 ••••••• b1
SG6/KS6
b2 ••••••• b3
SG7/KS7
b4•••••••• b5
SG8/KS8
b6 •••••••• b7
Note: *=These sections are not relevant but are needed to read the transmission clock.
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
REV:1.2
2004.03.01
Http: www.silan.com.cn
Page 6 of 13