ChipFind - документация

Электронный компонент: TP6312

Скачать:  PDF   ZIP
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
three-line serial interface. This VFD controller/driver
is ideal as a peripheral device of a single-chip
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
)
Ordering Information
TP 6312
Package Type F: LQFP
Footprint
S: 2.0 mm
L: 3.2 mm
Footprint
Version
Package Type

Block Diagram
D
IN
D
OUT
CLK
STB
Serial I/F
OSC
Command decoder
Display memory
16bit x 11 word
Timing generator key
scan
Key data memory
(4x6)
4 bit latch
4
bi
t
l
a
tch
4
4
Dimming circuit
1
6
-
bit o
u
tput
l
a
tch
1
6
-
b
i
t o
u
tput
la
tch
Segm
ent dri
v
e
r
Se
gme
n
t/
gri
d
dri
v
er
Grid dr
i
v
er
Dat
a
s
e
l
e
c
t
o
r
11
6
5
5
5
16
11
V
DD
V
SS
V
EE
(+5V)
(0V)
(-30V)
LED
1
Seg
1
Seg
11
Seg
12
/Gird
11
Seg
16
/Gird
7
Grid
1
Grid
6
R
Key1
to
Key4
SW1
to
SW4
LED
4
Version 1.1
Page 1 of 9
http://www.topro.com.tw
September 2003
TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
Pin Configuration (Top View)
23
24
25
26
27
28
29
30
31
32
33
44
43
42
41
40
39
38
37
36
35
34
12
13
14
15
16
17
18
19
20
21
22
1
2
3
4
5
6
7
8
9
10
11
SW
1
SW
2
SW
3
SW
4
D
OU
T
D
IN
VS
S
CL
K
ST
B
KE
Y
1
KE
Y
2
KEY 3
KEY 4
V
DD
S e g1 / KS 1
S e g2 / KS 2
S e g3 / KS 3
S e g4 / KS 4
S e g5 / KS 5
S e g6 / KS 6
S e g7
S e g8
Seg
9
Se
g
1
0
Se
g
1
1
Seg
1
2
/
G
r
i
d

1
1
V
EE
S
e
g1
3 /

G
r
i
d

1
0
S
e
g
14 /
G
r
i
d
9
S
e
g
15 /
G
r
i
d
8
S
e
g
16 /
G
r
i
d
7
Gr
i
d
6
Gr
i
d
5
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
Use all the power pins.
Pin Description
Pin No
Symbol
Pin Name
Description
6 D
IN
Date
input
Inputs serial data at rising edge of shift clock,
starting from the lower bit.
5 D
OUT
Date
output
Outputs serial data at falling edge of shift clock,
starting from the lower bit. This is N-ch open-drain
output pin.
9 STB
Strobe
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.
8 CLK
Clock
input
Reads serial data at rising edge, and outputs data at
falling edge.
44 OSC Oscillator
pin
Connects a resistor to this pin to determine the
oscillation frequency to this pin.
15 to 20
Seg
1
/KS
1
to
Seg
6
/KS
6
High-voltage output
Segment output pins (Dual function as Key source).
21 to 25
Seg
7
to Seg
11
High-voltage output
(Segment)
Segment output pins.
37 to 32
Grid
1
to Grid
6
High-voltage output
(Grid)
Grid output pins.
26, 28 to 31
Seg
11
/Grid
11
to
Seg
16
/Grid
7
High-voltage output
(Segment/grid)
These pins are selectable for segment or grid
driving.
42 to 39
LED
1
to LED
4
LED output
CMOS output. +20 mA max.
10 to 13
Key
1
to Key
4
Key data input
Data input to these pins is latched at the end of
display cycle.
1 to 4
SW
1
to SW
4
Switch
input
These pins constitute 4-bit general-purpose input
port.
14, 38
V
DD
Logic
power
5V
10%
7, 43
V
SS
Logic ground
Connect this pin to system GND.
27 V
EE
Pull-down
level
V
DD
35 V max
Version 1.1
Page 2 of 9
http://www.topro.com.tw
September 2003
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
Seg
4
Seg
8
Seg
12
Seg
16
00H
L
00H
U
01H
L
01H
U
DIG1
02H
L
02H
U
03H
L
03H
U
DIG2
04H
L
04H
U
05H
L
05H
U
DIG3
06H
L
06H
U
07H
L
07H
U
DIG4
08H
L
08H
U
09H
L
09H
U
DIG5
0AH
L
0AH
U
0BH
L
0BH
U
DIG6
0CH
L
0CH
U
0DH
L
0DH
U
DIG7
0EH
L
0EH
U
0FH
L
0FH
U
DIG8
10H
L
10H
U
11H
L
11H
U
DIG9
12H
L
12H
U
13H
L
13H
U
DIG10
14H
L
14H
U
15H
L
15H
U
DIG11

b
0
b
3
b
4
b
7
XX H
L
XX
H
U
Lower 4 bits
Higher 4 bits.
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






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
1
/ KS
1
Seg
2
/ KS
2
Seg
3
/ KS
3
Seg
4
/ KS
4
Seg
5
/ KS
5
Seg
6
/ KS
6
Reading sequence
b0 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.
----
----
----
----
b3
b2
b1
b0
Don't care
LED1
LED2
LED3
LED4
On power application, all LEDs are unlit.
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.
0
0
0
0
b3
b2
b1
b0
SW1
SW2
SW3
SW4
MSB
LSB
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
Page 3 of 9
http://www.topro.com.tw
September 2003
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=T
DISP
x (n+1)
TDISP 500
s
Key scan data
1/16
T
DISP
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
TP6312
1/4 TO 1/11-DUTY VFD CONTROLLER/DRIVER
Transmission (data read)
b0
b1
b2
b3
b5
b4
b6
b7
1
2
3
4
5
6
7
8
1
2
3
4
5
6
b0
b1
b2
b3
b5
b4
STB
DIN
CLK
DOUT
t
WAIT
Data reading command is set.
Data reading starts.
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
).

*: When data is read, a wait time (t
WAIT)
of 1
s is
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.
Absolute Maximum Ratings (Ta = 25C, Vss = 0V)
Parameter
Symbol
Ratings
Unit
Logic Supply Voltage
V
DD
-0.5 to + 7.0
V
Driver Supply Voltage
V
EE
V
DD
+0.5 to V
DD
-40
V
Logic Input Voltage
V
i1
-0.5 to V
DD
+0.5
V
VFD Driver Output Voltage
V
o2
V
EE
0.5 to V
DD
+0.5
V
LED Driver Output Current
I
o1
+25
mA
VFD Driver Output Current
I
o2
-40 (grid)
-15 (segment)
mA
Power Dissipation
P
D
800
*
mW
Operating Ambient Temperature
T
opt
-40 to +70
Storage Temperature
T
stg
-65 to +150
* Derate at 6.4 mW/
at Ta = 25
or higher.
Recommended Operating Conditions (Ta = -20C to +70C, Vss = 0V)
Parameter
Symbol
Min.
Typ.
Max.
Unit
Test Condition
Logic Supply Voltage
V
DD
4.5 5
5.5
V
High-Level input Voltage
V
IH
0.7V
DD
V
DD
V
Low-Level input Voltage
V
IL
0
0.3V
DD
V
Driver Supply Voltage
V
EE
0
V
DD
-35
V
Maximum power consumption P
MAX
= VFD driver dissipation + R
L
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)
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)
Electrical Characteristics (Ta = -20C to +70C, V
DD
= 4.5V to 5.5V, V
S
= 0V, V
EE
= V
DD
- 35V)
Parameter
Symbol
Min
Typ.
Max.
Unit
Test Conditions
High-Level Output Voltage
V
OH1
0.9
V
DD
V LED
1
LED
4
, I
OH1
= -1 mA
Low-Level Output Voltage
V
OL1
1 V LED
1
LED
4
, I
OL1
= 20 mA
Low-Level Output Voltage
V
OL2
0.4 V
D
OUT
, I
OL2
= 4 mA
High-Level Output Current
I
OH21
-3
mA V
O
= V
DD
2V, Seg
1
to Seg
11
High-Level Output Current
I
OH22
-15
mA
V
O
= V
DD
2V,Grid
1
to Grid
6
,
Seg
12
/Seg
11
to Seg
16
/Seg
7
Driver Leakage Current
I
OLEAK
-10
A
V
O
= V
DD
- 35V, Drive off
Output Pull-Down Resistor
R
L
50
100
150
k
Drive output
Input Current
I
i
1
A
V
I
= V
DD
or V
SS
High-Level Input Voltage
V
IH
0.6
V
DD
V
Low-Level Input Voltage
V
IL
0.3
V
DD
V
Hysteresis Voltage
V
H
0.35
V
CLK,
D
IN
, STB
Dynamic Current Consumption
I
DDdyn
5
mA
Under no load, display off
Version 1.1
Page 5 of 9
http://www.topro.com.tw
September 2003