FEDL9205-02 ¡ Semiconductor ¡ Semiconductor ML9205-01 FEDL9205-02 This version:ML9205-01 Sep. 2000 Previous version: Jun. 1999 5 ¥ 7 Dot Character ¥ 16-Digit Display Controller/Driver with Character RAM GENERAL DESCRIPTION The ML9205-01 is a dot matrix vacuum fluorescent display tube controller driver IC which displays characters, numerics and symbols. Dot matrix vacuum fluorescent display tube drive signals are generated by serial data sent from a micro-controller. A display system is easily realized by internal ROM and RAM for character display. FEATURES • Logic power supply (VDD) : 3.3 V±10% or 5.0 V±10% • Fluorescent display tube drive power supply (VDISP) : 3.3 V±10% or 5.0 V±10% • Fluorescent display tube drive power supply (VFL) : –20 to –60 V • VFD driver output current (VFD driver output can be connected directly to the fluorescent display tube. No pull-down resistor is required.) · Segment driver (SEG1 to SEG35) : –5.0 mA (VFL= –60 V) · Segment driver (AD1 to AD4) : –10.0 mA (VFL= –60 V) · Grid driver (COM1 to COM24) : –50.0 mA (VFL= –60 V) • General output port output current · Output driver (P1 to P4) : ±1.0 mA (VDD = 3.3 V±10%) ±2.0 mA (VDD = 5.0 V±10%) • Content of display · CGROM 5 ¥ 7 dots : 240 types (character data) · CGRAM 5 ¥ 7 dots : 16 types (character data) · ADRAM 24 (display digit) ¥ 4 bits (symbol data) · DCRAM 24 (display digit) ¥ 8 bits (register for character data display) · General output port 4 bits (static operation) • Display control function · Display digit : 9 to 24 digits · Display duty (brightness adjustment) : 8 stages · All lights ON/OFF • 3 interfaces with microcontroller : DA, CS, CP (4 interfaces when RESET is added) • 1-byte instruction execution (excluding data write to RAM) • Built-in oscillation circuit (external R and C) • Package options: 80-pin QFP package (QFP80-P-1414-0.65-K) (Product name : ML9205-01GP) 80-pin QFP package (QFP80-P-1420-0.80-BK)(Product name : ML9205-01GA) 1/34 FEDL9205-02 ¡ Semiconductor ML9205-01 BLOCK DIAGRAM VDISP VDD GND VFL DCRAM 24w¥8b SEG1 CGROM 240w¥35b Segment Driver CGRAM 16w¥35b RESET DA CP CS 8-bit Shift Register ADRAM 24w¥4b SEG35 AD1 AD Driver AD4 Address Selector Command Decoder Write Address Counter Read Address Counter P1 Port Driver Control Circuit P4 Digit Control Duty Control Timing Generator 1 COM1 Grid Driver COM24 Timing Generator 2 OSC0 OSC1 Oscillator 2/34 FEDL9205-02 ¡ Semiconductor ML9205-01 INPUT AND OUTPUT CONFIGURATION Schematic Diagrams of Logic Portion Input and Output Circuits Input Pin VDD VDD INPUT GND GND Output Pin VDD VDD OUTPUT GND GND Schematic Diagram of Driver Output Circuit VDISP VDISP OUTPUT VFL VFL 3/34 FEDL9205-02 ¡ Semiconductor ML9205-01 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 AD2 AD1 VDISP2 NC VFL2 P4 P3 P2 P1 VDD DA CP CS RESET OSC1 OSC0 GND VFL1 COM24 COM23 PIN CONFIGURATION (TOP VIEW) 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 COM22 COM21 COM20 COM19 COM18 COM17 COM16 COM15 COM14 COM13 COM12 COM11 COM10 COM9 COM8 COM7 COM6 COM5 COM4 COM3 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 VDISP1 COM1 COM2 AD3 AD4 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 NC: No connection 80-Pin Plastic QFP (QFP80-P-1414-0.65-K) 4/34 FEDL9205-02 65 VFL1 66 GND 67 OSC0 68 OSC1 69 RESET 70 CS 71 CP 72 DA 73 VDD 74 P1 75 P2 76 P3 77 P4 78 VFL2 2 64 COM24 63 COM23 3 62 COM22 4 61 COM21 5 60 COM20 6 59 COM19 7 8 58 COM18 57 COM17 9 56 COM16 10 55 COM15 11 12 54 COM14 53 COM13 13 52 COM12 14 51 COM11 15 1 16 50 COM10 49 COM9 17 48 COM8 18 47 COM7 19 46 COM6 20 45 COM5 44 COM4 21 23 43 COM3 42 COM2 24 41 COM1 22 SEG21 25 SEG22 26 SEG23 27 SEG24 28 SEG25 29 SEG26 30 SEG27 31 SEG28 32 SEG29 33 SEG30 34 SEG31 35 SEG32 36 SEG33 37 SEG34 38 SEG35 39 VDISP1 40 AD1 AD2 AD3 AD4 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 ML9205-01 79 NC 80 VDISP2 ¡ Semiconductor NC: No connection 80-Pin Plastic QFP (QFP80-P-1420-0.80-BK) 5/34 FEDL9205-02 ¡ Semiconductor ML9205-01 PIN DESCRIPTION Pin QFP-1* QFP-2* Symbol Type Connects to Description 3 to 37 5 to 39 SEG1 to 35 O Fluorescent tube anode electrode Fluorescent display tube anode electrode drive output. Directly connected to fluorescent display tube and a pull-down resistor is not necessary. IOH > –5.0 mA 39 to 62 41 to 64 COM1 to 24 O Fluorescent tube grid electrode Fluorescent display tube grid electrode drive output. Directly connected to fluorescent display tube and a pull-down resistor is not necessary. IOH > –50.0 mA 1, 2, 79, 80 1 to 4 AD1 to AD4 O Fluorescent tube anode electrode Fluorescent display tube anode electrode drive output. Directly connected to fluorescent display tube and a pull-down resistor is not necessary. IOH > –10.0 mA 72 to 75 74 to 77 P1 to P4 O LED anode electrode General port output. Output of these pins in static operation, so these pins can drive the LED. IOH > –2.0 mA — Power supply 71 73 VDD 38, 78 40, 80 VDISP1 to 2 64 66 63, 76 65, 78 GND VDD-GND are power supplies for internal logic. VDISP-VFL are power supplies for driving fluorescent tubes. Use the same power supply for VDD and VDISP. VFL1 to 2 70 72 DA I Microcontroller Serial data input (positive logic). Input from LSB. 69 71 CP I Microcontroller Shift clock input. Serial data is shifted on the rising edge of CP. 68 70 CS I Microcontroller Chip select input. Serial data transfer is disabled when CS pin is "H" level. Microcontroller or C2, R2 Reset input. "Low" initializes all the functions. Initial status is as follows. address "00"H • Address of each RAM Content is undefined • Data of each RAM 24 digits • Display digit 8/16 • Brightness adjusment OFF mode • All lights ON or OFF "Low" level • All outputs 67 69 RESET I RESET C2 65 67 OSC0 External RC pin for RC oscillation. Connect R and C externally. The RC time constant depends on the VDD voltage used. Set the target oscillation frequency to 2 MHz. I C1, R1 66 68 OSC1 R2 (Circuit when R and C are connected externally) See Application Circuit. O OSC0 R1 OSC1 C1 (RC oscillation circuit) See Application Circuit. * QFP-1: QFP80-P-1414-0.65-K * QFP-2: QFP80-P-1420-0.80-BK 6/34 FEDL9205-02 ¡ Semiconductor ML9205-01 ABSOLUTE MAXIMUM RATINGS Parameter Symbol Condition Rating Unit VDD *1 –0.3 to +6.5 V VDISP *1 –0.3 to +6.5 V Supply Voltage (2) VFL — –80 to VDISP+0.3 V Input Voltage VIN — –0.3 to VDD+0.3 V Power Dissipation PD Supply Voltage (1) Storage Temperature Output Current Ta≥25°C QFP80-P-1414-0.65-K 637 QFP80-P-1420-0.80-BK 764 TSTG — –55 to +150 IO1 COM1 to COM24 –60 to 0.0 IO2 AD1 to AD4 –20 to 0.0 IO3 SEG1 to SEG35 –10 to 0.0 IO4 P1 to P4 –4.0 to +4.0 mW °C mA *1: Use the same power supply for VDD and VDISP. RECOMMENDED OPERATING CONDITIONS When the power supply voltage is 5V (typ.) Parameter Symbol Condition Min. Typ. Max. Unit Supply Voltage (1) VDD, VDISP — 4.5 5.0 5.5 V Supply Voltage (2) VFL — –60 — –20 V High Level Input Voltage VIH All input pins excluding OSC0 pin 0.7VDD — — V Low Level Input Voltage VIL All input pins excluding OSC0 pin — — 0.3VDD V CP Frequency fC — — — 2.0 MHz Oscillation Frequency fOSC R1=3.3kW, C1=47pF 1.5 2.0 2.5 MHz Frame Frequency fFR DIGIT=1 to 24, R1=3.3kW, C1=47pF 122 163 204 Hz Operating Temperature Top — –40 — +85 °C When the power supply voltage is 3.3V (typ.) Symbol Condition Min. Typ. Max. Unit Supply Voltage (1) Parameter VDD, VDISP — 3.0 3.3 3.6 V Supply Voltage (2) VFL — –60 — –20 V High Level Input Voltage VIH All input pins excluding OSC0 pin 0.8VDD — — V Low Level Input Voltage VIL All input pins excluding OSC0 pin — — 0.2VDD V CP Frequency fC — — — 2.0 MHz fOSC R1=3.3kW, C1=39pF 1.5 2.0 2.5 MHz Frame Frequency fFR DIGIT=1 to 24, R1=3.3kW, C1=39pF 122 163 204 Hz Operating Temperature Top — –40 — +85 °C Oscillation Frequency 7/34 FEDL9205-02 ¡ Semiconductor ML9205-01 ELECTRICAL CHARACTERISTICS DC Characteristics-1 (VDD, VDISP=5.0 V±10%, VFL=–60 V, Ta=–40 to +85°C, unless otherwise specified) Parameter Symbol High Level Input Voltage VIH Low Level Input Voltage VIL High Level Input Current IIH Low Level Input Current IIL Applied pin CS, CP, DA, RESET CS, CP, DA, RESET CS, CP, DA, RESET CS, CP, DA, RESET Condition Min. Max. Unit — 0.7VDD — V — — 0.3VDD V VIH=VDD –1.0 +1.0 µA VIL=0.0V –1.0 +1.0 µA VOH1 COM1 to 24 IOH1=–50.0 mA VDISP–2.0 — V High Level Output VOH2 AD1 to AD4 IOH2=–10.0 mA VDISP–1.5 — V Voltage VOH3 SEG1 to 35 IOH3=–5.0 mA VDISP–1.5 — V VOH4 P1 to P4 IOH4=–2.0 mA VDISP–1.0 — V — — VFL+1.0 V IOL1=2 mA — 1.0 V — 4 mA — 3 mA COM1 to 24 Low Level Output VOL1 AD1 to AD4 SEG1 to 35 Voltage VOL2 P1 to P4 Duty=15/16 IDD1 fOSC= VDD, VDISP Supply Current IDD2 2 MHz, no load Digit=1 to 24 All output lights ON Duty=8/16 Digit=1 to 9 All output lights OFF 8/34 FEDL9205-02 ¡ Semiconductor ML9205-01 DC Characteristics-2 (VDD, VDISP=3.3 V±10%, VFL=–60 V, Ta=–40 to +85°C, unless otherwise specified) Parameter Symbol High Level Input Voltage VIH Low Level Input Voltage VIL High Level Input Current IIH Low Level Input Current IIL Applied pin CS, CP, DA, RESET CS, CP, DA, RESET CS, CP, DA, RESET CS, CP, DA, RESET Condition Min. Max. Unit — 0.8VDD — V — — 0.2VDD V VIH=VDD –1.0 +1.0 µA VIL=0.0V –1.0 +1.0 µA VOH1 COM1 to 24 IOH1=–50.0 mA VDISP–2.0 — V High Level Output VOH2 AD1 to AD4 IOH2=–10.0 mA VDISP–1.5 — V Voltage VOH3 SEG1 to 35 IOH3=–5.0 mA VDISP–1.5 — V VOH4 P1 to P4 IOH4=–1.0 mA VDD–1.0 — V — — VFL+1.0 V IOL1=1mA — 1.0 V — 3 mA — 2 mA COM1 to 24 Low Level Output VOL1 AD1 to AD4 SEG1 to 35 Voltage VOL2 P1 to P4 Duty=15/16 IDD1 fOSC= VDD, VDISP Supply Current IDD2 2 MHz, no load Digit=1 to 24 All output lights ON Duty=8/16 Digit=1 to 9 All output lights OFF 9/34 FEDL9205-02 ¡ Semiconductor ML9205-01 AC Characteristics-1 (VDD, VDISP=5.0V±10%, VFL=–60 V, Ta=–40 to +85°C, unless otherwise specified) Parameter Symbol Condition Min. Max. Unit fC — — 2.0 MHz CP Pulse Width tCW — 250 — ns DA Setup Time tDS — 250 — ns DA Hold Time tDH — 250 — ns CS Setup Time tCSS — 250 — ns CS Hold Time tCSH R1=3.3 kW, C1=47 pF 16 — ms CS Wait Time tCSW — 250 — ns Data Processing Time tDOFF R1=3.3 kW, C1=47 pF 8 — ms RESET Pulse Width tWRES When RESET signal is input from microcontroller, etc. externally 250 — ns RESET Time tRSON When RESET signal is input from microcontroller, etc. externally 250 — ns R2=1.0 kW, C2=0.1 mF — 200 ms DA Wait Time tRSOFF — 250 — ns tR=20% to 80% — 2.0 ms tF=80% to 20% — 2.0 ms CP Frequency All Output Slew Rate tR tF Cl=100pF VDD Rise Time tPRZ When mounted in the unit — 100 ms VDD Off Time tPOF When mounted in the unit, VDD=0.0 V 5.0 — ms AC Characteristics-2 (VDD, VDISP=3.3V±10%, VFL=–60V, Ta=–40 to +85°C, unless otherwise specified) Parameter Symbol Condition Min. Max. Unit fC — — 2.0 MHz CP Pulse Width tCW — 250 — ns DA Setup Time tDS — 250 — ns DA Hold Time tDH — 250 — ns CS Setup Time tCSS — 250 — ns CS Hold Time tCSH R1=3.3 kW, C1=39 pF 16 — ms CS Wait Time tCSW — 250 — ns Data Processing Time tDOFF 8 — ms RESET Pulse Width tWRES R1=3.3 kW, C1=39 pF When RESET signal is input from microcontroller etc. externally 250 — ns RESET Time tRSON When RESET signal is input from microcontroller etc. externally 250 — ns R2=1.0 kW, C2=0.1 mF — 200 ms DA Wait Time tRSOFF — 250 — ns tR=20% to 80% — 2.0 ms tF=80% to 20% — 2.0 ms CP Frequency All Output Slew Rate tR tF Cl=100pF VDD Rise Time tPRZ When mounted in the unit — 100 ms VDD Off Time tPOF When mounted in the unit, VDD=0.0 V 5.0 — ms 10/34 FEDL9205-02 ¡ Semiconductor ML9205-01 TIMING DIAGRAM Symbol VDD=3.3V±10% VDD=5.0V±10% VIH 0.8 VDD 0.7 VDD VIL 0.2 VDD 0.3 VDD • Data Timing tCSS tCSW CS tDOFF CP tCSH 1/fC tCW tCW VIH VIL tDH tDS DA VIH VIL VALID VALID VALID VIH VIL VALID • Reset Timing VDD tPRZ tRSON When input externally tWRES tRSOFF = RESET tPOF When external R and C are connected tRSOFF DA 0.8 VDD 0.0 V VIH 0.5 VDD VIL VIH VIL • Output Timing All outputs tR tF 0.8 VDISP 0.2 VFL 11/34 FEDL9205-02 ¡ Semiconductor ML9205-01 • Digit Output Timing (for 16-digit display, at a duty of 15/16) T=8/ fOSC COM1 COM2 COM3 COM4 COM5 COM6 COM19 COM20 COM21 COM22 COM23 COM24 AD1-4 SEG1-35 Frame cycle t1=1536T Display timing t2=60T Blank timing t3=4T (t1=6.144 ms when fosc=2.0 MHz) (t2=240 ms when fosc=2.0 MHz) (t3=16 ms when fosc=2.0 MHz) VDISP VFL VDISP VFL 12/34 FEDL9205-02 ¡ Semiconductor ML9205-01 FUNCTIONAL DESCRIPTION Commands List Command 1 DCRAM data write 2 CGRAM data write 3 ADRAM data write 1st byte LSB 2nd byte MSB LSB B0 B1 B2 B3 B4 B5 B6 B7 B0 B1 B2 B3 B4 B5 B6 B7 X0 X1 X2 X3 X4 1 0 0 C0 C1 C2 C3 C4 C5 C6 C7 C0 C5 C10 C15 C20 C25 C30 C1 C6 C11 C16 C21 C26 C31 C2 C7 C12 C17 C22 C27 C32 C3 C8 C13 C18 C23 C28 C33 C4 C9 C14 C19 C24 C29 C34 C1 * * * * * * X0 X1 X2 X3 * 0 1 0 X0 X1 X2 X3 X4 1 1 0 C0 4 General output port set P1 P2 P3 P4 0 0 1 5 Display duty set D0 D1 D2 * 1 0 1 * 6 Number of digits set K0 K1 K2 K3 0 1 1 7 All lights ON/OFF L H * * * * * * 1 1 1 Test mode When data is written to RAM (DCRAM, CGRAM, ADRAM) continuously, addresses are internally incremented automatically. Therefore it is not necessary to specify the 1st byte to write RAM data for the 2nd and later bytes. Xn Cn Pn Dn Kn H L : : : : : : : : C2 C3 * MSB * * 2nd byte 3rd byte 4th byte 5th byte 6th byte Don't care Address specification for each RAM Character code specification for each RAM General output port status specification Display duty specification Number of digits specification All lights ON instruction All lights OFF instruction Note: The test mode is used for inspection before shipment. It is not a user function. 13/34 FEDL9205-02 ¡ Semiconductor ML9205-01 Positional Relationship Between SEGn and ADn (one digit) C0 AD1 C1 AD2 ADRAM written data. Corresponds to 2nd byte C2 AD3 C3 AD4 CGRAM written data. Corresponds to 2nd byte CGRAM written data. Corresponds to 3rd byte CGRAM written data. Corresponds to 4th byte C0 C1 C2 C3 C4 SEG1 SEG2 SEG3 SEG4 SEG5 C5 C6 C7 C8 C9 SEG6 SEG7 SEG8 SEG9 SEG10 C10 C11 C12 C13 C14 SEG11 SEG12 SEG13 SEG14 SEG15 C15 C16 C17 C18 C19 SEG16 SEG17 SEG18 SEG19 SEG20 C20 C21 C22 C23 C24 SEG21 SEG22 SEG23 SEG24 SEG25 C25 C26 C27 C28 C29 SEG26 SEG27 SEG28 SEG29 SEG30 C30 C31 C32 C33 C34 SEG31 SEG32 SEG33 SEG34 SEG35 CGRAM written data. Corresponds to 6th byte CGRAM written data. Corresponds to 5th byte 14/34 FEDL9205-02 ¡ Semiconductor ML9205-01 Data Transfer Method and Command Write Method Display control command and data are written by an 8-bit serial transfer. Write timing is shown in the figure below. Setting the CS pin to "Low" level enables a data transfer. Data is 8 bits and is sequentially input into the DA pin from LSB (LSB first). As shown in the figure below, data is read by the shift register at the rising edge of the shift clock, which is input into the CP pin. If 8-bit data is input, internal load signals are automatically generated and data is written to each register and RAM. Therefore it is not necessary to input load signals from the outside. Setting the CS pin to "High" disables data transfer. Data input from the point when the CS pin changes from "High" to "Low" is recognized in 8-bit units. tDOFF CS tCSH CP DA B0 B1 B2 B3 B4 B5 B6 B7 B0 B1 B2 B3 B4 B5 B6 B7 B0 B1 B2 B3 B4 B5 B6 B7 LSB LSB LSB 1st byte MSB When data is written to DCRAM* Command and address data * 2nd byte MSB Character code data 2nd byte MSB Character code data of the next address When data is written to RAM (DCRAM, ADRAM, CGRAM) continuously, addresses are internally incremented automatically. Therefore it is not necessary to specify the 1st byte to write RAM data for the 2nd and later bytes. Reset Function Reset is executed when the RESET pin is set to "L", (when turning power on, for example) and initializes all functions. Initial status is as follows: • Address of each RAM .................. address "00"H • Data of each RAM ........................ All contents are undefined • General output port ..................... All general output ports go "Low" • Display digit .................................. 24 digits • Brightness adjustment ................. 8/16 • All display lights ON or OFF ..... OFF mode • Segment output ............................ All segment outputs go "Low" • AD output ..................................... All AD outputs go "Low" Please set the functions again according to "Setting Flowchart" after reset. 15/34 FEDL9205-02 ¡ Semiconductor ML9205-01 Description of Commands and Functions 1. DCRAM data write (Specifies the addresses 00H to 1FH of DCRAM and writes the character codes of CGROM and CGRAM.) DCRAM (Data Control RAM) has a 5-bit address to store the character codes of CGROM and CGRAM. The character code specified by DCRAM is converted to a 5 ¥ 7 dot matrix character pattern via CGROM or CGRAM. (The DCRAM can store 24 characters.) [Command format] LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 1st byte (1st) X0 X1 X2 X3 X4 LSB 1 0 0 MSB : selects DCRAM data write mode and specifies DCRAM address (Ex: Specifies DCRAM address 00H.) B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (2nd) C0 C1 C2 C3 C4 C5 C6 C7 : specifies the character codes of CGROM and CGRAM (written into DCRAM address 00H) To specify the character code of CGROM and CGRAM continuously to the next address, specify only character codes as follows. The addresses of DCRAM are automatically incremented. Specification of an address is unnecessary. LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (3rd) C0 C1 C2 C3 C4 C5 C6 C7 LSB : specifies the character codes of CGROM and CGRAM (written into DCRAM address 01H) MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (4th) C0 C1 C2 C3 C4 C5 C6 C7 LSB : specifies the character codes of CGROM and CGRAM (written into DCRAM address 02H) MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (25th) C0 C1 C2 C3 C4 C5 C6 C7 : specifies the character codes of CGROM and CGRAM (written into DCRAM address 17H) 16/34 FEDL9205-02 ¡ Semiconductor ML9205-01 The character code setting of CGROM and CGRAM up to 24 digits is completed. To set a character code from DCRAM address 00H continuously. Specify a dummy charactor code between DCRAM addresses 18H and 1FH. (To increament the DCRAM address automatically and set it to 00H) LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (26th) : specifies the character codes of dummy CGROM (Operated 8 times) and CGRAM (Not written into DCRAM address) C0 C1 C2 C3 C4 C5 C6 C7 LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (33th) C0 C1 C2 C3 C4 C5 C6 C7 LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (34th) C0 C1 C2 C3 C4 C5 C6 C7 : specifies the character codes of dummy CGROM and CGRAM (Not written into DCRAM address) : specifies the character codes of CGROM and CGRAM (DCRAM address 00H is rewritten) X0 (LSB) to X4 (MSB): DCRAM addresses (5 bits: 24 characters) C0 (LSB) to C7 (MSB): Character codes of CGROM and CGRAM (8 bits: 256 characters) [COM positions and set DCRAM addresses] HEX X0 X1 X2 X3 X4 COM position HEX X0 X1 X2 X3 X4 COM position 00 0 0 0 0 0 COM1 10 0 0 0 0 1 COM17 01 1 0 0 0 0 COM2 11 1 0 0 0 1 COM18 02 0 1 0 0 0 COM3 12 0 1 0 0 1 COM19 03 1 1 0 0 0 COM4 13 1 1 0 0 1 COM20 04 0 0 1 0 0 COM5 14 0 0 1 0 1 COM21 05 1 0 1 0 0 COM6 15 1 0 1 0 1 COM22 06 0 1 1 0 0 COM7 16 0 1 1 0 1 COM23 07 1 1 1 0 0 COM8 17 1 1 1 0 1 COM24 08 0 0 0 1 0 COM9 18 0 0 0 1 1 Not fixed 09 1 0 0 1 0 COM10 19 1 0 0 1 1 Not fixed 0A 0 1 0 1 0 COM11 1A 0 1 0 1 1 Not fixed 0B 1 1 0 1 0 COM12 1B 1 1 0 1 1 Not fixed 0C 0 0 1 1 0 COM13 1C 0 0 1 1 1 Not fixed 0D 1 0 1 1 0 COM14 1D 1 0 1 1 1 Not fixed 0E 0 1 1 1 0 COM15 1E 0 1 1 1 1 Not fixed 0F 1 1 1 1 0 COM16 1F 1 1 1 1 1 Not fixed 17/34 FEDL9205-02 ¡ Semiconductor ML9205-01 2. CGRAM data write (Specifies the addresses of CGRAM and writes character pattern data.) CGRAM (Character Generator RAM) has a 4-bit address to store 5 ¥ 7 dot matrix character patterns. A character pattern stored in CGRAM can be displayed by specifying the character code (address) by DCRAM. The address of CGRAM is assigned to 00H to 0FH. (All the other addresses are the CGROM addresses.) (The CGRAM can store 16 types of character patterns.) [Command format] LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 1st byte (1st) X0 X1 X2 X3 * 0 1 LSB 0 MSB : selects CGRAM data write mode and specifies CGRAM address. (Ex: Specifies CGRAM address 00H.) B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (2nd) C0 C5 C10 C15 C20 C25 C30 LSB * : specifies 1st column data (written into CGRAM address 00H) MSB B0 B1 B2 B3 B4 B5 B6 B7 3rd byte (3rd) C1 C6 C11 C16 C21 C26 C31 LSB * : specifies 2nd column data (written into CGRAM address 00H) MSB B0 B1 B2 B3 B4 B5 B6 B7 4th byte (4th) C2 C7 C12 C17 C22 C27 C32 LSB * : specifies 3rd column data (written into CGRAM address 00H) MSB B0 B1 B2 B3 B4 B5 B6 B7 5th byte (5th) C3 C8 C13 C18 C23 C28 C33 LSB * : specifies 4th column data (written into CGRAM address 00H) MSB B0 B1 B2 B3 B4 B5 B6 B7 6th byte (6th) C4 C9 C14 C19 C24 C29 C34 * : specifies 5th column data (written into CGRAM address 00H) To specify character pattern data continuously to the next address, specify only character pattern data as follows. The addresses of CGRAM are automatically incremented. Specification of an address is therefore unnecessary. The 2nd to 6th byte (character pattern data) are regarded as one data item, so 300 ns is sufficient for tDOFF time between bytes. 18/34 FEDL9205-02 ¡ Semiconductor LSB ML9205-01 MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (7th) C0 C5 C10 C15 C20 C25 C30 LSB * : specifies 1st column data (written into CGRAM address 01H) MSB B0 B1 B2 B3 B4 B5 B6 B7 6th byte (11th) C4 C9 C14 C19 C24 C29 C34 LSB * : specifies 5th column data (written into CGRAM address 01H) MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (12th) C0 C5 C10 C15 C20 C25 C30 LSB * : specifies 1st column data (written into CGRAM address 02H) MSB B0 B1 B2 B3 B4 B5 B6 B7 6th byte (16th) C4 C9 C14 C19 C24 C29 C34 LSB * : specifies 5th column data (written into CGRAM address 02H) MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (77th) C0 C5 C10 C15 C20 C25 C30 LSB * : specifies 1st column data (written into CGRAM address 0FH) MSB B0 B1 B2 B3 B4 B5 B6 B7 6th byte (81th) C4 C9 C14 C19 C24 C29 C34 LSB * : specifies 5th column data (written into CGRAM address 0FH) MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (82th) C0 C5 C10 C15 C20 C25 C30 LSB * : specifies 1st column data (CGRAM address 00H is written) MSB B0 B1 B2 B3 B4 B5 B6 B7 6th byte (86th) C4 C9 C14 C19 C24 C29 C34 * : specifies 5th column data (CGRAM address 00H is written) X0 (LSB) to X3 (MSB): CGRAM addresses (4 bits: 16 characters) C0 (LSB) to C34 (MSB) : Character pattern data (35 bits: 35 outputs per digit) * : Don't care 19/34 FEDL9205-02 ¡ Semiconductor ML9205-01 [CGROM addresses and set CGRAM addresses] Refer to ROMCODE table HEX X0 X1 X2 X3 CGROM address HEX X0 X1 X2 X3 CGROM address 00 0 0 0 0 RAM00(00000000B) 08 0 0 0 1 RAM08(00001000B) 01 1 0 0 0 RAM01(00000001B) 09 1 0 0 1 RAM09(00001001B) 02 0 1 0 0 RAM02(00000010B) 0A 0 1 0 1 RAM0A(00001010B) 03 1 1 0 0 RAM03(00000011B) 0B 1 1 0 1 RAM0B(00001011B) 04 0 0 1 0 RAM04(00000100B) 0C 0 0 1 1 RAM0C(00001100B) 05 1 0 1 0 RAM05(00000101B) 0D 1 0 1 1 RAM0D(00001101B) 06 0 1 1 0 RAM06(00000110B) 0E 0 1 1 1 RAM0E(00001110B) 07 1 1 1 0 RAM07(00000111B) 0F 1 1 1 1 RAM0F(00001111B) Positional relationship between the output area of CGROM and that of CGRAM C0 area that corresponds to 2nd byte (1st column) area that corresponds to 3rd byte (2nd column) C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 C30 C31 C32 C33 C34 area that corresponds to 6th byte (5th column) area that corresponds to 5th byte (4th column) area that corresponds to 4th byte (3rd column) Note: CGROM (Character Generator ROM) has an 8-bit address to generate 5 ¥ 7 dot matrix character patterns. CGRAM can store 240 types of character patterns. 20/34 FEDL9205-02 ¡ Semiconductor ML9205-01 3. ADRAM data write (Specifies the addresses 00H to 1FH of ADRAM and writes symbol data.) ADRAM (Additional Data RAM) has a 5-bit address to store symbol data. Symbol data specified by ADRAM is directly output without CGROM and CGRAM. (The ADRAM can store 4 types of symbol patterns for each digit.) The terminal to which the contents of ADRAM are output can be used as a cursor. [Command format] LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 1st byte (1st) X0 X1 X2 X3 X4 1 1 LSB 0 MSB : selects ADRAM data write mode and specifies ADRAM address (Ex: Specifies ADRAM address 00H.) B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (2nd) C0 C1 C2 C3 * * * * : sets symbol data (written into ADRAM address 00H.) To specify symbol data continuously to the next address, specify only symbol data as follows. The address of ADRAM is automatically incremented. Specification of addresses is therefore unnecessary. LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (3rd) C0 C1 C2 C3 * * * LSB * MSB : sets symbol data (written into ADRAM address 01H) B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (4th) C0 C1 C2 C3 * * * LSB * : sets symbol data (written into ADRAM address 02H) MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (25th) C0 C1 C2 C3 * * * * : sets symbol data (written into ADRAM address 17H) 21/34 FEDL9205-02 ¡ Semiconductor ML9205-01 The symbol data setting up to 24 digits is completed. To set symbol data from ADRAM address 00H continuously. Specify a dummy symbol data between ADRAM addresses 18H and 1FH. (To increment the ADRAM address automatically and set it to 00H) LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (26th) C0 C1 C2 C3 * * * LSB * : sets dummy symbol data (Not written into ADRAM address) MSB B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (33th) C0 C1 C2 C3 * * * LSB * MSB : sets dummy symbol data (Not written into ADRAM address) B0 B1 B2 B3 B4 B5 B6 B7 2nd byte (34th) C0 C1 C2 C3 * * * * : sets dummy symbol data (ADRAM address 00H is rewritten.) X0 (LSB) to X4 (MSB) : ADRAM addresses (5 bits: 24 characters) C0 (LSB) to C3 (MSB): Symbol data (4 bits: 4-symbol data per digit) * : Don't care [COM positions and ADRAM addresses] HEX X0 X1 X2 X3 X4 COM position HEX X0 X1 X2 X3 X4 COM position 00 0 0 0 0 0 COM1 10 0 0 0 0 1 COM17 01 1 0 0 0 0 COM2 11 1 0 0 0 1 COM18 02 0 1 0 0 0 COM3 12 0 1 0 0 1 COM19 03 1 1 0 0 0 COM4 13 1 1 0 0 1 COM20 04 0 0 1 0 0 COM5 14 0 0 1 0 1 COM21 05 1 0 1 0 0 COM6 15 1 0 1 0 1 COM22 06 0 1 1 0 0 COM7 16 0 1 1 0 1 COM23 07 1 1 1 0 0 COM8 17 1 1 1 0 1 COM24 08 0 0 0 1 0 COM9 18 0 0 0 1 1 Not fixed 09 1 0 0 1 0 COM10 19 1 0 0 1 1 Not fixed 0A 0 1 0 1 0 COM11 1A 0 1 0 1 1 Not fixed 0B 1 1 0 1 0 COM12 1B 1 1 0 1 1 Not fixed 0C 0 0 1 1 0 COM13 1C 0 0 1 1 1 Not fixed 0D 1 0 1 1 0 COM14 1D 1 0 1 1 1 Not fixed 0E 0 1 1 1 0 COM15 1E 0 1 1 1 1 Not fixed 0F 1 1 1 1 0 COM16 1F 1 1 1 1 1 Not fixed 22/34 FEDL9205-02 ¡ Semiconductor ML9205-01 4. General output port set (Specifies the general output port status.) The general output port is an output for 4-bit static operation. It is used to control other I/O devices and turn on LED. (static operation) When at the "High" level, this output becomes the VDD voltage, and when at the "Low" level, it becomes the ground potential. Therefore, the fluorescent display tube cannot be driven. [Command format] LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 1st byte P1 P2 P3 P4 * 0 0 1 : selects a general output port and specifies the output status P1 to P4 : general output ports * : Don't care [Set data and set state of general output port] Pn Display state of general output port 0 Sets the output to Low 1 Sets the output to High (The state when power is applied or when RESET is input.) 23/34 FEDL9205-02 ¡ Semiconductor ML9205-01 5. Display duty set (Writes a display duty value to the duty cycle register.) Display duty adjusts brightness in 8 stages using 3-bit data. When power is turned on or when the RESET signal is input, the duty cycle register value is "0". Always execute this instruction before turning the display on, then set a desired duty value. [Command format] LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 1st byte D0 D1 D2 * * 1 0 1 : selects display duty set mode and sets duty value D0 (LSB) to D2 (MSB) : display duty data (3 bits: 8 stages) * : Don't care [Relation between setup data and controlled COM duty] HEX D0 D1 D2 COM duty 0 0 0 0 8/16 1 1 0 0 9/16 2 0 1 0 10/16 3 1 1 0 11/16 4 0 0 1 12/16 5 1 0 1 13/16 6 0 1 1 14/16 7 1 1 1 15/16 ¨ (The state when power is turned on or when RESET signal is input.) 24/34 FEDL9205-02 ¡ Semiconductor ML9205-01 6. Number of digits set (Writes the number of display digits to the display digit register.) The number of digits set can display 9 to 24 digits using 4-bit data. When power is turned on or when a RESET signal is input, the number of digit register value is "0". Always execute this instruction to change the number of digits before turning the dispaly on. [Command format] LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 1st byte K0 K1 K2 K3 * 0 1 1 : selects the number of digit set mode and specifies the number of digit value K0 (LSB) to K3 (MSB) : number of digit data (4 bits: 16 digits) * : Don't care [Relation between setup data and controlled COM] HEX K0 K1 K2 K3 Number of digits HEX K0 K1 K2 K3 Number of digits 8 0 0 0 1 COM1 to 16 of COM of COM 0 0 0 0 0 COM1 to 24 1 1 0 0 0 COM1 to 9 9 1 0 0 1 COM1 to 17 2 0 1 0 0 COM1 to 10 A 0 1 0 1 COM1 to 18 3 1 1 0 0 COM1 to 11 B 1 1 0 1 COM1 to 19 4 0 0 1 0 COM1 to 12 C 0 0 1 1 COM1 to 20 5 1 0 1 0 COM1 to 13 D 1 0 1 1 COM1 to 21 6 0 1 1 0 COM1 to 14 E 0 1 1 1 COM1 to 22 7 1 1 1 0 COM1 to 15 F 1 1 1 1 COM1 to 23 * The state when power is turned on or when RESET signal is input. 25/34 FEDL9205-02 ¡ Semiconductor ML9205-01 7. All display lights ON/OFF set (Turns all dispaly lights ON or OFF.) All display lights ON is used primarily for display testing. All display lights OFF is primarily used for display blink and to prevent malfunction when power is turned on. This command cannot control the general output port. [Command format] LSB MSB B0 B1 B2 B3 B4 B5 B6 B7 1st byte L H * * * 1 1 1 : selects all display lights ON or OFF mode and specifies display operation L and H: display operation data *: Don't care [Set data and display state of SEG and AD] L H 0 0 Normal display 1 0 Sets all outputs to Low 0 1 Sets all outputs to High 1 1 Sets all outputs to High Display state of SEG and AD (The state when power is applied or when RESET is input.) 26/34 FEDL9205-02 ¡ Semiconductor ML9205-01 Setting Flowchart (Power applying included) Apply VDD and VDISP Apply VFL All display lights OFF Status of all outputs by RESET signal input General output port setting Number of digits setting Display duty setting Select a RAM to be used CGRAM DCRAM Data write mode Data write mode Data write mode (with address setting) (with address setting) (with address setting) Address is automatically incremented Address is automatically incremented DCRAM Is character code write ended? Address is automatically incremented CGRAM Character code DCRAM Character code NO ADRAM NO YES CGRAM Is character code write ended? YES YES ADRAM Character code NO ADRAM Is character code write ended? YES Another RAM to be set? NO Releases all display lights OFF mode Display operation mode End 27/34 FEDL9205-02 ¡ Semiconductor ML9205-01 Power-off Flowchart Display operation mode Turn off VFL Turn off VDD and VDISP 28/34 FEDL9205-02 ¡ Semiconductor ML9205-01 APPLICATION CIRCUIT Heater Transformer 5¥7-dot matrix fluorescent display tube ANODE (SEGMENT) ANODE GRID (SEGMENT) (DIGIT) VDD 4 R2 VDD VDD C3 Microcontroller Output Port C2 RESET VDD, AD1-4 VDISP1-2 C4 24 SEG1-35 COM1-24 R4 LED ML9205 -01 CS CP DA P1-4 GND VFL VDD 35 GND VFL1-2 R3 GND OSC0 OSC1 R1 4 NPN Tr GND C1 GND ZD Notes: 1. The VDD value depends on the power supply voltage of the microcontroller used. Adjust the values of the constants R1, R2, R4, C1, and C2 to the power supply voltage used. 2. The VFL value depends on the fluorescent display tube used. Adjust the values of the constants R3 and ZD to the power supply voltage used. 29/34 FEDL9205-02 ¡ Semiconductor ML9205-01 REFERENCE DATA Graphs illustrating the VFL versus driver output current capability relationship are shown below. Care must be taken not to use the total power in excess of allowable power dissipation. 0 [Driver output current versus output drop voltage] VFL=–60V,COMn [Output current (mA)] 0 –15 –30 –45 –60 –75 (mA) 0 [VDISP–n(V)] [VDISP–n(V)] –0.5 –0.5 –1.0 Ta=–40°C [Driver output current versus output drop voltage] VFL=–20V,COMn [Output current (mA)] 0 –15 –30 –45 –60 –75 (mA) –1.0 Ta=25°C –1.5 Ta=85°C –2.0 (V) 0 –2.0 (V) [Driver output current versus output drop voltage] VFL=–60V,ADn [Output current (mA)] 0 –4 –8 –12 –16 –20 (mA) 0 [VDISP–n(V)] [VDISP–n(V)] –0.5 –0.5 –1.0 Ta=–40°C Ta=–40°C –1.5 Ta=85°C [Driver output current versus output drop voltage] VFL=–20V,ADn [Output current (mA)] 0 –4 –8 –12 –16 –20 (mA) –1.0 Ta=25°C –1.5 Ta=85°C –2.0 (V) 0 0 [VDISP–n(V)] [VDISP–n(V)] –0.5 –0.5 –1.0 Ta=–40°C Ta=–40°C –1.5 –2.0 (V) [Driver output current versus output drop voltage] VFL=–60V,SEGn [Output current (mA)] 0 –2 –4 –6 –8 –10 (mA) Ta=85°C –2.0 (V) Ta=85°C Ta=25°C [Driver output current versus output drop voltage] VFL=–20V,SEGn [Output current (mA)] 0 –2 –4 –6 –8 –10 (mA) –1.0 Ta=25°C –1.5 Ta=25°C Ta=–40°C –1.5 –2.0 (V) Ta=85°C Ta=25°C 30/34 FEDL9205-02 ¡ Semiconductor ML9205-01 ML9205-01 ROM Code 00000000B (00H) to 00000111B (0FH) are the CGRAM addresses. MSB 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 LSB 0000 RAM0 0001 RAM1 0010 RAM2 0011 RAM3 0100 RAM4 0101 RAM5 0110 RAM6 0111 RAM7 1000 RAM8 1001 RAM9 1010 RAMA 1011 RAMB 1100 RAMC 1101 RAMD 1110 RAME 1111 RAMF 31/34 FEDL9205-02 ¡ Semiconductor ML9205-01 PACKAGE DIMENSIONS (Unit : mm) QFP80-1414-0.65-K Mirror finish Oki Electric Industry Co., Ltd. Package material Lead frame material Pin treatment Package weight (g) Rev. No./Last Revised Epoxy resin 42 alloy Solder plating (≥5 mm) 0.85 TYP. 3/Nov. 28, 1996 Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, TQFP, LQFP, 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 on the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times). 32/34 FEDL9205-02 ¡ Semiconductor ML9205-01 (Unit : mm) QFP80-P-1420-0.80-BK Mirror finish Oki Electric Industry Co., Ltd. Package material Lead frame material Pin treatment Package weight (g) Rev. No./Last Revised Epoxy resin 42 alloy Solder plating (≥5 mm) 1.27 TYP. 4/Nov. 28, 1996 Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, TQFP, LQFP, 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 on the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times). 33/34 FEDL9205-02 ¡ Semiconductor ML9205-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 34/34