TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
command/data already transmitted remains valid.
(1) Display mode setting command
This command initializes TP6312 and selects the
number of segments and number of grids (1/4 to 1/11-
duty, 11 segments to 16 segments).
On power application, the 11-digit, 11-segment mode
is selected.
0
0
----
----
----
b2
b1
b0
MSB
LSB
Display mode settings
Irrelevant
000 : 4 digits, 16 segments
001 : 5 digits, 16 segments
010 : 6 digits, 16 segments
011 : 7 digits, 15 segments
100 : 8 digits, 14 segments
101 : 9 digits, 13 segments
110 : 10 digits, 12 segments
111 : 11 digits, 11 segments
(2) Data setting commands
This command sets data write and read modes.
0
1
----
----
b3
b2
b1
b0
MSB
LSB
Irrelevant
Address increment mode (display memory).
0:Increments address after data has been written.
1:Fixes address.
Test mode settings.
0:Normal operation.
1:Test mode.
Data write and read mode settings
00:Writes data to display memory
01:Writes data to LED port
10:Reads key data.
11:Reads SW data.
On power application, the normal operation mode and
address increment mode set.
(3) Address setting command
This command sets an address of the display
memory.
1
1
----
b4
b3
b2
b1
b0
Address (00H-15H)
MSB
LSB
If address 16H or higher is set, the data is ignored
and unit a correct address is set.
On power application, the address is set to 00H.
(4) Display control command
1
0
----
----
b3
b2
b1
b0
Dimming quantity settings.
000 : Sets pulse width to 1/16.
001 : Sets pulse width to 2/16.
010 : Sets pulse width to 4/16.
011 : Sets pulse width to 10/16.
100 : Sets pulse width to 11/16.
101 : Sets pulse width to 12/16.
110 : Sets pulse width to 13/16.
111 : Sets pulse width to 14/16.
MSB
LSB
Irrelevant
Turns on/off display
0:Display off (key scan continues)
1:Display on.
On power application, the 14/16-pulse width is set and
the display is turned off.
Key Scanning and Display Timing
DIG1
DIG2
DIG3
..............
DIGn
1 2
...
6
SEG Output
DIG1
G1
G2
G3
Gn
1 frame=TDISP x (n+1)
TDISP 500
≒
µs
Key scan data
1/16
TDISP
One cycle of Key scanning consists of two frames,
and data of 6
× 4 matrices is stored in RAM.
Serial Communication Format
Reception (command/data write)
b0
b1
b2
……
b6
b7
……
STB
DIN
CLK
If data is cintiguous
Version 1.1
Page 4 of 9
http://www.topro.com.tw
September 2003