ETC TP6312

TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
General Description
Features
The TP6312 is a VFD (Vacuum Fluorescent Display)
Multiple display modes (11-segment & 11-digit to
controller/driver that is driven on a 1/4 to 1/11-duty
16-segment & 4-digit)
factor. It consists of 11 segment output lines, 6 grid
Key scanning (6 × 4 matrices)
output lines, 5 segment/grid output drivelines, a
Dimming circuit (eight steps)
display memory, a control circuit, and a Key scan
High-voltage output (VDD – 35V max)
circuit.
LED ports (4 chs, 20 mA max)
Serial data is input to TP6312 through a
three-line serial interface.
This VFD controller/driver
General-purpose input port (4 bits)
is ideal as a peripheral device of a single-chip
No external resistor necessary for driver outputs
microcomputer.
(P-ch open-drain + pull-down resistor output)
Serial interface (CLK, STB, DIN, DOUT)
Ordering Information
TP 6312
Package Type F: LQFP
S: 2.0 mm
Footprint
L: 3.2 mm
Footprint
Version
Package Type
Block Diagram
Command decoder
Dimming circuit
DOUT
Serial I/F
CLK
Display memory
16bit x 11 word
STB
16
Segment driver
16-bit output latch
DIN
11
Seg1
Seg11
5
Key1
to
Key4
11
6
Grid1
Grid6
4
4 bit latch
LED1
Version 1.1
September 2003
Seg16/Gird7
4
4 bit latch
SW1
to
SW4
Seg12/Gird11
5
Grid driver
Key data memory
(4x6)
5
Segment/grid driver
Timing generator key
scan
16-bit output latch
OSC
Data selector
R
VDD
VSS
VEE
(+5V)
(0V)
(-30V)
LED4
Page 1 of 9
http://www.topro.com.tw
TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
C LK
22
21
20
S e g6 / KS 6
19
S e g5 / KS 5
18
S e g4 / KS 4
17
S e g3 / KS 3
16
S e g2 / KS 2
15
S e g1 / KS 1
14
S e g7
VDD
13
S e g10
S e g9
24
23
11
8
VS S
KEY 2
7
D IN
9
6
D O UT
10
5
S TB
4
SW 4
KEY 1
3
2
S e g8
KEY 4
12
S e g11
25
VE E
S e g12 / Grid 11
S e g13 / Grid 10
28
26
S e g14 / Grid 9
29
27
S e g15 / Grid 8
30
Grid 6
S e g16 / Grid 7
32
31
Grid 5
34
35
36
37
38
39
SW 3
VS S
OS C
SW 2
LED 1
1
LED 2
SW 1
LED 3
40
VDD
LED 4
41
G rid 1
42
G rid 2
43
G rid 3
44
G rid 4
33
Pin Configuration (Top View)
KEY 3
Use all the power pins.
Pin Description
Pin No
Symbol
Pin Name
6
DIN
Date input
5
DOUT
Date output
9
STB
Strobe
8
CLK
Clock input
44
OSC
Oscillator pin
15 to 20
Seg1/KS1 to
Seg6/KS6
High-voltage output
21 to 25
Seg7 to Seg11
37 to 32
Grid1 to Grid6
42 to 39
Seg11/Grid11 to
Seg16/Grid7
LED1 to LED4
High-voltage output
(Segment)
High-voltage output
(Grid)
High-voltage output
(Segment/grid)
LED output
10 to 13
Key1 to Key4
Key data input
1 to 4
SW1 to SW4
Switch input
14, 38
7, 43
27
VDD
VSS
VEE
Logic power
Logic ground
Pull-down level
26, 28 to 31
Version 1.1
September 2003
Page 2 of 9
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.
VDD – 35 V max
http://www.topro.com.tw
TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
Functional Description
Display RAM Address and Display Mode
The data of each Key is stored as illustrated below,
The display RAM stores the data transmitted from an
and is read by a read command, starting from the
external device to TP6312 through the serial interface,
least significant bit.
and is assigned addresses as follows, in units of 8
bits:
Seg1
Seg4
Seg8
Seg12
00HU
01HL
01HU
DIG1
02HL
02HU
03HL
03HU
DIG2
04HL
04HU
05HL
05HU
DIG3
06HL
06HU
07HL
07HU
DIG4
08HL
08HU
09HL
09HU
DIG5
0AHL
0AHU
0BHL
0BHU
DIG6
0CHL
0CHU
0DHL
0DHU
DIG7
0EHL
0EHU
0FHL
0FHU
DIG8
10HL
10HU
11HL
11HU
DIG9
12HL
12HU
13HL
13HU
DIG10
14HL
14HU
15HL
15HU
DIG11
b3 b4
XX HL
Seg3 / KS3
Seg16
00HL
b0
Key1
Key4 Key1
Key4
Seg2 / KS2
Seg1 / KS1
Seg5 / KS5
b0
Reading sequence
Seg4 / KS4
Seg6 / KS6
b3 b4
b7
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.
----
b7
----
----
----
b3
b2
b1
b0
LED1
LED2
LED3
LED4
Don't care
XX HU
Lower 4 bits
Higher 4 bits.
On power application, all LEDs are unlit.
Key Matrix and Key-Input Data Storage
RAM
The Key matrix is of 6 × 4 configuration, as shown
below.
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.
KEY1
MSB
KEY2
0
LSB
0
0
0
b3
b2
b1
b0
SW1
SW2
SW3
SW4
KEY3
Seg6/KS6
Seg5/KS5
Seg4/KS4
Seg3/KS3
Seg2/KS2
Seg1/KS1
KEY4
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
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.
(1) Display mode setting command
On power application, the address is set to 00H.
This command initializes TP6312 and selects the
number of segments and number of grids (1/4 to 1/11-
(4) Display control command
duty, 11 segments to 16 segments).
On power application, the 11-digit, 11-segment mode
MSB
is selected.
1
MSB
LSB
0
LSB
0
0
----
----
----
b2
b1
----
----
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.
Irrelevant
b0
Display mode settings
Irrelevant
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
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
Key Scanning and Display Timing
This command sets data write and read modes.
MSB
TDISP≒500 µs
LSB
0
1
----
----
b3
b2
b1
SEG Output
DIG1
Key scan data
DIG2
DIG3
..............
DIGn
1
2
...
6
DIG1
b0
G1
Data write and read mode settings
Irrelevant
G2
00:Writes data to display memory
01:Writes data to LED port
10:Reads key data.
11:Reads SW data.
1/16
TDISP
G3
Address increment mode (display memory).
0:Increments address after data has been written.
1:Fixes address.
Gn
Test mode settings.
0:Normal operation.
1:Test mode.
1 frame=TDISP x (n+1)
On power application, the normal operation mode and
address increment mode set.
(3) Address setting command
This command sets an address of the display
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)
memory.
STB
MSB
1
LSB
1
----
b4
b3
b2
b1
b0
DIN
CLK
If data is cintiguous
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)
Because the DOUT 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Ω).
STB
DIN
b0
b1
b2
b3
b4
b5
b6
b7
*: When data is read, a wait time (tWAIT) of 1µs is
1
CLK
2
3
4
5
6
7
8
1
tWAIT
DOUT
2
b0
3
b1
Data reading command is set.
4
b2
b3
5
b4
6
necessary from the rising of the eighth clock that has
set the command till the falling of the first clock that
b5
has read the data.
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
Symbol
VDD
VEE
Vi1
Vo2
Io1
VFD Driver Output Current
Io2
Power Dissipation
Operating Ambient Temperature
Storage Temperature
PD
Topt
Tstg
Ratings
-0.5 to + 7.0
VDD +0.5 to VDD -40
-0.5 to VDD +0.5
VEE –0.5 to VDD +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
Symbol
VDD
VIH
VIL
VEE
Min.
4.5
0.7VDD
0
0
Typ.
5
Max.
5.5
VDD
0.3VDD
VDD-35
Unit
V
V
V
V
Test Condition
Maximum power consumption PMAX = VFD driver dissipation + RL dissipation + LED driver dissipation + dynamic power
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)
RL dissipation ≒ (VDD-VEE)2/50 x (segment+1) (mW)
LED driver dissipation = number of LEDs x 20(mW)
Dynamic power consumption = VDD x 5(mW)
Electrical Characteristics (Ta = -20°C to +70°C, VDD = 4.5V to 5.5V, VS = 0V, VEE = VDD - 35V)
Parameter
High-Level Output Voltage
Low-Level Output Voltage
Low-Level Output Voltage
High-Level Output Current
Symbol
VOH1
VOL1
VOL2
IOH21
Min
0.9 VDD
-3
Unit
V
V
V
mA
High-Level Output Current
IOH22
-15
mA
Driver Leakage Current
Output Pull-Down Resistor
Input Current
High-Level Input Voltage
Low-Level Input Voltage
Hysteresis Voltage
Dynamic Current Consumption
IOLEAK
RL
Ii
VIH
VIL
VH
IDDdyn
Version 1.1
September 2003
Typ.
Max.
1
0.4
50
100
-10
150
±1
0.6 VDD
0.3 VDD
0.35
5
Page 5 of 9
µA
kΩ
µA
V
V
V
mA
Test Conditions
LED1 – LED4, IOH1 = -1 mA
LED1 – LED4, IOL1 = 20 mA
DOUT, IOL2 = 4 mA
VO = VDD –2V, Seg1 to Seg11
VO = VDD –2V,Grid1 to Grid6,
Seg12/Seg 11 to Seg16/Seg 7
VO = VDD - 35V, Drive off
Drive output
VI = VDD or VSS
CLK, DIN, STB
Under no load, display off
http://www.topro.com.tw
TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
Switching Characteristics (Ta = -20°C to +70°C, VDD = 4.5V to 5.5V, VEE = -30V)
Parameter
Oscillation Frequency
Symbol
fOSC
tPLZ
tPZL
tTZH1
Propagation Delay Time
Rise Time
Min
350
Typ.
500
tTZH2
Fall Time
Maximum Clock Frequency
Input Capacitance
tTHZ
fmax
C1
Max.
650
300
100
2
Unit
kHz
ns
ns
µs
0.5
µs
120
µs
MHz
pF
1
15
Test Conditions
R = 56kΩ
CLK ⇒ DOUT
CL = 15pF,RL = 10kΩ
Seg1 to Seg11
Grid1 to Grid6
CL = 300
Seg12/Grid11
PF
to
Seg16/Grid7
CL = 300 pF, Segn, Gridn
Duty = 50%
Timing Conditions (Ta = -20°C to +70°C, Vdd = 4.5V to 5.5V)
Parameter
Clock Pulse Width
Strobe Pulse Width
Data Setup Time
Data Hold Time
Clock-Strobe Time
Wait Time
Symbol
PWCLK
PWSTB
tSETUP
tHOLD
tCLK-STB
tWAIT
Min
400
1
100
100
1
1
Typ.
Max.
Unit
ns
µs
ns
ns
µs
µs
Test Conditions
CLK ↑→ STB ↑
CLK ↑→ CLK ↓
Switching Characteristic Waveform
PW
PW
CLK
tSETUP
PW
STB
tCLK-STB
CLK
thold
tPZL
tPZL
tTHZ
tTHZ
90%
10%
Version 1.1
September 2003
Page 6 of 9
http://www.topro.com.tw
TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
Application
Updating display memory by incrementing address
STB
CLK
DIN
……
Command1
Command2
Data 1
Command3
Command1:
sets display mode
Command2:
sets data
Command3:
sets address
Data 1 to n:
transfers display data (22 bytes max.)
Command4:
controls display
……
Data n
Command 4
Updating specific address
STB
CLK
DIN
Command1
Command1:
Command2
Command2
Data
sets data
Command2:
sets address
Data:
display data
Version 1.1
September 2003
Data
Page 7 of 9
http://www.topro.com.tw
TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
Package Information
44-Pin Plastic LQFP Short-Lead (Footprint = 2.0mm)
NOTE
A
Each lead centerline is located within 0.16 mm of its
true position (T.P.) at maximum material
B
(Unit: mm)
33
23
34
22
Item
A
B
C
D
E
F
C
D
G
11
E
12
44
1
H
I
J
K
L
M
N
F
O
Millimeters
12.0 ± 0.2
10.0 ± 0.2
12.0 ± 0.2
10.0 ± 0.2
0.37(TYP.)
0.8 BSC
+0.2
0.3
-0.1
1.0
0.6 ± 0.15
12o ± 1o
12o ± 1o
1.7 MAX
1.4± 0.1
0 o MIN
+7 o
+3 o o
-3
H
J
I
G
K
N
M
L
O
Version 1.1
September 2003
Page 8 of 9
http://www.topro.com.tw
TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
44-Pin Plastic LQFP Long- Lead (Footprint = 3.2mm)
NOTE
A
Each lead centerline is located within 0.16 mm of its
B
33
true position (T.P.) at maximum material
(Unit: mm)
34
22
23
C
D
Item
Millimeters
A
13.2 ± 0.2
B
10.0 ± 0.2
C
13.2 ± 0.2
D
10.0 ± 0.2
E
0.37(TYP.)
F
44
1
11
E
0.8 BSC
0.3
+0.2
12
G
-0.1
F
H
H
1.6
I
1.2 ± 0.15
J
12o ± 1o
K
12o ± 1o
L
1.7 MAX
M
J
1.4± 0.1
0 o MIN
N
I
O
+3 o
+7 o
-3 o
G
K
N
M
L
O
◎Headquarters
5 F, No. 10, Prosperity Road 1, Science-Based Industrial Park, Hsinchu 300, Taiwan, R.O.C
Tel.: 886-3-563-2515
Fax: 886-3-564-1728
◎Taipei Office
5 F, No.27, Min Chuan W. Rd. Taipei 104, Taiwan, R.O.C
Tel.: 886-2-2585-6858
Fax: 886-2-2594-1104
◎Shenzhen Office
Room 802, Tower A, World Trade Plaza, Fahong Rd., Fatian, Shenzhen, China
Tel.: 86-755-8367-9985
Fax: 86-755-8367-9518
Version 1.1
September 2003
Page 9 of 9
http://www.topro.com.tw