SC16313 VFD CONTROLLER / DRIVER DESCRIPTION SC16313 is a Vacuum Fluorescent Display (VFD) or Fluorescent Indicator Panel (FIP) controller/driver that is driven on a 1/4 to 1/8 duty factor. It consists of 8 segment output lines, 4 grid output lines, 4 segment/grid output lines, one display memory, control circuit, key scan circuit. Serial data is input to SC16313 via a three-line serial interface. This VFD driver is ideal as a peripheral device of a singlechip microcomputer. SOP-28-375-1.27 FEATURES * CMOS technology * High-voltage output ORDERING INFORMATION * Key scanning (8 x 2 matrix) * Multiple display modes: (8 segments & 8 digits to 12 segments & 4 digits) Device Package SC16313 SOP-28-375-1.27 * 8-step dimming circuitry APPLICATIONS * Serial interface (CLK, DIN, DOUT, STB) * No external resistors needed for driver outputs * Microcomputer peripheral device. BLOCK DIAGRAM Control DIN DOUT CLK Serial Data Interface SG1/KS1 SG2/KS2 SG3/KS3 Display Memory SG4/KS4 SG5/KS5 STB Segment Driver OSC OSC Timing Generator SG6/KS6 SG7/KS7 SG8/KS8 SG9/GR8 SG10/GR7 R SG11/GR6 GND SG12/GR5 Key Matrix Memory Diming Circuit Grid Driver GR1 GR2 GR3 GR4 Key1 Key2 HANGZHOU MICROELECTRONICS CO.,LTD Http: www.silan.com.cn VDD GND VEE REV:1.2 2003.08.28 Page 1 of 10 SC16313 ABSOLUTE MAXIMUM RATINGS (unless otherwise stated, Tamb=25°C, GND=0V) Characteristics Symbol Value Unit Logic Supply Voltage VDD -0.5 to +7 V Driver Supply Voltage VEE VDD +0.5 to VDD-40 V Logic Input Voltage VI -0.5 to VDD+0.5 V VFD Driver Output Voltage VO VEE-0.5 to VDD+0.5 V VFD Driver Output Current IoVFD Operating Ambient Temperature Topr -40 (grid) mA -15 (segment) °C -40 to +85 RECOMMENDED OPERATING CONDITIONS (Unless otherwise stated, Tamb=-20 to +70°C, GND=0V) Characteristics Symbol Min. Typ. Max. Unit Logic Supply Voltage VDD 3.0 5 5.5 V High-Level Input Voltage VIH 0.7VDD -- VDD V Low-Level Input Voltage VIL 0 -- 0.3VDD V Driver Supply Voltage VEE VDD-35 -- 0 V ELECTRICAL CHARACTERISTICS (Unless otherwise stated, VDD=5V, GND=0V, VEE=VDD-35V, Tamb=25°C) Characteristics Symbol Low-Level Output Voltage VOL1 High-Level Output Current IOH21 Test Condition DOUT, IOL2=4mA VO=VDD-2V SG1/KS1 to SG8/KS8 Min. Typ. Max. Unit -- -- 0.4 V -3 -- -- mA -15 -- -- mA -- -- ±1 µA VO=VDD-2V High-Level Output Current IOH22 GR1 to GR4, SG9/GR8 to SG12/GR5 Input Current Ii VI=VDD or VSS High-Level Input Voltage VIH -- 0.7VDD -- -- V Low-Level Input Voltage VIL -- -- -- 0.3VDD V 350 500 650 KHz -- -- 5 mA Oscillation Frequency Dynamic Current Consumption fOSC IDDdyn R=51KΩ Under no load Display OFF HANGZHOU MICROELECTRONICS CO.,LTD Http: www.silan.com.cn REV:1.2 2003.08.28 Page 2 of 10 SC16313 DIN DOUT OSC VSS VDD GR1 GR2 GR3 GR4 SG12/GR5 SG11/GR6 SG10/GR7 SG9/GR8 VEE PIN CONFIGURATION 28 27 26 25 24 23 22 21 20 19 18 17 16 15 5 6 7 8 9 10 STB KEY1 KEY2 VSS VDD SG1/KS1 SG2/KS2 SG3/KS3 SG4/KS4 11 12 13 14 SG8/KS8 4 SG7/KS7 3 SG6/KS6 2 SG5/KS5 1 CLK SC16313 PIN DESCRIPTION Pin NO. 1 Symbol CLK Description Reads serial data at the rising edge and outputs data at the falling edge. After the STB has fallen, The data input can be processed; the first 2 STB data is regard as a command. When this pin is “HIGH”, CLK is ignored. 3, 4 KEY1 to KEY2 The data input to these pins is latched at the end of display cycle. 5, 25 VSS Logic ground pin 6, 24 VDD Logic power supply SG1/KS1 to SG8/KS8 Segment output pins. It also functions as key source. VEE VDD – 35 V max 16 to 19 SG9/GR8 ~SG12/GR5 These pins are selectable for segment or grid output 20 to 23 GR4 to GR1 Grid output pins 7 to 14 15 26 OSC 27 DOUT 28 DIN This pin connects a resistor to VDD to determine the oscillation frequency. Outputs serial data at the falling edge of the shift clock (starting from the lower bit). Inputs serial data at the rising edge of the shift clock (starting from the lower bit). HANGZHOU MICROELECTRONICS CO.,LTD Http: www.silan.com.cn REV:1.2 2003.08.28 Page 3 of 10 SC16313 FUNCTION DESCRIPTION DISPLAY RAM ADDRESS Data transmitted from an external device to SC16313 via the serial interface are stored in the display RAM and are assigned addresses. The RAM addresses of SC16313 are given below in 8 bits unit. SG1 SG4 SG5 SG8 SG9 SG12 00HL 00HU 01HL GR1 02HL 02HU 03HL GR2 04HL 04HU 05HL GR3 06HL 06HU 07HL GR4 08HL 08HU 09HL GR5 0AHL 0AHU 0BHL GR6 0CHL 0CHU 0DHL GR7 0EHL 0EHU 0FHL GR8 b0 b3 b4 b7 XX HL XX HU Lower 4 bits Higher 4 bits Only the lower 4 bits of the addresses assigned to SG9 through SG12 are valid, and the higher 4 bits are ignored. SC16313 KEY MATRIX & KEY INPUT DATA STORAGE RAM SC16313 key matrix consists of 8 x 2 arrays as shown below: KEY1 SG8/KS8 SG7/KS7 SG6/KS6 SG5/KS5 SG4/KS4 SG3/KS3 SG2/KS2 SG1/KS1 KEY2 The data of each key is stored in key-input data RAM as illustrated below. They are read by a READ command, starting from the least significant bit. When the most significant bit of the data (SG8, b7) has been read, then the least significant bit of the next data (SGI, b0) will be read. KEY1 KEY2 KEY1 KEY2 KEY1 KEY2 KEY1 KEY2 SG1/KS1 SG2/KS2 SG3/KS3 SG4/KS4 SG5/KS5 SG6/KS6 SG7/KS7 SG8/KS8 b0 b1 b2 b3 b4 b5 b6 b7 Reading sequence COMMANDS Commands set the display mode and status of SC16313. The first byte (b0 to b7) inputted to SC16313 via the DIN pin after STB pin has fallen is regarded as a command. If for some reason the STB pin is made “HIGH” while data or commands are being transmitted, the serial communication is initialized, and the HANGZHOU MICROELECTRONICS CO.,LTD Http: www.silan.com.cn REV:1.2 2003.08.28 Page 4 of 10 SC16313 data/command being transmitted is considered invalid. (However, the data/command already transmitted remains valid) Command 1: display mode setting command This command initializes the SC16313 and selects the number of segments and number of grids (4 to 8 grids, 12 to 8 segments). When this command is executed, display is forcibly turned off, and key scanning is also stopped. To resume display, a display ON command must be executed. SC16313 provides 4 display mode settings as shown in the diagram below. The bits 4 to 6 (b3 to b5) are ignored, bits 7 & 8 (b6 to b7) are given a value of “0”. On power application, the 8-digit, 8-segment mode is selected. MSB LSB 0 0 - - - b2 b1 b0 Display Mode Settings: 000: 4 digits, 12 segments 001: 5 digits, 11 segments 010: 6 digits, 10 segments 011: 7 digits, 9 segments 100: 8 digits, 8 segments Don't care Command 2: data setting command This command sets data write or data read modes. The data setting command, the bits 6 and 5 (b5, b4) are ignored, bit 8 and bit 7 (b7, b6) are given the value of “01”. Please refer to the diagram below. On power application, the normal operation mode and address increment mode are set. MSB 0 1 - LSB - b3 b2 b1 b0 Data write & read mode settings: 00: write data to display memory 10: read key data Don't care Address increment mode settings (display memory): 0: increment address after data has been written 1: fixes address Test mode settings: 0: normal operation mode 1: test mode Command 3: address setting command This command sets an address of the display memory. The address is considered valid if it has a value of “00H”to “0FH”. If the address is set to 10H or higher, the data is ignored until a valid address is set. On power application, the address is set to “00H”. Please refer to the diagram below. MSB LSB 1 1 0 b4 b3 b2 b1 b0 Address: 00H to 0FH HANGZHOU MICROELECTRONICS CO.,LTD Http: www.silan.com.cn REV:1.2 2003.08.28 Page 5 of 10 SC16313 Command 4: display control command This command is used to turn ON or OFF a display. It also used to set the pulse width. Please refer to the diagram below. ON power application, the 1/16 pulse width is set and the display is turned OFF (the key scanning starts). MSB 1 0 - LSB - b3 b2 b1 b0 Don't care Diming 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 Turns on / off display: 0: display OFF 1: display ON KEY SCANNING AND DISPLAY TIMING The key scanning and display timing diagram is given below. One cycle of key scanning consists of 2 frames. In the first frame, those keys connected to KS1~KS4 are scanned, while the second frame scans KS5~KS8. The data of the 8 x 2 matrix is stored in the key-input RAM. HANGZHOU MICROELECTRONICS CO.,LTD Http: www.silan.com.cn REV:1.2 2003.08.28 Page 6 of 10 SC16313 SERIAL COMMUNICATION FORMAT The following diagram shows the SC16313 serial communication format. The DOUT pin is an N-channel, opendrain output pin. Therefore, it is highly recommended that an external pull-up resistor (1kΩ to 10kΩ) must be connected to DOUT. RECEPTION (COMMAND/DATA WRITE) If data continues STB DIN CLK b0 1 b1 2 b2 3 b6 7 b7 8 TRANSMISSION (DATA READ) It must be noted that when the data is read, a waiting time twait of 1µs is necessary between the rising of the eighth clock that has set the command and the falling of the first clock that has read the data. HANGZHOU MICROELECTRONICS CO.,LTD Http: www.silan.com.cn REV:1.2 2003.08.28 Page 7 of 10 SC16313 TYPICAL APPLICATION CIRCUIT HANGZHOU MICROELECTRONICS CO.,LTD Http: www.silan.com.cn REV:1.2 2003.08.28 Page 8 of 10 SC16313 PACKAGE OUTLINE 9.525 7.6±0.3 UNIT: mm 10.2±0.4 SOP-28-375-1.27 0.15±0.05 1.27 0.45 2.8 MAX 17.75±0.25 16.51 HANDLING MOS DEVICES: Electrostatic charges can exist in many things. All of our MOS devices are internally protected against electrostatic discharge but they can be damaged if the following precautions are not taken: • Persons at a work bench should be earthed via a wrist strap. • Equipment cases should be earthed. • All tools used during assembly, including soldering tools and solder baths, must be earthed. • MOS devices should be packed for dispatch in antistatic/conductive containers. HANGZHOU MICROELECTRONICS CO.,LTD Http: www.silan.com.cn REV:1.2 2003.08.28 Page 9 of 10