TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
Functional Description
The data of each Key is stored as illustrated below,
Display RAM Address and Display Mode
and is read by a read command, starting from the
least significant bit.
The display RAM stores the data transmitted from an
external device to TP6312 through the serial interface,
and is assigned addresses as follows, in units of 8
bits:
Key1
Key4 Key1
Key4
Seg1 / KS1
Seg2 / KS2
Reading sequence
Seg3 / KS3
Seg5 / KS5
Seg4 / KS4
Seg6 / KS6
Seg1
00HL
Seg4
00HU
Seg8
Seg12
Seg16
DIG1
01HL
03HL
05HL
07HL
09HL
0BHL
0DHL
0FHL
11HL
13HL
15HL
01HU
b0
b3 b4
b7
02HL
04HL
06HL
08HL
0AHL
0CHL
0EHL
10HL
12HL
14HL
02HU
04HU
06HU
08HU
0AHU
0CHU
0EHU
10HU
12HU
14HU
03HU
05HU
07HU
09HU
0BHU
0DHU
0FHU
11HU
13HU
15HU
DIG2
DIG3
DIG4
DIG5
DIG6
DIG7
DIG8
DIG9
DIG10
DIG11
LED Port
Data is written to the LED port by a write command,
starting from the least significant bit of the port.
When a bit of this port is 0, the corresponding LED
lights; when the bit is 1, the LED goes off. The data
of bits 5 through 8 is ignored.
---- ---- ---- ----
b3
b2
b1
b0
LED1
LED2
LED3
LED4
b0
b3 b4
b7
Don't care
XX HL
XX HU
Lower 4 bits Higher 4 bits.
On power application, all LEDs are unlit.
Key Matrix and Key-Input Data Storage
RAM
SW Data
The SW data is read by a read command, starting
from the least significant bit. Bits 5 through 8 of the
SW data are 0.
The Key matrix is of 6 × 4 configuration, as shown
below.
KEY1
KEY2
KEY3
KEY4
MSB
0
LSB
b0
0
0
0
b3
b2
b1
SW1
SW2
SW3
SW4
Commands
A command sets the display mode and status of the
VFD driver.
The first 1 byte input to TP6312 through the DIN pin
after the STB pin has fallen is regarded as a
command.
If STB is high while a command/data is transmitted,
serial communication is initialized, and the
transmitting command/data is invalid; however, the
Version 1.1
Page 3 of 9
http://www.topro.com.tw
September 2003