SC16315
KEY SCANNING AND DISPLAY TIMING
T
DISP=500
μs
Key scan data
DIG1
DIG2
DIG3
DIGn
DIG1
SEG output
G1
G2
G3
Gn
1/16 TDISP
1 frame=TDISPx(n+1)
Remark One cycle of key scanning consists of two frames, and data in a 16 x 2 matrix is stored in RAM.
Key Scan Expansion
1st frame
2nd frame
1 2 3 4 5 6 7 8
DIGn
DIG1
9 10 11 12 13 14 15 16
SERIAL COMMUNICATION FORMAT
Reception (command/data write)
If data continues
STB
D
IN
b0
b1
b2
b6
b7
7
8
CLK
1
2
3
Transmission (data read)
STB
D
IN
b0
b1
b2
b3
b4
b5
b6
b7
CLK
1
2
3
4
5
6
7
8
1
2
3
4
5
6
Note
WAIT
t
D
OUT
b0
b1
b2
b3
b4
b5
A data read command is set.
Data is read.
Note When data is read, a wait time tWAIT of 1μs is necessary since the rising of the eighth clock that has set the
command, until the falling of the first clock that has read the data.
Remark Be sure to connect an external pull-up resistor (1kΩ to 10kΩ) to this pin because the Dout pin is an N-
ch , open-drain output pin .
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
REV:1.0
2008.12.16
Http: www.silan.com.cn
Page 8 of 11