128XRGBX82 OUTPUT LCD DRIVER IC
with built-in RAM
■
INSTRUCTION
HM17CM256 is a dot-Matrix LCD drive IC with 82
commons (80 + 2 icons) and 384 segments (128 X
RGB) drive ports for 256 colors driving.
This IC stores the serial or parallel BIT data
transferred by the microcomputer on the built-in
RAM (81,920 bits for graphic + 2048 bits for icons)
and generates the signals to drive LCD panel.
Color graphic display is achieved by selecting 8
gray (256 color) levels out of 32 gray palettes
independently.
This IC is suitable for battery-operated system,
hand-carrying information equipment by ensuring
low power consumption, low power supply (1.7V ~ )
and a wide range of operating voltage.
And 164 x 128 display (maximum) is possible with
master and slave application.
■
FEATURES
256 color bitmap LCD driver
LCD drive outputs 128×RGB segments, 80 commons for graphic and 2 commons for icons
Display RAM capacity 81,920bits (for graphic usage)
2,048bits (for icon usage)
Gradation display 8 gradations can be selected from 32 gradations by PWM control
Black/White display 82 × (128 × 3) bits display is possible
8 bit BUS interface directly connectable with 68 / 80 series CPU
RAM data length 8 BIT / 16 BIT selectable
Serial interface available
Programmable duty / bias ratio with command
Various instruction set
display data read/write, display ON/OFF, positive/negative display, page address set
display start line address set, partial display, bias select,
column address set, all display ON/OFF, boosting selection, n line inversion mode
read modified write, power save …
Built-in voltage booster (programmable) : 7 × boosting
Built-in voltage regulator
Controllable contrast with built-in electric volume (128 steps)
Low current consumption
Logic supply 1.7V ~ 3.3V
LCD drive supply 5.0V ~ 18.0V
C-MOS silicon process
Package bumped chip / bare chip
Preliminary Specification(0.3)
PAD LAYOUT
note 1) The (L) (R) (C) mark after port name is internally shorted.
note 2) DMYport is opened electrically.
chip center : X= 0
µµ
m, Y= 0µµm
chip size : with scribe lane : 19.84mm x 2.48mm ,
main chip : 19.74mm x 2.38mm
chip thickness : 625µµm ±± 25µµm
bump size : 100µµm x 32µµm, 100µµm x 80µµm
bump pitch : 50µµm(Min)
bump height : 18 ±± 3µµm
bump material : Au
align mark appearance and size
a : 30µµm
b : 6µµm
c : 120µµm
d : 27µµm
coordinates of align marks
(X= - 9732µµm, Y= -1052µµm)
(X= 9732µµm, Y= -1052µµm)
All sorts of PAD open
1. open size (e, f)=(66, 86)
17~118
2. open size (e, f)=(18, 86)
1~16, 119~596
Original point mark of left picture is presented
at the table of pad coordinates.
■
PAD coordinates 1
chip size 19840µm x 2480µm ( chip center : 0µm x 0µm )
■
PAD coordiantes 2
chip size 19840µm x 2480µm ( chip center : 0µm x 0µm )
PAD coordinates 3
chip size 19840µm x 2480µm (chip center : 0µm x 0µm )
■
PAD coordinates 4
chip size 19840µm x 2480µm (chip center : 0µm x 0µm )
D
$
%
S
"
T
T
'
+
(
)
)
"
'
*
*
"
'
G
&
"
*
'
R
D
+
+
(
)
()
)
)
"
"
'
'
*
*
*
"
)
*
#$
%
#$
!&
"
)
"
'
'
H I J K L M N O P Q H N
, - . / 0 1 2 , 1 3 1 4 1 5
6
, , 4 1 5 7
6 = > = >
8 9 : ; : < ;
- @ A B , 1 3 1 4 1 5
6
/ C 4 1 5 7
8 9 : ; 9 ;
7 ? - 3
9
6 = > = >
7 ? - 3
9
!"
()
)
"
'
*
*
"
)
#$
"
)
'
D
R
)
*E
(F
&
!"
*
&
(
'
#$%
!"
!&
"
"
'
'
G
&
"
*
'
■
POWER CIRCUIT BLOCK DIAGRAM
R
D
U
D
D
W
D
W
W
This pin is internally connected to VDD pin.
This pin is used when the voltage of each input pin is fixed to
VDD level.
caution) Do not use to main power pin.
This pin is internally connected to VSS pin.
This pin is used when the voltage of each input pin is fixed to
VSS level.
caution) Do not use to main power pin.
70,71,115,116
72,73
74,75
76,77
78,79
LCD driver supply voltage
•
LCD driver power supply port when external power supply
is used. When external power is used, voltages should
have following relations.
VSS<V4<V3<V2<V1<V
LCD
•
V
LCD
, V1~V4 voltages are generated by voltage booster at
master mode operation under power circuit ON.
•
When internal power supply is used, capacitors must be
connected between V
LCD
, V1~V4 and VSS.
Capacitor connection pin for voltage converter
Capacitor connection pin for voltage converter
Capacitor connection pin for voltage converter
Capacitor connection pin for voltage converter
Capacitor connection pin for voltage converter
Capacitor connection pin for voltage converter
Reference voltage output pin for voltage regulating.
Reference voltage input pin for voltage regulating.
Voltage supply pin for boosted voltage generation.
VDD level at normal status.
Internal DC/DC converter output pin.
Voltage regulator output pin.
Reset pin
Reset when RES= “L”
•
When parallel interface is selected (P/S=”H”), data line is
connected to MPU data bus with 8bit bi-directional bus
•
When serial interface is selected (P/S=”L”),
D0 and D1(SCL, SDA) are used as serial interface pins
and various sets are taken by serial interface use mode of
D2, D3, D4.
SDA : serial data input pin
SCL : data transfer clock
EXCS : extension chip selection I/O pin
SMODE : serial transfer mode setting input pin
SPOL : RS polarity selection pin when 3 line serial interface is
selected.
SDA data is shifted at the rising edge of SCL
Internal serial/parallel conversion into 8-bit data occurs at the
rising edge of 8th clock of SCL.
Set to “L” after data transfer or during non-access time
D8,D9,D10,D11,
D12,D13,D14,D15
Connect to data bus to MPU with 8bit bi-directional bus.
Used as MSB 8bit data bus in the 16bit data RAM transfer
mode
Set to “L” or “H” when not used.
Chip selection pin.
Data in-out is possible when CS = “L”.
Input data selection pin.
Distinguish bus data from CPU whether instruction or display
data.
<80 series CPU interface (P/S=”H”,SEL68=”L”)>
RD signal connection port of 80 series CPU.
Data bus goes to output state at RD = “L”.
<68 series CPU interface (P/S=”H”,SEL68=”H”)>
Enable signal connection port of 68 series CPU.
Active status when this signal is at “H”.
<80 series CPU interface (P/S=”H”,SEL68=”L”)>
WR signal connection port of 80 series CPU.
Active at “L” and data bus signal is taken at the rising edge
of WR.
<68 series CPU interface (P/S=”H”,SEL68=”H”)>
Read write control signal , R/W connection port of 68-
series MPU.
FUNCTION
CPU interface selection port
Serial / parallel interface selection port
P/S = “L” :serial interface selection ,D15~D5 goes to Hi-Z
state. Fix RD, WR to “H” or “L”.
Test port.
Fix to ”L”.
Latching signal pin of display data.
Display line counter is counted up at the rising edge and LCD
driving signal is generated at the falling edge
LCD synchronous signal (first line marker) I/O pin.
Display start address is loaded in the display line counter at
FLM = “H”.
Alternated display signal of LCD driver output I/O pin.
Master / slave mode selection pin
Fix to “H” or “L” according to operating mode.
X
FUNCTION
Segment drive port
Segment output from display RAM data
The output level is selected among V
LCD
, V2, V3, VSS by the
combination of FR signal and RAM data
(B/W mode)
SEGA0~SEGA
127
,
SEGB0~SEGB
127
,
SEGC0~SEGC
127
SEGSA0~SEGSA3,
SEGSB0~SEGSB3,
SEGSC0~SEGSC3
Dummy segment driver output
Located at both side of segment drivers, used for edge
display.
Common driver output
The output level is selected among V
LCD
, V1, V4 and VSS by
the combination of FR and scan data.
162~137,
132~119,
568~594,
3~15
Common drive output for icon display
Common drive output for icon display
External reference clock input pin
Open when using internal oscillator clock or used as slave
device.
In this case, OSC1 goes to VSS level.
Connect external oscillating source to OSC1 port or connect
resistor between OSC1 and OSC2 when using external
oscillator.
Input / output pin for display timing clock
Output clock from master device is applied to slave chip
through CLK pin when used as master / slave mode.
*input from master chip’s CLK output
(port No. 1,2,133,134,135,136,170,171,172,173,558,559,560,561,595,596 is dummy port.)
■
FUNCTION DESCRIPTION
(1) CPU interface
(1-1) Selection of interface type
HM17CM256
receives data through 8 bit parallel I/O(D0~D7)
16 bit parallel I/O(D0~D15) or
divided into serial data input (SDA, SCL). Parallel or serial selection is decided by P/S pin setting.
Parallel or serial selection is possible as following table.
Reading out from internal register or RAM is not possible at serial interface mode.
TABLE
caution 1) “-” mark item : Fix to ”H” or ”L”
(1-2) Parallel input
In the parallel interface mode selected by P/S port, parallel data is transferred from the
8bit/16bit MPU through data bus. SEL68 port setting makes 80-series or 68-series interface
selection
TABLE
(1-3) Data identification
Combinations of RS, RD, and WR signals identify contents of 8bit data bus.
TABLE
Read out from internal register
Write in to internal register
(1-4) Serial interface
2 types of serial interface (3 line type mode, 4 line type mode) are available by selecting
SMODE pin.
TABEL
Y
(1-5) 4 line type serial interface
4 line serial interface by SDA and SCL is possible at chip selection state (CS=”L”)
When chip is not selected, internal shift register and counter are reset to initial value.
Serial input data from SDA are latched at the rising edge of serial clock (SCL) in the sequence
of D7,
, D1, D0 and converted into 8-bit parallel data at the rising edge of 8th serial clock.
Serial data (SDA) are identified to display data or command by RS input.
TABLE
Make serial clock (SCL) “L” at the non-access period and after 8bit data transfer.
SDA and SCL signals are sensitive to external noise. To prevent mal-function, chip selector
state should be released (CS = “H”) after 8bit data transfer as shown in the following figure.
4 line serial interface
(1-6) 3 line type serial interface
3-line serial interface by SDA and SCL is possible at chip selection state (CS=”L”)
When chip is not selected, internal shift register and counter are reset to initial value.
Input data from SDA are latched at the rising edge of serial clock (SCL) in the sequence of RS,
D
7
, ,D1, D0, and converted to 8bit parallel data and handled at the rising edge of 9th serial
clock.
Serial data (SDA) are identified to display data or command by RS bit data at the rising of first
serial clock (SCL) and state of command data bit polarity shift pin (SPOL).
TABLE
Z
[
Serial clock (SCL) should go to “L” at the non-access period and after 9bit data transfer.
SDA and SCL signals are sensitive to external noise. To prevent miss operation chip
selector state should be released (CS = “H”) after 9bit data transfer as shown in the following
figure
.
3line serial interface
(1-7) One systematization of CS when serial interface is selected
In the multi-chip operation (master/slave) mode with serial I/F connection, one CS signal
controls two chips to reduce control signal.
Connect extended chip selection port (EXCS) of master chip to EXCS port ( input at slave
device and output at master device mode ) of slave chip.
When EXCS is “L”, master chip cannot accept command except for EXCS control; at this
point, only slave chip can be controlled.
Slave device control is possible when CS = “L” period within EXCS = “L” state.
EXCS: expand CS signal ( input port )
Master device : output port
Slave device : input port
P/S: parallel . serial selection port
M/S: master . slave selection port
SMODE=0: 4 line serial I/F
SMODE=1: 3 line serial I/F
SMODE: serial I/Fmode selection port
Access display RAM at SPOL=0:RS=0
Access display RAM at SPOL=1:RS=1
SPOL:command data bit polarity selection port
At 3 line serial I/F mode
(2) DDRAM and internal register access
DDRAM and internal register are accessed by data bus D0~D7(D0~D15), chip select pin (CS),
DDRAM / register select pin (RS), read / write control pin (RD) or WR pin.
When CS=“H”, it is in non-selective state and DDRAM and internal register access is impossible.
During access, Set CS=“L”.
Access selection to DDRAM or internal register is controlled by RS input.
TABLE
Internal command register
Write process starts after address setting and then the data on the 8bit data bus D0~D
7
or 16bit
data bus D0~D15 will be written in by CPU. The data is written at the rising edge of WR (80 series) or
falling edge of E (68 series).
Internally, bus holder data is processed to data bus and data are written to bus holder from CPU
until next cycle.
After address setting, data of assigned address are read at the 1st and 3rd clock, which means it
needs dummy read at the 2nd clock.
There are rules at reading data out of display RAM, after address setting, the data of assigned
address is shown directly after the end of the read command, so pay attention that assigned data is
available at 2nd timing step.
In other words, 1 cycle dummy read is needed after address setting and write cycle.
DATA WRITE IN OPERATION
DATA READ OUT OPERATION
caution) When 16 bit mode, do write in and read out by 16 bit not only RAM access but also command
setting.
\]^
_`
]a
b
(3) Read out of internal register
Read out is possible not only from DDRAM, but also from the internal register. Addresses for
read (0~FH) are allocated in each register.
Read out is executed after writing read-out register address to internal register.
Internal register read out sequence
When register is read out, upper 4 bit data are “1111”.
Non-used bits of active registers are “0”.
When non-used registers are read out, upper 4 bits are “1111” and lower 4 bits are “0000”.
(4) 16 bit data access to DDRAM
It is possible to write in DDRAM by 16-bits access with the data of 16 bits data bus D0~D15.
16 bits data access mode is possible by setting the value of WLS register to “1”.
TABEL
Each command should be set to 8-bits(D0~D7) as well as to 16-bit access mode.
16-bit access is available at display RAM access.
(5) Display start line register
When displaying the DDRAM data, it is the contents of Y address register that is corresponding to
display start line.
The data of Y address is displayed on the display start line depending on the value of the shift
command register and the display start line register.
The data of this register are preset to the display line counter per FLM signal transition.
Line counter is counted up in synchronization with CL input and generates line address that read
out 384bit data from DDRAM to LCD driver circuit.
Address set
for
register read
Address set
for
register read
Internal register read address set
set RE of register to be read out
(6) DDRAM addressing
This IC includes display memory Bit mapped that is composed of 1024 bit of X direction
(8bit×128) and 82bit of Y direction.
In gray mode, neighboring 3-bit data or 2-bit data are displayed by segment driver with 8 grays or
4 grays, respectively.
3 outputs of segment driver compose 1 pixel of RGB and 128×82 pixels are displayed with 256
color (8gray×8gray×4gray).
Address area of X direction is varied according to accessed data length. The area of X direction
is 0H~7FH at 8bit access mode and 0H~3FH at 16bit access mode.
•
8BIT access
In the Black & white mode, the MSBs of 3 bit and 2 bit corresponding with RGB are used to
display data. And so, 128x82 dot gray display or 384 x 82 B/W mode display is possible.
Display RAM is accessed with X address and Y address from CPU by 8 bit or 16 bit unit.
X address and Y address can be increased automatically by setting status of control register.
The address is increased per every read and write of display RAM by CPU. ( Please see detail
description at command function.)
X direction is selected by X address and Y direction is selected by Y address. Please do not set
the address on non-effective area and it is forbidden to set address on outside area in each case.
384bit display data of Y direction are read out to display latch at rising edge of CL signal per 1 line
cycle and this data comes out from display latch at falling edge of CL signal.
Display start line address register is preset to line counter at “H” state of FLM signal which changes
per one frame cycle and the address is counted up with synchronized CL input.
Display line address counter is synchronized by timing signals of LCD driver, and it operates
independently with X, Y address counters.
(7) Window address assign of display RAM
This IC can be accessed to display RAM by window area designation in addition to access to
display RAM designated by X and Y address.
Through address space of all display address, specific area of RAM can be accessed by
designated two points.
The start point of two point addresses is assigned by normal X address and Y address register and
the end point of them is done by X end address and Y end address register value. Designated
inner addresses depend on WLS bit.
Read modified write action can be taken by AIM=“1”.
In case of using window area accessing mode, you must set start point X address, Y address in
sequence and end point X address, Y address in sequence after executing Win command (WIN=“1”,
auto increase mode AXI=“1”, AYI=“1”) and then access to Display RAM.
And set start point and end point not to be designated to access the outside of available address
area. Address set value should be taken to set AX ≤ EX ( end point of X address ) and AY≤EY
( end point of Y address ).
(X, Y)
address designation
end address designation
Window display area
(X, Y)
All display RAM area
(8) display RAM data and LCD
Display RAM data related with one dot of LCD is dependent on REV register. Normal display and
reverse display by REV register are set up as follows.
TABLE
(9) Segment display output order/reverse set up
The order of display outputs, SEGA0, SEGB0, SEGC0 to SEGA
127
, SEGB
127
, and can be reversed
by reversing access to display RAM from MPU by using REF register, lessen the limitation in placing
IC when assembling an LCD panel module.
(10) Relation between Display RAM and address
•
RAM address and bitmap
COLOR / 16 BIT MODE
X address / bit / segment assign
X address / bit / segment assign
X address / bit / segment assign
X address / bit / segment assign
c c
c c
d d
d d
d d
e e
e e
d d
d d
d d
e e
e e
d d
d d
d d
e e
e e
d d
d d
d d
BLACK & WHITE / 16 BIT MODE
X address / bit / segment assign
X address / bit / segment assign
BLACK & WHITE / 8 BIT MODE
X address / bit / segment assign
X address / bit / segment assign
f f
f f
g g
g g
f f
f f
g g
g g
f f
f f
g g
g g
f f
f f
g g
g g
•
WRITE IN / READ IN BITMAP ( 16 BIT MODE )
REF=0, SWAP=0
•
READ OUT AFTER WROTE IN DATA ( 16 BIT MODE )
REF=0, SWAP=0
1 1 1 0 0 1 0 0 1 1 1 1 0 0 1 0 (E4F2H)
1 1 1 0 0 1 0 0 1 1 1 1 0 0 1 0 (E4F2H)
1 1 1 0 0 1 0 0 1 1 1 1 0 0 1 0 (E4F2H)
0 1 0 0 1 1 1 1 0 0 1 0 0 1 1 1 (4F27H)
1 1 1 0 0 1 0 0 1 1 1 1 0 0 1 0 (E4F2H)
1 1 1 0 0 1 0 0 1 1 1 1 0 0 1 0 (E4F2H)
1 1 1 0 0 1 0 0 1 1 1 1 0 0 1 0 (E4F2H)
0 1 0 0 1 1 1 1 0 0 1 0 0 1 1 1 (4F27H)
•
WRITE IN / READ IN BITMAP ( 8 BIT MODE )
REF=0, SWAP=0
•
READ OUT AFTER WROTE IN DATA ( 8 BIT MODE )
REF=0, SWAP=0
•
DUMMY SEGMENT REGISTER ADDRESS AND BITMAP
COLOR / 16 BIT MODE
X address / bit segment assign
X address / bit segment assign
X address / bit segment assign
X address / bit segment assign
•
BLACK 7 WHITE / 16 BIT MODE
X address / bit segment assign
X address / bit segment assign
•
BLACK & WHITE / 8 BIT MODE
X address / bit segment assign
X address / bit segment assign
(11) display data structure and gradation control
For the purpose of gradation control, information per pixel requires multiple bits. This IC has 3 bit
or 2 bit data per output to achieve the gradation display.
This IC is connected to an STN color LCD panel by three segment port units and one pixel consists
of three outputs of segment driver, and so 256 color ( 3 bits x 3 bits x 2 bits ) display on 128 x 82
pixels is realized.
Since one pixel data can be processed by one time access to memory, the data can be rewritten
fast and naturally.
The weight of each data bit is dependent on the status of SWAP register bit and REF register
when data is written to the display RAM.
•
ACCESS when (REF, SWAP)=(0, 0) or (1, 1)
notice) internal access X address :nH~7FH (access when REF=”0”)
:7FH~nH (access when REF=”1”)
•
ACCESS when (REF, SWAP)=(0, 1) or (1, 0)
notice) internal access X address :nH~7FH (access when REF=”0”)
:7FH~nH (access when REF=”1”)
Gradation
control circuit.
Gradation
control circuit
h i j k
When display RAM is accessed by 16 bit data width, the weight of each data bit is dependent on
the status of SWAP register and REF register, the same method as 8 bit access
•
ACCESS when (REF, SWAP)=(0, 0) or (1, 1)
notice) internal access X address :nH~3FH (access when REF=”0”)
:3FH~nH (access when REF=”1”)
•
ACCESS when (REF, SWAP)=(0, 1) or (1, 0)
notice) internal access X address :nH~3FH (access when REF=”0”)
:3FH~nH (access when REF=”1”)
1 0 0 0 0 0 1 1 1 1 0 1 1 1 1 0 0
0 0 0 0 1 1 1 1 0 0 SEGBi+1
Graydation
control ciruit
1 0 0 0 0 0 0 0 0 1 1 1 1 0 1 1 1 1 0 0 0