AD6315
1/4- to 1/12 Duty VFD Controller/Driver
(2) Key Matrix and Key-input Data Storage RAM
The key matrix is made up of a 16 X 2 matrix, as shown below.
KEY
1
KEY
2
Seg
10
/KS
10
Seg
11
/KS
11
Seg
12
/KS
12
Seg
13
/KS
13
Seg
14
/KS
14
Seg
15
/KS
15
The data of each key is stored as follows, and is read with the read command starting from the least
significant bit.
KEY
1
KEY
2
Seg
1
/ KS
1
Seg
5
/ KS
5
Seg
9
/ KS
9
Seg
13
/ KS
13
b0
b1
KEY
1
KEY
2
Seg
2
/ KS
2
Seg
6
/ KS
6
Seg
10
/ KS
10
Seg
14
/ KS
14
b2
b3
KEY
1
KEY
2
Seg
3
/ KS
3
Seg
7
/ KS
7
Seg
11
/ KS
11
Seg
15
/ KS
15
b4
b5
KEY
1
KEY
2
Seg
4
/ KS
4
Seg
8
/ KS
8
Seg
12
/ KS
12
Seg
16
/ KS
16
b6
b7
Reading
Sequence
(3) LED Port
Data is written to the LED port with the write command, starting from the least significant bit. “L” output
when the bit of this port is 0, and “H” output when the bit is 1. The data of bits after the 5
th
bit are ignored.
MSB
b3
b2
b1
LSB
b0
LED
1
Don't care
LED
2
LED
3
LED
4
Note: On power application, all the LED ports are “L” output.
(4) Commands
Commands set the display mode and status of the VFD driver.
The first 1 byte input to the AD6315 through the DIN pin after the STB pin has fallen is regarded as a
command. If STB is set high while commands/data are transmitted, serial communication is initialized,
and the commands/data being transmitted are invalid (however, the commands/data previously
transmitted remain valid).
Anachip Corp.
www.anachip.com.tw
7/16
Rev. A5 Dec 29, 2003
Seg
16
/KS
16
Seg
1
/KS
1
Seg
2
/KS
2
Seg
3
/KS
3
Seg
4
/KS
4
Seg
5
/KS
5
Seg
6
/KS
6
Seg
7
/KS
7
Seg
8
/KS
8
Seg
9
/KS
9