FEDL7170-03 ¡ Semiconductor MSC7170-01 ¡ Semiconductor FEDL7170-03 This version: Sep. 2000 MSC7170-01 Previous version: Nov. 1997 5¥7 Dot Character ¥ 16-Digit ¥ 2-Line Display Controller/Driver with Keyscan Function GENERAL DESCRIPTION The MSC7170-01 is a display controller/segment driver containing a 5 ¥ 6 keyscan circuit, designed for a 5 ¥ 7 dot matrix type vacuum fluorescent (VF) display tube. Use of the MSC1164 grid driver allows a maximum of 16-digit pair to be displayed, or use of the MSC7171 grid driver allows a maximum of 12 digit pairs to be displayed. FEATURES • Able to display 5 ¥ 7 dot matrix type characters of a maximum of 16 digits ¥ 2 lines (when MSC1164 is used) • The number of display digits selectable in a range of 1 digit ¥ 2 lines to 16 digits ¥ 2 lines • Standby function Combination of the MSC7171 grid driver and the MSC7170-01 decreases grid driver current during the standby mode of the driver. • Display intensity selectable by 10-bit digital dimming • Display characters selectable from among 256 types by internal PLA • 8-bit synchronous serial data transfer SPI interface • 5 ¥ 6 keyscan circuit • Driver output current (IOH) : 1 mA (SEG1 to SEG35) : –15 mA (SEG36) • Supply voltage: VDD = 5 V±10% : VDISP = 60 V (max.) • Package: 100-pin plastic QFP (QFP100-P-1420-0.65-BK) (Product name: MSC7170-01GS-BK) 1/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 BLOCK DIAGRAM KBINT VDD RESET ROW COL 1 2 3 4 5 1 2 3 4 5 6 VDISP SEG1-1 SEG1-2 ROW 1 CURSOR DATA BUFFER 16b 5¥6KEYBOARD SCANNER LATCH ROW 1 DISPLAY 8 DATA BUFFER 16w¥8b 8 ROW 2 DISPLAY 8 DATA BUFFER 16w¥8b SHIFT REGISTER 8 LATCH 8 COMMAND DECODER 8 OSCI OSC 35 LATCH SEG2-1 SEG2-2 LATCH 36 SEG DRIVER SEG2-36 VSS1 ADDRESS SELECTOR 5 4 8 4 OSCO SYNC 35 5 5 VSS2 CHARACTER GENERATOR 256w¥35b ROW 2 CURSOR DATA BUFFER 16b CONTROLLER TIMING GENERATOR SEG DRIVER SEG1-36 LATCH 8 ENABLE SIMO SCLK SOMI 36 8 WRITE ADDRESS COUNTER DIGIT COUNT REGISTER DUTY CYCLE COUNTER READ ADDRESS COUNTER 4 ADDRESS COMPARE 4 BLANK DUTY AND BLANK GENERATOR 4 GRID DRIVER INTERFACE STANDBY DATA CLOCK AC FILAMENT SYNC DUTY 2/27 , FEDL7170-03 ¡ Semiconductor MSC7170-01 OSCO 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 VDD ROW1 ROW2 ROW3 ROW4 ROW5 COL1 COL2 COL3 COL4 COL5 COL6 KBINT ENABLE SIMO SCLK SOMI RESET OSCI PIN CONFIGURATION (TOP VIEW) VDISP SEG 2-21 SEG 2-22 SEG 2-23 SEG 2-24 SEG 2-25 SEG 2-26 SEG 2-27 SEG 2-28 SEG 2-29 SEG 2-30 SEG 2-31 SEG 2-32 SEG 2-33 SEG 2-34 SEG 2-35 SEG 2-20 SEG 2-19 SEG 2-18 SEG 2-17 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 SYNC DATA CLOCK DUTY STANDBY VSS2 SEG 1-21 SEG 1-36 SEG 1-22 SEG 1-23 SEG 1-24 SEG 1-25 SEG 1-26 SEG 1-27 SEG 1-28 SEG 1-29 SEG 1-30 SEG 1-31 SEG 1-32 SEG 1-33 SEG 1-34 SEG 1-35 SEG 1-20 SEG 1-19 SEG 1-18 SEG 1-17 SEG 1-16 SEG 1-15 SEG 1-14 SEG 1-13 SEG 1-12 SEG 2-6 SEG 2-5 SEG 2-4 SEG 2-3 SEG 2-2 SEG 2-1 SEG 2-36 SEG 1-1 SEG 1-2 VSS1 SEG 1-3 SEG 1-4 SEG 1-5 SEG 1-6 SEG 1-7 SEG 1-8 SEG 1-9 SEG 1-10 SEG 1-11 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 SEG 2-16 SEG 2-15 SEG 2-14 SEG 2-13 SEG 2-12 SEG 2-11 SEG 2-10 SEG 2-9 SEG 2-8 SEG 2-7 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 100-Pin Plastic QFP Note: SEGn-x sequence depends on ROM code content and may be altered by changing segment number x relationship to ROM bit number. See Correspondence between Segment Output and VF Display Tube Dots. 3/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 PIN DESCRIPTIONS Pin Symbol 1 VDISP Description 2-36 SEG2-1 to SEG2-35 37 SEG2-36 38-39 SEG1-1 SEG1-2 40 VSS1 41-72 SEG1-3 to SEG1-35 73 SEG1-36 VF tube cursor driver output. 74 SEG1-21 VF tube 5¥7 dot anode driver output. This pin may be connected directly to the VF tube. 75 VSS2 76 STANDBY 77 DUTY Duty cycle output pin. 78 CLOCK Grid driver clock output pin. 79 80 DATA SYNC Grid driver data output pin. AC filament synchronization input pin. 81 OSCO Oscillator output pin. 82 OSCI Oscillator input pin. 83 RESET 84 SOMI 85 SCLK 86 SIMO 87 ENABLE Chip select input pin. Interface to the microprocessor is possible only when a logic low level is applied to this pin. The SOMI output pin is tri-stated when ENABLE is at a logic high level so that multiple devices may use the SPI network. 88 KBINT Interrupt request output to the microprocessor for keyscan data read out. Keyscanning is started when any key is depressed or released. After completion of one cycle, KBINT goes to a logic low level to indicate new keyscan data is available. KBINT remains low until execution of Keyscan Data Output command. 89-94 COL6-1 Column 1-6 input pins from key switch matrix. A pull-up resistor is built in so that the pin is in the logic high state except when a key is depressed and a logic low level is input to the pin. High voltage power supply VF tube 5¥7 dot anode driver outputs. These pins may be connected directly to the VF tube. VF tube cursor driver output. VF tube 5¥7 dot anode driver outputs. These pins may be connected directly to the VF tube. High voltage ground VF tube 5¥7 dot anode driver outputs. These pins may be connected directly to the VF tube. Logic supply ground. Grid driver standby output pin. A logic high level on this output forces the grid driver (MSC7171) into a low power standby mode. Connects to crystal (or ceramic resonator) oscillator and capacitor. These pins have internal feedback resistors. Reset input pin. SPI data output pin. Keyscan data is shifted out on the falling edge of SCLK. SPI clock input pin. Data is shifted in on the SIMO pin on the rising edge of SCLK. SPI data input pin. Command data is shifted in on the rising edge of SCLK. 4/27 FEDL7170-03 ¡ Semiconductor Pin MSC7170-01 Symbol Description 95-99 ROW5-1 Row 1-5 scanning signal output pins to key switch matrix. When any key is depressed or released, keyscanning is started and is continued until Keyscan Data Output command is executed. All Row 1-5 outputs go to logic low level when keyscanning is stopped. 100 VDD Logic voltage supply. 5/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 ABSOLUTE MAXIMUM RATINGS Symbol Condition Rating Logic Supply Voltage Parameter VDD — –0.3 to 6.0 Driver Supply Voltage VDISP — VIN Applies to all inputs Power Dissipation PD Ta£25∞C 663 mW Package Thermal Resistance Rj-a — 98 *3 °C/W SEG1-1 to SEG1-35 –2 mA Driver Output Current — SEG2-1 to SEG2-35 –2 mA SEG1-36, SEG2-36 –15 mA — –65 to 150 °C Input Voltage Storage Temperature TSTG Unit *1 V –0.3 to 65 *1, 2 V –0.3 to VDD+0.3 *1 V Notes: *1 Voltage that can be applied to GND *2 Stresses beyond the rating may cause permanent damage to the device. *3 Package thermal resistance between junction and atomsphere. Junction temperature Tj in the following expression must not exceed 150°C: Tj = P ¥ Rj-a + Ta (P: maximum IC power consumption) RECOMMENDED OPERATING CONDITIONS Parameter Logic Circuit Supply Voltage Symbol Condition Range Unit VDD Usable only for logic power terminal 4.5 to 5.5 V Driver Supply Voltage VDISP Usable only for driver power terminal 7 to 60 V Operating Temperature Top — –40 to 85 °C 6/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 ELECTRICAL CHARACTERISTICS DC Characteristics (Ta=–40 to 85°C, VDD=4.5 to 5.5 V, VDISP=7 to 60 V) Parameter Symbol Condition Min. "H" Input Voltage VIH — 0.7 VDD — V All inputs "L" Input Voltage VIL — — 0.3 VDD V All inputs –1 1 mA SIMO, SCLK, ENABLE, RESET –30 30 mA COL1 6, SYNC –1 1 mA SIMO, SCLK, ENABLE, RESET "H" Input Current IIH1 IIH2 "L" Input Current IIL1 "L" Output Voltage Power Supply VDD=5.5 V VIN=0.5 V Unit Applied Pin –15 –160 mA COL1-6, SYNC VOH1 IOH=–500 mA VDD–0.6 — V OSCO VOH2 IOH=–1 mA VDISP–3 — V SEGn-1 to n-35, n=1, 2 VOH3 IOH=–15 mA VDISP–4 — V SEG1-36, SEG2-36 VOH4 IOH=–200 mA 4 — V DUTY, SOMI, KBINT DATA, CLOCK, STANDBY VOL1 IOL=500 mA — VSS+0.6 V OSCO VOL2 IOL=100 mA — 2.5 V SEGn-1 to n-35, n=1, 2 VOL3 IOL=3 mA — 3 V SEG1-36, SEG2-36 VOL4 IOL=200 mA — 0.5 V ROW1-5, DUTY, SOMI, KBINT,DATA, CLOCK, STANDBY IDD1 All SEGs on, 16-digit display, maximum brightness, no load, fosc=4 MHz — 10 mA IDD2 All SEGs off — 10 mA IDD3 Low power mode — 25 mA All SEGs on, 16-digit display, maximum brightness, no load, fosc=4 MHz — 15 mA All SEGs off — IIL2 "H" Output Voltage VDD=5.5 V VIN=VDD Max. IDISP1 IDISP2 VDD–VSS VDISP–VSS 1 mA 7/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 AC Characteristics (1/2) (Ta=–40 to 85°C, VDD=4.5 to 5.5V, VDISP=7 to 60 V, fOSC=4 MHz, 12-digit display) Parameter Symbol Condition tES See Fig. 1 (Data Transfer Timing) ENABLE Hold Time tEH See Fig. 1 (Data Transfer Timing) SCLK Frequency tCP See Fig. 1 (Data Transfer Timing) ENABLE Setup Time SCLK Pulse Width Min. Typ. Max. Unit 50 — — ns 4 — — ms — 0.5 2 MHz tcw See Fig. 1 (Data Transfer Timing) 250 — — ns tcr/tcf See Fig. 1 (Data Transfer Timing) — — 500 ns SIMO Setup Time tDS See Fig. 1 (Data Transfer Timing) 50 — — ns SIMO Hold Time tDH See Fig. 1 (Data Transfer Timing) 120 — — ns SCLK Rise/Fall Time SOMI Output Enable tOE Enable to SOMI valid — — 200 ns SOMI Output Disable tOD Enable to SOMI tri-state — — 200 ns SCLK to SOMI Delay tPD See Fig. 1 (Data Transfer Timing) — — 100 ns Byte Length tBYTE MSB to LSB See Fig. 2 (Example of Data Transfer) 3.5 — — ms Byte Delay tDELAY MSB to LSB See Fig. 2 (Example of Data Transfer) — — 20 ms SYNC Frequency tSYNC Duty cycle=50%, fOSC–4 MHz 12-digit display 0.4 — 250 kHz SEGn Pulse Width tSEG fOSC=4 MHz See Fig. 5 (Duty Cycle Timing) CI=20pF — 10 — ms Operating Frequency tOSC Self-oscillation 1.5 4 4.5 MHz tGRID fOSC=4 MHz, See Fig. 3 (12-digit Display Cycle Timing) — 256 — ms tBLANK fOSC=4 MHz See Fig. 3 (12-digit Display Cycle Timing) tBLANK=48/fOSC — 12 — ms tDW fOSC=4 MHz See Fig. 5 (Duty Cycle Timing) — 256 — ms tDATA fOSC=4 MHz See Fig. 3 (12-digit Display Cycle Timing) — 3072 — ms DATA to CLOCK Delay tDC fOSC=4 MHz See Fig. 5 (Duty Cycle Timing) — 5 — ms CLOCK Pulse Width tPW fOSC=4 MHz See Fig. 5 (Duty Cycle Timing) — 250 — ms CLOCK Cycle tCLOCK fOSC=4 MHz See Fig. 5 (Duty Cycle Timing) — 256 — ms Keyscan Cycle Time tSCAN fOSC=4 MHz See Fig. 6 (Keyscan Timing) — 40 — ms DUTY Period Blank Interval (min.) DATA Pulse Width High DATA Period *1 8/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 AC Characteristics (2/2) (Ta=–40 to 85°C, VDD=4.5 to 5.5 V, VDISP=7 to 60 V, fOSC=4 MHz, 12-digit display) Parameter Symbol Condition Keyscan Pulse Width tSPW fOSC=4 MHz, See Fig. 6 (Keyscan Timing) Wake-up Time tWAKE Slew Rate (SEGn-1 to SEGn-35) tr tf tr Min. Typ. Max. Unit ms — 8 — Ceramic resonator — — 5 — — 10 CL=20 pF, VDISP=60 V, VOL=6 V, VOH=50 V 0.5 1.3 5 ms 1 3.4 5 ms 0.2 — 5 ms ms Keypress to KBINT at "L" level fOSC=4 MHz Crystal ms tf CL=20 pF, VDISP=60 V, VOL=6 V, VOH=50 V 0.1 — 5 Slew Rate (DUTY, DATA, CLOCK) tr/tf VOL=0.1 VDD, VOH=0.9 VDD, CL=10 pF 5 20 200 ns Input Capacitance CI all pins — 6 — pF Slew Rate (SEGn-36) *1) For the minimum value when digits other than 12 digits are displayed, refer to the following expression. fOSC tSYNC (Min)> 1024 ¥ (digit display number) 9/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 TIMING DIAGRAM ENABLE 3.8V 0.8V tES SIMO 3.8V 0.8V tDS SCLK 3.8V 0.8V tcr tEH tcf tcw tOE SOMI tDH tcw tCP tPD tOD 3.8V 0.8V Figure 1. Data Transfer Timing ENABLE SOMI s7 s6 s5 s4 s3 s2 s1 s0 tBYTE c7 c6 c5 c4 c3 c2 c1 c0 SCLK tDELAY SIMO c7 c6 c5 c4 c3 c2 c1 c0 d7 d6 d5 d4 d3 d2 d1 d0 Figure 2. Data Transfer Example DUTY DATA tGRID tDATA CLOCK tBLANK Figure 3. 12-Digit (n=12) Display Cycle Timing 10/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 tGRID DUTY tBLANK DATA CLOCK GRID1 Figure 4. GRID1 Interval Timing (fosc) DATA tDC tPW CLOCK tBLANK DUTY tDGL tDGH GRID12 GRIDn GRID1 tSEG SEGn-1 to n-35 SEGn-36 Note: (fOSC) is internal to the MSC7170 and not visible externally. GRIDn are outputs of, and tDGL and tDGH are timig parameters of, the MSC7171 (grid driver). Figure 5. Duty Cycle Timing 11/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 ROW1 tSCAN ROW2 tSPW ROW3 ROW4 ROW5 KBINT Figure 6. Keyscan Timing Key Depressed Key Depressed KBINT SCAN Active Active ENABLE Key Command Key Command Figure 7-1. Single Keypress/Single Read Key Depressed KBINT SCAN Active ENABLE Null Command Key Command Figure 7-2. Single Keypress/Multiple Read 12/27 FEDL7170-03 ¡ Semiconductor Key 1 Depressed MSC7170-01 Key 2 Depressed KBINT SCAN Active ENABLE Key Command Key Command Figure 7-3. Multiple Keypress/Multiple Interrupt Figure 7. Typical Cases of Keyscan Operation 13/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 FUNCTIONAL DESCRIPTION The MSC7170-01 (Dot Matrix VF Segment Driver) in conjunction with the MSC7171 (Dot Matrix VF Grid Driver) is capable of controlling a variety of dot matrix VF displays and keyboards. The MSC7170-01 is designed to drive the anodes of up to 32 dot matrix digits in two lines. Each digit is a 5 ¥ 7 matrix of anodes, or dots, which requires a total of 70 segment driver outputs. There are two extra segment outputs for supplying drive to dedicated annunciators. The grid drivers of the MSC7171 are controlled by the MSC7170-01 through a two-line serial interface and a duty cycle control line, DUTY (see APPLICATION CIRCUIT). Additionally, the MSC7170-01 provides 10bit digital dimming of all display data, a 5¥6 keyscan function allowing control of up to 30 key pads and a low-power standby mode. The MSC7170-01 is controlled through a standard SPI interface. All MSC7170-01 internal timings are generated through an external 4 MHz (typ) ceramic oscillator. One display cycle is defined as up to 16384 periods of the 4 MHz (250 ns) reference in increments of 1024 periods, one for each pair of digits displayed. Display intensity is determined by the duty cycle of the DUTY output within one display increment divided by the total number of increments, or character pairs, displayed (see Display Duty Cycle Set and Number of Display Digit Pairs Set commands below). The maximum duty cycle is defined as 976 out of 1024 increments or 95.3 percent. The MSC7170-01 is capable of synchronizing the DUTY signal with an AC filament to avoid visible flicker during dimming conditions. This is required in VF tubes of greater than 100 mm, equivalent to 14 digits, in length. Synchronization is accomplished by alternately initiating display cycles coincident with rising and falling edges of the filament voltage. Upon completion of a rising/falling edge display cycle, the MSC7170-01 will wait for a falling/rising edge before initiating the next display cycle. The MSC7170-01 detects rising and falling edges of a CMOScompatible SYNC input derived directly from the filament voltage. The amount of hold time between display cycles varies between no delay as a minimum and the period of the filament voltage as maximum. The amount of delay should be consistent for all display cycles assuming that the filament frequency is well defined. The MSC7170-01 is controlled through a Serial Peripheral Interface (SPI) compatible communications port. The SPI is a high-speed synchronous serial I/O port that shifts a serial bit stream of eight data bits into or out of a device at a bit transfer rate programmed in a controlling device. The figure below shows a typical connection of the SPI for communications between a master (radio microprocessor) and slave (MSC7170-01). Three I/O pins are associated with the SPI interface — SPI slave-in master-out (SIMO), SPI slave-out master-in (SOMI), and SPI serial clock (SCLK). Additionally, a separate input pin is used to enable the MSC7170-01 to communicate with the microprocessor through this interface. 14/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 MASTER SLAVE SIMO Slave In/Master Out SIMO Serial Input Buffer Serial Input Buffer Enable Shift Register MSB SOMI Slave Out/Master In SOMI LSB Microprocessor Shift Register MSB SCLK Serial Clock SCLK LSB MSC7170-01 SPI Master/Slave Connection The microprocessor provides the serial clock (500 kHz typ.) to all devices on the SPI network with a CLOCK POLARITY of 1 (inactive level is high). Data is transferred from the master (microprocessor) to the salve (MSC7170-01) over the SIMO line, while data is transferred from the slave to the master over the SOMI line. Data is clocked out of the transmitting device on the falling edge of SCLK and latched into the receiving device with the rising edge of SCLK. ALL data transmissions are made MSB (b7) first. A typical data transfer cycle between the microprocessor and the MSC7170-01 is initiated by first bringing the ENABLE line low. The first byte transmitted defines the command or operation to be executed. All remaining bytes received, prior to ENABLE being returned high, are treated as data bytes for that operation. Each command or operation executed requires a separate ENABLE transfer cycle. The maximum waiting period between byte transfers, measured from MSB to LSB, is 20 msec. All activity on the SCLK and SIMO pins while ENABLE is high is ignored. Additionally, the SOMI pin shall be in a tri-state condition when ENABLE is high so that other SPI devices on the network may drive the line without contention. The MSC7170-01 controls up to 30 key pads via a 5 controls up to 30 key pads via a 5¥6 key scan circuit. COL1 to 6 (inputs) and ROW1 to 5 (outputs) are connected to an external switch matrix with an impedance of 500W max. The ROW1 to 5 outputs start scanning only when a depression or release of any key is detected. Upon completion of the first keyscan cycle, see Figure 6, the keyboard interrupt, KBINT, output is pulled low to indicate availability of new keyscan data. The keyscan circuit continues to scan and KBINT remains low until the keyscan data has been read using the Keyscan Data Output Command. In the event of a multiple key depression, a second interrupt will be generated following the clearing of the first interrupt. A stuck key switch will not generate multiple interrupts since only state transitions are detected by the keyscan circuitry. Keyscan data may be read without stopping the keyscan by using the Null Command. The keyscan data is transmitted to the microprocessor by rows as shown in the Output Data Bytes section. The output of keyscan data wraps around to the first byte for SPI transactions of more than six bytes. After completion of the last keyscan cycle all ROW outputs go to low level. 15/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 Key switch data is latched internally for transfer to the microprocessor via the SPI port. The microprocessor may use KBINT as an interrupt request or for polling the MSC7170-01 to determine when new keyscan information is available. As an alternative for polling, the MSC7170-01 continuously outputs a status byte during any SPI transaction, with the exceptions of the Null Command and the Keyscan Data Output Command. An all zeros (00h) byte indicates the presence of new keyscan information while all ones (FFh) indicate no new keyscan information. For the Null and Keyscan Data Output commands, the first byte output is still the status byte followed by five bytes containing the data from the five keyscan rows as described above and in the Output Data Bytes section. The status byte is reset upon completion of a Keyscan Data Output command in the same fashion as KBINT. The MSC7170-01 can also be commanded into a low power or "standby" mode (see Mode Set command). In this mode all operation, including the internal oscillator, of the MSC7170-01 ceases. The only exception is the key scan detection circuitry which, on any key pad activity (depress or release), will cause the MSC7170-01 to return to normal operation. The MSC717001 will be fully operational within 10 msec (max) after return to normal operation. The wake-up cycle includes a full scan of the key matrix. KBINT will be pulled low to indicate full wake-up. Normal operation is also resumed when the ENABLE line is taken low. In this case, a scan of the key matrix is not executed, nor is the KBINT line pulled low to indicate full wake-up. The RESET and ENABLE lines shall be maintained at logic high levels during standby operation. All segment outputs go to a high impedance state while in standby mode. The SPI interface lines (SLCK, SIMO, and SOMI) will not interfere with the operation of the SPI network when the standby mode is properly selected. To ensure correct operation of the SPI network, the standby mode of the MSC7170-01 should always be selected before the logic supply is switched off. The following sequence of events should be followed to enter standby mode: 1) 2) 3) Set duty cycle to zero percent Turn off high voltage (VDISP) Send low power (standby) "on" command Following wake-up, the high voltage should be turned on prior to setting a duty cycle greater than zero percent. The MSC7170-01 may be commanded into Blank and Lamp Test modes. For Blank mode, the DUTY and SEGn-1 to SEGn-35 outputs remain at a continuous low level while the SEGn36 outputs assume a high level. The outputs remain at this level until the command is deselected. For Lamp Test mode, the DUTY output assumes a maximum duty cycle condition and the SEGn outputs are all forced to the on condition regardless of input data. The MSC7170-01 accepts a reset signal from the microprocessor or other controller. There shall be no internal pull-up resistor on this signal. The state of the MSC7170-01 following a reset is as follows: a) b) c) d) e) f) All segment driver outputs are low The number of display digits is 16 ¥ 2. The display duty cycle is set to 0 Display Data Buffers are not cleared SPI registers are reset Keyscan registers are reset 16/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 The MSC7170-01 is protected against thermal overload or other failure caused by extreme display configurations (e.g. Lamp Test) or due to output short circuits to high voltage supply, ground, or another output. These shall be no performance degradation once the short circuit is removed. 17/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 Commands Description No. Instruction 0 Address Setup 1 Character Code Setup 2 Display Duty Cycle Setup 3 4 5 Byte c7 c6 c5 c4 c3 c2 c1 c0 1 1 0 0 0 X X X X 2 X X X a4 a3 a2 a1 a0 1 1 0 0 1 X X X X 2 b7 b6 b5 b4 b3 b2 b1 b0 1 1 0 1 0 X X DC9 DC8 2 DC7 DC6 DC5 DC4 DC3 DC2 DC1 DC0 Display Digits Setup 1 1 0 1 1 n3 n2 n1 n0 Mode Setup 1 1 1 0 0 X m2 m1 m0 1 1 1 0 1 X X X X 2 C1-7 C1-6 C1-5 C1-4 C1-3 C1-2 C1-1 C1-0 3 C1-15 C1-14 C1-13 C1-12 C1-11 C1-10 C1-9 C1-8 4 C2-7 C2-2 C2-1 C2-0 5 C2-15 C2-14 C2-13 C2-12 C2-11 C2-10 C2-9 C2-8 Cursor Setup C2-6 C2-5 C2-4 C2-3 6 Keyscan Data Output 1 1 1 1 0 X X X X 7 Null 1 0 0 0 0 0 0 0 0 Address Setup Command This command is used to setup a start position of display character code writing and must be executed before the desired character code is sent. In applications using less than the full 16-digit pair capability, only the first 2n memory locations are used. For example, if n = 12-digit pair is selected, only addresses 0 through 23 are used. Row 1 display data (SEG1 outputs) is stored in addresses 0 through 11 while Row 2 display data (SEG2 outputs) is stored in addresses 12 through 23. All bytes following Bytes 1 and 2 are treated as character code data bytes. Address 0 is set after reset. Byte 1 Byte 2 c7 c6 c5 c4 c3 c2 c1 c0 1 0 0 0 X X X X d7 d6 d5 d4 d3 d2 d1 d0 X X X a4 a3 a2 a1 a0 a4 to a0 : 00000=00h=0 : 11111=1Fh=31 18/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 Character Code Setup Command This command is used to specify the character to be displayed in the display location previously specified by the Address Setup command. A built-in automatic address increment function simplifies writing more than one display character code. All bytes transmitted after Byte 2 are treated as character code data for successive locations. The internal address counter will be automatically incremented from the address set using the Address Set command through address 31 (or character 32), while executing valid write cycles, regardless of the number of digit pairs as defined using the Number of Display Digits Setup command. In the event that additional data is input to the MSC7170-01 following a valid write to address 31, the address counter will wrap-around and continue to increment (to address 0 etc.) with write cycles disabled. This prevents overwriting of the memory. Byte 1 Byte 2 c7 c6 c5 c4 c3 c2 c1 c0 1 0 0 1 X X X X d7 d6 d5 d4 d3 d2 d1 d0 b7 b6 b5 b4 b3 b2 b1 b0 b4 to b0 : 8-bit character code — Select one of 256 codes Display Duty Cycle Setup Command This command is used to set the duty cycle of the display. The time allocated to a 1-digit display is 1024T, where T is the period of the internal oscillator (fOSC). The display time for each digit may be specified as 0 to 976T in increment of T. Entries greater than 976 default to 976. The display duty cycle is calculated by dividing the input duty cycle value, DC, by 1024 times the number of digits, n, commanded to display. Note that the percent duty cycle depends on how many digits (characters) are displayed. c7 c6 c5 c4 c3 c2 c1 c0 Byte 1 1 0 1 0 X X DC9 DC8 d7 d6 d5 d4 d3 d2 d1 d0 Byte 2 DC7 DC6 DC5 DC4 DC3 DC2 DC1 DC0 19/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 Number of Display Digits Setup Command This command is used to set the number of digits to be displayed. The number of digits selectable ranges from 1 to 16. Byte 1 c7 c6 c5 c4 c3 c2 c1 c0 1 0 1 1 n3 n2 n1 n0 n3 to n0 : 0000=0h=16-digit pair : 0001=1h=1-digit pair : : 1111=Fh=15-digit pair Mode Setup Command This command is used to select an operation mode for the MSC7170-01. Lamp Test and Blank modes turns all 36 segments of each displayable digit (as set by the Number of Display Digits Setup command) to the ON and OFF states respectively. The contents of the display buffer are not affected by either of these modes. The normal operation mode returns after reset. Low Power mode is described earlier. Byte 1 c7 c6 c5 c4 c3 c2 c1 c0 1 1 0 0 X m2 m1 m0 m2 m1 m0 0 0 0 Normal operation 0 0 1 Lamp test (All display ON) 0 1 0 Low power 0 1 1 Normal operation 1 0 0 Blank (All display OFF) 1 0 1 Normal operation 1 1 0 Normal operation 1 1 1 Normal operation Mode 20/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 Cursor Setup Command This command is used to specify the on/off state of cursor segments (SEGn-36) in the display. The cursor outputs are issued inversely to allow an external PNP transistor to be used in applications requiring high current drive capability. Therefore, a logic high, l, in a given bit position will turn on the associated cursor. In applications requiring low current (less than 15 mA) drive capability, the cursor outputs may drive the VF display tube directly. In these applications, setting to "0" turns on the cursor. c7 c6 c5 c4 c3 c2 c1 c0 1 1 0 1 X X X X d7 d6 d5 d4 d3 d2 d1 d0 Byte 2 C1-7 C1-6 C1-5 C1-4 C1-3 C1-2 C1-1 C1-0 Byte 3 C1-15 C1-14 C1-13 C1-12 C1-11 C1-10 C1-9 C1-8 Byte 4 C2-7 C2-2 C2-1 C2-0 Byte 5 C2-15 C2-14 C2-13 C2-12 C2-11 C2-10 C2-9 C2-8 Byte 1 C2-6 C2-5 C2-4 C2-3 Keyscan Data Output Command This command is used to read keyscan data via the SPI interface and has no effect on the operation or state of the display portion of the MSC7170-01. Upon completion of this command the KBINT output is reset to its non-active state and the keyscan function is stopped. All bytes after Byte 1 are ignored. Byte 1 c7 c6 c5 c4 c3 c2 c1 c0 1 1 1 0 X X X X NULL Command This command has the same function as the Keyscan Data Output command with the exception that KBINT is not reset and the keyscan function continues to scan the key matrix. The keyscan may stop momentarily to prevent changing data while data output is in progress. All bytes after Byte 1 are ignored. Byte 1 c7 c6 c5 c4 c3 c2 c1 c0 0 0 0 0 0 0 0 0 21/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 Output Data Byte Description • Status output The following byte is output from the MSC7170-01 during execution of every SPI command with the exceptions of the Keyscan Data Output and Null commands. The status byte is issued for each byte of the input command sequence. Byte 1 d7 d6 d5 d4 d3 d2 d1 d0 s7 s6 s5 s4 s3 s2 s1 s0 Status s7 to s0: indicates change status from last SPI transaction 00h = change, FFh = no change • Keyscan data output The following bytes are output from the MSC7170-01 during execution of the Keyscan Data Output and Null commands. The output of keyscan data wraps around to byte 1 for transactions of more than six bytes. d7 d6 d5 d4 d3 d2 d1 d0 Byte 1 X X s16 s15 s14 s13 s12 s11 Row 1 Byte 2 X X s26 s25 s24 s23 s22 s21 Row 2 Byte 3 X X s36 s35 s34 s33 s32 s31 Row 3 Byte 4 X X s46 s45 s44 s43 s42 s41 Row 4 Byte 5 X X s56 s55 s54 s53 s52 s51 Row 5 sij : i=ROW1 to 5, j =Col1 to 6 sij=1: Switch on sij=0: Switch off 22/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 Character Codes and Character Patterns MSB: D7 - D4 LSB: D3 - D0 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 A B C D E F Note: These character patterns are user programmable and can be selected by mask option. 23/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 Correspondence between Segment Outputs and VF Display Tube Dots VF Dot: 1-1 2-1 3-1 4-1 5-1 IC Pin: SEGn-1 SEGn-2 SEGn-3 SEGn-4 SEGn-5 VF Dot: 1-2 2-2 3-2 4-2 5-2 IC Pin: SEGn-6 SEGn-7 SEGn-8 SEGn-9 SEGn-10 VF Dot: 1-3 2-3 3-3 4-3 5-3 IC Pin: SEGn-11 SEGn-12 SEGn-13 SEGn-14 SEGn-15 VF Dot: 1-4 2-4 3-4 4-4 5-4 IC Pin: SEGn-16 SEGn-17 SEGn-18 SEGn-19 SEGn-20 VF Dot: 1-5 2-5 3-5 4-5 5-5 IC Pin: SEGn-21 SEGn-22 SEGn-23 SEGn-24 SEGn-25 VF Dot: 1-6 2-6 3-6 4-6 5-6 IC Pin: SEGn-26 SEGn-27 SEGn-28 SEGn-29 SEGn-30 VF Dot: 1-7 2-7 3-7 4-7 5-7 IC Pin: SEGn-31 SEGn-32 SEGn-33 SEGn-34 SEGn-35 24/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 APPLICATION CIRCUIT KEYBOARD MATRIX S11 S12 S13 S14 S15 S16 DISPLAY VOLTAGE AND S21 S22 S23 S24 S25 S26 AC FILAMENT SUPPLY S31 S32 S33 S34 S35 S36 S41 S42 S43 S44 S45 S46 VDISP VGRID FIL1 FIL2 1 2 S51 S52 S53 S54 S55 S56 P 1 2 3 4 5 1 2 3 ROW 5V 4 5 6 COL VDISP SYNC From microprocessor VDD SIMO SOMI SCLK ENABLE RESET KBINT SEG1-36 MSC7170-01 RESONATOR SEG2-36 FILAMENT OSCl OSCO VSS2 NC 35 SEG1-1 to SEG1-35 35 SEG2-1 to SEG2-35 STANDBY DATA CLOCK DUTY VSS1 S MATRIX VF P STANDBY DATA CLOCK DOT DISPLAY DUTY 12 GRID1-12 TUBE MSC7171 VDD VDISP VSS S P P 25/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 PACKAGE DIMENSIONS (Unit : mm) QFP100-P-1420-0.65-BK Mirror finish Package material Lead frame material Pin treatment Solder plate thickness Package weight (g) Epoxy resin 42 alloy Solder plating 5 mm or more 1.29 TYP. Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times). 26/27 FEDL7170-03 ¡ Semiconductor MSC7170-01 NOTICE 1. The information contained herein can change without notice owing to product and/or technical improvements. Before using the product, please make sure that the information being referred to is up-to-date. 2. The outline of action and examples for application circuits described herein have been chosen as an explanation for the standard action and performance of the product. When planning to use the product, please ensure that the external conditions are reflected in the actual circuit, assembly, and program designs. 3. When designing your product, please use our product below the specified maximum ratings and within the specified operating ranges including, but not limited to, operating voltage, power dissipation, and operating temperature. 4. Oki assumes no responsibility or liability whatsoever for any failure or unusual or unexpected operation resulting from misuse, neglect, improper installation, repair, alteration or accident, improper handling, or unusual physical or electrical stress including, but not limited to, exposure to parameters beyond the specified maximum ratings or operation outside the specified operating range. 5. Neither indemnity against nor license of a third party’s industrial and intellectual property right, etc. is granted by us in connection with the use of the product and/or the information and drawings contained herein. No responsibility is assumed by us for any infringement of a third party’s right which may result from the use thereof. 6. The products listed in this document are intended for use in general electronics equipment for commercial applications (e.g., office automation, communication equipment, measurement equipment, consumer electronics, etc.). These products are not authorized for use in any system or application that requires special or enhanced quality and reliability characteristics nor in any system or application where the failure of such system or application may result in the loss or damage of property, or death or injury to humans. Such applications include, but are not limited to, traffic and automotive equipment, safety devices, aerospace equipment, nuclear power control, medical equipment, and life-support systems. 7. Certain products in this document may need government approval before they can be exported to particular countries. The purchaser assumes the responsibility of determining the legality of export of these products and will take appropriate and necessary steps at their own expense for these. 8. No part of the contents contained herein may be reprinted or reproduced without our prior permission. 9. MS-DOS is a registered trademark of Microsoft Corporation. Copyright 2000 Oki Electric Industry Co., Ltd. Printed in Japan 27/27