TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
General Description
The TP6312 is a VFD (Vacuum Fluorescent Display)
controller/driver that is driven on a 1/4 to 1/11-duty
factor. It consists of 11 segment output lines, 6 grid
output lines, 5 segment/grid output drivelines, a
display memory, a control circuit, and a Key scan
circuit.
Serial data is input to TP6312 through a
This VFD controller/driver
three-line serial interface.
microcomputer.
Features
Multiple display modes (11-segment & 11-digit to
16-segment & 4-digit)
Key scanning (6
×
4 matrices)
Dimming circuit (eight steps)
High-voltage output (V
DD
– 35V max)
LED ports (4 chs, 20 mA max)
General-purpose input port (4 bits)
No external resistor necessary for driver outputs
(P-ch open-drain + pull-down resistor output)
Serial interface (CLK, STB, D
IN
, D
OUT
)
is ideal as a peripheral device of a single-chip
Ordering Information
TP 6312
Footprint
Version
Package Type
Package Type
F: LQFP
S: 2.0 mm
Footprint
L: 3.2 mm
Block Diagram
Dimming circuit
Command decoder
D
IN
16-bit output latch
D
OUT
Serial I/F
CLK
STB
Display memory
16bit x 11 word
16
11
Segment driver
Seg
1
Seg
11
5
R
Segment/grid driver
Seg
12
/Gird
11
Data selector
OSC
Timing generator key
scan
16-bit output latch
5
Seg
16
/Gird
7
Key1
to
Key4
11
4
6
Grid driver
Key data memory
(4x6)
5
Grid
1
Grid
6
SW1
to
SW4
4 bit latch
4 bit latch
V
DD
(+5V)
LED
1
LED
4
V
SS
(0V)
V
EE
(-30V)
4
Version 1.1
September 2003
Page 1 of 9
http://www.topro.com.tw
TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
Pin Configuration (Top View)
S e g13 / Grid 10
S e g12 / Grid 11
S e g16 / Grid 7
S e g15 / Grid 8
S e g14 / Grid 9
S e g11
S e g10
24
Grid 5
Grid 6
33
32
31
30
29
28
27
26
25
23
S e g9
V
E E
34
22
21
20
19
18
17
16
15
G rid 4
G rid 3
G rid 2
G rid 1
V
DD
LED 4
LED 3
LED 2
LED 1
VS S
OS C
S e g8
S e g7
S e g6 / KS 6
S e g5 / KS 5
S e g4 / KS 4
S e g3 / KS 3
S e g2 / KS 2
S e g1 / KS 1
V
DD
KEY 4
KEY 3
42
41
40
39
38
37
36
35
43
44
10
KEY 1
Use all the power pins.
Pin Description
Pin No
6
5
Symbol
D
IN
D
OUT
Pin Name
Date input
Date output
Description
Inputs serial data at rising edge of shift clock,
starting from the lower bit.
Outputs serial data at falling edge of shift clock,
starting from the lower bit. This is N-ch open-drain
output pin.
Initializes the serial interface at rising or falling edge
to make TP6312 waiting for reception of command.
Data input after STB has fallen is processed as
command. While command data is processed,
current processing is stopped and serial interface is
initialized. While STB is high, CLK is ignored.
Reads serial data at rising edge, and outputs data at
falling edge.
Connects a resistor to this pin to determine the
oscillation frequency to this pin.
Segment output pins (Dual function as Key source).
Segment output pins.
Grid output pins.
These pins are selectable for segment or grid
driving.
CMOS output. +20 mA max.
Data input to these pins is latched at the end of
display cycle.
These pins constitute 4-bit general-purpose input
port.
5V
±
10%
Connect this pin to system GND.
V
DD
– 35 V max
9
STB
Strobe
8
44
15 to 20
21 to 25
37 to 32
26, 28 to 31
42 to 39
10 to 13
1 to 4
14, 38
7, 43
27
CLK
OSC
Seg
1
/KS
1
to
Seg
6
/KS
6
Seg
7
to Seg
11
Grid
1
to Grid
6
Seg
11
/Grid
11
to
Seg
16
/Grid
7
LED
1
to LED
4
Key
1
to Key
4
SW
1
to SW
4
V
DD
V
SS
V
EE
Clock input
Oscillator pin
High-voltage output
High-voltage output
(Segment)
High-voltage output
(Grid)
High-voltage output
(Segment/grid)
LED output
Key data input
Switch input
Logic power
Logic ground
Pull-down level
Version 1.1
September 2003
Page 2 of 9
KEY 2
SW 1
SW 2
SW 3
SW 4
D
O UT
C LK
VS S
S TB
D
IN
11
1
2
3
4
5
6
7
8
9
12
13
14
http://www.topro.com.tw
TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
Functional Description
Display RAM Address and Display Mode
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:
Seg
1
00H
L
02H
L
04H
L
06H
L
08H
L
0AH
L
0CH
L
0EH
L
10H
L
12H
L
14H
L
b
0
XX H
L
Lower 4 bits
Seg
4
00H
U
02H
U
04H
U
06H
U
08H
U
0AH
U
0CH
U
0EH
U
10H
U
12H
U
14H
U
b
3
b
4
XX H
U
Higher 4 bits.
On power application, all LEDs are unlit.
The data of each Key is stored as illustrated below,
and is read by a read command, starting from the
least significant bit.
Key
1
Key
4
Key
1
Key
4
Seg
2
/ KS
2
Seg
1
/ KS
1
Seg
3
/ KS
3
Seg
5
/ KS
5
b0
b3 b4
Seg
8
01H
L
03H
L
05H
L
07H
L
09H
L
0BH
L
0DH
L
0FH
L
11H
L
13H
L
15H
L
Seg
12
Seg
16
DIG1
DIG2
DIG3
DIG4
DIG5
DIG6
DIG7
DIG8
DIG9
DIG10
DIG11
Seg
4
/ KS
4
Seg
6
/ KS
6
b7
Reading sequence
01H
U
03H
U
05H
U
07H
U
09H
U
0BH
U
0DH
U
0FH
U
11H
U
13H
U
15H
U
b
7
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
Don't care
Key Matrix and Key-Input Data Storage
RAM
The Key matrix is of 6
×
4 configuration, as shown
below.
KEY1
KEY2
KEY3
KEY4
Seg1/KS1
Seg2/KS2
Seg3/KS3
Seg4/KS4
Seg5/KS5
Seg6/KS6
SW Data
The SW data is read by a read command, starting
from the least significant bit.
SW data are 0.
MSB
0
0
0
0
b3
b2
b1
LSB
b0
SW1
SW2
SW3
SW4
Bits 5 through 8 of the
Commands
A command sets the display mode and status of the
VFD driver.
The first 1 byte input to TP6312 through the D
IN
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
September 2003
Page 3 of 9
http://www.topro.com.tw
TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
command/data already transmitted remains valid.
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.
(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.
MSB
0
0
----
----
----
b2
b1
LSB
b0
(4) Display control command
MSB
1
0
----
----
b3
b2
b1
LSB
b0
Irrelevant
Irrelevant
Display mode settings
000
001
010
011
100
101
110
111
:
:
:
:
:
:
:
:
4 digits, 16 segments
5 digits, 16 segments
6 digits, 16 segments
7 digits, 15 segments
8 digits, 14 segments
9 digits, 13 segments
10 digits, 12 segments
11 digits, 11 segments
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.
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.
(2) Data setting commands
This command sets data write and read modes.
MSB
0
1
----
----
b3
b2
b1
LSB
b0
Key Scanning and Display Timing
TDISP
≒
500
µs
Key scan data
SEG Output
DIG1
DIG2
DIG3
..............
DIGn
1
2
...
6
DIG1
G1
Irrelevant
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.
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.
G2
1/16
T
DISP
G3
Gn
1 frame=T
DISP
x (n+1)
On power application, the normal operation mode and
address increment mode set.
One cycle of Key scanning consists of two frames,
and data of 6
×
4 matrices is stored in RAM.
(3) Address setting command
This command sets an address of the display
memory.
Serial Communication Format
Reception (command/data write)
STB
If data is cintiguous
MSB
1
1
----
b4
b3
b2
b1
LSB
b0
DIN
CLK
b0
b1
b2
……
……
b6
b7
Address (00H-15H)
Version 1.1
September 2003
Page 4 of 9
http://www.topro.com.tw
TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
Transmission (data read)
STB
Because the D
OUT
pin is an N-ch open-drain output
pin, be sure to connect an external pull-up resistor to
this pin (1kΩ to 10 kΩ).
DIN
b0
b1
b2
b3
b4
b5
b6
b7
*: When data is read, a wait time (t
WAIT)
of 1µs is
CLK
1
2
3
4
5
6
7
8
t
WAIT
1
2
3
4
5
6
necessary from the rising of the eighth clock that has
set the command till the falling of the first clock that
has read the data.
DOUT
b0
b1
b2
b3
b4
b5
Data reading command is set.
Data reading starts.
Absolute Maximum Ratings (Ta = 25°C, Vss = 0V)
Parameter
Logic Supply Voltage
Driver Supply Voltage
Logic Input Voltage
VFD Driver Output Voltage
LED Driver Output Current
VFD Driver Output Current
Power Dissipation
Operating Ambient Temperature
Storage Temperature
Symbol
V
DD
V
EE
V
i1
V
o2
I
o1
I
o2
P
D
T
opt
T
stg
Ratings
-0.5 to + 7.0
V
DD
+0.5 to V
DD
-40
-0.5 to V
DD
+0.5
V
EE
–0.5 to V
DD
+0.5
+25
-40 (grid)
-15 (segment)
800
*
-40 to +70
-65 to +150
Unit
V
V
V
V
mA
mA
mW
℃
℃
* Derate at –6.4 mW/℃ at Ta = 25℃ or higher.
Recommended Operating Conditions (Ta = -20°C to +70°C, Vss = 0V)
Parameter
Logic Supply Voltage
High-Level input Voltage
Low-Level input Voltage
Driver Supply Voltage
consumption.
Where segment current = 3 mA, grid current = 15mA, and LED current = 20 mA,
VFD driver dissipation = number of segments x 6 + number of grids/(number of grids + 1) x 30(mW)
R
L
dissipation
≒
(V
DD
-V
EE
)
2
/50 x (segment+1) (mW)
LED driver dissipation = number of LEDs x 20(mW)
Dynamic power consumption = V
DD
x 5(mW)
Symbol
V
DD
V
IH
V
IL
V
EE
Min.
4.5
0.7V
DD
0
0
Typ.
5
Max.
5.5
V
DD
0.3V
DD
V
DD
-35
Unit
V
V
V
V
Test Condition
Maximum power consumption P
MAX
= VFD driver dissipation + R
L
dissipation + LED driver dissipation + dynamic power
Electrical Characteristics (Ta = -20°C to +70°C, V
DD
= 4.5V to 5.5V, V
S
= 0V, V
EE
= V
DD
- 35V)
Parameter
High-Level Output Voltage
Low-Level Output Voltage
Low-Level Output Voltage
High-Level Output Current
High-Level Output Current
Driver Leakage Current
Output Pull-Down Resistor
Input Current
High-Level Input Voltage
Low-Level Input Voltage
Hysteresis Voltage
Dynamic Current Consumption
Symbol
V
OH1
V
OL1
V
OL2
I
OH21
I
OH22
I
OLEAK
R
L
I
i
V
IH
V
IL
V
H
I
DDdyn
Min
0.9 V
DD
Typ.
Max.
1
0.4
-3
-15
50
0.6 V
DD
0.3 V
DD
0.35
5
100
-10
150
±1
Unit
V
V
V
mA
mA
µA
kΩ
µA
V
V
V
mA
Test Conditions
LED
1
– LED
4
, I
OH1
= -1 mA
LED
1
– LED
4
, I
OL1
= 20 mA
D
OUT
, I
OL2
= 4 mA
V
O
= V
DD
–2V, Seg
1
to Seg
11
V
O
= V
DD
–2V,Grid
1
to Grid
6
,
Seg
12
/Seg
11
to Seg
16
/Seg
7
V
O
= V
DD
- 35V, Drive off
Drive output
V
I
= V
DD
or V
SS
CLK, D
IN
, STB
Under no load, display off
Version 1.1
September 2003
Page 5 of 9
http://www.topro.com.tw