DOT MATRIX LCD CONTROLLER WITH 16-DOT COMMON DRIVER AND 40-DOT
SEGMENT DRIVER
GENERAL DESCRIPTION
The MSM6222B-xx is a dot matrix LCD controller which is fabricated in low power CMOS
silicon gate technology. Character display on the dot matrix character type LCD can be
controlled in combination with a 4-bit/8-bit microcontroller. This LSI consists of 16-dot
COMMON driver, 40-dot SEGMENT driver, display data RAM, character generator RAM,
character generator ROM and control circuit.
The MSM6222B-xx is the equivalent of Hitachi's HD44780. There is, however, a slight difference
between the two devices as described in the table on the last page.
The MSM6222B-xx has the character generator ROM 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 ROM.
FEATURES
• Easy interface with an 8-bit or 4-bit microcontroller.
• Dot matrix LCD 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 ROM 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 RAM. (Lowercase: 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 LCD driving voltage.
*1 Applicable to the voltage drop (VC) occurring in pins VDD, V1, V4, and V5 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 (VS) occurring in pins VDD, V2, V3, and V5 to each SEG pin (SEG1 to SEG40).
When output level is at VDD, V1 or V2 level, 50 mA flows out, while 50 mA flows in when the
output level is at V3, V4 or V5 level.
This occurs when +5V is input to VDD, V1, and V2, and when –3V is input to V3, V4, and V5.
7/45
Parameter
SymbolConditionMin.Typ.Max.UnitApplicable pin
Supply Current (1)I
Supply Current (2)I
LCD Driving Bias
Input Voltage
V
V
DD1
DD2
LCD1
LCD2
VDD = 5.0V,
resistor oscillation or
external clock input via
.
OSC
1
= 270kHz.
f
OSC
E is in "L" level.
Other inputs are open.
Output pins are
all no load. *2
VDD = 5.0V,
ceramic oscillation,
= 250kHz.
f
OSC
E is in "L" level.
Other pins are open.
Output pins are
all no load. *2
1/5 bias3.0—8.0
V
DD–V5
*7
1/4 bias3.0—8.0
= 4.5 to 5.5V, Ta = –20 to +75°C)
(V
DD
—0.350.6mA
—0.550.8mA
V
MSM6222B-xx¡ Semiconductor
VDD, V1, V2,
V
V
DD
V
DD
, V4, V
3
5
*2 Applicable to the current that flows in pin VDD when power is input as follows:
Input the voltage listed in the table below to V1 - V5:
N (LCD lines)
1-line mode2-line mode
V
V
1
V
2
V
3
V
4
V
5
V
DD
V
DD
V
DD
V
DD
V
DD
–
–
–
–
– V
LCD
V
LCD
V
LCD
3V
LCD
4
2
2
LCD
4
V
–
–
–
–
– V
2V
3V
4V
LCD
LCD
5
LCD
5
LCD
5
LCD
5
V
DD
V
DD
V
DD
V
DD
V
DD
V
is an LCD driving voltage. (For "N" (number of LCD lines),
LCD
refer to the initial set of the instruction code.)
9/45
Switching Characteristics
• Timing for input from the CPU
Parameter
R/W and RS set-up time
E "H" pulse widtht
R/W and RS holding time t
E rise time t
E fall time t
E "L" pulse width t
E cycle time t
DB
to DB7 input data set-up time t
0
DB
to DB7 input data holding time t
0
SymbolMin.Typ.Max.Unit
MSM6222B-xx¡ Semiconductor
= 4.5 to 5.5V, Ta = –20 to +75°C)
(V
DD
t
B
W
A
r
f
L
C
I
H
140——ns
280——ns
10—— ns
——25 ns
——25 ns
280——ns
667——ns
180——ns
10—— ns
DB
0
R/W
RS
E
- DB
V
IL
V
IH
V
IL
V
V
IH
IL
t
W
t
Input data
I
t
B
V
V
t
r
7
IH
IL
V
IL
V
IH
V
IL
t
A
t
L
V
IH
V
IL
t
f
t
H
V
IH
V
IL
t
C
V
IL
10/45
• Timing for output to the CPU
Parameter
R/W and RS set-up time
E "H" pulse widtht
R/W and RS holding time t
E rise time t
E fall time t
E "L" pulse width t
E cycle time t
to DB7 data output delay time t
DB
0
to DB7 data output holding time t
DB
0
SymbolMin.Typ.Max.Unit
MSM6222B-xx¡ Semiconductor
= 4.5 to 5.5V, Ta = –20 to +75°C)
(V
DD
t
B
W
A
r
f
L
C
D
O
140——ns
280——ns
10—— ns
——25 ns
——25 ns
280——ns
667——ns
——220ns
20—— ns
DB
0
R/W
-DB
RS
V
IH
V
IH
V
IL
t
B
V
E
V
t
r
IH
IL
t
7
t
W
D
V
OH
Output data
V
OL
V
IH
V
IH
V
IL
t
A
t
L
V
IH
V
IL
t
f
t
D
V
OH
V
OL
t
C
V
IL
11/45
• Timing for output to MSM5259
Parameter
CP "H" pulse width
CP "L" pulse widtht
DO set-up timet
DO holding time t
L clock set-up time t
L clock holding timet
L "H" pulse widtht
DF delay time t
SymbolMin.Typ.Max.Unit
t
HW1
LW
HW2
DH
SU
HO
MSM6222B-xx¡ Semiconductor
= 4.5 to 5.5V, Ta = –20 to +75°C)
(V
DD
800——ns
800——ns
S
M
300——ns
300——ns
500——ns
100——ns
800——ns
–1000—1000ns
DO
CP
DF
V
OH2
V
OL2
t
t
HW1
V
OH2VOH2
t
LW
V
OL2
s
V
OL2
OH2
V
OH2
V
L
V
OH2
V
OL2
t
DH
V
V
OL2
t
t
SU
HW2
V
OH2
t
HO
V
OL2
t
M
V
OH2
OH2
12/45
MSM6222B-xx¡ Semiconductor
FUNCTIONAL DESCRIPTION
Instruction Register (IR) and Data Register (DR)
These two registers are selected by the REGISTER SELECTOR (RS) pin.
The DR is selected when the "H" level is input to the RS pin and IR is selected when the "L"
level is input.
The IR is used to store the address of the display data RAM (DD RAM) or character
generator RAM (CG RAM) and instruction code.
The IR can be written, but not be read by the microcomputer (CPU).
The DR is used to write and read the data to and from the DD RAM or CG RAM.
The data written to DR by the CPU is automatically written to the DD RAM or CG RAM
as an internal operation.
When an address code is written to IR, the data (of the specified address) is automatically
transferred from the DD RAM or CG RAM to the DR. Next, when the CPU reads the DR,
it is possible to verify DD RAM or CG RAM data from the DR data.
After the writing of DR by the CPU, the next adress in the DD RAM or CG RAM is selected
to be ready for the next CPU writing.
Likewise, after the reading out of DR by the CPU, DD RAM or CG RAM data is read out
by the DR to be ready for the next CPU reading.
Write/read to and from both registers is carried out by the READ/WRITE (R/W) pin.
Table 1 RS and R/W pins functions
R/W
L
HLRead of busy flag (BF) and address counter (ADC)
LHDR write
HHDR read
RSFunction
LIR write
Busy Flag (BF)
When the busy flag is at "H", it indicates that the MSM6222B-xx is engaged in internal
operation.
When the busy flag is at "H", any new instruction is ignored.
When R/W = "H" and RS = "L", the busy flag is output from DB7.
New instruction should be input when busy flag is "L" level.
When the busy flag is at "H", the output code of the address counter (ADC) is undefined.
Address Counter (ADC)
The address counter (ADC) allocates the address for the DD RAM and CG RAM write/read
and also for the cursor display.
When the instruction code for a DD RAM address or CG RAM address setting is input to IR,
after deciding whether it is DD RAM or CG RAM, the address code is transferred from IR
to ADC. After writing (reading) the display data to (from) the DD RAM or CG RAM, the
ADC is incremented (decremented) by 1 internally.
The data of the ADC is output to DB0 - DB6 on the conditions that R/W = "H", RS = "L", and
BF = "L".
13/45
MSM6222B-xx¡ Semiconductor
)
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 RAM, CG RAM, and CG
ROM.
It is designed so that the internal operation caused by accessing from the CPU will not
interfere with the internal operation caused by LCD driving. Consequently, when data is
written from the CPU to DD RAM, 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 RAM (DD RAM)
This RAM is used to store display data of 8-bit character codes (see Table 2).
DD RAM address corresponds to the display position of the LCD. The correspondence
between the two is described in the following.
DD RAM address (set to ADC) is expressed in hexadecimal notation as shown below:
ADC
(Example)
When DD RAM
address is 2A
DB
6
Hexadecimal notationHexadecimal notation
HLHLH
2A
DB
LSBMSB
0
LL
(1) Correspondence between address and display position in the 1-line display mode
First
digit
MSBLSB
2023034045
00
01
794F80
4E
Display position
DD RAM address (hex.)
• When the MSM6222B-xx alone is used, up to 8 characters can be displayed from the
first to eighth digit.
First
digit
2023034045056067078
00
01
When the display is shifted by instruction, the correspondence between the LCD
display position and the DD RAM address changes as shown below:
First
(Display
shifted
to right)
(Display
shifted
to left
digit
First
digit
2013024035046057068
00
4F
2033044055066077088
02
01
14/45
Loading...
+ 31 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.