PT6397 32 Bits VFD Driver Controller with RTC IC DESCRIPTION PT6397 is a Vacuum Fluorescent Display (VFD) Controller. 32 segment/grid output driver lines, one display memory, control circuit and RTC circuit are all incorporated into a single chip to build a highly reliable peripheral device for a single-chip microcomputer and STB application. Serial data is fed to PT6397 via a 4-wire serial interface or I2C bus. It is housed in a 52-pin LQFP package. APPLICATIONS • Microcomputer peripheral devices • STB application FEATURES • CMOS technology • Multiple display modes: 32 segments/0 grid to 8 segments/24 grids • 8-step dimming circuitry • 3 GPIO ports • 4-wire serial interface for clock, data input, data output and strobe • I2C bus interface: 400Kbits/s, slave mode only • RTC circuit: - Clock counter and calendar counter in BCD format - Alarm function with interrupt - 12-hour or 24-hour time display system - Recognize leap year from the year 2000 to 2099 • Provides RTC display with two segment configuration types: 4-timing & 5-timing formats • Provides 32 bits segment/grid driver outputs • No external resistors needed for driver outputs • Crystal oscillator: 4.194304MHz • Internal power-on reset • Available in 52-pin LQFP BLOCK DIAGRAM Tel: 886-66296288‧Fax: 886-29174598‧ http://www.princeton.com.tw‧2F, 233-1, Baociao Road, Sindian, Taipei 23145, Taiwan PT6397 1. ORDER INFORMATION Valid Part Number PT6397-LQ Package Type 52 Pins, LQFP Top Code PT6397-LQ 2. PIN CONFIGURATION V1.0 2 February 2010 PT6397 3. PIN DESCRIPTION Pin Name VDD OSCI OSCO I/O I O LGND - DIN/A2 (Schmitt Trigger) I CLK/A1 (Schmitt Trigger) I STB/A0 (Schmitt Trigger) I DOUT O /INT O 64Hz SCL SDA Adj (See Note) O I I/O I IF_sel I SG32/GR1 to SG17/GR16 VH SG16/GR17 to SG9/GR24 SG8 to SG1 PGND Test GPIO1 to GPIO3 Description Pin No. 1 2 3 Logic power supply Oscillator input(4.194304MHz crystal input) Oscillator output(4.194304MHz crystal output) Logic ground 4 This pin is data input pin when IF_sel is set to 4-wire serial interface. Data must be ready at the rising edge of CLK (shift-in data must be started from LSB to MSB). The I2C device address A2 input pin when the IF_sel is set to I2C serial interface. Clock input pin when IF_sel is set to 4-wire serial interface. Serial data is read at the rising edge and outputs data is valid at the falling edge. The I2C device address A1 input pin when the serial interface is set to I2C serial interface. When IF_sel is set to 4-wire serial interface, it is a low-active serial interface strobe pin. The data input after STB actived is processed as a command. When STB is “HIGH”, CLK is ignored. The I2C device address A0 input pin when the serial interface is set to I2C serial interface. Data output pin(N-Channel, Open-Drain) This pin is output of serial data at the falling edge of the shift clock(starting from the LSB). Alarm interrupt pin(N-Channel, Open-Drain) When the setting of alarm date is matched with RTC date, /INT will be set to “0”. OSC’s frequency output=4.194304MHz / 216, Duty=50% The clock pin of I2C interface The data pin of I2C interface Clock adjust. Pulse width must be 3 clocks(OSC) at least. Serial interface mode setting, pull -high with resistor IF_sel: “0” → I2C serial interface “1” → 4-wire serial interface 5 6 7 8 9 10 11 12 13 14 O High voltage segment/grid output pins 15 to 30 - High voltage driver supply pin O High voltage segment/grid output pins 32 to 39 O I I/O High voltage segment output pins High voltage driver GND pin “1”: test mode; “0”: normal mode General purpose I/O pin, default is set as input port 40 to 47 48 49 50 to 52 31 Note: The “Adj” pin is used to adjust the RTC, and the adjust is effective by pulse trigger, the following operations are performed by sending a pulse to “Adj” pin. For minute digits, ranging from “00” ~ “29” Minute digits of RTC counters which is smaller than 30 are reset to 00. For minute digits, ranging from “30” ~ “59”. Minute digits of RTC counters which is equal to or larger than 30 are reset to 00 and the hour digits are incremented by 1. Ex. (X-1) hours, 30 minutes, 0 second X hours, 0 minute, 0 second X hours, 0 minute, 0 second X hours, 29 minutes, 59 seconds X hours, 30 minutes, 0 second X hours, 59 minutes, 59 seconds (X+1) hours, 0 minute, 0 second (X+1) hours, 29 minutes, 29 seconds The “year”, “month” and “day” will be updated when (X) is the last hours. V1.0 3 February 2010 PT6397 IMPORTANT NOTICE Princeton Technology Corporation (PTC) reserves the right to make corrections, modifications, enhancements, improvements, and other changes to its products and to discontinue any product without notice at any time. PTC cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a PTC product. No circuit patent licenses are implied. Princeton Technology Corp. 2F, 233-1, Baociao Road, Sindian, Taipei 23145, Taiwan Tel: 886-2-66296288 Fax: 886-2-29174598 http://www.princeton.com.tw V1.0 4 February 2010