Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S DESCRIPTION PT6315-S is a Vacuum Fluorescent Display (VFD) Controller driven on a 1/4 to 1/8 duty factor. Eight segment output lines, 4 grid output lines, 4 segment/grid output drive lines, one display memory, control circuit, key scan circuit are all incorporated into a single chip to build a highly reliable peripheral device for a single chip micro computer. Serial data is fed to PT6315-S via a three-line serial interface. It is housed in a 28pins, SOP. FEATURES • • • • • • • • CMOS Technology Low Power Consumption Key Scanning (8 x 2 matrix) Multiple Display Modes: (8 Segments, 8 Digits to 12 Segments, 4 Digits) 8-Step Dimming Circuitry Serial Interface for Clock, Data Input, Data Output, Strobe Pins No External Resistors Needed for Driver Outputs Available in 28pins, SOP APPLICATION • Microcomputer Peripheral Devices PT6315-S V1.9 -1- September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S BLOCK DIAGRAM SG1/KS1 SG2/KS2 Control SG3/KS3 DIN DOUT CLK Serial Data Interface Display Memory STB Segment Driver/ SG4/KS4 Grid Driver/ SG6/KS6 Key Scan Output SG8/KS8 SG5/KS5 SG7/KS7 SG9/GR8 SG10/GR7 OSC OSC SG11/GR6 Timing Generator SG12/GR5 R Key Matrix Memory GR1 Dimming Circuit K1 PT6315-S V1.9 K2 VDD -2- GND Grid Driver GR2 GR3 GR4 VEE September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S PIN CONFIGURATION PT6315-S V1.9 CLK 1 28 STB 2 27 DIN DOUT K1 3 26 OSC K2 4 25 VSS VSS VDD 5 24 6 23 VDD GR1 SG1/KS1 7 22 GR2 SG2/KS2 8 21 GR3 SG3/KS3 SG4/KS4 9 20 GR4 10 19 SG12/GR5 SG5/KS5 11 18 SG11/GR6 SG6/KS6 12 17 SG7/KS7 13 16 SG10/GR7 SG9/GR8 SG8/KS8 14 15 VEE P T 63 1 5- S -3- September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S PIN DESCRIPTION Pin Name I/O CLK I STB I K1 to K2 I VSS VDD - SG1/KS1 to SG8/KS8 O VEE SG9/GR8 to SG12/GR5 GR4 to GR1 O O OSC I DOUT O DIN I PT6315-S V1.9 Description Pin No. Clock Input Pin This pin reads serial data at the rising 1 edge and outputs data at the falling edge. Serial Interface Strobe Pin The data input after the STB has fallen is processed as a command. When this pin is 2 “HIGH”, CLK is ignored. Key Data Input Pins The data sent to these pins are 3, 4 latched at the end of the display cycle. Logic Ground Pin 5, 25 Logic Power Supply 6, 24 High Voltage Segment Output Pins Also acts as the Key 7 to 14 Source Pull Down Level 15 High Voltage Segment/Grid Output Pins 16 to 19 High Voltage Grid Output Pins 20 to 23 Oscillator Input Pin A resistor is connected to this pin to 26 determine the oscillation frequency. Data Output Pin (N-Channel, Open Drain) This pin outputs serial data at the falling edge of the shift clock 27 (starting from the lower bit). Data Input Pin This pin inputs serial data at the rising 28 edge of the shift clock (starting from the lower bits). -4- September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S FUNCTION DESCRIPTION COMMANDS Commands determine the display mode and status of PT6315-S. A command is the first byte (b0 to b7) inputted to PT6315-S via the DIN Pin after STB Pin has changed from “HIGH” to “LOW” State. If for some reason the STB Pin is set to “HIGH” while data or commands are being transmitted, the serial communication is initialized, and the data/commands being transmitted are considered invalid. COMMAND 1: DISPLAY MODE SETTING COMMANDS PT6315-S provides 4 display mode settings as shown in the diagram below: As stated earlier a command is the first one byte (b0 to b7) transmitted to PT6315-S via the DIN Pin when STB is “LOW”. However, for these commands, the bits 5 to 6 (b4 to b5) are ignored, bits 7 & 8 (b6 to b7) are given a value of “0”. The Display Mode Setting Commands determine the number of segments and grids to be used (1/4 to 1/8 duty, 12 to 8 segments). When these commands are executed, the display is forcibly turned off, the key scanning stops. A display “ON” command must be executed in order to resume display. If the same mode setting is selected, no command execution is take place, therefore, nothing happens. When Power is turned “ON”, the 8-digit, 8-segment mode is selected. MSB 0 0 - - LSB b3 b2 b1 b0 Not Relevant PT6315-S V1.9 Display Mode Settings: 0000: 4 digits, 12 segments 0011: 5 digits, 11 segments 0100: 6 digits, 10 segments 0101: 7 digits, 9 segments 0110: 8 digits, 8 segments -5- September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S Display Mode and RAM Address Data transmitted from an external device to PT6315-S via the serial interface are stored in the Display RAM and are assigned addresses. The RAM Addresses of PT6315-S are given below in 8 bits unit. SG1 SG4 SG5 00H 03H 06H 09H 12H 15H 18H 1BH b0 SG1 b0 SG5 SG8 SG9 01H 04H 07H 0AH 13H 16H 19H 1CH SG12 02H 05H 08H 0BH 14H 17H 1AH 1DH DGT1 DGT2 DGT3 DGT4 DGT5 DGT6 DGT7 DGT8 b7 SG2 SG3 SG4 X X X X b7 SG6 SG7 SG8 X X X X X SG9 SG10 SG11 SG12 X X b0 b7 X Notes: X=ignore this byte PT6315-S V1.9 -6- September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S COMMAND 2: DATA SETTING COMMANDS The Data Setting Commands executes the Data Write or Data Read Modes for PT6315-S. The Data Setting Command, the bits 5 and 6 (b4, b5) are ignored, bit 7 (b6) is given the value of “1” while bit 8 (b7) is given the value of “0”. Please refer to the diagram below. When power is turned ON, the bit 4 to bit 1 (b3 to b0) are given the value of “0”. MSB 0 1 - - Not Relevant LSB b3 b2 b1 b0 Data Write & Read Mode Settings: 00: Write Data to Display Mode 01: Read Key Data 10: Read Key Data 11: Irrelevant Address Increment Mode Settings (Display Mode): 0: Increment Address after Data has been Written 1: Fixed Address Mode Settings: 0: Normal Operation Mode 1: Test Mode PT6315-S V1.9 -7- September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S PT6315-S Key Matrix & Key Input Data Storage RAM PT6315-S Key Matrix consists of an 8 x 12 array as shown below: K1 SG 8 /KS8 SG 7 /KS7 SG 6 /KS6 SG 5 /KS5 SG 4 /KS4 SG 3 /KS3 SG 2 /KS2 SG 1 /KS1 K2 Each data entered by each key is stored as follows. They are read by a READ Command, starting from the last significant bit. When the most significant bit of the data (SG8, b7) has been read, the least significant bit of the next data (SG0, b1) is read. K1…………K1 SG1/KS1 * SG5/KS5 b0………….b1 K1…………K2 K1…………K2 K1……………K2 SG2/KS2 SG3/KS3 SG4/KS4 * * * SG6/KS6 SG7/KS7 SG8/KS8 b2………….b3 b4………….b5 b6…………….b7 Reading Sequence Note: * = These sections are not relevant but are needed to read the transmission clock. PT6315-S V1.9 -8- September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S COMMAND 3: ADDRESS SETTING COMMANDS Address Setting Commands are used to set the address of the display memory. The address is considered valid if it has a value of “00H” to “1DH”. If the address is set to 1EH or higher, the data is ignored until a valid address is set. When power is turned ON, the address is set at “00H”. Please refer to the diagram below. MSB 1 1 0 LSB b4 b3 b2 b1 b0 Address: 00H to 1DH COMMAND 4: DISPLAY CONTROL COMMANDS The Display Control Commands are used to turn ON or OFF a display. It also used to set the pulse width. Please refer to the diagram below. When the power is turned ON, a 1/16 pulse width is selected and the displayed is turned OFF (the key scanning is stopped). MSB 1 0 - - Not Relevant LSB b3 b2 b1 b0 Dimming Quantity Settings: 000: Pulse width = 1/16 001: Pulse width = 2/16 010: Pulse width = 4/16 011: Pulse width = 10/16 100: Pulse width – 11/16 101: Pulse width = 12/16 110: Pulse width = 13/16 111: Pulse width = 14/16 Display Settings: 0: Display Off (Key scan continues) 1: Display On PT6315-S V1.9 -9- September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S SCANNING AND DISPLAY TIMING The Key Scanning and display timing diagram is given below. One cycle of key scanning consists of 2 frames. The data of the 8 x 2 matrix is stored in the RAM. Internal Operating Frequency (fosc) = 224/T Key S can Data T DIS P L AY= 500 µ s SG Output DIG1 DIG2 DIG3 DIGn 1 2 8 9 10 16 DIG1 G1 G2 G3 Gn 1 F rame = TD IS P LAY X (n + 1) PT6315-S V1.9 - 10 - September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S SERIAL COMMUNICATION FORMAT The following diagram shows the PT6315-S serial communication format. The DOUT Pin is an N-channel, open-drain output pin, therefore, it is highly recommended that an external pull-up resistor (1KΩ to 10KΩ) must be connected to DOUT. RECEPTION (DATA/COMMAND WRITE) I f d at a c o nt in u e s ST B DIN b0 CLK 1 b1 b2 b6 3 2 b7 7 8 TRANSMISSION (DATA READ) ST B DIN CLK b0 1 b1 2 b2 3 b3 4 b4 5 b5 6 b6 b7 7 8 t wa it 1 b0 DOUT D a t a R e ad C o m m an d is s e t 3 2 b1 5 4 b2 b3 6 b4 b5 D a t a R e ad in g S t a rt s where: twait (waiting time) ≥ 1µs It must be noted that when the data is read, the waiting time (twait) between the rising of the eighth clock that has set the command and the falling of the first clock that has read the data is greater or equal to 1µs. PT6315-S V1.9 - 11 - September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S SWITCHING CHARACTERISTIC WAVEFORM PT6315-S Switching Characteristics Waveform is given below. fosc OSC 50 % PW ST B ST B PW CL K PW CL K t s et up t ho ld t CL K- ST B CLK DIN t P ZL t P LZ DOUT t THZ Gn t TZH2 90 % 10 % 90 % Sn 10 % t TZH1 t THZ where: PW CLK (Clock Pulse Width) ≥ 400ns tsetup (Data Setup Time) ≥ 100ns tCLK-STB (Clock - Strobe Time) ≥ 1us tTZH2 (Grid Rise Time) ≤ 0.5us (at VDD=5V) tTZH2 (Grid Rise Time) ≤ 1.0us (at VDD=3.3V) tTZH1 (Segment Rise Time) ≤ 2.0us (at VDD=5V) tTZH1 (Segment Rise Time) ≤ 3.0us (at VDD=3.3V) PT6315-S V1.9 - 12 - PW STB (Strobe Pulse Width) ≥ 1us thold (Data Hold Time) ≥ 100ns tTHZ (Fall Time) ≤ 150us tPZL (Propagation Delay Time) ≤ 100ns tPLZ (Propagation DelayTime) ≤ 400ns fosc = Oscillation Frequency September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S APPLICATIONS Display memory is updated by incrementing addresses. Please refer to the following diagram. ST B CLK DIN Co mm and 2 Co mm and 3 Da ta 1 Da ta n Co mm and 1 Co mm and 4 Where: Command 1: Display Mode Setting Command Command 2: Data Setting Command Command 3: Address Setting Command Data 1 to n: Transfer Display Data (24 Bytes max.) Command 4: Display Control Command The following diagram shows the waveforms when updating specific addresses. ST B CLK DIN Co mm and 2 Co mm and 3 Da ta Co mm and 3 Da ta Where: Command 2: Data Setting Command Command 3: Address Setting Command Data: Display Data PT6315-S V1.9 - 13 - September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S RECOMMENDED SOFTWARE FLOWCHART START Delay 200 ms SET COMMAND 2 (Write Data) SET COMMAND 3 Clear Display RAM (See Note 5) INITIAL SETTING SET COMMAND 1 SET COMMAND 4 (88H~8FH: Display ON) MAIN PROGRAM SET COMMAND 2 (Read Key & Write Data Included) MAIN LOOP SET COMMAND 3 SET COMMAND 1 SET COMMAND 4 END Notes: 1. Command 1: Display Mode Commands 2. Command 2: Data Setting Commands 3. Command 3: Address Setting Commands 4. Command 4: Display Control Commands 5. When IC power is applied for the first time, the contents of the Display RAM are not defined; thus, it is strongly suggested that the contents of the Display RAM be cleared during the initial setting. PT6315-S V1.9 - 14 - September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S ABSOLUTE MAXIMUM RATINGS (Unless otherwise stated, Ta=25℃, GND=0V) Parameter Symbol Logic Supply Voltage VDD Driver Supply Voltage VEE Logic Input Voltage VI VFD Driver Output Voltage VO VFD Driver Output Current IOVFD Operating Temperature Storage Temperature Topr Tstg Ratings -0.5 to +7 VDD +0.5 to VDD -40 -0.5 to VDD +0.5 VEE -0.5 to VDD +0.5 -40 (Grid) -15 (Segment) -40 to +85 -65 to +150 Unit V V V V mA ℃ ℃ RECOMMENDED OPERATING RANGE (Unless otherwise stated, Ta=-25℃, GND=0V) Parameter Logic Supply Voltage High-Level Input Voltage Low-Level Input Voltage Driver Supply Voltage PT6315-S V1.9 Symbol VDD VIH VIL VEE - 15 - Min. 3.0 0.7VDD 0 VDD -35 Ratings Typ. 5 - Max. 5.5 VDD 0.3VDD 0 Unit V V V V September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S ELECTRICAL CHARACTERISTICS (Unless otherwise stated, VDD=5V, GND=0V, VEE=VDD-35V, Ta=25℃) Parameter Symbol Test Condition Min. Typ. Max. Unit DOUT, Low-Level Output Voltage VOLDOUT 0.4 V IOLDOUT=4mA High-Level Output VO=VDD -2V IOHSG -3 mA Current SG1/KS1 to SG8/KS8 VO=VDD -2V High-Level Output IOHGR GR1 to GR4, -15 mA Current SG9/GR8 to SG12/GR5 High-Level Input Voltage VIH 0.7VDD V Low-Level Input Voltage VIL 0.3VDD V Oscillation Frequency fosc R=100KΩ 350 500 650 KHz Input Current II VI=VDD or VSS ±1 µA Dynamic Current Under no load IDDdyn 5 mA Consumption Display OFF (Unless otherwise stated, VDD=3.3V, GND=0V, VEE=VDD-35V, Ta=25℃) Parameter Symbol Low-Level Output Voltage VOLDOUT High-Level Output Current IOHSG High-Level Output Current IOHGR High-Level Input Voltage Low-Level Input Voltage Oscillation Frequency Input Current Dynamic Current Consumption PT6315-S V1.9 VIH VIL fosc II IDDdyn Test Condition Min. Typ. Max. Unit DOUT, 0.4 V IOLDOUT=4mA VO=VDD -2V -1.5 mA SG1/KS1 to SG8/KS8 VO=VDD -2V GR1 to GR4, -6 mA SG9/GR8 to SG12/GR5 0.7VDD VDD V VSS 0.3VDD V R=100KΩ 350 500 650 KHz VI=VDD or VSS ±1 µA Under no load 3 mA Display OFF - 16 - September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S APPLICATION CIRCUIT VDD 10K MCU VDD 10 K 10 K CLK STB K1 K2 VSS VDD SG1/KS1 SG2/KS2 SG3/KS3 SG4/KS4 SG5/KS5 SG6/KS6 SG7/KS7 SG8/KS8 DIN DOUT OSC VSS VDD GR1 GR2 GR3 GR4 SG12/GR5 SG11/GR6 SG10/GR7 SG9/GR8 VEE 10 0K 0.1 µF VDD G8 G 7 G6 G5 G 4 G3 G2 G1 8-GRID x 8-SEGMENT VFD S8 S7 S6 S5 S 4 S3 S2 S1 VEE 1N4148 x 8 10K 10K PT6315-S V1.9 - 17 - September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S ORDER INFORMATION Order Part Number PT6315-S PT6315-S (L) Package Type 28 Pins, SOP, 300mil 28 Pins, SOP, 300mil Top Code PT6315-S PT6315-S Notes: 1. (L), (C) or (S) = Lead Free. 2. The Lead Free mark is put in front of the date code. PT6315-S V1.9 - 18 - September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC PT6315-S PACKAGE INFORMATION 28 PINS, SOP, 300 MIL PT6315-S V1.9 - 19 - September, 2005 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw VFD Driver/Controller IC Symbol A A1 B C D E e H h L a PT6315-S Min. 2.35 0.10 0.33 0.23 17.70 7.40 Nom. Max. 2.65 0.30 0.51 0.32 18.10 7.60 1.27 bsc. 10.00 0.25 0.40 0° 10.65 0.75 1.27 8° Notes: 1. Dimensioning and tolerancing per ANSI Y14.5-1982. 2. Dimension “D” does not include mold flash , protrusions or gate burrs. Mold Flash, protrusion or gate burrs shall not exceed 0.15mm (0.006 in) per side. 3. Dimension “E” does not include interlead flash or protrusions. Interlead flash or protrusions shall not exceed 0.25 mm (0.010 in) per side. 4. The chamfer on the body is optional. It is not present, a visual index feature must be located within the crosshatched area. 5. “L” is the length of the terminal for soldering to a substrate. 6. “N” is the number of terminal positions. (N=28) 7. The lead width “B” as measured 0.36 mm (0.014 in) or greater above the seating plane, shall not exceed a maximum value of 0.61 mm (0.24 in). 8. Controlling dimension: MILLIMETER. 9. Refer to JEDEC MS-013 Variation AE JEDEC is the trademark of the JEDEC SOLID STATE TECHNOLOGY ASSOCIATION PT6315-S V1.9 - 20 - September, 2005