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

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

LAPIS Semiconductor ML9042-xx

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

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

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

34346-OP. AUG. 06, 2003 Version 0.1

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

Semiconductor MSC GENERAL DESCRIPTION FEATURES FEDL FEDL This version: MSC Sep Previous version: Nov.

Semiconductor MSC GENERAL DESCRIPTION FEATURES FEDL FEDL Previous version: Nov. 1997

LAPIS Semiconductor ML9058E

NT7605. Features. General Description

NT7603. Features. General Description

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

4-Bit Microcontroller with Built-in RC Oscillation Type A/D Converter and LCD Driver

Semiconductor MSA180 GENERAL DESCRIPTION FEATURES BLOCK DIAGRAM E2D This version: Feb. MSA Previous version: May.

LCD MODULE DEM SBH-PW-N

1/3, 1/4 Duty LCD Driver

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

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

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

Semiconductor MSM82C51A-2RS/GS/JS UNIVERSAL SYNCHRONOUS ASYNCHRONOUS RECEIVER TRANSMITTER

Sitronix Dot Matrix LCD Controller/Driver

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

PRODUCT OVERVIEW OVERVIEW OTP

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

RW1026 Dot Matrix 48x4 LCD Controller / Driver

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

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

UCS Channel LED Driver / Controller

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

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

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

HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 HT1627 HT16270 COM

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

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

Sitronix ST7070. Features

APPLICATION NOTE VACUUM FLUORESCENT DISPLAY MODULE

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

LAPIS Semiconductor ML9212

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

APPLICATION NOTE VACUUM FLUORESCENT DISPLAY MODULE CHARACTER DISPLAY MODULE M204D08AA

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

S6A0093 Specification Revision History

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

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

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

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

Built-in LCD display RAM Built-in RC oscillator

16COM x 100SEG 1/16 Duty BITMAP LCD Driver. NJU6573! FEATURES LCD driving circuit : 16-common and 100-segment

8-bit shift register and latch driver

6-Bit A/D converter (parallel outputs)

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

INTRODUCTION FEATURES ORDERING INFORMATION APPLICATIONS LOW POWER DTMF RECEIVER 18 DIP 300A

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

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

SERIAL I/O REAL TIME CLOCK

RAM Mapping 32 8 LCD Controller for I/O MCU. R/W address auto increment Built-in RC oscillator

GENERAL DESCRIPTION FEATURES. FEDR27V3202F Semiconductor This version: Oct MR27V3202F

ST8016. Datasheet. 160 Output LCD Common/ Segment Driver IC. Version /05/25. Crystalfontz

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

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

32 CH COMMON DRIVER FOR DOT MATRIX LCD

MM5452 MM5453 Liquid Crystal Display Drivers

RayStar Microelectronics Technology Inc. Ver: 1.4

R/W address auto increment External Crystal kHz oscillator

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

MM Stage Oscillator Divider

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

M0220SD 202SDAR1 S. Vacuum Fluorescent Display Module

Sitronix Dot Matrix LCD Controller/Driver

SM8578BV Real-time Clock IC

LED Display Product Data Sheet LTM-0305M-01 Spec No.: DS Effective Date: 09/10/2003 LITE-ON DCC RELEASE

LC7574NE, 7574NW. 1/2 Duty VFD Driver for Frequency Display

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 HT1627 HT16270 COM

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

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

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

LC75836WS-T/D. 1/4-Duty General-Purpose LCD Driver

524,288-Word x 16-Bit or 1,048,576-Word x 8-Bit One Time PROM

unit: mm 3159-QFP64E unit: mm 3190-SQFP64

NHD-0420AZ-FSW-GBW-33V3

Description PKG. NO. TRC NC EPE GND CLS1 RRD CLS2 RBR8 SBS RBR7 PI RBR6 CRL RBR5 TBR8 RBR4 TBR7 RBR3 TBR6 RBR2 TBR5 RBR1 TBR4 PE TBR3 FE TBR2 OE

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

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

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

NT Output LCD Segment/Common Driver NT7703. Features. General Description. Pin Configuration 1 V1.0

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

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

MM5452/MM5453 Liquid Crystal Display Drivers

Features OUT 34 VDD OUTPUT BUFFERS 35 LATCHES 35-BIT SHIFT REGISTER. Note 1: Pin 23 is Data Enable in MM5450 Pin 23 is Output 35 in MM5451

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

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

LC79430KNE. Overview. Features. CMOS LSI Dot-Matrix LCD Drivers

TABLE 1: PART NUMBER SPECIFICATIONS

MM58174A Microprocessor-Compatible Real-Time Clock

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

Operating. Operating Voltage for LCD. Power Supply Curr. for Logic. Input Voltage

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

NJU6549. STATIC 1/3 1/4 1/8 1/9 Segment type LCD Driver. Preliminary NJU6549

Transcription:

E2B0032-27-Y3 Semiconductor Semiconductor This version: Nov. 1997 Previous version: Mar. 1996 DOT MATI CD CONTOE WIT 16-DOT COMMON DIVE AND 40-DOT SEGMENT DIVE GENEA DESCIPTION The is a dot matrix CD controller which is fabricated in low power CMOS silicon gate technology. Character display on the dot matrix character type CD can be controlled in combination with a 4-bit/8-bit microcontroller. This SI consists of 16-dot COMMON driver, 40-dot SEGMENT driver, display data AM, character generator AM, character generator OM and control circuit. The is the equivalent of itachi's D44780. There is, however, a slight difference between the two devices as described in the table on the last page. The has the character generator OM that can be programmed by custom mask. MSM6222B-01 is a standard version having 160 characters with lowercase (5 x 7 dots), and 32 characters with uppercase (5 x 10 dots) in this OM. FEATUES Easy interface with an 8-bit or 4-bit microcontroller. Dot matrix CD controller/driver for lowercase (5 x 7 dots) or uppercase (5 x 10 dots). Automatic power ON reset. COMMON signal drivers (16) and SEGMENT signal drivers (40). Can control up to 80 characters when used in combination with MSM5259. Character generator OM for 160 characters with lowercase (5 x 7 dots) and 32 characters with uppercase (5 x 10 dots). Character patterns are programmable by character generator AM. (owercase: 5 x 8 dots, 8 kinds, uppercase: 5 x 11 dots, 4 kinds). Oscillation circuit for external resistor or ceralock. 1/8 duty (1 line; 5 x 7 dots + cursor), 1/11 duty (1 line; 5 x 10 dots + cursor), or 1/16 duty (2 lines; 5 x 7 dots + cursor), selectable. Clear display even at 1/5 bias, 3.0V CD driving voltage. Package options: 80-pin plastic QFP (QFP80-P-1420-0.80-) (Product name: GS-) 80-pin plastic QFP (QFP80-P-1420-0.80-B) (Product name: GS-B) xx indicates code number. 1/45

BOCK DIAGAM VDD GND OSC1 OSC2 E S /W DB0 - DB3 DB4 - DB7 V1 V2 V3 V4 V5 4 4 Input/ output buffer Timing generation circuit 8 8 7 Instruction register (I) Data register (D) Busy flag (BF) 8 8 Instruction decoder (ID) 7 Address counter (ADC) 7 Cursor blink control Character generator AM (CG AM) 8 8 Display data AM (DD AM) 5 Parallel/ serial conversion 5 Character generator OM (CG AM) 16-bit shift register 40-bit shift register 40 16 Common signal driver 40-bit latch 40 Segment signal driver 16 40 CP DF COM 1~16 SEG 1~40 DO 2/45

INPUT AND OUTPUT CONFIGUATION P N P N Applicable to pin E. Applicable to pins /W and S. P P N P N N Applicable to pins DO, CP,, and DF. Applicable to pins DB 0 - DB 7. 3/45

PIN CONFIGUATION 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 SEG 39 SEG 40 COM 16 COM 15 COM 14 COM 13 COM 12 COM 11 COM 10 COM 9 COM 8 COM 7 COM 6 COM 5 COM 4 COM 3 COM 2 COM 1 DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 SEG 22 SEG 21 SEG 20 SEG 19 SEG 18 SEG 17 SEG 16 SEG 15 SEG 14 SEG 13 SEG 12 SEG 11 SEG 10 SEG 9 SEG 8 SEG 7 SEG 6 SEG 5 SEG 4 SEG 3 SEG 2 SEG 1 GND OSC 1 SEG 23 SEG 24 SEG 25 SEG 26 SEG 27 SEG 28 SEG 29 SEG 30 SEG 31 SEG 32 SEG 33 SEG 34 SEG 35 SEG 36 SEG 37 SEG 38 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 OSC 2 V 2 V 3 CP DF DO S /W E DB 0 DB 1 80-Pin Plastic QFP Note : The figure for Type shows the configuration viewed from the reverse side of the package. Pay attention to the difference in pin arrangement. 4/45

PIN DESCIPTIONS Symbol /W S E DB 0 - DB 7 OSC 1, OSC 2 COM 1 - COM 16 SEG 1 - SEG 40 DO CP DF GND, V 2, V 3,, Description ead/write selection input pin. "" : ead, and "" : Write egister selection input pin. "" : Data register, and "" : Instruction register Input pin for data input/output between CPU and and for instruction register activation. Input/output pins for data send/receive between CPU and. Clock oscillating pins required for internal operation upon receipt of the CD drive signal and CPU instruction. CD COMMON signal output pins. CD SEGMENT signal output pins. Output pin to be connected to MSM5259 to expand the number of characters to be displayed. Clock output pin used when DO pin data output shifts inside of MSM5259. Clock output pin for the serially transferred data to be latched to MSM5259. The alternating current signal (Display Frequency) output pin. Power supply pin. Ground pin. Bias voltage input pins to drive the CD. 5/45

ABSOUTE MAIMUM ATINGS Parameter Supply Voltage CD Driving Voltage Symbol Condition ating Unit Applicable pin Ta = 25 C 0.3 to + 7.0 V, GND, V 2, V 3, Ta = 25 C 9.0 to + 0.3 Input Voltage V I Ta = 25 C 0.3 to + 0.3 V V, V 2, V 3 Power Dissipation P D 500 mw Storage Temperature T STG 55 to + 150 C, /W, S, E, DB 0 - DB 7 OSC 1 ECOMMENDED OPEATING CONDITIONS Parameter Supply Voltage Symbol Condition ange Unit Applicable pin 4.5 to 5.5 V, GND 1/4 bias, V CD Driving Voltage V *1 DD V *2 5 3.0 to 8.0 V CD, 1/5 bias, V *3 5 3.0 to 8.0 V Operating Temperature T op 20 to + 75 C *1 Voltage between and. *2 Voltages applicable to, V 2, V 3 and are as follows. = 1/4 ( ) V 2 = V 3 = 1/2 ( - ) = 3/4 ( ) *3 Voltages applicable to, V 2, V 3 and are as follows. = 1/5 ( ) V 2 = 2/5 ( ) V 3 = 3/5 ( ) = 4/5 ( ) 6/45

EECTICA CAACTEISTICS DC Characteristics ( = 4.5 to 5.5V, Ta = 20 to +75 C) Parameter "" Input Voltage Symbol V I1 Condition Min. 2.2 Typ. Max. Unit V Applicable pin /W, S, E, "" Input Voltage V I1 0.3 0.6 V DB 0 - DB 7 "" Input Voltage V I2 1.0 V "" Input Voltage V I2 0.3 1.0 V OSC 1 "" Output Voltage V O1 I O = 0.205mA 2.4 V "" Output Voltage V O1 I O = 1.2mA 0.4 V DB 0 - DB 7 "" Output Voltage V O2 I O = 40mA 0.9 V DO, CP,, "" Output Voltage V O2 I O = 40mA 0.1 V DC, OSC 2 COM Voltage Drop V C I O = ±50mA *1 2.9 V COM 1 - COM 16 SEG Voltage Drop V S I O = ±50mA *1 3.8 V SEG 1 - SEG 40 V I = V SS 1 ma Input eakage Current I I V I = 1 ma Input Current I I2 = 5.0V V I = V SS 50 125 250 ma V I =, excluding current flowing over pullup resistor 2 ma and output drive MOS E /W, S DB 0 - DB 7 *1 Applicable to the voltage drop (V C ) occurring in pins,,, and to each COMMON pin (COM1 to COM16) when 50 ma flows in or out of all COM and SEG pins. Also applicable to voltage drop (V S ) occurring in pins, V 2, V 3, and to each SEG pin (SEG1 to SEG40). When output level is at, or V 2 level, 50 ma flows out, while 50 ma flows in when the output level is at V 3, or level. This occurs when +5V is input to,, and V 2, and when 3V is input to V 3,, and. 7/45

( = 4.5 to 5.5V, Ta = 20 to +75 C) Parameter Symbol Condition Min. Typ. Max. Unit Applicable pin Supply Current (1) I DD1 = 5.0V, resistor oscillation or external clock input via OSC 1. f OSC = 270kz. E is in "" level. Other inputs are open. Output pins are 0.35 0.6 ma all no load. *2 = 5.0V, ceramic oscillation, f OSC = 250kz. Supply Current (2) I DD2 E is in "" level. 0.55 0.8 ma Other pins are open. Output pins are all no load. *2 CD Driving Bias V CD1 1/5 bias 3.0 8.0,, V 2, *7 V Input Voltage V CD2 1/4 bias 3.0 8.0 V 3,, *2 Applicable to the current that flows in pin when power is input as follows: = 5V, GND = 0V, = 3.4V, V 2 = 1.8V, V 3 = 0.2V, = 1.4V, and = 3V. AC Characteristics ( = 4.5 to 5.5V, Ta = 20 to +75 C) Parameter Symbol Condition Min. Typ. Max. Unit Applicable pin f Clock Oscillation f = 91kW ± 2% OSC 1 f OSC1 175 250 350 kz Frequency *3 OSC 2 Clock Input OSC 2 is open. f IN 125 250 350 kz OSC 1 Frequency Input from OSC 1 Input Clock Duty f DUTY *4 45 50 55 % OSC 1 Input Clock ise Time Input Clock Fall Time Ceramic Filter Oscillation Frequency t r *5 0.2 ms OSC 1 t f *5 0.2 ms OSC 1 f = 510kW, f OSC C 1 = C 2 = 200 pf, OSC 1 d = 30kW, and 245 250 255 kz OSC 2 Ceralock CSB250A. *6 8/45

*3 OSC 1 f f =91kW ±2% OSC 2 Minimum wiring is required between OSC 1 and f and between OSC 2 and f. *4 Applied to pulse input via OSC 1. t W t W f IN waveform 0.5 0.5 0.5 f DUTY = t W / (t W + t W ) x 100(%) *5 Applied to pulse input via OSC 1. f IN waveform 1.0V 1.0V 1.0 1.0 t r t f *6 OSC 1 C1 f Ceralock OSC 2 d C2 Ceralock : CSB250A (mfd. by MUATA MFG.Co.) f : 510kW ±5% d : 30kW ±5% C 1 : 200pF ±10% C 2 : 200pF ±10% Please contact us when using this circuit. *7 Input the voltage listed in the table below to - : Pin N (CD lines) 1-line mode 2-line mode V CD 4 V CD 5 V 2 VDD V CD 2 2V CD 5 V 3 VDD V CD 2 3V CD 5 3V CD 4 4V CD 5 VDD V CD V CD V CD is an CD driving voltage. (For "N" (number of CD lines), refer to the initial set of the instruction code.) 9/45

Switching Characteristics Timing for input from the CPU ( = 4.5 to 5.5V, Ta = 20 to +75 C) Parameter Symbol Min. Typ. Max. Unit /W and S set-up time t B 140 ns E "" pulse width t W 280 ns /W and S holding time t A 10 ns E rise time t r 25 ns E fall time t f 25 ns E "" pulse width t 280 ns E cycle time t C 667 ns DB 0 to DB 7 input data set-up time t I 180 ns DB 0 to DB 7 input data holding time t 10 ns /W V I V I S V I V I V I V I t B t W t A t E t r V I V I t I t f V I V I t V I DB 0 - DB 7 V I V I Input data V I V I t C 10/45

Timing for output to the CPU ( = 4.5 to 5.5V, Ta = 20 to +75 C) Parameter Symbol Min. Typ. Max. Unit /W and S set-up time t B 140 ns E "" pulse width t W 280 ns /W and S holding time t A 10 ns E rise time t r 25 ns E fall time t f 25 ns E "" pulse width t 280 ns E cycle time t C 667 ns DB 0 to DB 7 data output delay time t D 220 ns DB 0 to DB 7 data output holding time t O 20 ns /W V I V I S V I V I V I V I t B t W t A t E t r VI V I t f V I V I V I t D t D DB 0 -DB 7 V O V O Output data V O V O t C 11/45

Timing for output to MSM5259 ( = 4.5 to 5.5V, Ta = 20 to +75 C) Parameter Symbol Min. Typ. Max. Unit CP "" pulse width t W1 800 ns CP "" pulse width t W 800 ns DO set-up time t S 300 ns DO holding time t D 300 ns clock set-up time t SU 500 ns clock holding time t O 100 ns "" pulse width t W2 800 ns DF delay time t M 1000 1000 ns DO V O2 V O2 V O2 V O2 tw1 t W t s t D CP V O2 V O2 V O2 V V O2 O2 V O2 V O2 t SU t O V O2 V O2 V O2 t W2 DF t M V O2 12/45

FUNCTIONA DESCIPTION Instruction egister (I) and Data egister (D) These two registers are selected by the EGISTE SEECTO (S) pin. The D is selected when the "" level is input to the S pin and I is selected when the "" level is input. The I is used to store the address of the display data AM (DD AM) or character generator AM (CG AM) and instruction code. The I can be written, but not be read by the microcomputer (CPU). The D is used to write and read the data to and from the DD AM or CG AM. The data written to D by the CPU is automatically written to the DD AM or CG AM as an internal operation. When an address code is written to I, the data (of the specified address) is automatically transferred from the DD AM or CG AM to the D. Next, when the CPU reads the D, it is possible to verify DD AM or CG AM data from the D data. After the writing of D by the CPU, the next adress in the DD AM or CG AM is selected to be ready for the next CPU writing. ikewise, after the reading out of D by the CPU, DD AM or CG AM data is read out by the D to be ready for the next CPU reading. Write/read to and from both registers is carried out by the EAD/WITE (/W) pin. Table 1 S and /W pins functions /W S Function I write ead of busy flag (BF) and address counter (ADC) D write D read Busy Flag (BF) When the busy flag is at "", it indicates that the is engaged in internal operation. When the busy flag is at "", any new instruction is ignored. When /W = "" and S = "", the busy flag is output from DB 7. New instruction should be input when busy flag is "" level. When the busy flag is at "", the output code of the address counter (ADC) is undefined. Address Counter (ADC) The address counter (ADC) allocates the address for the DD AM and CG AM write/read and also for the cursor display. When the instruction code for a DD AM address or CG AM address setting is input to I, after deciding whether it is DD AM or CG AM, the address code is transferred from I to ADC. After writing (reading) the display data to (from) the DD AM or CG AM, the ADC is incremented (decremented) by 1 internally. The data of the ADC is output to DB 0 - DB 6 on the conditions that /W = "", S = "", and BF = "". 13/45

Timing Generator Circuit This circuit is used to generate timing signals to activate internal operations upon receipt of CPU instruction and also from such internal circuits as the DD AM, CG AM, and CG OM. It is designed so that the internal operation caused by accessing from the CPU will not interfere with the internal operation caused by CD driving. Consequently, when data is written from the CPU to DD AM, flickering does not occur in a display area other than the display area where the data is written. In addition, this circuit generates the transfer signal to MSM5259 for display character expansion. Display Data AM (DD AM) This AM is used to store display data of 8-bit character codes (see Table 2). DD AM address corresponds to the display position of the CD. The correspondence between the two is described in the following. DD AM address (set to ADC) is expressed in hexadecimal notation as shown below: ADC DB 6 MSB DB 0 SB exadecimal notation exadecimal notation (Example) When DD AM address is 2A 2 A (1) Correspondence between address and display position in the 1-line display mode First digit 2 3 4 5 79 80 Display position 00 01 02 03 04 4E 4F DD AM address (hex.) MSB SB When the alone is used, up to 8 characters can be displayed from the first to eighth digit. First digit 00 2 01 3 02 4 03 5 04 6 05 7 06 8 07 When the display is shifted by instruction, the correspondence between the CD display position and the DD AM address changes as shown below: (Display shifted to right) (Display shifted to left) First digit 4F First digit 01 2 00 2 02 3 01 3 03 4 02 4 04 5 03 5 05 6 04 6 06 7 05 7 07 8 06 8 08 14/45

When the is used with one MSM5259, up to 16 characters can be displayed from the first to sixteenth digit as shown below: First digit 00 2 01 3 02 4 03 5 04 6 05 7 06 8 07 9 10 08 09 11 0A 12 0B 13 0C 14 0D 15 0E 16 0F display MSM5259 display When the display is shifted by instruction, the correspondence between the CD display and the DD AM address changes as shown below: (Display shifted to right) First digit 4F 2 00 3 01 4 02 5 03 6 04 7 05 8 06 9 10 07 08 11 09 12 0A 13 0B 14 0C 15 0D 16 0E display MSM5259 display (Display shifted to left) 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 Since the has a DD AM capacity of up to 80 characters, up to 9 MSM5259 devices can be connected to so that 80 characters can be displayed. First digit 00 2 01 3 02 4 03 5 04 6 05 7 06 8 07 9 10 08 09 11 0A 12 0B 13 0C 14 0D 15 0E 16 0F 17 18 10 11 73 74 42 49 75 4A 76 4B 77 4C 78 4D 79 4E 80 4F display MSM5259 (1) display MSM5259 (2) - (8) display MSM5259 (9) display 15/45

(2) Correspondence between address and display position in the 2-line display mode First digit 2 3 4 5 39 40 Display position First line 00 01 02 03 04 26 27 DD AM address (hex.) Second line 40 41 42 43 44 66 67 (Note) The last address of the first line is not consecutive to the head address of the second line. When alone is used, up to 16 characters (8 characters x 2 lines) can be displayed from the first to eighth digit. First line Second line First digit 2 3 4 5 00 01 02 03 04 40 41 42 43 44 6 05 When the display is shifted by instruction, the correspondence between the CD display position and the DD AM address changes as shown below: 7 06 8 07 45 46 47 (Display shifted to right) First line Second line First digit 2 3 4 5 27 00 01 02 03 67 40 41 42 43 6 04 7 05 8 06 44 45 46 (Display shifted to left) First line Second line First digit 2 3 4 5 01 02 03 04 05 41 42 43 44 45 6 06 7 07 8 08 46 47 48 When the is used with one MSM5259, up to 32 characters (16 characters x 2 lines) can be displayed from the first to the sixteenth digit. First line Second line First digit 2 3 4 5 00 01 02 03 04 40 41 42 43 44 6 05 7 06 8 07 45 46 47 9 10 11 12 13 08 09 0A 0B 0C 48 49 4A 4B 4C 14 0D 15 0E 16 0F 4D 4E 4F display MSM5259 display 16/45

When the display is shifted by instruction, the correspondence between the CD display position and the DD AM address changes as shown below: (Display shifted to right) First line Second line First digit 27 67 2 3 4 5 6 00 01 02 03 04 40 41 42 43 44 7 8 9 05 06 07 45 46 47 10 11 12 13 14 08 09 0A 0B 0C 48 49 4A 4B 4C 15 0D 4D 16 0E 4E display MSM5259 display (Display shifted to left) First line Second line First digit 01 2 02 3 03 4 04 41 42 43 44 5 6 7 05 06 07 45 46 47 8 9 10 11 12 08 09 0A 0B 0C 48 49 4A 4B 4C 13 0D 4D 14 0E 4E 15 16 0F 10 4F 50 display MSM5259 display Since the has a DD AM capacity of up to 80 characters, up to 4 MSM5259 devices can be connected to the in the 2-line display mode. First line Second line First digit 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 33 34 35 36 37 38 39 40 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 20 21 22 23 24 25 26 27 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 60 61 62 63 64 65 66 67 display MSM5259 (1) display MSM5259 (2) - (3) display MSM5259 (4) display Character Generator OM (CG OM) The CG OM is used to generate 5 x 7 dots (160 kinds) or 5 x 10 dots (32 kinds) character patterns from an 8-bit DD AM character code signal. The correspondence between 8-bit character codes and character patterns is shown in Table 2. When the 8-bit character code of the CG OM is written to the DD AM, the character pattern of the CG OM corresponding to the code is displayed on the CD display position corresponding to the DD AM address. 17/45

18/45 ower 4 bits 0000 SB 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Upper 4 bits MSB 0000 0010 0011 0100 0101 0110 0111 1010 1011 1100 1101 1110 1111 CG AM (1) (2) (3) (4) (5) (6) (7) (8) (1) (2) (3) (4) (5) (9) (7) (8)! # $ % & ( ) * +. / 0 1 2 3 4 5 6 7 8 9 : ; < = >? @ A B C D E F G I J K M N O P Q S T U V W Y Z [ ] ^ _ a b c d e f n h i j k l m n o / p q r s t u v w x y z { Ù } Æ a ä b e m s r g 1 j x n ö q Q W ü S p Table 2 elationship Between Character Codes and Characters (Character Patterns) of MSM6222B -01 Semiconductor

Character Generator AM (CG AM) The CG AM is used to display user's original character patterns other than character patterns in the CG OM. The CG AM has a capacity (64 bytes = 512 bits) of writing 8 kinds of characters for 5 x 7 dots and 4 kinds of characters for 5 x 10 dots. When displaying character patterns stored in the CG AM, write 8-bit character codes (00 to 07 or 08 to 0F; hex.) on the left side as shown in Table 2. Then it is possible to output the character pattern to the CD display position corresponding to the DD AM address. The following explains how to write and read character patterns to and from the CG AM. (1) When the character pattern is 5 x 7 dots (see Table 3-1). A method of writing character pattern to the CG AM by CPU: Three bits of CG AM addresses 0-2 correspond to the line position of the character pattern. First, set increment or decrement by the CPU, and then input the CG AM address. After this, write character patterns to the CG AM through DB 0 - DB 7 line by line. DB 0 to DB 7 correspond to CG AM data 0-7 in Table 3-1. It is displayed when "" is set as input data and is not displayed when "" is set as input data. Since the ADC is automatically incremented or decremented by 1 after the writing of data to the CG AM, it is not necessary to set the CG AM address again. The line, in which the CG AM addresses 0-2 are all "" ("7" in hexadecimal notation), is the cursor position. It is Oed with the cursor at the cursor position and displayed to CD. For this reason, it is necessary to set all input data that become cursor positions to "". Although CG AM data 0-4 bits are output to the CD as display data, CG AM data bits 5-7 are not output. The latter can be written and read to and from the AM, it is therefore allowed to be used as data AM. A method of displaying the CG AM character pattern to the CD: The CG AM is selected when upper 4 bits of the character codes are all "". As character code bit 3 is invalid, the display of "0" in Table 3-1, is selected by character code "00" (hex.) or "08" (hex.). When the 8-bit character code of the CG AM is written to the DD AM, the character pattern of the CG AM is displayed on the CD display position corresponding to the DD AM address. (DD AM data, bits 0-2 correspond to CG AM address, bits 3-5.) 19/45

(2) When character pattern is 5 x 10 dots (see Table 3-2). A method of writing character pattern into the CG AM by the CPU: Four bits of CG AM address, bits 0-3, correspond to the line position of the character pattern. First, set increment or decrement with the CPU, and then input the address of the CG AM. After this, write the character pattern code into the CG AM, line by line from DB 0 - DB 7. DB 0 to DB 7 correspond to CG AM data, bits 0-7, in Table 3-2. It is displayed when "" is set as input data, while it is not displayed when "" is set as input data. As the ADC is automatically incremented or decremented by 1 after the writing of data to the CG AM, it is not necessary to set the CG AM address again. The line, the CGAM addresses 0-3 of which are "A" in hexadecimal notation, is the cursor position. The CGAM data is 0ed with the cursor at the cursor position and displayed to CD. For this reason, it is necessary to set all input data that become cursor positions to "". When the CG AM data, bits 0-4, and CG AM addresses, bits 0-3, are "0" to "A", they are displayed on the CD as the display data. When the CG AM data, bits of 5-7, and CG AM, bit data is 0-4 and CG AM address data is "B" to "F", it is not output to the CD. But in this case, CG AM can be used as AM and it can be written into/read out. So, it can be used as the data AM. A method of displaying the CG AM character pattern to the CD: The CG AM is selected when 4-upper order bits of the character code are all "". As character code bits 0 and 3 are invalid, the display of "m" is selected by character codes "00", "01", "08", and "09" (hex.) as in Table 3-2. When the CG AM character code is written to the DD AM, the CG AM character pattern is displayed on the CD display position corresponding to the DD AM address. (DD AM data bits 1 and 2 correspond to CG AM address bits 4 and 5.) 20/45

Semiconductor 21/45 Table 3-1 elationship between CG AM data (character pattern), CG AM address and DD AM data when the character pattern is 5 x 7 dots. The example below indicates "OKI". : Don't Care CG AM address CG AM data (character pattern) DD AM data (character code) 5 4 3 2 1 0 MSB 5 4 3 2 1 0 6 7 5 4 3 2 1 0 6 7 SB MSB SB MSB SB

Semiconductor 22/45 Table 3-2 elationship between CG AM data (character pattern), CG AM address and DD AM data when the character pattern is 5 x 10 dots. The examples below indicate m, g and. CG AM address CG AM data (character pattern) DD AM data (character code) 5 4 3 2 1 0 SB MSB 5 4 3 2 1 0 SB MSB 6 7 5 4 3 2 1 0 SB MSB 6 7 : Don't Care W

Cursor/Blink Control Circuit This is a circuit that generates the CD cursor and blink. This circuit is under the control of the CPU program. The display of the cursor and blink on the CD is made at a position corresponding to the DD AM address that is set in the ADC. The figure below shows an example of the cursor/blink position when the value of ADC is set to "07" (hex.). DB 6 DB 0 ADC 0 7 First digit 2 3 4 5 6 In 1-line display mode 00 01 02 05 04 05 7 06 8 07 9 08 79 4E 80 4F Cursor and blink position In 2-line display mode First digit 2 3 4 5 6 First line 00 01 02 03 04 05 Second line 40 41 42 43 44 45 46 47 48 66 67 7 06 8 07 9 08 39 26 40 27 Cursor and blink position (Note) The cursor and blink are displayed even when the CG AM address is set in the ADC. For this reason, it is necessary to inhibit the cursor and blink display while the CG AM address is set in the ADC. CD Display Circuit (COM 1 to COM 16, SEG 1 to SEG 40,, CP, DO, and DF) As the provides the COM signal outputs (16 outputs) and the SEG signal outputs (40 outputs), it can display 8 characters (1-line display) or 16 characters (2-line display) as a unit. SEG 1 to SEG 40 are used to display 8-digit display on the CD. To expand the display, an MSM5259 is used. The MSM5259, 40-dot segment driver, is used for expansion of the SEG signal output. Interface with the MSM5259 is made through data output pin (DO), clock output pin (CP), latch output pin (), and display frequency pin (DF). The character pattern data is serially transferred to MSM5259 through DO and CP. When the data of 72 characters 360-bit (= 5- bit/ch. x 72 ch. = 1-line display) or 32 characters 160-bit (5-bit/ch. x 32 ch. = 2-line display) is output, the latch pulse is also output through pin. By this latch pulse, the data transferred serially to MSM5259 is latched to be used as display data. The display frequency signal (DF) required when CD is displayed is also output from DF pin synchronously with this latch pulse. 23/45

Built-in eset Circuit The is automatically initialized when the power is turned on. During initialization, the busy flag (BF) holds "" and does not accept instructions (other than the busy flag read). The busy flag holds "" for 15 ms after reaches 4.5V or more. During initialization, the executes the follwing instructions: Display clear Data length of interface with CPU: 8 bits (8B/4B = "") CD: 1-line display (N = "") Character font: 5 x 7 dots (F = "") ADC: Increment (I/D = "") No display shift (S = "") Display: Off (DI = "") Cursor: Off (C = "") No blink (B = "") It is required to satisfy the following power supply conditions. 4.5V 0.2V 0.2V 0.2V t ON t OFF 0.1ms t ON 100ms 1ms t OFF Fig. 1. Power ON/OFF Waveform 24/45

Data Bus Connected with CPU The data bus connected with CPU is available either once for 8 bits or twice for 4 bits. This allows the to be interfaced with either an 8-bit or 4-bit CPU. (1) When the interface data length is 8 bits Data buses DB 0 to DB 7 (8 buses) are all used and data input/output is carried out in one step. (2) When the interface data length is 4 bits The 8-bit data input/output is carried out in two steps by using only high-order 4 bits of data buses DB 4 to DB 7 (4 buses) The first time data input/output is made for 4-high order bits (DB 4 to DB 7 when the interfaces data length is 8 bits) and the second time data input/output is made for loworder 4 bits (DB 0 to DB 3 when the interface data length is 8 bits). Even when the data input/output can be completely made through high-order 4 bits, be sure to make another input/output of low-order 4 bits. (Example: Busy flag ead). Since the data input/output is carried out in two steps but as one execution, no normal data transfer is executed from the next input/output if accessed only once. 25/45

S /W E Busy (internal operation) DB 7 I7 Busy No Busy D7 DB 6 I6 ADC6 D6 DB 5 I5 ADC5 D5 DB 4 I4 ADC4 D4 DB 3 I3 ADC3 D3 DB 2 I2 ADC2 D2 DB 1 I1 ADC1 D1 DB 0 I0 ADC0 D0 Instruction register(i) write Busy flag(bf)and address counter(adc)read Data register (D)write Fig. 2 8-Bit Data Transfer 26/45

S /W E Semiconductor Busy(internal operation) DB 7 I7 I3 No Busy ADC3 D7 D3 Busy DB 6 I6 I2 ADC6 ADC2 D6 D2 DB 5 I5 I1 ADC5 ADC1 D5 D1 DB 4 I4 I0 ADC4 ADC0 D4 D0 Instruction register (I)write Busy flag(bf)and address counter(adc)read Data register (D)write 27/45 Fig. 3 4-Bit Data Transfer

Instruction Code The instruction code is defined as the signal through which the is accessed by the CPU. The begins operation upon receipt of the instruction code input. As the internal processing operation of starts in a timing that does not affect the CD display, the busy status continues for longer than the CPU cycle time. Under the busy status (when the busy flag is set to ""), the does not execute any instructions other than the busy flag read. Therefore, the CPU has to verify that the busy flag is set to "" prior to the input of the instruction code. (1) Display clear: Instruction code /W S DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 DB 0 When this instruction is executed, the CD display is cleared. I/D in the entry mode setting is set to "" (increment). S does not change. When the cursor and blink are in display, the blinking position moves to the left end of the CD (the left end of the first line in the 2-line display mode). (Note) All DD AM data goes to "20" (hex.), while the address counter (ADC) goes to "00" (hex.). The execution time is 1.64 ms (max.), when the OSC oscillation frequency is 250 kz. (2) Cursor home Instruction code /W S DB 7 : Don't Care DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 DB 0 When this instruction is executed, the blinking position moves to the left end of the CD (to the left end of the first line in the 2-line display mode) as the cursor and blink are being displayed. When the display is in shift, the display returns to its original position before shifting. (Note) The address counter (ADC) goes to "00" (hex.). The execution time is 1.64 ms (max.), when the OSC oscillation frequency is 250 kz. 28/45

(3) Entry mode setting Instruction code /W S DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 I/D DB 0 S 1 When the I/D is set, the 8-bit character code is written or read to and from the DD AM, the cursor and blink shift to the right by 1 character position (I/D = ""; increment) or to the left by 1 character position (I/D = ""; decrement). The address counter is incremented (I/D = "") or decremented (I/D = "") by 1 at this time. Even after the character pattern code is written or read to and from the CG AM, the address counter (ADC) is incremented (I/D = "") or decremented (I/D = "") by 1. 2 When S = "" is set, the character code is written to the DD AM. Then the cursor and blink stop and the entire display shifts to the left (I/D = "") or to the right (I/ D = "") by 1 character position. When the character is read from the DD AM during S = "", or when the character pattern data is written or read to or from the CG AM during S = "", the entire display does not shift, but normal write/read is performed (the entire display does not shift, but the cursor and blink shift to the right (I/D = "") or to the left (I/D = "") by 1 character position. When S = "" is set, the display does not shift, but normal write/read is performed. The execution time when the OSC oscillation frequency is 250 kz is 40 ms. (4) Display mode setting Instruction code /W S DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DI DB 1 C DB 0 B 1 The DI bit controls whether the character pattern is displayed or not displayed. When DI is "", this bit makes the CD display the character pattern. When DI is "", the CD character pattern is not displayed. The cursor and blink are also cancelled at this time. (Note) Unlike the display clear, the character code is not rewritten at all. 2 The cursor is not displayed when C = "" and is displayed when DI = "" and C = "". 3 The blink is cancelled when B = "" and is executed when DI = "" and B = "". In the blink mode, all dots (including the cursor), displaying character pattern, and cursor are displayed alternately at 409.6 ms (in 5 x 7 dots character font) or 563.2 ms (in 5 x 10 dots character font) when the OSC oscillation frequency is 250 kz. The execution time when the OSC oscillation frequency is 250 kz is 40 ms. 29/45

(5) Cursor and display shift Instruction code /W S DB 7 : Don't Care DB 6 DB 5 DB 4 DB 3 D/C DB 2 / DB 1 DB 0 When D/C = "" and / = "", the cursor and blink positions are shifted to the left by 1 character position (ADC is decremented by 1). When D/C = and / = "", the cursor and blink positions are shifted to the right by 1 character position (ADC is incremented by 1). When D/C = "" and / = "", the entire display is shifted to the left by 1 character position. The cursor and blink positions are also shifted with the display (ADC remains unchanged). When D/C = "" and / = "", the entire display is shifted to the right by 1 character position. The cursor and blink positions are also shifted with the display (ADC remains unchanged). In the 2-line display mode, the cursor and blink positions are shifted from the first to the second line when the cursor is shifted to the right next to the fortieth digit (27; hex.) in the first line. No such shifting is made in other cases. When shifting the entire display, the display pattern, cursor, and blink positions are in no case shifted between lines (from the first to the second line or vice versa). The execution time, when the OSC oscillation frequency is 250 kz, is 40 ms. (6) Initial setting Instruction code /W S DB 7 : Don't Care DB 6 DB 5 DB 4 8B/4B DB 3 N DB 2 F DB 1 DB 0 1 When 8B/4B = "", the data input/output to and from the CPU is carried out simultaneously by means of 8 bits DB 7 to DB 0. When 8B/4B = "", the data input/output to and from the CPU is carried out in two steps through 4 bits of DB 7 to DB 4. 2 The 2-line display mode of the CD is selected when N = "", while the 1-line display mode is selected when N = "". 3 The 5 x 7 dots character font is selected when F = "", while the 5 x 10 dots character font is selected when F = "" and N = "". This initial setting has to be accessed prior to other instructions except for the busy flag read after the power is supplied to the. N F Number of display lines Character font Duty ratio Number of biases Number of COMMOM signals 1 - line 5 x 7 dots 1/8 4 8 1 - line 5 x 10 dots 1/11 4 11 2 - line 5 x 7 dots 1/16 5 16 2 - line 5 x 7 dots 1/16 5 16 30/45

Generate biases externally and input them to the (,, V 2, V 3,, and ). When the number of biases is 4, input the same potential to V 2 and V 3. The execution time, when the OSC oscillation frequency is 250 kz, is 40 ms. (7) CG AM address setting Instruction code /W S DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 DB 0 C 5 C 4 C 3 C 2 C 1 C 0 When CG AM addresses, bits C 5 to C 0 (binary), are set, the CG AM is specified, until the DD AM address is set. Write/read of the character pattern to and from the CPU begins with addresses, bits C 5 to C 0, starting from CG AM selection. The execution time, when the OSC oscillation frequency is 250 kz, is 40 ms. (8) DD AM address setting Instruction code /W S DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 DB 0 D 6 D 5 D 4 D 3 D 2 D 1 D 0 When the DD AM addresses D 6 to D 0 (binary) are selected, the DD AM is specified until the DD AM address is set. Write/read of the character code to and from the CPU begins with addresses D 6 to D 0 starting from DD AM selection. In the 1-line display mode (N = ), however, D 6 to D 0 (binary) must be set to one of the values among "00" to "4F" (hex.). ikewise, in the 2-line mode, D 6 to D 0 (binary) must be set to one of the values among "00" to "27" (hex.) or "40" to "67" (hex.). When any value other than the above is input, it is impossible to make a normal write/ read of character codes to and from the DD AM. The execution time, when the OSC oscillation frequency is 250 kz, is 40 ms. (9) DD AM and CG AM data write /W S DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 DB 0 Instruction code E 7 E 6 E 5 E 4 E 3 E 2 E 1 E 0 When E 7 to E 0 (binary) codes are written to the DD AM or CG AM, the cursor and display move as described in "(5) Cursor and display shift". The execution time, when the OSC oscillation frequency is 250 kz, is 40 ms. 31/45

(10) Busy flag and address counter read (Execution time is 1 ms.) Instruction code /W S DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 DB 0 BF O 6 O 5 O 4 O 3 O 2 O 1 O 0 The busy flag (BF) is output by this instruction to indicate whether the is engaged in internal operations (BF = "") or not (BF = ""). When BF = "", no new instruction is accepted. It is therefore necessary to verify BF = "" before inputting a new instruction. When BF = "", a correct address counter value is output. The address counter value must match the DD AM address or CG AM address. The decision of whether it is a DD AM address or CG AM address is made by the address previously set. Since the address counter value when BF = "" is sometimes incremented or decremented by 1 during internal operations, it is not always a correct value. (11) DD AM and CG AM data read Instruction code /W S DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 DB 0 P 7 P 6 P 5 P 4 P 3 P 2 P 1 P 0 Character codes (bits P 7 to P 0 ) are read from the DD AM, while character patterns (P 7 to P 0 ) from the CG AM. Selection of DD AM or CG AM is decided by the address previously set. After reading those data, the address counter (ADC) is incremented or decremented by 1 as set by the shift mode mentioned in item "(3) shift mode set". The execution time, when the OSC oscillation frequency is 250 kz, is 40 ms. (Note) Conditions for the reading of correct data: 1 When the DD AM address set or CG AM address set is input before inputting this instruction. 2 When the cursor/display shift is input before inputting this instruction in case the character code is read. 3 Data after the second reading from AM when read more than 2 times. Correct data is not output in any other case. 32/45

Interface with CD and MSM5259 Display examples when setting the 5 x 7 dots character font 1-line mode, 5 x 10 dots character font 1-line mode, and 5 x 7 dots character font 2-line mode through instructions are shown in Figures 4, 5, and 6, respectively. When the 5 x 7 dots character font is set in the 1-line display mode, the COM signals COM 9 to COM 16 are output for extinguishing. ikewise, when the 5 x 10 dots character font (1-line is set), the COM signals COM 12 to COM 16 are output for display-off. The display example shows a combination of 16 characters (32 characters for the 2-line display mode) and the CD. When the number of MSM5259s are increased according to the increase in the number of characters, it is possible to display a maximum of 80 characters. Besides, it is necessary to generate bias voltage required for CD operation by splitting resistors outside the IC to input it to and MSM5259. Examples of these bias voltages are shown in Figures 7, 8, 9, and 10. Basically, this can be done by dividing the voltage by the resistors as shown in Figures 7 and 8. If the value of resistor is made larger to reduce system power consumption, the CD operating margin decreases and the CD driving waveform is distorted. To prevent this, a by-pass capacitor is serially connected to the resistor to lower voltage division impedance caused by the splitting of resistors as shown in Figures 9 and 10. As the values of, V, and C vary according to the CD size used and V CD (CD drive voltage), these values have to be determined through actual experimentation in combination with the CD. (Example set values: = 3.3 to 10kW, V = 10 to 30kW, and C = 0.0022 mf to 0.047 mf) Figure 17 shows an application circuit for the and MSM5259 including a bias circuit. The bias voltage has to maintain the following potential relation: > > V 2 V 3 > > In the case of 1-line 16 characters display (5 x 7 dots/font) COM 1 CD COM 8 SEG 1 SEG 40 O 1 O 40 DF DO CP DI 1 CP MSM5259 OAD DF DO 20 DI 21 Figure 4 33/45

In the case of 16-character (1 line) display (5 x 10 dots/font) COM 1 CD COM 11 SEG 1 SEG 40 O 1 O 40 DF DO CP DI 1 CP MSM5259 OAD DF DO 20 DI 21 Figure 5 In the case of 16-character (2 lines) display (5 x 7 dots/font) COM 1 COM 7 COM 8 COM 9 CD COM 15 COM 16 SEG 1 SEG 40 O 1 O 40 DF DO CP DI 1 CP MSM5259 OAD DF DO 20 DI 21 Figure 6 34/45

Bias voltage circuit (1-line display mode) Bias voltage circuit (2-line display mode) V 2 V 3 V CD V 2 V 3 V CD V V Figure 7 Figure 8 Bias voltage circuit (1-line display mode) Bias voltage circuit (2-line display mode) C C V 2 C V 2 C V 3 C V CD V 3 C V CD C V C C C V Figure 9 Figure 10 C (V CD : CD driving voltage) 35/45

Application circuit COM 1-16 SEG 1-40 DO CP DF GND V 2 V 3 +5V C O 1 - O 40 MSM5259 DI 1 DO 40 CP DO 20 OAD DF DI 21 V SS V 2 V 3 V EE C C C C CD C V O 1 - O 40 MSM5259 DI 1 DO 40 CP DO 20 OAD DF DI 21 V SS V 2 V 3 V EE 0V O 1 - O 40 MSM5259 DI 1 DO 40 CP DO 20 OAD DF DI 21 V SS V 2 V 3 V EE Figure 11 36/45

CD Drive Waveforms Figures 12, 13 and 14 show the CD driving waveforms consisting of COM signal, SEG signal, DF signal and (latch pulse waveform) signal, in the duty of 1/8, 1/11 and 1/16 respectively. The relation between duty and frame frequency is described in the table below. Duty Frame frequency 1/8 78.1 z 1/11 56.8 z 1/16 78.1 z (Note) The OSC oscillation frequency is assumed to be 250 kz. 37/45

COM 1 V 2,V 3 V 8 1 2 3 4 5 6 7 8 1 2 1 frame COM 2 V 2,V 3 V COM 8 V 2,V 3 V COM 9 V 2,V 3 V COM 16 V 2,V 3 V Display-off waveform SEG (Output example) V 2,V 3 V Display-on waveform DF Figure 12. CD Driving Waveform at 1/8 Duty 38/45

COM 1 V 2,V 3 11 1 2 3 4 5 6 7 8 9 10 11 1 2 1 frame COM 2 V 2,V 3 COM 11 V 2,V 3 COM 12 V 2,V 3 COM 16 V 2,V 3 SEG (Output example) V 2,V 3 Display-off waveform Display-on waveform DF Figure 13. CD Driving Waveform at 1/11 Duty 39/45

COM 1 V 2 V 3 16 1 2 3 4 5 6 7 8 9 10 11 1 frame 12 13 14 15 16 1 2 COM 2 V 2 V 3 COM 16 V 2 V 3 SEG (Output example) V 2 V 3 Display-off waveform Display-on waveform DF Figure 14. CD Driving Waveform at 1/16 Duty 40/45

Initial Setting of Instruction (1) When data input/output to and from the CPU is carried out by 8 bits (DB 0 to DB 7 ): q Turn on the power. w Wait for 15 ms or more after has reached 4.5V or more. e Set 8B/4B at "" by initial setting of instruction. r Wait for 4.1 ms or more. t Set 8B/4B at "" by initial setting of instruction. y Wait for 100 ms or more. u Set 8B/4B at "" by initial setting of instruction. i Check the busy flag as No Busy. o Set 8B/4B at "". Set CD line number (N) and character font (F). (After this, do not change the CD line number and character font.)!0 Check No Busy.!1 Clear the display by setting the display mode.!2 Check No Busy.!3 Clear the display.!4 Check No Busy.!5 Set the shift mode.!6 Check No Busy.!7 Initial setting completed. Example of Instruction Code for Steps e, t, and u. /W S DB 7 : Don't Care DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 DB 0 41/45

(2) When data input/output to and from the CPU is carried out by 4 bits (DB 4 to DB 7 ): q Turn on the power. w Wait for 15 ms or more after has reached 4.5V or more. e Set 8B/4B at "" by initial setting of instruction. r Wait for 4.1 ms or more. t Set 8B/4B at "" by initial setting of instruction. y Wait for 100 ms or more. u Set 8B/4B at "" by initial setting of instruction. i Check the busy flag as No Busy. o Set 8B/4B at "". Set CD line number (N) and character font (F).!0 Wait for 100 ms or more.!1 Set 8B/4B at "". Set CD line number (N) and character font (F).!2 Check No Busy.!3 Clear the display by setting the display mode.!4 Check No Busy.!5 Clear the display.!6 Check No Busy.!7 Set the shift mode.!8 Check No Busy.!9 Initialization completed. Example of Instruction Code for Steps e, t, and u. /W S DB 7 DB 6 DB 5 DB 4 Example of Instruction Code for Step i. /W S DB 7 DB 6 DB 5 DB 4 BF O 6 O 5 Q 4 Example of Instruction Code for Step o. /W S DB 7 DB 6 DB 5 DB 4 Execute two-step accesses in 4 bits from Step!1 to Step!8. 42/45

Differences Between D44780 and Item D44780 MSM6222B - xx CD driving voltage (V CD ) 1/4 bias 3.0 to 11.0 (V) 3.0 to 8.0 (V) 1/5 bias 4.6 to 11.0 (V) 3.0 to 8.0 (V) Bus interface speed with CPU 1 Mz (1000 ns) 1.5 Mz (667 ns) Since signal rise/fall time is quite fast, the electromagnetic induction between lines of the PCB and the cable assignment should be noted. The increment and decrement of the address counter in writing/ reading the data to/from the CGAM/DDAM. The repeated input frequency (oscillation frequency=250kz) of display clear instruction The address counter is incremented or decremented 6 msec (when ƒ OSC = 250 Kz) after the busy condition is released. (Period of busy condition is 40 ms) So, the data cannot be written into/ read out from the AM for 6 msec after the busy condition was over. The address counter is incremented or decremented during the busy condition. So, data can be written into/read out from the AM immediately after the busy condition was over. 610 z or less (1.64 ms or more) 78 z or less in 5 7 dots (12.8 ms or more), 56z or less in 5 10 dots (17.9 ms or more) 43/45

PACKAGE DIMENSIONS (Unit : mm) QFP80-P-1420-0.80- Spherical surface Package material ead frame material Pin treatment Solder plate thickness Package weight (g) Epoxy resin 42 alloy Solder plating 5 mm or more 1.27 TYP. Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, SOJ, QFJ (PCC), SP and BGA are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, contact Oki s responsible sales person for the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times). 44/45

(Unit : mm) QFP80-P-1420-0.80-B Spherical surface Package material ead frame material Pin treatment Solder plate thickness Package weight (g) Epoxy resin 42 alloy Solder plating 5 mm or more 1.27 TYP. Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, SOJ, QFJ (PCC), SP and BGA are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, contact Oki s responsible sales person for the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times). 45/45