AD6312 1/4- to 1/11 Duty VFD Controller/Driver Features General Description The AD6312 is a VFD (Vacuum Fluorescent Display) controller/driver that is driven on a 1/4- to 1/11 duty factor (include key scan). It consists of 5 segment output lines, 6 segment/key scan output lines, 6 grid output lines, 5 segment/grid output drive lines, a display memory, a control circuit, and a key scan circuit. Serial data is input to the AD6312 through a four-line serial interface. 4-pin serial interface Key scanning (6x 4 matrices) Programming display modes (11-segments & 11digits to 16-segments & 6-digits) Programming dimming step High-voltage output (VDD-35V max). 4 channels LED ports. 4-pin General-purpose input port Built-in oscillator No external resistor necessary for driver outputs Grid5 Grid6 Seg16 / Grid7 Seg15 / Grid8 Seg14 / Grid9 Seg13 / Grid10 VEE Seg12 / Grid11 Seg11 Seg10 Seg9 33 32 31 30 29 28 27 26 25 24 23 Pin Assignments 22 Seg8 35 21 Seg7 36 20 Seg6 / KS6 Grid1 37 19 Seg5 / KS5 VDD 38 18 Seg4 / KS4 LED4 39 17 Seg3 / KS3 LED3 40 16 Seg2 / KS2 LED2 41 15 Seg1 / KS1 LED1 42 14 VDD VSS 43 13 Key4 OSC 44 12 Key3 2 3 4 5 6 7 8 9 10 11 Sw3 Sw4 DOUT DIN VSS CLK STB Key1 Key2 Grid2 Sw2 Grid3 1 34 Sw1 Grid4 Use all power pins. This datasheet contains new product information. Anachip Corp. reserves the rights to modify the product specification without notice. No liability is assumed as a result of the use of this product. No rights under any patent accompany the sale of the product. Rev. A4 Dec 29, 2003 1/13 AD6312 1/4- to 1/11 Duty VFD Controller/Driver Pin Descriptions Symbol Name No. Description DIN Data input 6 DOUT Data output 5 STB Strobe 9 CLK Clock input 8 OSC Oscillator pin 44 Seg7 to Seg11 High-voltage output (Segment) 21 to 25 Segment output pins Seg1/KS1 to Seg6/KS6 High-voltage output 15 to 20 Multi-function pins, Segment output pins (Dual function as key scan source) Grid1 to Grid6 High-voltage output (Grid) 32 to 37 Grid output pins Seg12/Grid11 to Seg16/Grid7 High-voltage output (Segment/grid) 26, 28 to 31 These pins are selectable for segment or grid driving. LED1 to LED4 LED output 39to 42 CMOS output KEY1 to KEY4 Key data input 10 to 13 Data input to these pins is latched at the end of the display cycle. VDD Logic power 14, 38 Logic power supply VSS Logic ground 7, 43 Connect this pin to system GND. VEE Pull-down level 27 SW1 to SW4 Switch input 1 to 4 Input serial data at rising edge of shift clock, starting from the low order bit. Output serial data at the falling edge of the shift clock, starting from low order bit. This is N-ch open-drain output pin. Initializes serial interface at the rising or falling edge of the AD6312. It then waits for reception of a command. Data input after STB falling is processed as a command. While command data is processed, current processing is stopped, and the serial interface is initialized. While STB is high, CLK is ignored. Reads serial data at the rising edge, and outputs data at the falling edge. Connect resistor in between this pin and Vss to set up the oscillation frequency. Driver power supply These pins constitute a 4-bit general-purpose input port. Ordering Information AD6312 X X X Package Lead Packing Q: QFP-44L L: LQFP-44L Blank: Normal F: Lead Free Blank : Tray Anachip Corp. www.anachip.com.tw Rev. A4 Dec 29, 2003 2/13 AD6312 1/4- to 1/11 Duty VFD Controller/Driver R OSC KEY1 to KEy4 SW1 to SW4 4 4 4-bit latch 5 Timing generator key scan Key data memory (4x 6) 4-bit latch LED1 LED4 Key data memory (4x6) Anachip Corp. www.anachip.com.tw Segment driver STB VDD 16 11 5 5 Seg1/KS1 Seg6/KS6 Seg7 Seg11 Seg12/Grid11 Seg16/Grid7 5 11 6 Grid driver CLK Display memory 16 bitsx 11 Words Data selector Serial I/F 11-bit shift register DOUT 16-bit output latch DIN 6 Segment/grid driver Dimming circuit Command decoder Segment/ key scan Block Diagram Grid1 Grid6 VDD Vss VEE (+5V) (0V) (-30V) Rev. A4 Dec 29, 2003 3/13 AD6312 1/4- to 1/11 Duty VFD Controller/Driver Absolute Maximum Ratings (TA=25oC,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 Operating Ambient Temperature Storage Temperature TOPT TSTG Rating -0.5 to +7.0 VDD +0.5 to VDD -40 -0.5 to VDD +0.5 VEE-0.5 to VDD +0.5 +15 -40 (grid) -15 (segment) -25 to +85 -50 to +125 Unit V V V V mA mA o C C o Operating Conditions (TA=0 to +70 oC,VSS=0V) Parameter Logic Supply Voltage High-Level Input Voltage Low-Level Input Voltage Driver Supply Voltage Symbol VDD VIH VIL VEE Conditions Min. 4.5 0.7*VDD 0 0 Typ. 5 Max. 5.5 VDD 0.3*VDD VDD-35 Unit V V V V DC Characteristics (TA=0 to 70 oC, VDD=4.5 to 5.5V, VSS=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 High-Level Output Current IOH22 Driver Leakage Current Output Pull-Down Resistor High-Level Input Voltage Low-Level Input Voltage IOLEAK RL VIH VIL Conditions LED1-LED4, IOH1=-1mA LED1-LED4, IOL1=12mA DOUT, IOL2=2mA VO=VDD-2V, Seg1 to Seg11 VO=VDD-2V, Grid 1 to Grid6 Seg12/Grid11 to Seg16/Grid7 VO=VDD-35V, driver off Driver output Min. 0.9VDD -3 Unit V V V mA -15 mA 50 0.7VDD Typ. Max. 1 0.4 100 -10 150 0.3VDD A k V V AC Characteristics (Ta=0 to +70 oC,VDD=4.5 to 5.5 V, VEE=-30V) Parameter Oscillation Frequency Maximum Clock Frequency Clock Pulse Width Strobe Pulse Width Data Setup Time Data Hold Time Clock-Strobe Time Wait Time Symbol fOSC fmax. PWCLK PWSTB tSETUP tHOLD tCLK-STB tWAIT Conditions R=51 k Duty=50% CLKSTB CLKCLK(Note) Min. 350 500 1 100 100 1 1 Typ. 500 Max. 650 1 Unit KHZ MHZ ns s ns ns s s Note : Refer to page 8. Anachip Corp. www.anachip.com.tw Rev. A4 Dec 29, 2003 4/13 AD6312 1/4- to 1/11 Duty VFD Controller/Driver Function Descriptions 1.0 Commands Commands set the display mode and status of the VFD driver. The first 1 byte input to the AD6312 through the DIN pin after the STB pin has fallen is regarded as a command. If STB is set high while a commands/data are transmitted, serial communication is initialized, and the commands/data being transmitted are invalid (however, the commands/data previously transmitted remain valid). 1.1 Display mode setting commands These commands initialize the AD6312 and select the number of segments and the number of grids (4 grids & 16 segments to 11 grids & 11 segments to). When these commands are executed, the display is forcibly turned off, and key scanning is also stopped. To resume display, the display command "ON" must be executed. If the same mode is selected, however, nothing happens. LSB MSB 0 0 - - - b2 b1 b0 Display mode settings 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 Irrelevant On power application, the 11-digit, 11-segment mode is selected. 1.2 Data setting commands These commands set data write and data read modes. On power application, the normal operation and address increment modes are set. MSB 0 LSB 1 - - Irrelevant b3 b2 b1 b0 Data write and read mode settings. 00: Write data to display memory. 01: Write data to LED port. 10: Read key data. 11: Read SW data. Address increment mode settings (display memory). 0: Incremenets address after data has been written. 1: Fixes address. Test mode settings 0: Normal operation 1: Test mode Anachip Corp. www.anachip.com.tw Rev. A4 Dec 29, 2003 5/13 AD6312 1/4- to 1/11 Duty VFD Controller/Driver 1.3 Address setting commands These commands set an address of the display memory. If address 16H or higher is set, data is ignored, until a valid address is set. On power application, the address is set to 00H. MSB LSB 1 1 - b4 b3 b2 b1 b0 Address (00H-15H) 1.4 Display control commands MSB 1 LSB 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. Irrelevant Tums on/off display. 0: Display off (key scan continues) 1: Display on On power application, the 1/16-pulse width is set, the display is turned off and key scanning is stopped. 2.0 Display RAM Address and Display Mode The display RAM stores the data transmitted from an external device to the AD6312 through the serial interface, and is assigned addresses as follows, in 8 bits unit: Seg1 Seg4 00 HL 02 HL 04 HL 06 HL 08 HL 0 AHL 0 CHL 0 EHL 10 HL 12 HL 14 HL b0 XX HL b3 b4 Lower 4 bits Seg8 00 HU 02 HU 04 HU 06 HU 08 HU 0 AHU 0 CHU 0 EHU 10 HU 12 HU 14 HU XXHU Seg12 01 HL 03 HL 05 HL 07 HL 09 HL 0 BHL 0 DHL 0 FHL 11 HL 13 HL 15 HL Seg16 01 HU 03 HU 05 HU 07 HU 09 HU 0 BHU 0 DHU 0 FHU 11 HU 13 HU 15 HU DIG1 DIG2 DIG3 DIG4 DIG5 DIG6 DIG7 DIG8 DIG9 DIG10 DIG11 b7 Higher 4 bits Anachip Corp. www.anachip.com.tw Rev. A4 Dec 29, 2003 6/13 AD6312 1/4- to 1/11 Duty VFD Controller/Driver 3.0 LED Port Data is written to the LED port with the write command, starting from the least port's least significant bit. When a bit of this port is 0, the corresponding LED lights; when the bit is 1, the LED turns off. The data of bits 5 through 8 are ignored. On power application, all LEDs are unlit. MSB - LSB - - - b3 b2 b1 b0 LED1 Don't care LED2 LED3 LED4 4.0 Key Matrix and Key-Input data Storage RAM The key matrix is made up of a 6x 4 matrix, as shown below. KEY1 KEY2 KEY3 Seg6/KS6 Seg5/KS5 Seg4/KS4 Seg3/KS3 Seg2/KS2 Seg1/KS1 KEY4 The data of each key is stored as illustrated below, and is read with the read command, starting from the least significant bit. KEY1...KEY4 KEY1...KEY4 Seg1/KS1 Seg2/KS2 Seg3/KS3 Seg4/KS4 Seg5/KS5 Seg6/KS6 b0--------b3 b4--------b7 Reading sequence Anachip Corp. www.anachip.com.tw Rev. A4 Dec 29, 2003 7/13 AD6312 1/4- to 1/11 Duty VFD Controller/Driver 5.0 SW Data SW data is read with the read command, starting from the least significant bit. Bits 5 through 8 of the SW data are 0. MSB LSB 0 0 0 0 b3 b2 b1 b0 SW1 SW2 SW3 SW4 Timing Diagram (1) Serial Communication Format Reception (command/write data) If data continues STB b0 DIN CLK b1 1 b2 2 b6 3 b7 7 8 Transmission (read data) STB DIN b0 b1 b2 b3 b4 b5 b6 b7 CLK 1 2 3 4 5 6 7 8 DOUT A data read command is set. tWAIT (Note) 1 2 3 4 5 6 b0 b1 b2 b3 b4 b5 Data is 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). Note : When data is read, a wait time tWAIT of 1 s is necessary since the rising of the eighth clock that has set the command, until the falling of the first clock that has read the data. Anachip Corp. www.anachip.com.tw Rev. A4 Dec 29, 2003 8/13 AD6312 1/4- to 1/11 Duty VFD Controller/Driver (2) Key Scanning and Display Timing On cycle of key scanning consists of one frame, and data in a 6x 4 matrix is stored in RAM. TDISP 500s SEG Output DIG1 Key scan data DIG2 DIGn DIG3 1 23 456 DIG1 Grid1 Grid2 1/16 TDISP Grid3 Gridn 1 frame = TDISPx (n+1) Switching characteristic waveforms fosc OSC 50% PWSTB STB PWCLK PWCLK tSETUP tHOLD tCLK-STB CLK DIN tPZL tPLZ DOUT tTZH tTHZ Sn/Gn 90% 10% Anachip Corp. www.anachip.com.tw Rev. A4 Dec 29, 2003 9/13 AD6312 1/4- to 1/11 Duty VFD Controller/Driver Applications Updating display memory by incrementing address STB CLK DIN Command 1 Command 2 Command 3 Data 1 Data n Command 4 Command 1: sets display mode Command 2: sets data(write data to display memory) Command 3: sets address Data 1 to n: transfers display data (22bytes max.) Command 4: controls display Updating specific display memory STB CLK DIN Command 1 Command 2 Data Command 2 Data Command 1: sets data Command 2: sets address Data: display data Anachip Corp. www.anachip.com.tw Rev. A4 Dec 29, 2003 10/13 AD6312 1/4- to 1/11 Duty VFD Controller/Driver Package Information (1) Package Type: QFP-44L Dimension in millimeter (mm.) 13.2 0.5 2.7(MAX.) 10.0 0.5 33 23 34 22 10.0 13.2 0.5 0.5 44 12 1 11 0.15 TYP. 1.6 TYP. 0.3 TYP. 0.8 TYP. 0.88 TYP. Anachip Corp. www.anachip.com.tw Rev. A4 Dec 29, 2003 11/13 AD6312 1/4- to 1/11 Duty VFD Controller/Driver (2) Package Type: LQFP-44L ( Top View ) e E E1 b PIN 1 INDENT 12o(4X) C D1 A A2 D R0.08 MIN. A1 y DETAIL A L 0.25 GAGE PLANE L1 DETAIL A Symbol A A1 A2 b C E E1 D D1 e L L1 y Dimensions In Millimeters Min. Nom. Max. 1.60 0.05 0.10 0.15 1.35 1.40 1.45 0.30 0.37 0.45 0.09 0.20 11.50 12.00 12.50 9.50 10.00 10.50 11.80 12.00 12.20 9.90 10.00 10.10 0.80 0.45 0.60 0.75 1.00 0 3.5 7 0.00 0.08 Anachip Corp. www.anachip.com.tw Dimensions In Inches Min. Nom. Max. 0.063 0.002 0.004 0.006 0.053 0.055 0.057 0.012 0.015 0.018 0.004 0.008 0.453 0.472 0.492 0.374 0.394 0.413 0.465 0.472 0.480 0.390 0.394 0.398 0.031 0.018 0.024 0.030 0.039 0 3.5 7 0.000 0.003 Rev. A4 Dec 29, 2003 12/13 AD6312 1/4- to 1/11 Duty VFD Controller/Driver Marking Information Top view Part Number AC AD6312 X XX XX XXX Logo Blank: Normal F: Lead Free Package ID code: internal Nth week: 01~52 Year: "01" = 2001 "02" = 2002 QFP44/LQFP44 Anachip Corp. www.anachip.com.tw Rev. A4 Dec 29, 2003 13/13