LAPIS Semiconductor ML9042-xx

Similar documents
Preliminary NT7070B Dot Matrix LCD Driver & Controller. Features. Descriptions. Applications

ITM-1601A LCM. User s Guide. (Liquid Crystal Display Module) 1998 Intech LCD Group Ltd. Document No. TE nd Edition Jan.

HD66702 (LCD-II/E20) (Dot Matrix Liquid Crystal Display Controller/Driver) Description. Features

NT7603. Features. General Description

NT7605. Features. General Description

NT7605. Single-chip 20C X 2L Dot-Matrix LCD Controller / Driver. Features. General Description 1 V2.1

DOT MATRIX LCD CONTROLLER WITH 16-DOT COMMON DRIVER AND 40-DOT SEGMENT DRIVER

DOT MATRIX LCD CONTROLLER WITH 16-DOT COMMON DRIVER AND 40-DOT SEGMENT DRIVER

16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD

Sitronix Dot Matrix LCD Controller/Driver

S6A0093 Specification Revision History

LCD MODULE DEM SBH-PW-N

HD44102D. (Dot Matrix Liquid Crystal Graphic Display Column Driver) Features. Description. Ordering Information

LCM NHD-0420DZ-FL-YBW. User s Guide. RoHS Compliant. (Liquid Crystal Display Character Module) For product support, contact FEATURES

RW1072-0A-001 INTRODUCTION FEATURES. Driver Output Circuit. Microprocessor Interface. Internal Memory. On-chip Low Power Analog Circuit FUNCTION

POWERTIP TECH. CORP. DISPLAY DEVICES FOR BETTER ELECTRONIC DESIGN

DATA SHEET. PCD pixels matrix LCD controller/driver INTEGRATED CIRCUITS Apr 12

Sitronix Dot Matrix LCD Controller/Driver

APPLICATION NOTE VACUUM FLUORESCENT DISPLAY MODULE

APPLICATION NOTE VACUUM FLUORESCENT DISPLAY MODULE CHARACTER DISPLAY MODULE M204D08AA

POWERTIP TECH. CORP. DISPLAY DEVICES FOR BETTER ELECTRONIC DESIGN

LAPIS Semiconductor ML9058E

NJU6655. Preliminary. 64-common X 160-segment + 1-icon common Bitmap LCD Driver ! GENERAL DESCRIPTION ! PACKAGE OUTLINE ! FEATURES

The ST7588T is a driver & controller LSI for graphic dot-matrix liquid crystal display systems. It contains 132 segment and 80

HD61103A. (Dot Matrix Liquid Crystal Graphic Display 64-Channel Common Driver) Features. Description. Ordering Information

34346-OP. AUG. 06, 2003 Version 0.1

RayStar Microelectronics Technology Inc. Ver: 1.4

180-Channel LCD Driver with Built-in RAM for LCD Dot Matrix Displays

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

Semiconductor ML9472 GENERAL DESCRIPTION FEATURES FEDL Static,1/2Duty 60 Output LCD Driver

64CH COMMON DRIVER FOR DOT MATRIX LCD INTRODUCTION FEATURES 100 QFP-1420C

LC75857E LC75857W. SANYO Semiconductors DATA SHEET. Preliminary. Overview. Features. CMOS IC 1/3, 1/4 Duty LCD Display Drivers with Key Input Function

ML9479E GENERAL DESCRIPTION FEATURES. FEDL9479E-02 Issue Date: Apr. 3, Static, 1/2 Duty, 1/3 Duty, 1/4 Duty 160 Outputs LCD Driver

The ST7528 is a driver & controller LSI for 16-level gray scale graphic dot-matrix liquid crystal display systems. It contains

Block Diagram , E I F = O 4 ) + J H 6 E E C + E H? K E J +,, H E L A H * E = I + E H? K E J + + % 8,, % 8 +, * * 6 A. H A G K A? O

RW1026 Dot Matrix 48x4 LCD Controller / Driver

Newhaven Display International, Inc Galvin Ct. Elgin IL, Ph: Fax:

NHD-0216HZ-FSW-FBW-33V3C

IZ602 LCD DRIVER Main features: Table 1 Pad description Pad No Pad Name Function

NHD-0420AZ-FSW-GBW-33V3

Newhaven Display International, Inc Galvin Ct. Elgin IL, Ph: Fax:

AZ DISPLAYS, INC. SPECIFICATIONS FOR LIQUID CRYSTAL DISPLAY COMPLETE LCD SOLUTIONS. AGM1064B Series PART NUMBER:

Newhaven Display International, Inc Galvin Ct. Elgin IL, Ph: Fax:

NHD-0216K1Z-NS(RGB)FBW-REV1

HD (80-Channel Column/Common Driver for Middle- or Large-sized Liquid Crystal Panel)

ML9478C GENERAL DESCRIPTION FEATURES. FEDL9478C-01 Issue Date: Apr. 25, Static, 1/2 Duty, 1/3 Duty, 1/4 Duty 80 Outputs LCD Driver

PRODUCT OVERVIEW OVERVIEW OTP

HT1621. HT1621 RAM Mapping 32x4 LCD Controller for I/O MCU

UCS Channel LED Driver / Controller

PATENTED. PAT No. : HT1622/HT1622G RAM Mapping 32 8 LCD Controller for I/O MCU. Features. General Description.

APPLICATION NOTE VACUUM FLUORESCENT DISPLAY MODULE CHARACTER DISPLAY MODULE M202SD16LA

HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 HT1627 HT16270 COM

Newhaven Display International, Inc Galvin Ct. Elgin IL, Ph: Fax:

HT16C23/HT16C23G RAM Mapping 56 4 / 52 8 LCD Driver Controller

SH X Grayscale Dot Matrix OLED/PLED Driver with Controller. Features. General Description 1 V2.2

Built-in LCD display RAM Built-in RC oscillator

Semiconductor ML9060 GENERAL DESCRIPTION FEATURES FEDL FEDL /2 DUTY, 160-OUTPUT STATIC LCD DRIVER

HT16C22/HT16C22G RAM Mapping 44 4 LCD Controller Driver

NHD-0108BZ-FSY-YBW-33V3

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

1/3, 1/4 Duty LCD Driver

Package Type. 6800, 8080, 4-Line, 3-Line interface (without IIC interface)

Oscillator fail detect - 12-hour Time display 24-hour 2 Time Century bit - Time count chain enable/disable -

PATENTED. PAT No. : HT1622/HT1622G RAM Mapping 32 8 LCD Controller for I/O MCU. Features. General Description.

Built-in LCD display RAM Built-in RC oscillator

ME DISPLAYS SPECIFICATIONS FOR LCD MODULE CCM1620

R/W address auto increment External Crystal kHz oscillator

M0220SD 202SDAR1 S. Vacuum Fluorescent Display Module

DS1202, DS1202S. Serial Timekeeping Chip FEATURES PIN ASSIGNMENT. ORDERING INFORMATION DS pin DIP DS1202S 16 pin SOIC DS1202S8 8 pin SOIC

32 CH COMMON DRIVER FOR DOT MATRIX LCD

KS SEG / 129 COM DRIVER & CONTROLLER FOR 4 GRAY SCALE STN LCD. February Ver Prepared by: Hyung-Suk, Kim.

DS1307ZN. 64 X 8 Serial Real Time Clock PIN ASSIGNMENT FEATURES

S48 LATCH & SEGMENT DRIVER ( 1 ~ 56 BITS) LATCH & SEGMENT DRIVER ( 57 ~ 112 BITS ) CLOCK GENERATOR S47 ( ARI )

Pin Assignment SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG38 VDD SDA SCL COM0 COM1 COM2 COM3 COM4 COM5 COM6 COM

HD44105D. (Dot Matrix Liquid Crystal Graphic Display Common Driver) Description. Features. Ordering Information

RAM Mapping LCD Controller for I/O MCU. Built-in LCD display RAM Built-in RC oscillator

RAM Mapping 72*4 / 68*8 / 60*16 LCD Driver Controller HT16C24/HT16C24G

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

CMOS Serial Digital Pulse Width Modulator INPUT CLK MODULATOR LOGIC PWM 8 STAGE RIPPLE COUNTER RESET LOAD FREQUENCY DATA REGISTER

SSD1848. Advanced Information. 130 x 130 STN LCD Segment / Common 4G/S Driver with Controller

DS1307ZN. 64 X 8 Serial Real Time Clock

ML1001 Series Static LCD COG Driver

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

CMOS Serial Digital Pulse Width Modulator INPUT CLK MODULATOR LOGIC PWM 8 STAGE RIPPLE COUNTER RESET LOAD FREQUENCY DATA REGISTER

M0420SD 204SDAR1 3. Vacuum Fluorescent Display Module

SERIAL I/O REAL TIME CLOCK

Newhaven Display International, Inc Galvin Ct. Elgin IL, Ph: Fax:

NJU6434C 1/4 DUTY LCD DRIVER PRELIMINARY ! GENERAL DESCRIPTION ! PACKAGE OUTLINE ! FEATURES ! BLOCK DIAGRAM

LC75847T/D. 1/3, 1/4-Duty General-Purpose LCD Driver

Preliminary. Static 1/2 1/3 1/4 Duty LCD Driver ! PACKAGE OUTLINE

SSD1805. Advance Information. 132 x 68 STN LCD Segment / Common Monochrome Driver with Controller

RAM Mapping 64 8 LCD Controller for I/O MCU. Built-in LCD display RAM Built-in RC oscillator

LAPIS Semiconductor ML9212

Newhaven Display International, Inc Galvin Ct. Elgin IL, Ph: Fax:

Newhaven Display International, Inc Galvin Ct. Elgin IL, Ph: Fax:

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 HT1627 HT16270 COM

Newhaven Display International, Inc Galvin Ct. Elgin IL, Ph: Fax:

CCB is ON Semiconductor s original format. All addresses are managed by ON Semiconductor for this format.

A Gold Bump Chip which can reduce pin count and area. High quality instrument

HD (Dot Matrix Liquid Crystal Graphic Display Column Driver with 80-Channel Outputs) Description. Features. Ordering Information

Transcription:

ML942-xx DOT MATRIX LCD CONTROLLER DRIVER FEDL942- Issue Date: Nov. 9, 23 GENERAL DESCRIPTION The ML942 used in combination with an 8-bit or 4-bit microcontroller controls the operation of a character type dot matrix LCD. FEATURES Easy interfacing with an 8-bit or 4-bit microcontroller Switchable between serial and parallel interfaces Dot-matrix LCD controller driver for a 5 8 dot font Built-in circuit allowing automatic resetting at power-on Built-in 7 common signal drivers and segment signal drivers Two built-in character generator ROMs each capable of generating 24 characters (5 8 dots) The character generator ROM can be selected by bank switching (ROMS) pin. Creation of character patterns by programming: up to 8 character patterns (5 8 dots) Built-in RC oscillation circuit using external or internal resistors Program-selectable duties When ABE bit is L : /8 duty ( line: 5 8 dots), or /6 duty (2 lines: 5 8 dots) When ABE bit is H : /9 duty ( line: 5 8 dots + arbitrator), or /7 duty (2 lines: 5 8 dots + arbitrator) Cursor display Built-in bias dividing resistors to drive the LCD Bi-directional transfer of segment outputs Bi-directional transfer of common outputs -dot arbitrator display Line display shifting Built-in voltage multiplier circuit Gold Bump Chip ML942-xx CVWA/DVWA *xx indicates a character generator ROM code number. *, and 2 indicate general character generator ROM code numbers. CVWA indicates a bump chip with high hardness, and DVWA indicates a bump chip with low hardness. /58

FEDL942- ML942-xx BLOCK DIAGRAM Common signal Parallelserial converter V DD GND OSC OSC R3 OSC R5 OSC 2 RS RS /CSB RW/SI E/SHTB SP DB (SO) to 4 DB 3 DB 4 to DB 7 4 T T 2 T 3 V 4 V 3B V 3A V 2 V V V OUT Timing generator 7 8 8 Instruction decoder (ID) I/O Buffer 8 Data register (DR) 8 Test circuit LCD bias 8 driver 7-bit bi-directional 5 voltage dividing circuit 8 Busy flag (BF) Expansion instruction register (ER) Voltage multiplier circuit Address counter (ADC) Expansion instruction register (ED) Cursor blink controller Character generator RAM (CG RAM) 8 8 Display data RAM (DD RAM) Arbitrator RAM (AB RAM) COM COM 7 SEG SEG Segment Signal driver -bit latch shift register -bit bi-directional shift register 5 Character generator ROM (CG ROM) V CC V C V IN 5 BE ROMS Instruction register (IR) 2/58

FEDL942- ML942-xx I/O CIRCUITS V DD V DD V DD P P N N Applied to pins T, T 2, and T 3 Applied to pins RW/SI, RS, and RS /CSB Applied to pins E/SHTB, SP, ROMS, and BE V DD V DD P P N P V DD N Output Enable signal Applied to pins DB (SO) to DB 7 3/58

FEDL942- ML942-xx PIN DESCRIPTIONS Symbol RW/SI RS /CSB, RS E/SHTB DB (SO) to DB 3 DB 4 to DB 7 OSC OSC 2 OSC R3 OSC R5 COM to COM 7 SEG to SEG Description The input pin with a pull-up resistor to select Read ( H ) or Write ( L ) in the Parallel I/F Mode. The pin to input data in the Serial l/f Mode. Each instruction code and each data are read in by the rising edge of the E/SHTB signal. The input pins with a pull-up resistor to select a register in the Parallel l/f Mode. RS RS /CSB Name of register H H Data register H L Instruction register L L Expansion Instruction register The RSo/CSB pin is configured as a chip enable input in the Serial I/F Mode. Setting the RSo/CSB pin to L allows the I/F to be provided. The input pin for data input/output between the CPU and the ML942 and for activating instructions in the Parallel l/f Mode. This pin is configured as a shift clock input in the Serial I/F Mode. The data input to the PW/SI pin is synchronized to the rising edge of the clock, and the data output from the DB(SO) pin is synchronized to the falling edge of the shift clock. The input/output pins to transfer data of lower-order 4 bits between the CPU and the ML942 in the Parallel l/f Mode. The pins are not used for the 4-bit interface. Only the DB(SO) pin is configured as a data output in the Serial I/F Mode. Busy flag & address and data are output synchronized to the falling edge of the E/SHTB signal. These pins remain pulled up when data is not output. Each pin is equipped with a pull-up resistor, so this pin should be open when not used. The input/output pins to transfer data of upper 4 bits between the CPU and the ML942 in the Parallel l/f Mode. The pins are not used for the serial interface. Each pin is equipped with a pull-up resistor, so this pin should be open in the Serial I/F Mode when not used. The clock oscillation pins required for LCD drive signals and the operation of the ML942 by instructions sent from the CPU. To input external clock, the OSC pin should be used. The OSC R3, OSC R5, and OSC 2 pins should be open. To start oscillation with an external resistor, the resistor should be connected between the OSC and OSC 2 pins. The OSC R3 and OSC R5 pins should be open. To start oscillation at 5 V using an internal resistor, the OSC 2 and OSC R5 pins should be short-circuited outside the ML942. The OSC and OSC R3 pins should be open. To start oscillation at 3 V using an internal resistor, the OSC 2 and OSC R3 pins should be short-circuited outside the ML942. The OSC and OSC R5 pins should be open. (The OSC 2, OSC R3, and OSC R5 pins can also be short-circuited outside the ML942, and the OSC pin can be open.) The LCD common signal output pins. For /8 duty, non-selectable voltage waveforms are output via COM 9 to COM 7. For /9 duty, non-selectable voltage waveforms are output via COM to COM 7. For /6 duty, a non-selectable voltage waveform is output via COM 7. The LCD segment signal output pins. 4/58

FEDL942- ML942-xx Symbol ROMS V, V 2, V 3A, V 3B, V 4 BE Description The input pin to switch the ROM bank. H selects ROM and L selects ROM. Switching after power-on is prohibited. The pins to output bias voltages to the LCD. For /4 bias : The V 2 and V 3B pins are shorted. For /5 bias : The V 3A and V 3B pins are shorted. The input pin to enable or disable the voltage multiplier circuit. "L" disables the voltage multiplier circuit. "H" enables the voltage multiplier circuit. The voltage multiplier circuit doubles the input voltage between the V IN pin and the GND pin, and the multiplied voltage referenced to the GND is output to the V OUT pin. The voltage multiplier circuit can be used only when generating a level higher than the V DD. TEST IN TEST OUT V IN V, V OUT V C V CC T, T 2, T 3 V DD GND SP DUMMYV DD DUMMYGND DUMMY The input pin for test circuits. Normally connect this pin to V DD. The output pin for the test circuits. Normally leave this pin open. The pin to input voltage to the voltage multiplier. The pins to supply the LCD drive voltage. The same potential as the V DD potential is supplied to the V OUT and V pins when the voltage multiplier is not used (BE = or BE =, and the capacitor is not connected to the V C and V CC pins) When the voltage multiplier is used (BE = ), the multiplied voltage is output to the V OUT pin, so that the V OUT pin and V pin should be connected. Capacitors for the voltage multiplier should be connected between the GND and the V OUT pin. The pin to connect the negative pin of the capacitor for the voltage multiplier. Leave the pin open when the voltage multiplier circuit is not used. The pin to connect the positive pin of the capacitor used for the voltage multiplier. Leave the pin open when the voltage multiplier circuit is not used. The input pins for test circuits (normally open). Each of these pins is equipped with a pull-down resistor, so this pin should be left open. The power supply pin. The ground level input pin. The input pin to select the serial or parallel interface. L selects the parallel interface. H selects the serial interface. The output pin to fix the adjacent input pin to the V DD level. Use this pin only for this purpose. The output pin to fix the adjacent input pin to the GND level. Use this pin only for this purpose. NC (No Connection) pin. 5/58

FEDL942- ML942-xx ABSOLUTE MAXIMUM RATINGS Parameter Symbol Condition Rating Unit Applicable pins Supply Voltage V DD Ta = 25 C.3 to +6.5 V V DD LCD Driving Voltage V, V, V 2, V 3, V 4, Ta = 25 C.3 to +6.5 V (GND = V) V OUT, V, V, V 2, V 3A, V 3B, V 4, GND Input Voltage V I Ta = 25 C.3 to V DD+.3 V RW/SI, E/SHTB, SP, RS /CSB, RS, BE, ROMS, T to T 3, DB (SO) to DB 7, V IN Storage Temperature T STG 55 to +5 C RECOMMENDED OPERATING CONDITIONS (GND = V) Parameter Symbol Condition Range Unit Applicable pins Supply Voltage V DD 2.7 to 5.5 V V DD V LCD Driving Voltage (See Note) 2.7 to 5.5 V V OUT, V Voltage Multipler Input Voltage V MUL BE =.8 to 2.75 V V IN Operating Temperature T op 4 to +85 C Note: This voltage should be applied across V and GND. The following voltages are output to the V, V 2, V 3A (V 3B ) and V 4 pins: /4 bias (V 2 and V 3B are short-circuited) V =3 V /4.5 V V 2 = V 3B = V /2.5 V V 4 = V /4.5 V /5 bias (V 3A and V 3B are short-circuited) V = 4 V /5.5 V V 2 = 3 V /5.5 V V 3A = V 3B = 2 V /5.5 V V 4 = V /5.5 V The voltages at the V, V, V 2, V 3A (V 3B ), V 4 and GND pins should satisfy V > V > V 2 > V 3A (V 3B ) > V 4 > GND (Higher Lower) * If the chip is attached on a substrate using COG technology, the chip tends to be susceptible to electrical characteristics of the chip due to trace resistance on the glass substrate. It is recommended to use the chip by confirming that it operates on the glass substrate properly. Trace resistance, especially, V DD and V SS trace resistance, between the chip on the LCD panel and the flexible cable should be designed as low as possible. Trace resistance that cannot be very well decreased, larger size of the LCD panel, or greater trace capacitance between the microcontroller and the ML942 device can cause device malfunction. In order to avoid the device malfunction, power noise should be reduced by serial interfacing of the microcontroller and the ML942 device. * Do not apply short-circuiting across output pins and across an output pin and an input/output pin or the power supply pin in the output mode. 6/58

FEDL942- ML942-xx ELECTRICAL CHARACTERISTICS DC Characteristics (GND = V, V DD = 2.7 to 5.5 V, Ta = 4 to +85 C) Parameter Symbol Condition Min. Typ. Max. Unit Applicable pin H Input Voltage V IH.8V DD V DD V RW/SI, RS /CSB, RS, E/SHTB, DB (SO) to L Input Voltage V IL.2V DD DB 7, SP, OSC, BE, ROMS H Output Voltage V OH I OH =. ma.9v DD DB (SO) to V L Output Voltage V OL I OL = +. ma.v DD DB 7 H Output Voltage 2 V OH2 I OH = 3 A.9V DD L Output Voltage 2 V OL2 I OL = +3 A.V DD V OSC 2 COM Voltage Drop SEG Voltage Drop V CH l OCH = 4 A V.3 V CMH l OCMH = 4 A V GND = 5 V V.3 V CML l OCML = 4 A Note V 4.3 V CL l OCL = +4 A GND V SH l OSH = 4 A V.3 V SMH l OSMH = 4 A V GND = 5 V V 2.3 V SML l OSML = 4 A Note V 3.3 V SL l OSL = +4 A GND V.2 V.2 V 4.2 GND+.2 V.2 V 2.2 V 3.2 GND+.2 V V +.3 V 4+.3 GND+.3 V V 2+.3 V 3+.3 GND+.3 V V COM to COM 7 SEG to SEG Input Leakage Current IIL V DD = 5 V, V I = 5 V or V. A E/SHTB, BE, SP, V IN Input Current II V DD = 5 V, V I = GND 25 6 RW/SI, V DD = 5 V, V I = V DD, RS /CSB, RS, Excluding current flowing A 2. DB (SO) to through the pull-up resistor DB 7 and the output driving MOS V DD = 5 V, V I = V DD 5 45 5 Input Current 2 II2 V DD = 5 V, V I = GND Excluding current flowing 2. A T, T 2, T 3 through the pull-down resistor Supply Current l DD V DD = 5 V Note 2.2 ma V DD GND Oscillation Frequency of External Resistor Rf f osc Rf = 85 k 2% Note 3 75 27 4 khz OSC, OSC 2 7/58

FEDL942- ML942-xx Oscillation Frequency of Internal Resistor Rf External Clock Clock Input Frequency f osc2 f in V DD = 4. to 5.5 V Ta = -2 to 75 C OSC and OSC R3: Open OSC 2 and OSC R5: Short-circuited Note 4 V DD = 2.7 to 3.6 V Ta = -2 to 75 C OSC and OSC R5: Open OSC 2 and OSC R3: Short-circuited Note 4 OSC 2, OSC R: Open Input from OSC 2 27 35 khz 2 28 364 khz 75 4 khz Input Clock Duty f duty Note 5 45 5 55 % Input Clock Rise Time f rf Note 6.2 s Input Clock Fall Time f ff Note 6.2 s LCD Bias Resistor R LB -x code.4 2. 2.6 k -x code 2.8 4. 5.2 k -2x code 7.. 3. k OSC, OSC 2, OSC R5 OSC, OSC 2, OSC R3 OSC V, V, V 2, V 3A, V 3B, V 4, GND V, V, V 2, V 3A, V 3B, V 4, GND V, V, V 2, V 3A, V 3B, V 4, GND 8/58

FEDL942- ML942-xx (GND = V, V DD = 2.7 to 5.5 V, Ta = 4 to +85 C) Parameter Symbol Condition Min. Typ. Max. Unit Voltage Multiplier Input Voltage Voltage Multiplier Output Voltage Bias Voltage for Driving LCD Applicable pins V MUL Note 7.8 2.75 V V IN V OUT V DD = 2.7 V, V IN = 2.25 V f = 75 khz A capacitor for the voltage multiplier = to 4.7 F V OUT load current = 54 A BE = H Applied to LCD bias resistance of k (TYP) only /5 bias /4 bias /5 V LCD bias V GND Note 8 /4 V LCD2 bias 4.3 (VDD VIN) 2 4.3 (VDD VIN) 2 2.7 5.5 2.7 5.5 V V OUT V V Note : Applied to the voltage drop occurring between any of the V, V, V 4 and GND pins and any of the common pins (COM to COM 7 ) when the current of 4 A flows in or flows out at one common pin. Also applied to the voltage drop occurring between any of the V, V 2, V 3A (V 3B ) and GND pins and any of the segment pins (SEG to SEG ) when the current of 4 A flows in or flows out at one segment pin. The current of 4 A flows out when the output level is V DD or flows in when the output level is V 5. Note 2: Applied to the current flowing into the V DD pin when the external clock (f OSC2 = f in = 27 khz) is fed to the internal R f oscillation or OSC under the following conditions: V DD = V = 5 V GND = V, V, V 2, V 3A (V 3B ) and V 4 : Open E/SHTB and BE: L (fixed) Other input pins: L or H (fixed) Other output pins: No load 9/58

FEDL942- ML942-xx Note 3: Note 4: OSC OSC OSC OSC R3 OSC R3 OSC R3 OSC R5 R f = 85 k 2% OSC R5 OSC R5 OSC 2 OSC 2 OSC 2 The wire between OSC and R f and the wire between OSC 2 and R f should be as short as possible. Keep OSC R3 and OSC R5 open. The wire between OSC R3 and OSC 2, or between OSC R5 and OSC 2 should be as short as possible. Keep open between OSC and OSC R3, or between OSC and OSC R5. Note 5: t HW t LW V DD 2 V DD 2 V DD 2 f IN waveform Applied to the pulses entering from the OSC pin f duty = t HW/(t HW + t LW) (%) Note 6:.8V DD.8V DD.2V DD.2V DD t rf t ff Applied to the pulses entering from the OSC pin Note 7: The maximum value of the voltage multiplier input voltage should be set at 2.75 V, and the minimum value of the voltage multiplier input voltage should be set by monitoring the voltage of V in actual use so that the voltage multiplier output voltage meets the specification for the bias voltage for driving LCD after contrast adjustment. Note 8: For /4 bias, V 2 and V 3B pins are short-circuited. V 3A pin is open. For /5 bias, V 3A and V 3B pins are short-circuited. V 2 pin is open. /58

FEDL942- ML942-xx I/O Characteristics Parallel Interface Mode The timing for the input from the CPU and the timing for the output to the CPU are as shown below: ) WRITE MODE (Timing for input from the CPU) (V DD = 2.7 to 4.5 V, Ta = 4 to +85 C) Parameter Symbol Min. Typ. Max. Unit RW/SI, RS /CSB, RS Setup Time t B 4 ns E/SHTB Pulse Width t W 45 ns RW/SI, RS /CSB, RS Hold Time t A ns E/SHTB Rise Time t r 25 ns E/SHTB Fall Time t f 25 ns E/SHTB Pulse Width t L 43 ns E/SHTB Cycle Time t C ns DB (SO) to DB 7 Input Data Setup Time t I 95 ns DB (SO) to DB 7 Input Data Hold Time t H ns (V DD = 4.5 to 5.5 V, Ta = 4 to +85 C) Parameter Symbol Min. Typ. Max. Unit RW/SI, RS /CSB, RS Setup Time t B 4 ns E/SHTB Pulse Width t W 22 ns RW/SI, RS /CSB, RS Hold Time t A ns E/SHTB Rise Time t r 25 ns E/SHTB Fall Time t f 25 ns E/SHTB Pulse Width t L 22 ns E/SHTB Cycle Time t C 5 ns DB (SO) to DB 7 Input Data Setup Time t I 6 ns DB (SO) to DB 7 Input Data Hold Time t H ns RS, RS /CSB V IH V IL V IH V IL RW/SI V IL V IL E/SHTB t L t B t r t f t W t A V IH V IL V IL V IL V IH t I t H DB (SO) to DB 7 V IH V IL Input Data V IH V IL t C /58

FEDL942- ML942-xx 2) READ MODE (Timing for output to the CPU) (V DD = 2.7 to 4.5 V, Ta = 4 to +85 C) Parameter Symbol Min. Typ. Max. Unit RW/SI, RS, RS /CSB Setup Time t B 4 ns E/SHTB Pulse Width t W 45 ns RW/SI, RS, RS /CSB Hold Time t A ns E/SHTB Rise Time t r 25 ns E/SHTB Fall Time t f 25 ns E/SHTB Pulse Width t L 43 ns E/SHTB Cycle Time t C ns DB (SO) to DB 7 Output Data Delay Time t D 35 ns DB (SO) to DB 7 Output Data Hold Time t O 2 ns Note: A load capacitance of each of DB (SO) to DB 7 must be 5 pf or less. (V DD = 4.5 to 5.5 V, Ta = 4 to +85 C) Parameter Symbol Min. Typ. Max. Unit RW/SI, RS, RS /CSB Setup Time t B 4 ns E/SHTB Pulse Width t W 22 ns RW/SI, RS, RS /CSB Hold Time t A ns E/SHTB Rise Time t r 25 ns E/SHTB Fall Time t f 25 ns E/SHTB Pulse Width t L 22 ns E/SHTB Cycle Time t C 5 ns DB (SO) to DB 7 Output Data Delay Time t D 25 ns DB (SO) to DB 7 Output Data Hold Time t O 2 ns Note: A load capacitance of each of DB (SO) to DB 7 must be 5 pf or less. RS, RS /CSB V IH V IL V IH V IL RW/SI V IH V IH E/SHTB t L t B t r t f t W t A V IH V IL V IL V IL t D V IH t O DB (SO) to DB 7.8V DD Output.8V DD.2V DD Data.2V DD t C 2/58

FEDL942- ML942-xx Serial Interface Mode (V DD = 2.7 to 5.5 V, Ta = 4 to +85 C) Parameter Symbol Min. Typ. Max. Unit E/SHTB Cycle Time t SCY 5 ns RS /CSB Setup Time t CSU ns RS /CSB Hold Time t CH ns RS /CSB H Pulse Width t CSWH 2 ns E/SHTB Setup Time t SSU 6 ns E/SHTB Hold Time t SH 2 ns E/SHTB H Pulse Width t SWH 2 ns E/SHTB L Pulse Width t SWL 2 ns E/SHTB Rise Time t SR 25 ns E/SHTB Fall Time t SF 25 ns RW/Sl Setup Time t DISU ns RW/Sl Hold Time t DIH ns DB (SO) Output Data Delay Time t DOD 6 ns DB (SO) Output Data Hold Time t CDH ns t SCY t CSWH RS /CSB V IH V IL V IL V IH V IH t CSU t SSU t SWL t SR t SWH t SF t SH tch E/SHTB V IH VIL V IH V IH VIL V IH t DISU t DIH V IH RW/SI V IH V IL V IH V IL t DOD t DOD t CDH DB (SO) V OL V OH V OH 3/58

FEDL942- ML942-xx FUNCTIONAL DESCRIPTION Instruction Register (IR), Data Register (DR), and Expansion Instruction Register (ER) These registers are selected by setting the level of the Register Selection input pins RS /CSB and RS. The DR is selected when both RS /CSB and RS are H. The IR is selected when RS /CSB is L and RS is H. The ER is selected when both RS /CSB and RS are L. (When RS /CSB is H and RS is L, the ML942 is not selected.) The IR stores an instruction code and sets the address code of the display data RAM (DDRAM) or the character generator RAM (CGRAM). The microcontroller (CPU) can write but cannot read the instruction code. The ER sets the display positions of the arbitrator and the address code of the arbitrator RAM (ABRAM). The CPU can write but cannot read the display positions of the arbitrator. The DR stores data to be written in the DDRAM, ABRAM and CGRAM and also stores data read from the DDRAM, ABRAM and CGRAM. The data written in the DR by the CPU is automatically written in the DDRAM, ABRAM or CGRAM. When an address code is written in the IR or ER, the data of the specified address is automatically transferred from the DDRAM, ABRAM or CGRAM to the DR. The data of the DDRAM, ABRAM and CGRAM can be checked by allowing the CPU to read the data stored in the DR. After the CPU writes data in the DR, the data of the next address in the DDRAM, ABRAM or CGRAM is selected to be ready for the next writing by the CPU. Similarly, after the CPU reads the data in the DR, the data of the next address in the DDRAM, ABRAM or CGRAM is set in the DR to be ready for the next reading by the CPU. Writing in or reading from these 3 registers is controlled by changing the status of the RW/SI pin. Busy Flag (BF) Table RW/SI pin status and register operation RW/SI RS /CSB RS Operation L L H Writing in the IR H L H Reading the Busy flag (BF) and the address counter (ADC) L H H Writing in the DR H H H Reading from the DR L L L Writing in the ER H L L Disabled (Not in a busy state, not performing the reads. Note that the data bus goes into a high impedance state.) L H L Disabled (Not in a busy state, not performing the writes) H H L Disabled (Not in a busy state, not performing the reads. Note that the data bus goes into a high impedance state.) The status of the Busy Flag (BF) indicates that the ML942 is carrying out internal operation. When the BF is, any new instruction is ignored. When RW/SI = H, RS /CSB = L and RS = H, the data in the BF is output to the DB 7. New instructions should be input when the BF is. When the BF is, the output code of the address counter (ADC) is undefined. 4/58

FEDL942- ML942-xx Address Counter (ADC) The address counter provides a read/write address for the DDRAM, ABRAM or CGRAM and also provides a cursor display address. When an instruction code specifying DDRAM, ABRAM or CGRAM address setting is input to the pre-defined register, the register selects the specified DDRAM, ABRAM or CGRAM and transfers the address code to the ADC. The address data in the ADC is automatically incremented (or decremented) by after the display data is written in or read from the DDRAM, ABRAM or CGRAM. The data in the ADC is output to DB (SO) to DB 6 when RW/SI = H, RS /CSB = L, RS = H and BF =. Timing Generator The timing generator generates timing signals for the internal operation of the ML942 activated by the instruction sent from the CPU or for the operation of the internal circuits of the ML942 such as DDRAM, ABRAM, CGRAM and CGROM. Timing signals are generated so that the internal operation carried out for LCD displaying will not be interfered by the internal operation initiated by accessing from the CPU. For example, when the CPU writes data in the DDRAM, the display of the LCD not corresponding to the written data is not affected. 5/58

FEDL942- ML942-xx Display Data RAM (DDRAM) This RAM stores the 8-bit character codes (see Table 2). The DDRAM addresses correspond to the display positions (digits) of the LCD as shown below. The DDRAM addresses (to be set in the ADC) are represented in hexadecimal. ADC DB 6 DB 5 DB 4 DB 3 DB 2 DB DB MSB LSB Hexadecimal (Example) Representation of DDRAM address = 2 Hexadecimal ADC 2 ) Relationship between DDRAM addresses and display positions (-line display mode) Digit 2 3 4 5 9 2 2 3 4 2 3 Display position DD RAM address (hexadecimal) Left end Right end In the -line display mode, the ML942 can display up to 2 characters from digit to digit 2. While the DDRAM has addresses to 4F for up to 8 character codes, the area not used for display can be used as a RAM area for general data. When the display is shifted by instruction, the relationship between the LCD display position and the DDRAM address changes as shown below: Digit 2 3 4 9 2 (Display shifted to the right) 4F 2 2 Digit 2 3 4 5 9 2 (Display shifted to the left) 2 3 4 5 3 4 6/58

FEDL942- ML942-xx 2) Relationship between DDRAM addresses and display positions (2-line display mode) In the 2-line mode, the ML942 can display up to 4 characters (2 characters per line) from digit to digit 2. Digit 2 3 4 5 9 2 Line Line 2 2 3 4 4 4 42 43 44 2 3 52 53 Display position DD RAM address (hexadecimal) Note: The DDRAM address at digit 2 in the first line is not consecutive to the DDRAM address at digit in the second line. When the display is shifted by instruction, the relationship between the LCD display position and the DDRAM address changes as shown below: (Display shifted to the right) Digit 2 3 4 5 9 2 Line 27 2 3 Line 2 67 4 4 42 43 2 5 52 (Display shifted to the left) Digit 2 3 4 Line 2 3 4 Line 2 4 42 43 44 5 5 9 2 3 4 45 53 54 7/58

FEDL942- ML942-xx Character Generator ROM (CGROM) The CGROM generates character patterns (5 8 dots, 24 patterns) from the 8-bit character code signals in the DDRAM. The bank switching pin (ROMS) can switch to the other ROM that generates character patterns (5 8 dots, 24 patterns), allowing a total of 48 characters to be controlled. When the 8-bit character code corresponding to a character pattern in the CGROM is written in the DDRAM, the character pattern is displayed in the display position specified by the DDRAM address. Character codes to FF are contained in the ROM area in the CG ROM. The general character generator ROM codes are //2. The relationship between character codes and general purpose character patterns in Bank (ROM) and Bank (ROM) are indicated in Table 2- and Table 2-2, respectively. 8/58

FEDL942- ML942-xx Character Generator RAM (CGRAM) The CGRAM is used to generate user-specific character patterns that are not in the CGROM. CGRAM (64 bytes = 52 bits) can store up to 8 character patterns (5 8 dots). When displaying a character pattern stored in the CGRAM, write an 8-bit character code ( to 7 or 8 to F; hex.) to the DDRAM. This enables outputting the character pattern to the LCD display position corresponding to the DDRAM address. The cursor or blink is also displayed even when a CGRAM or ABRAM address is set in the ADC. Therefore, the cursor or blink display should be inhibited while the ADC is holding a CGRAM or ABRAM address. The following describes how character patterns are written in and read from the CGRAM. (See Tables 2- and 2-2.) () A method of writing character patterns to the CGRAM from the CPU The three CGRAM address bit weights to 2 select one of the lines constituting a character pattern. First, set the mode to increment or decrement from the CPU, and then input the CGRAM address. Write each line of the character pattern in the CGRAM through DB (SO) to DB 7. The data lines DB (SO) to DB 7 correspond to the CGRAM data bit weights to 7, respectively (see Table 3-). Input data represents the ON status of an LCD dot and represents the OFF status. Since the ADC is automatically incremented or decremented by after the data is written to the CGRAM, it is not necessary to set the CGRAM address again. The bottom line of a character pattern (the CGRAM address bit weights to 2 are all, which means 7 in hexadecimal) is the cursor line. The ON/OFF pattern of this line is ORed with the cursor pattern for displaying on the LCD. Therefore, the pattern data for the cursor position should be all zeros to display the cursor. Whereas the data given by the CGRAM data bit weights to 4 is output to the LCD as display data, the data given by the CGRAM data bit weights 5 to 7 is not. Therefore, the CGRAM data bit weights 5 to 7 can be used as a RAM area. (2) A method of displaying CGRAM character patterns on the LCD The CGRAM is selected when the higher-order 4 bits of a character code are all zeros. Since bit weight 3 of a character code is not used, the character pattern in Table 3- can be selected using the character code or 8 in hexadecimal. When the 8-bit character code corresponding to a character pattern in the CGRAM is written to the DDRAM, the character pattern is displayed in the display position specified by the DDRAM address. (The DDRAM data bit weights to 2 correspond to the CGRAM address bit weights 3 to 5, respectively.) 9/58

FEDL942- ML942-xx Arbitrator RAM (ABRAM) The arbitrator RAM (ABRAM) stores arbitrator display data. dots can be displayed in both -line and 2-line display modes. The arbitrator RAM has the addresses (hexadecimal) from to F and the valid display address area is from to 9 (H to 3H). The area of 2 to 3 (4H to FH) not used for display can be used as a data RAM area for general data. Even if the display is shifted by instruction, the arbitrator display is not shifted. A capacity of 8 bits by 32 addresses (= 256 bits) is available for data write. First set the mode to increment or decrement from the CPU, and then input the ABRAM address. Write Display-ON data in the ABRAM through DB (SO) to DB 7. DB (SO) to DB 7 correspond to the ABRAM data bit weights to 7 respectively. Input data represents the ON status of an LCD dot and represents the OFF status. Since ADC is automatically incremented or decremented by after the data is written to the ABRAM, it is not necessary to set the ABRAM address again. Whereas ABRAM data bit weights to 4 are output as display data to the LCD, the ABRAM data bit weights 5 to 7 are not. These bits can be used as a RAM area. The cursor or blink is also displayed even when a CGRAM or ABRAM address is set in the ADC. Therefore, the cursor or blink display should be inhibited while the ADC is holding a CGRAM or ABRAM address. ADC DB 6 DB 5 DB 4 DB 3 DB 2 DB DB MSB LSB Hexadecimal Hexadecimal The arbitrator RAM can store a maximum of dots of the arbitrator Display-ON data in units of 5 dots. The relationship with the LCD display positions is shown below. Configuration of input display data Input data DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB * * * E4 E3 E2 E E * Don t Care Display - ON data Relationship between display-on data and segment pins 5XSn+ 5XSn+5 E4 E Sn = ABRAM address ( to 9) 2/58

FEDL942- ML942-xx 2/58

FEDL942- ML942-xx Note: The same CGRAM character patterns are displayed in Bank and Bank. 22/58

FEDL942- ML942-xx Table 3- Relationship between CGRAM address bits, CGRAM data bits (character pattern) and DDRAM data bits (character code) in 5 7 dot character mode. (Examples) CG RAM CG RAM data DD RAM data address (Character pattern) (Character code) 5432765432 765432 MSB LSB MSB LSB MSB LSB : Don t Care 23/58

FEDL942- ML942-xx Cursor/Blink Control Circuit This circuit generates the cursor and blink of the LCD. The operation of this circuit is controlled by the program of the CPU. The cursor/blink display is carried out in the position corresponding to the DDRAM address set in the ADC (Address Counter). For example, when the ADC stores a value of 7 (hexadecimal), the cursor or blink is displayed as follows: ADC In -line display mode DB 6 DB 7 Digit 2 3 4 5 6 7 8 9 2 3 4 5 6 7 8 9 2 2 3 Cursor/blink position In 2-line display mode First line Second line Digit 2 3 4 5 6 7 8 9 2 3 4 5 6 7 8 9 2 2 3 4 4 42 43 44 45 46 47 48 52 53 Cursor/blink position Note: The cursor or blink is also displayed even when a CGRAM or ABRAM address is set in the ADC. Therefore, the cursor or blink display should be inhibited while the ADC is holding a CGRAM or ABRAM address. 24/58

FEDL942- ML942-xx LCD Display Circuit (COM to COM7, SEG to SEG, SSR and CSR) The ML942 has 7 common signal outputs and segment signal outputs to display 2 characters (in the -line display mode) or 4 characters (in the 2-line display mode). The character pattern is converted into serial data and transferred in series through the shift register. The transfer direction of serial data is determined by the SSR bit. The shift direction of common signals is determined by the CSR bit. The following tables show the transfer and shift directions: SSR bit Transfer direction L SEG SEG H SEG SEG ABE bit CSR bit duty AS bit Shift Direction Arbitrator s common pin L L /8 L COM COM8 None L L /8 H COM COM8 None L L /6 L COM COM6 None L L /6 H COM COM6 None L H /8 L COM8 COM None L H /8 H COM8 COM None L H /6 L COM6 COM None L H /6 H COM6 COM None H L /9 L COM COM9 COM9 H L /9 H COM COM9 COM H L /7 L COM COM7 COM7 H L /7 H COM COM7 COM H H /9 L COM9 COM COM H H /9 H COM9 COM COM9 H H /7 L COM7 COM COM H H /7 H COM7 COM COM7 * Refer to the Expansion Instruction Codes section about the ABE bit, SSR bit, CSR bit, and AS bit. Signals to be input to the SSR bit, CSR bit, ABE bit, and AS bit should be initially determined at power-on and be kept unchanged. 25/58

FEDL942- ML942-xx Built-in Reset Circuit The ML942 is automatically initialized when the power is turned on. During initialization, the Busy Flag (BF) is and the ML942 does not accept any instruction from the CPU (other than the Read BF instruction). The Busy Flag is for about 5 ms after the V DD becomes 2.7 V or higher. During this initialization, the ML942 performs the following instructions: ) Display clearing 2) CPU interface data length = 8 bits (DL = ) 3) -line LCD display (N = ) 4) ADC counting = Increment (I/D = ) 5) Display shifting = None (S = ) 6) Display = Off (D = ) 7) Cursor = Off (C = ) 8) Blinking = Off (B = ) 9) Arbitrator = Displayed in the lower line (AS = ) ) Arbitrator = Not displayed (ABE = ) ) Segment shift direction = SEG SEG (SSR = ) 2) Common shift direction = COM COM 7 (CSR = ) To use the built-in reset circuit, the power supply conditions shown below should be satisfied. Otherwise, the built-in reset circuit may not work properly. In such a case, initialize the ML942 with the instructions from the CPU. The use of a battery always requires such initialization from the CPU. (See Initial Setting of Instructions ) 2.7 V.2 V.2 V.2 V t ON t OFF. ms t ON ms ms t OFF Figure Power-on and Power-off Waveform 26/58

FEDL942- ML942-xx I/F with CPU Parallel interface mode The ML942 can transfer either 8 bits once or 4 bits twice on the data bus for interfacing with any 8-bit or 4-bit microcontroller (CPU). ) 8-bit interface data length The ML942 uses all of the 8 data bus lines DB (SO) to DB 7 at a time to transfer data to and from the CPU. 2) 4-bit interface data length The ML942 uses only the higher-order 4 data bus lines DB 4 to DB 7 twice to transfer 8-bit data to and from the CPU. The ML942 first transfers the higher-order 4 bits of 8-bit data (DB 4 to DB 7 in the case of 8-bit interface data length) and then the lower-order 4 bits of the data (DB (SO) to DB 3 in the case of 8-bit interface data length). The lower-order 4 bits of data should always be transferred even when only the transfer of the higher-order 4 bits of data is required. (Example: Reading the Busy Flag) Two transfers of 4 bits of data complete the transfer of a set of 8-bit data. Therefore, when only one access is made, the following data transfer cannot be completed properly. 27/58

FEDL942- ML942-xx RS RS /CSB RWB/SI E/SHTB Busy (Internal operation) DB 7 IR 7 Busy No Busy DR 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB /(SO) IR 6 ADC 6 DR 6 IR 5 ADC 5 DR 5 IR 4 ADC 4 DR 4 IR 3 ADC 3 DR 3 IR 2 ADC 2 DR 2 IR ADC DR IR ADC DR Writing In IR (Instruction Register) Reading BF (Busy Flag) and ADC (Address Counter) Writing In DR (Data Register) Figure 2 8-Bit Data Transfer RS RS /CSB RWB/SI E/SHTB Busy (Internal operation) DB 7 IR 7 IR 3 Busy No Busy ADC 3 DR 7 DR 3 DB 6 IR 6 IR 2 ADC 6 ADC 2 DR 6 DR 2 DB 5 IR 5 IR ADC 5 ADC DR 5 DR DB 4 IR 4 IR ADC 4 ADC DR 4 DR Writing In IR (Instruction Register) Reading BF (Busy Flag) and ADC (Address Counter) Writing In DR (Data Register) Figure 3 4-Bit Data Transfer 28/58

FEDL942- ML942-xx Serial Interface Mode In the Serial I/F Mode, the ML942 interfaces with the CPU via the RS /CSB, E/SHTB, RW/SI, and DB (SO) pins. Writing and reading operations are executed in units of 6 bits after the RS /CSB signal falls down. If the RS /CSB signal rises up before the completion of 6-bit unit access, this access is ignored. When the BF bit is, the ML942 cannot accept any other instructions. Before inputting a new instruction, check that the BF bit is. Any access when the BF bit is is ignored. Data format is LSB-first. Examples of Access in the Serial I/F Mode ) WRITE MODE RS /CSB E/SHTB 2 3 4 5 6 7 8 9 2 3 4 5 6 BUSY (Internal operation) RWB/SI R/W RS RS D D D 2 D 3 D 4 D 5 D 6 D 7 DB(SO) 2) READ MODE RS /CSB E/SHTB 2 3 4 5 6 7 8 9 2 3 4 5 6 BUSY (Internal operation) RWB/SI R/W RS RS DB(SO) D D D 2 D 3 D 4 D 5 D 6 D 7 Note : Higher 5 bits of each instruction must be input at a H level. Note 2: Lower 8 bits are don t care when the instructions in the READ MODE are set. Note 3: After one instruction is input, the next instruction must be input after the RS /CSB pin is pulled at a H level. 29/58

FEDL942- ML942-xx Instruction Codes Table of Instruction Codes Instruction RS RS/ RW/ CSB SI Code DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB (SO) Display Clear Cursor Home X Entry Mode Setting Display ON/OFF Control Cursor/Display Shift I/D S D C B S/C R/L X X Function Setting DL N ABE SSR CSR CGRAM Address Setting DDRAM Address Setting Busy Flag/ Address Read ACG ADD BF ADC RAM Data Write WRITE DATA RAM Data Read READ DATA Arbitrator Display Line Set ABRAM Address Setting Function Clears all the displayed digits of the LCD and sets the DDRAM address in the address counter. The arbitrator data is cleared. Sets the DDRAM address in the address counter and shifts the display back to the original. The content of the DDRAM remains unchanged. Determines the direction of movement of the cursor and whether or not to shift the display. This instruction is executed when data is written or read. Sets LCD display ON/OFF (D), cursor ON/OFF (C) or cursor-position character blinking ON/OFF (B). Moves the cursor or shifts the display without changing the content of the DDRAM. Sets the interface data length (DL), the number of display lines (N), the arbitrator display (ABE), the segment data shift direction (SSR), or the common data shift direction (CSR). Sets on CGRAM address. After that, CGRAM data is transferred to and from the CPU. Sets a DDRAM address. After that, DDRAM data is transferred to and from the CPU. Reads the Busy Flag (indicating that the ML942 is operating) and the content of the address counter. Writes data in DDRAM, ABRAM or CGRAM. Reads data from DDRAM, ABRAM or CGRAM. Execution Time f = 27 khz.52 ms.52 ms 37 s 37 s 37 s 37 s 37 s 37 s s 37 s 37 s AS Sets the arbitrator display line. 37 s AAB Sets an ABRAM address. After that, ABRAM data is transferred to and from the CPU. 37 s 3/58

FEDL942- ML942-xx I/D = (Increment) I/D = (Decrement) DD RAM: Display data RAM The S = (Shifts the display.) CG RAM: Character generator RAM execution S/C = (Shifts display.) S/C = (Moves the cursor.) R/L = (Right shift) R/L = (Left shift) ABRAM: Arbitrator data RAM time is dependent D/L = (8-bit data) DL = (4-bit data) ACG: CGRAM address upon N = (2 lines) N = ( line) ADD: DDRAM address frequen- ABE = (Arbitrator displayed) ABE = (Arbitrator not displayed) (Corresponds to the cursor address) cies. SSR = (Transfer direction: SEG SEG ) AAB: ABRAM address SSR = (Transfer direction: SEG SEG ) ADC: Address counter (Used by CSR = (Transfer direction: COMn COM) DDRAM, ABRAM and CSR = (Transfer direction: COM COMn) CGRAM) BF = (Busy) BF = (Ready to accept an instruction) B = (Enables blinking) C = (Displays the cursor.) D = (Displays a character pattern.) AS = (Arbitrator Displays AS = (Arbitrator Displays arbitrator on the arbitrator on the upper line) lower line) : Don't Care 3/58

FEDL942- ML942-xx Instruction Codes An instruction code is a signal sent from the CPU to access the ML942. The ML942 starts operation as instructed by the code received. The busy status of the ML942 is rather longer than the cycle time of the CPU, since the internal processing of the ML942 starts at a timing which does not affect the display on the LCD. In the busy status (Busy Flag is ), the ML942 cannot input the Busy Flag Read instruction only. Therefore, the CPU should ensure that the Busy Flag is before sending an instruction code to the ML942. ) Display Clear RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB Instruction Code: When this instruction is executed, the LCD display including arbitrator display is cleared and the I/D entry mode is set to Increment. The value of S (Display shifting) remains unchanged. The position of the cursor or blink being displayed moves to the left end of the LCD (or the left end of the line in the 2-line display mode). Note: All DDRAM and ABRAM data turn to 2 and in hexadecimal, respectively. The value of the address counter (ADC) turns to the one corresponding to the address (hexadecimal) of the DDRAM. The execution time of this instruction is.52 ms (maximum) at an oscillation frequency of 27 khz. 2) Cursor Home RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB Instruction code: : Don t Care When this instruction is executed, the cursor or blink position moves to the left end of the LCD (or the left end of line in the 2-line display mode). If the display has been shifted, the display returns to the original display position before shifting. Note: The value of the address counter (ADC) goes to the one corresponding to the address (hexadecimal) of the DDRAM). The execution time of this instruction is.52 ms (maximum) at an oscillation frequency of 27 khz. 32/58

FEDL942- ML942-xx 3) Entry Mode Setting RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB Instruction code: I/D S () When the I/D is set, the cursor or blink shifts to the right by character position (ID= ; increment) or to the left by character position (I/D= ; decrement) after an 8-bit character code is written to or read from the DDRAM. At the same time, the address counter (ADC) is also incremented by (when I/D = ; increment) or decremented by (when I/D = ; decrement). After a character pattern is written to or read from the CGRAM, the address counter (ADC) is incremented by (when I/D = ; increment) or decremented by (when I/D = ; decrement). Also after data is written to or read from the ABRAM, the address counter (ADC) is incremented by (when I/D = ; increment) or decremented by (when I/D = ; decrement). (2) When S =, the cursor or blink stops and the entire display shifts to the left (I/D = ) or to the right (I/D = ) by character position after a character code is written to the DDRAM. In the case of S =, when a character code is read from the DDRAM, when a character pattern is written to or read from the CGRAM or when data is written to or read from the ABRAM, normal read/write is carried out without shifting of the entire display. (The entire display does not shift, but the cursor or blink shifts to the right (I/D = ) or to the left (I/D = ) by character position.) When S =, the display does not shift, but normal write/read is performed. Note: The execution time of this instruction is 37 s (maximum) at an oscillation frequency of 27 khz. 4) Display ON/OFF Control RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB Instruction code: D C B () The D bit (DB2) of this instruction determines whether or not to display character patterns on the LCD. When the D bit is, character patterns are displayed on the LCD. When the D bit is, character patterns are not displayed on the LCD and the cursor/blinking also disappear. Note: Unlike the Display Clear instruction, this instruction does not change the character code in the DDRAM. (2) When the C bit (DB) is, the cursor turns off. When both the C and D bits are, the cursor turns on. (3) When the B bit (DB) is, blinking is canceled. When both the B and D bits are, blinking is performed. In the Blinking mode, all dots including those of the cursor, the character pattern and the cursor are alternately displayed. Note: The execution time of this instruction is 37 s (maximum) at an oscillation frequency of 27 khz. 33/58

FEDL942- ML942-xx 5) Cursor/Display Shift RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB Instruction code: S/C R/L : Don t Care S/C =, R/L = S/C =, R/L = S/C =, R/L = S/C =, R/L = This instruction shifts left the cursor and blink positions by (decrements the content of the ADC by ). This instruction shifts right the cursor and blink positions by (increments the content of the ADC by ). This instruction shifts left the entire display by character position. The cursor and blink positions move to the left together with the entire display. The Arbitrator display is not shifted. (The content of the ADC remains unchanged.) This instruction shifts right the entire display by character position. The cursor and blink positions move to the right together with the entire display. The Arbitrator display is not shifted. (The content of the ADC remains unchanged.) In the 2-line mode, the cursor or blink moves from the first line to the second line when the cursor at digit 4 (27; hex) of the first line is shifted right. When the entire display is shifted, the character pattern, cursor or blink will not move between the lines (from line to line 2 or vice versa). Note: The execution time of this instruction is 37 s at an oscillation frequency (OSC) of 27 khz. 6) Function Setting RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB Instruction code: DL N ABE SSR CSR : Don t Care () When the DL bit (DB 4 ) of this instruction is, the data transfer to and from the CPU is performed once by the use of 8 bits DB 7 to DB. When the DL bit (DB 4 ) of this instruction is, the data transfer to and from the CPU is performed twice by the use of 4 bits DB 7 to DB 4. (2) The 2-line display mode is selected when the N bit (DB 3 ) of this instruction is. The -line display mode is selected when the N bit is. The arbitrator is displayed when the ABE bit (DB 2 ) of this instruction is. The arbitrator is not displayed when the ABE bit (DB 2 ) of this instruction is. (3) The transfer direction of the segment signal output data is controlled. When the SSR bit (DB ) of this instruction is, the data is transferred from SEG to SEG. When the SSR bit (DB ) of this instruction is, the data is transferred from SEG to SEG. The transfer direction of the common signal output data is controlled. At /n duty, When the CSR bit (DB ) of this instruction is, the data is transferred from COMn to COM. When the CSR bit (DB ) of this instruction is, the data is transferred from COM to COMn. After the ML942 is powered on, this function setting should be carried out before execution of any instruction except the Busy Flag Read. After this function setting, no instructions other than the DL Set instruction can be executed. In the Serial I/F Mode, DL setting is ignored. 34/58

FEDL942- ML942-xx N ABE Number of display lines Font size Duty Number of biases Number of common signals 5 8 /8 4 8 5 8 /9 4 9 2 5 8 /6 5 6 2 5 8 /7 5 7 Note: The execution time of this instruction is 37 s at an oscillation frequency (OSC) of 27 khz. 7) CGRAM Address Setting RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB Instruction code: C 5 C 4 C 3 C 2 C C This instruction sets the CGRAM address to the data represented by the bits C 5 to C (binary). The CGRAM addresses are valid until DDRAM or ABRAM addresses are set. The CPU writes or reads character patterns starting from the one represented by the CGRAM address bits C 5 to C set in the instruction code at that time. Note: The execution time of this instruction is 37 s at an oscillation frequency (OSC) of 27 khz. 8) DDRAM Address Setting RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB Instruction code: D 6 D 5 D 4 D 3 D 2 D D This instruction sets the DDRAM address to the data represented by the bits D 6 to D (binary). The DDRAM addresses are valid until CGRAM or ABRAM addresses are set. The CPU writes or reads character codes starting from the one represented by the DDRAM address bits D 6 to D set in the instruction code at that time. In the -line mode (the N bit is ), the DDRAM address represented by bits D 6 to D (binary) should be in the range to 4F in hexadecimal. In the 2-line mode (the N bit is ), the DDRAM address represented by bits D 6 to D (binary) should be in the range to 27 or 4 to 67 in hexadecimal. If an address other than above is input, the ML942 cannot properly write a character code in or read it from the DDRAM. Note: The execution time of this instruction is 37 s at an oscillation frequency (OSC) of 27 khz. 9) DDRAM/ABRAM/CGRAM Data Write RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB Instruction code: E 7 E 6 E 5 E 4 E 3 E 2 E E A character code (E 7 to E ) is written to the DDRAM, Display-ON data (E 7 to E ) to the ABRAM or a character pattern (E 7 to E ) to the CGRAM. The DDRAM, ABRAM or CGRAM is selected at the preceding address setting. After data is written, the address counter (ADC) is incremented or decremented as set by the Entry Mode Setting instruction (see 3). Note: The execution time of this instruction is 37 s at an oscillation frequency (OSC) of 27 khz. 35/58

FEDL942- ML942-xx ) Busy Flag/Address Counter Read (Execution time: s) RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB Instruction code: BF O 6 O 5 O 4 O 3 O 2 O O The BF bit (DB7) of this instruction tells whether the ML942 is busy in internal operation (BF = ) or not (BF = ). When the BF bit is, the ML942 cannot accept any other instructions. Before inputting a new instruction, check that the BF bit is. When the BF bit is, the ML942 outputs the correct value of the address counter. The value of the address counter is equal to the DDRAM, ABRAM or CGRAM address. Which of the DDRAM, ABRAM and CGRAM addresses is set in the counter is determined by the preceding address setting. When the BF bit is, the value of the address counter is not always correct because it may have been incremented or decremented by during internal operation. ) DDRAM/ABRAM/CGRAM Data Read RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB Instruction code: P 7 P 6 P 5 P 4 P 3 P 2 P P A character code (P 7 to P ) is read from the DDRAM, Display-ON data (P 7 to P ) from the ABRAM or a character pattern (P 7 to P ) from the CGRAM. The DDRAM, ABRAM or CGRAM is selected at the preceding address setting. After data is read, the address counter (ADC) is incremented or decremented as set by the Entry Mode Setting instruction (see 3). Note: Conditions for reading correct data () The DDRAM, ABRAM or CGRAM Setting instruction is input before this data read instruction is input. (2) When reading a character code from the DDRAM, the Cursor/Display Shift instruction (see 5) is input before this Data Read instruction is input. (3) When two or more consecutive RAM Data Read instructions are executed, the following read data is correct. Correct data is not output under conditions other than the cases (), (2) and (3) above. Note: The execution time of this instruction is 37 s at an oscillation frequency (OSC) of 27 khz. 36/58

FEDL942- ML942-xx Expansion Instruction Codes The busy status of the ML942 is rather longer than the cycle time of the CPU, since the internal processing of the ML942 starts at a timing which does not affect the display on the LCD. In the busy status (Busy Flag is ), the ML942 executes the Busy Flag Read instruction only. Therefore, the CPU should ensure that the Busy Flag is before sending an expansion instruction code to the ML942. ) Arbitrator Display Line Set RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB DB Expansion instruction code: AS This expansion instruction code sets the Arbitrator display line. The relationship between the status of this bit and the common outputs is as follows: For display examples, refer to LCD Drive Waveforms section. ABE bit CSR bit duty AS bit Shift direction Arbitrator s common pin L L /8 L COM COM8 None L L /8 H COM COM8 None L L /6 L COM COM6 None L L /6 H COM COM6 None L H /8 L COM8 COM None L H /8 H COM8 COM None L H /6 L COM6 COM None L H /6 H COM6 COM None H L /9 L COM COM9 COM9 H L /9 H COM COM9 COM H L /7 L COM COM7 COM7 H L /7 H COM COM7 COM H H /9 L COM9 COM COM H H /9 H COM9 COM COM9 H H /7 L COM7 COM COM H H /7 H COM7 COM COM7 Note: The execution time of this instruction is 37 s at an oscillation frequency (OSC) of 27 khz. 2) ABRAM Address Setting Expansion instruction code: RS RS R/W DB 7 DB 6 DB 5 DB 4 DB 3 H 4 H 3 DB 2 H 2 DB H DB H This instruction sets the ABRAM address to the data represented by the bits H 4 to H (binary). The ABRAM addresses are valid until CGRAM or DDRAM addresses are set. The CPU writes or reads the Display-ON data starting from the one represented by the ABRAM address bits H 4 to H set in the instruction code at that time. When the ABRAM address represented by bits H 4 to H (binary) is in the range to 3 in hexadecimal, data is output to the LCD as the arbitrator. Note: The execution time of this instruction is 37 s at an oscillation frequency (OSC) of 27 khz. 37/58