■ Fully Integrated Oscillat or requires no ex ternal
components
■ CMOS Compatible Inputs
■ Fully Integrated Configurable LCD bias voltage
generator with:
• Selectabl e
multiplication factor (up to 6X)
• Effective sensing for High Precision Output
• Eight selectable temperature compensation
coefficients
■ Designed for chip-on-glass (COG) applications
Figure 1. Block Diagram
■ Low Power Consumption, suitable for battery
operated systems
■ Logic Supply Voltage range from 1.7 to 3.6V
■ High Voltage Generator Supply Voltage range
from 1.75 to 4.2V
■ Display Supply Voltage range from 4.5 to 11V
■ Backward Compatibility with STE2001
DESCRIPTION
The STE2002 is a low power CMOS LCD controller
driver. Designed to drive a 81 rows by 128 columns
graphic display, provides all necessary functions in a
single chip, including on-chip LCD supply and bias
voltages generators, resulting in a minimum of externals components and in a very low power consumption. The STE2002 features three standard interfaces
(Seria l, P ar allel & I
host
m
controller.
Bumped WafersSTE2002DIE1
Bumped Dice on Waffle Pack
CIRCUIT DESCRIPTION
Supplies Voltages and Gro un ds
is supply voltages to the internal voltage generator (see below). If the internal voltage generator is
V
DD2
not used, this should be c onnected to V
could be different form V
DD2
.
Internal Supply Voltage Ge nerator
The IC has a fully integrated (no external capacitors required) charge pump for the Liquid Crystal Display
supply voltage generation. The multiplying factor can be programmed to be: Auto, X6, X5, X4, X3, X2, using the ’set CP Multiplication’ Command. If Auto is set, the multiplying factor is automatically selected to
have the lowest current consumption in every condition. This make possible to have an input voltage that
changes over time and a constant V
the V
LCDSENSE
pad. For this voltage, eight different temperature coefficients (TC, rate of change with tem-
LCD
perature) can be programmed using th e bits TC1 and TC0 and T2,T1 & T0. This will ensure no cont rast
degradation over the LCD operating range. Using the internal charge pump, the V
must be connected together. An external supply could be connected to V
using the internal generator. In such event the V
the internal voltage generator must be programmed to zero (PRS = [0;0], Vop = 0 - Reset condition).
Oscillator
A fully integrated oscillator (requires no externa l com ponen ts) is presen t to provi de t he clock f or t he Display System. When u sed the O SC pad must be connec ted to V
used and fed into the OSC pin. An oscillator out is provided on the OSCOUT Pad to cascade two or more
drivers
Bias Levels
To properly drive the LCD, six (Including VLCD and VSS) different voltage (Bias ) levels are generated.
The ratios among these levels and VLCD, s hould be selected acc ording to the MUX ratio (m). They are
established to be (Fig. 4):
DD1
pad. V
supplies the rest of the IC. V
DD1
voltage. The output voltage (V
LDCOUT
and V
LCDSENSE
DD1
supply voltage
DD1
LCDOUT
) is tightly controlled through
and V
LCDIN
to supply the LCD without
LCDIN
LCDOUT
pads
must be connected to GND and
pad. An external oscillator could be
LCD
n3+
,
------------ - V
n4+
LCD
n2+
,
------------ - V
n4+
LCD
Figure 4. Bias level Generator
R
R
nR
R
R
thus providing an 1/(n+4) ratio, with n calculated from:
nm3–=
For m = 81, n = 6 and an 1/10 ratio is set.
For m = 65, n =5 and an 1/9 ratio is set.
2
,
------------ - V
n4+
V
LCD
n + 3
·V
LCD
n + 4
n + 2
·V
LCD
n + 4
2
·V
LCD
n + 4
1
·V
LCD
n + 4
V
SS
D00IN115
LCD
1
,
------------ - V
n4+
LCD,VSS
6/51
STE2002
The STE2002 provides three bits (BS0, BS1, BS2) for programming the desired Bias Ratio as shown below:
BS2BS1BS0n
0007
0016
0105
0114
1003
1012
1101
1110
The following table Bias Level for m = 65 and m = 81 are provided:
Symbolm = 65 (1/9)m = 81 (1/10)
V1V
V28/9*V
V37/9*V
V42/9*V V
V51/9 *V
V6V
LCD
SS
LCD
LCD
LCD
LCD
V
LCD
9/10*V
8/10*V
2/10*V
1/10*V
V
SS
LCD
LCD
LCD
LCD
LCD Voltage Generation
The LCD Voltage at reference temperature (To = 27°C) can be set using the VOP register content according to
the following formula:
Note that the three PRS values produce three adjacent ranges for VLCD. If the V
register and PRS bits are
OP
set to zero the internal voltage generator is switched off.
The proper value for the VLCD is a function of the Liquid Crystal Threshold Voltage (Vth) and of the Multiplexing
Rate. A general expression for this is:
1m+
----------------------------------- - V
V
LCD(to)
op
-----------------------------------------=
V
⋅=
th
1
⋅
21
-------- -–
m
= 6.85 · V
th
6.85 VthAi–⋅()
0.03
For MUX Rate m = 65 the ideal V
than:
LCD
is:
V
LCD
7/51
STE2002
Temperature Coefficient
As the viscosity, and therefore the contrast, of the LCD are subject to change with temperature, there's the need
to vary the LCD Voltage with temperature. The STE2002 provides the possibility to change the VLCD in a linear
fashion against temperature with eight different Temperature Coefficient selectable through the T2, T1 and T0
bits. Only four of them are available with basic instruction set (TC1 & TC0 Bits).
voltage at a given (T) temperature can be calculated as:
LCD
A
7Fh 00h 01h 02h
(T) = V
V
LCD
03h 04h
05h …. 7Ch
PRS = [0;1]
o · [1 + (T-To) · T C]
LCD
7Dh 7Eh 7Fh
2
A
00h 01h 02h 03h 04h
05h 7Ch
….
PRS = [1;0]
7Dh 7Eh 7Fh
O
V
STE2002
Display Data RAM
The STE2002, provides an 104X128 bits Static RAM to store Display da ta. This is organized into 13
(Bank0 to Bank12) banks with 128 Bytes. One of these banks (128 bits wide) can be used for Icons. RAM
access is accomplished in either one of the Bus Interfaces provided (s ee bel ow). Allowed address es are
X0 to X127 (Horizontal) and Y0 to Y12 (Vertical).
When writing to RAM, four addressing mode are provided:
• Normal Horizontal (MX=0 and V=0), having the column with address X= 0 located on the left of the memory map. The X pointer is increased after each byte written. After the last column address (X=X-Carriage), Y address pointer is set to jump to the following bank and X restarts from X=0. (Fig. 6)
• Normal Vertical (MX=0 and V=1), having the column with address X= 0 located on the left of the memory
map. The Y pointer is increased after each byte written. After th e l ast Y bank address (Y =Y-Carriage ),
X address pointer is set to jump to next column and Y restarts from Y=0 (Fig. 7).
• Mirrored Horizontal (MX=1 and V=0), having the column with address X= 0 located on the right of the
memory map. The X pointer is increased af ter each byte written. After the last column address (X=XCarriage), Y address pointer is set to jump to the next bank and X restarts from X=0 (fig. 8).
• Mirrored Vertical (MX=1 and V=1), having the column with address X= 0 located on the right of the memory map. The Y pointer is increased after each byte written. After the last Y bank address (Y=Y-Carriage), the X pointer is set to jump to next column and Y restarts from Y=0 (fig. 9).
After the last allowed address (X;Y)=(X-Carriage; Y-Carriage), the address pointers always jump to the
cell with address (X;Y) = (0;0) (Fi. 10, 11, 12 & 13).
Data bytes in the memory could have the MSB either on top (D0 = 0, Fig.14) or on the bottom (D0=1, Fig.
15).
The STE2002 provides also means to alter the normal output addressing. A mirroring of the Display along
the X axis is enabled setting t o a l ogic one MY bit.This function does n't af fect t he cont ent of the me mory
RAM. It is only related to the visualization process.
When ICON MODE=1 the Icon Row is not mirrored with MY and is not scrolled. When ICON Mode=0 the
Icon Row is like the other graphic lines and is mirrored and scrolled.
Four are the multiplex ratio avai lable when the partial d isplay mode is disabled (MUX 33 , MUX 49, MUX
65 and MUX 81).
Only a subset of writable rows are output on Row drivers.
When Y-Carriage<MUX/8, if Mux 65 is selected only the first 65 m emory r ows are v isualized, if Mux 49 i s
selected only the first 49 memory rows are visualized, if Mux 33 is selected only the first 33 memory rows
are visualized. All unused Row and Column drivers must be left floating.
When Y-Carriage<MUX/8, the icon Bank i s located t o B A NK 10 in MUX 81 Mode, to BANK8 i n M U X 65
Mode, to BANK 6 in MUX 49 Mode and to BANK 4 in MUX 33 Mode.
When Y-Carriage>MUX/8 lines only 33, 49, 65 or 81 lines are visualized but it is possible to select which
lines of DDRAM are connected on the output drivers. The DDRAM rows to visualized can be sel ected in
the 0-Y-Carriage*8 range using the scrolling function.
When Y-Carriage>MUX lines, the icon row is moved in DDRAM to the first row of the Y-CARRIAGE Return BANK even if it is always connected on the same output Driver.
When MY=0, the icon Row is output on R80 in mux 81 mode, on R72 in MUX 65, on R64 in MUX49 and
on R56 in MUX 33.
When MY=1, and ICON MODE=1, the icon Row is output on R80 in mux 81 mode, on R72 in MUX 65, on
R64 in MUX49 and on R56 in MUX 33.
When MY=1, and ICON MODE=0, the icon Row is output on R0 whatever is the MUX Rate.
When ICON MODE =1, the Memory ICON Row content is output on ICON Pad.
If Not Used ICON Pad must be left floating.
9/51
STE2002
Figure 6. Auto m at ic da ta RAM wri t in g sequence with V=0 and Data RAM N or m a l Form a t ( MX= 0 )1
BANK 0
BANK 1
BANK 2
BANK 3
BANK 4
BANK 5
BANK 6
BANK 7
BANK 8
BANK 9
BANK 10
BANK 11
BANK 12
0123124125126127
Figure 7. Auto m at ic da ta RAM wri t in g sequence with V=1 and Data RAM N or m a l Form a t ( MX= 0 )
BANK 0
BANK 1
BANK 2
BANK 3
BANK 4
BANK 5
BANK 6
BANK 7
BANK 8
BANK 9
BANK 10
BANK 11
BANK 12
0123124125126127
Figure 8. Automatic data RAM writing sequence with V=0 and Data RAM Mirrored Format (MX=1)
1
1
127 126 125 1243 21 0
BANK 0
BANK 1
BANK 2
BANK 3
BANK 4
BANK 5
BANK 6
BANK 7
BANK 8
BANK 9
BANK 10
BANK 11
BANK 12
Figure 9. Automatic data RAM writing sequence with V=1 and Data RAM Mirrored Format (MX=1)1
BANK 0
BANK 1
BANK 2
BANK 3
BANK 4
BANK 5
BANK 6
BANK 7
BANK 8
BANK 9
BANK 10
BANK 11
BANK 12
1. X Carriage=127; Y-Carriage = 12
127 126 125 1243 2 1 0
10/51
Figure 10. Automatic data RAM writing sequence with X-Y Carriage Return (V=0; MX=0)
STE2002
BANK 0
0123
BANK 1
BANK 2
Y CARR
BANK 11
BANK 12
X CARR
124 125 126 127
Figure 11. Automatic data RAM writing sequence with X-Y Carriage Return (V=1; MX=0)
BANK 0
0123
BANK 1
BANK 2
Y CARR
BANK 11
BANK 12
X CARR
124 125 126 127
Figure 12. Automatic data RAM writing sequence with X-Y Carriage Return (V=0; MX=1)
X CARR
BANK 0
BANK 1
BANK 2
Y CARR
BANK 11
BANK 12
0
123124125126127
Figure 13. Automatic data RAM writing sequence with X-Y Carriage Return (V=1; MX=1)
X CARR
BANK 0
BANK 1
BANK 2
Y CARR
BANK 11
BANK 12
0
123124125126127
11/51
STE2002
Figure 14. Data RA M Byte or ga n iza ti on with D0 = 0
MSB
BANK 0
BANK 1
BANK 2
BANK 3
LSB
BANK 4
BANK 5
BANK 6
BANK 7
BANK 8
BANK 9
BANK 10
BANK 11
BANK 12
Figure 15. Data RA M Byte or ga n iza ti on with D0 = 1
LSB
BANK 0
BANK 1
BANK 2
BANK 3
MSB
BANK 4
BANK 5
BANK 6
BANK 7
BANK 8
BANK 9
BANK 10
BANK 11
BANK 12
0
1 2 3124 125 126 127
0
1 2 3124 125 126 127
Figure 16. Memory Rows vs. Row drivers mapping with MY=0, MUX81, ICON MODE=0,1
ICON MODE=1 ICON MODE=0
R 0
R 1
R 2
R 3
R 79
R 80
ICON
Figure 17.
ROW DRIVER
ICON MODE=1
R 0
R 1
R 2
R 3
ROW DRIVERROW DRIVER
R 0
R 1
R 2
R 3
R 79
R 80
Memory Row s vs. R ow drivers m apping with MY= 0, MUX 8 1, SCRO LL POIN TER = +3, ICON MODE=1
PHYSICAL MEMORY ROW
ROW 0
ROW 1
ROW 2
ROW 3
PHYSICAL MEMORY ROW
0
ROW 0
ROW 1
ROW 2
123124 125 126 127
ROW 3
ROW 79
ROW 80
0
123124 125 126 127
Y-CARRIAGE
ICON ROW
12/51
R 76
R 77
R 78
R 79
R 80
ICON
ROW 79
ROW 80
Y-CARRIAGE
ICON ROW
STE2002
Figure 18. Memory Rows vs. Row drivers mapping with MY=0, MUX 81, SCROLL POINTER=+3, ICON MODE=0
ROW DRIVER
ICON MODE=0
R 0
R 1
R 2
R 3
PHYSICAL MEMORY ROW
0
ROW 0
123124 125 126 127
ROW 1
ROW 2
ROW 3
Y-CARRIAGE
R 76
R 77
R 78
R 79
R 80
ROW 79
ROW 80
ROW 161
ICON ROW
ICON
Figure 19. Memory Rows vs. Row drivers mapping with MUX 65 Y-CARRIAGE<=8 SCROLL POINTER=0, ICON MODE=1
ROW DRIVER
R 0
R 30
R 31
N.C.
R 40
R 71
PHYSICAL MEMORY ROW
0
ROW 0
ROW 1
ROW 31
ROW 32
ROW 63
ROW 64
123124 125 126 127
Y-CARRIAGE
ICON ROWR 72
N.C.
R 79
R 80
ICON
ROW 96
Figure 20. Memory Rows vs. Row drivers mapping with MUX65, Y-CARRIAGE>8, SCROLL POINTER=0, ICON MODE=1
ROW DRIVER
N.C.
N.C.
R 0
R 31
R 32
R 40
R 71
R 72
R 79
R 80
ICON
PHYSICAL MEMORY ROW
0
ROW 0
ROW 31
ROW 32
ROW 63
ROW 75
ROW 76
ROW 96
123124 125 126 127
ICON ROW
Y-CARRIAGE
13/51
STE2002
Figure 21. Memory Rows vs. Row drivers mapping with MUX65, Y-CARRIAGE>8, SCROLL POINTER=3, ICON MODE=1,
ROW DRIVER
N.C.
N.C.
R 0
R 30
R 31
R 40
R 71
R 72
R 79
R 80
ICON
PHYSICAL MEMORY ROW
0
ROW 0
ROW 1
ROW 2
ROW 33
ROW 34
ROW 66
ROW 75
ROW 76
ROW 96
123124 125 126 127
ICON ROW
Y-CARRIAGE
Figure 22. Memory Rows vs. Row drivers mapping with MY=1, MUX81, ICON MODE 0,1 SCROLL POINTER=0
ROW DRIVER
ICON MODE=1
R 79
R 78
ROW DRIVER
ICON MODE=0
R 80
R 79
PHYSICAL MEMORY ROW
0
ROW 0
ROW 1
ROW 2
ROW 3
123124 125 126 127
Y-CARRIAGE
R 2
R 1
R 0
R 80
ICON
R 3
R 2
R 1
R 0
ICON
ROW 79
ROW 80
ICON ROW
Figure 23. Memory Rows vs. Row drivers mapping with MY=1, MUX81, SCROLL OFFSET= +3, ICON MODE =0
ROW DRIVER
ICON MODE=0
R 80
R 78
R 79
R 77
R 76
R 1
R 0
ICON
PHYSICAL MEMORY ROW
0
ROW 0
123124 125 126 127
ROW 1
ROW 2
ROW 3
ROW 79
ROW 80
Y-CARRIAGE
ICON ROW
14/51
STE2002
Figure 24. Memory Rows vs. Row drivers mapping with MY=1, MUX81, SCROLL OFFSET= +3, ICON MODE =1
ROW DRIVER
ICON MODE=1
R 79
R 78
R 77
R 76
PHYSICAL MEMORY ROW
0
ROW 0
123124 125 126 127
ROW 1
ROW 2
ROW 3
SCROLL OFFSET +3
R 1
R 0
R 80
ROW 79
ROW 80
ICON
Figure 25. Row Drivers vs. LCD Panel Interconnection in MUX81 Mode
R 6
R 7
R 8
R 9
R10
R11
R12
R13
R14
R15
R16
R17
R18
R19
R20
R21
R22
R23
R24
R25
R26
R27
R28
R29
R30
R31
LR0106
R32
R33
R37
R36
R38
R39
R35
R34
Two different instructions formats are provided:
- With D/C
set to LOW
commands are sent to the Control circuitry.
- With D/C
set to HIGH
the Data RAM is addressed.
Two different instruction set are embedded: the STE2001-like instruction set and the extended instruction
set. To select the STE2001-like instruction set the EXT pad has to be connected to a logic LOW (connect
to VSS). To se lect the extended instruction the EXT pad has to be connected to a logic HIGH (connect to
VDD1).
The instructions have the syntax summarized in Table 1 (basic-set) and Table 2 (extended set)
Reset (RES
)
At power-on, all internal registers are c onfigured with t he defa ult value. T he RAM content is not def ined.
A Reset pulse on RES pad (active low) re-initialize the internal registers content (see Tables 3,4,5,&6).
Applying a reset pulse, every on-going communication with the host controller is interrupted. After the
power-on, the Software Reset instruction can be used to re-load the reset configuration into the internal
registers
The Default configurations is: .
- Horizontal addressing (V = 0)
- Normal instruction set (H[1:0] = 0)
- Normal display (MX = MY = 0)
- Display blank (E = D = 0)
- Address counter X[6: 0] = 0 and Y[4: 0] = 0
- Temperature coefficient (TC[1: 0] = 0)
- Bias system (BS[2: 0] = 0)
- Multiplexing Ratio (M[1:0]=0)
- Frame Rate (FR[1:0]=”75Hz”)
- Power Down (PD = 1)
- Dual Partial Display Disabled (PE=0)
=0
- V
OP
A MEMORY BLANK instruction can be executed to clear the RAM content.
17/51
STE2002
Power Down (PD = 1)
When at Power Down, all LCD outputs are kept at V
are OFF (V
LCDOUT
output is discharged to VSS, and then is possible to disconnect V
Oscillator is in off state. An external clock can be provided. The RAM contents is not cleared.
Memory Blanking Procedure
This instruction allows to fill the memory with "blank" patterns, in order to delete patterns randomly gener-
ated in memory when starting up the device. This in struction substitutes (128X13) single "write" instructions. It is possible to program "Memory Blanking Procedure" only under the following conditions:
- PD bit = 0
The end of the procedure will be notified on the BSY_FLG
running). Any instruction programmed wi th BSY_FLG
programmed for a period equivalent to 128X13 internal write cycles (128X13X1/fclock). The start of Memory blanking procedure will be between one and two fclock cycles from the last active edge (E ri sing edge
for the parallel interface, last SCLK rising edge for the Seria l interface, last SCL rising edge for the I
interface).
Checker Board Procedure
This instruction allows to fill the memory with "checker-board" pattern. It is mainly intended to developers, who
can now simply obtain complex m odule test configuration by means of a single instruction. It is possible to program "Checker Board Procedure" only under the following conditions:
- PD bit = 0
The end of the procedure will be notified on the BSY_FLG
Any instruction programmed with BSY_FLG
LOW will be ignored, that is, no instruction can be programmed for
a period equivalent to 128X13 internal write cycles (128X13X1/fclock). The start of Memory blanking procedure
will be between one and two fclock cycles from the last active edge (E rising edge for the parallel interface, last
SCLK rising edge for the Serial interface, last SCL rising edge for the I
(display off). Bias generator and V
SS
LCDOUT
generator
LCD
). The internal
pad going HIGH (while LOW the procedure is
LOW will be ignored that is, no instruction can be
pad going HIGH, while LOW the procedure is running.
2
C interface).
2
C
Scrolling function
The STE2002 can scroll the graphics display in units of raster-rows. The scrolling function is achieved
changing the correspondenc e between t he rows of the logical memory m ap and t he output row drivers.
The scroll function doesn't affect the dat a ram conten t. It is on ly related t o the v isuali zation proc ess . The
information output on the drivers is related to the row reading sequence (the 1st row read is output on R0,
the 2nd on R 1 and so on). S c rolling means re ading th e matrix starting f rom a r ow that is sequentially increased or decreased. After every scrolling command the offset between the memory address and the
memory scanning pointer is increased or decreased by one. The offset range changes in accordance with
MUX Rate. After 80th/81th scrolling com mands in MUX 81 mode, or af ter the 64th/65th scrolling commands in mux 65 mode, or after 48nd/49rd scrolling command in MUX 49 mode, or after 32nd/33rd scrolling command in MUX 33 mode, the offset between the memory address and the memory scanning pointer
is again zero (Cyclic Scrolling).
A Reset Scrolling Pointer instruction can be executed to force to zero the offset between the memory address and the memory scanning pointer
The Icon Row is not sc rolled if I CON MODE =1. If ICON M O DE=0 t he last row is like a general purpose
row and it is scrolled as other rows.
I
f the DIR Bit is set to a logic zero the offset register is increased by one and the raster is scrolled from top
down. If the DIR Bit is set to a logic one the offset register is dec reased by one and the raster is scrolled
from bottom-up.
18/51
STE2002
MUX RATEICON MODE
MUX 3310-31ICON ROW NOT SCROOLEDR56
MUX 3300-3233 LINE GRAPHIC MATRIXR56
MUX 4910-47ICON ROW NOT SCROOLEDR64
MUX 4900-4849 LINE GRAPHIC MATRIXR64
MUX 6510-63ICON ROW NOT SCROOLEDR72
MUX 6500-6465 LINE GRAPHIC MATRIXR72
MUX 8110-79ICON ROW NOT SCROOLEDR80
MUX 8100-8081 LINE GRAPHIC MATRIXR80
OFFSET
RANGE
DESCRIPTION
ICON Row Driver with
MY=0
Dual Partial Display
If the PE Bit is set to a logic one the dual partial display mode is enabled.
Eight partial display modes are available. The offset of the two partial display zones is row by row programmable. The Icon row is accessed last in each partial display frame.
Two sets of register for the HV-generator parameters are provided (
PRS[1:0], Vop[6:0], BS[2:0], CP[2:0].
This allows switching from normal mode to partial display mode applying one instruction. The HV generator is
automatically re configured using the parameters related to the enabled mode. The parameters of the two sets
of registers with the same function are located in the same position of the instruction set. The registers related
to the normal mode are accessible when normal mode (PE=0) is selected, the others are accessible when the
partial display mode is enabled (PE=1). To Setup
PRS[1:0], Vop[6:0], BS[2:0], CP[2:0] values the instruction
flow proposed in Fig.46 must be followed. To setup Partial Display Sectors Start Address and Partial Display Mode no particular instruction flow has to be followed.
To provide the widest flexibility and ease of use the STE2002 features three different methods for interfacing
the host Controller. To select the desired interface the SEL1 and SEL2 pads need to be connected to a logic
LOW (connect to GND) or a logic HIGH (connect to VDD). All the I/O pins of the unused interfaces must be
connected to GND.
All interfaces are working while the STE2002 is in Power Down
.
SEL2SEL1InterfaceNote
00
01Serial Read and Write
10Parallel Read and Write
11Not Used
2
C
I
I2C Interface
The I2C inte rface is a fully c omply ing I2C bus specification, selectable to work in both Fast (400kHz Clock) and
High Speed Mode (3.4MHz).
This bus is intended for communication between different Ics. It consists of two lines: one bi-directional for data
signals (SDA) and one for clock signals (SCL). Both the SDA and SCL lines must be connected to a positive
supply voltage via an active or passive pull-up.
The following protocol has been defined:
- Data transfer may be initiated only when the bus is not busy.
- During data transfer, the data line must remain stable whenever the clock line is high. Changes in the data line
while t he clock line is high w ill be inte rpreted as control signals.
Accordingly, the following bus conditions have been defined:
BUS not busy:
Start Data Transfer:
Both data and clock lines remain High.
A change in the state of the data line, from High to Low, while the clock is High, define the
START condition.
Stop Data Transfer:
A Change in the state of the data li ne, from low to Hi gh, while the c lock signal is High,
defines the STOP condition.
Data Valid:
The state of the data line represents valid data when after a start condition, the data line is stable
for the duration of the High period of the clock signal. The data on the line may be changed during the Low period
of the clock signal. There is one clock pulse per bit of data.
Each data transfer is initiated with a start condition and terminated with a stop condition. The number of data
bytes transferred between the start and t he stop condit ions is not limited. The informati on i s t ransmitted by tewide and each receiver acknowledges with the ninth bit.
By definition, a device that gives out a message is called "transmitter", the receiving device that gets the signals
is called "receiver". The device that controls the message is called "master". The devices that are controlled by
the master are called "slaves"
Acknowledge.
Each byte of eight bits is followed by one acknowledge bit. This acknowledge bit is a low level
put on the bus by the receiver, whereas the master generates an extra acknowledge related clock pulse.
A slave receiver which is addressed must generate an acknowledge after the reception of each byte. Also, a
master receiver must generate an acknowledge after the reception of each byte that has been clocked out of
the slave transmitter. The device that acknowledges has to pull down the SD A_ IN line during the a cknow ledge
clock pulse. Of course, setup and hold time must be taken into account. A master receiver must signal an endof-data to the slave transmitter by not generating an acknowledge on the last byte that has been clocked out of
the slave. In this case, the transmitter must leave the data line High to enable the master to generate the STOP
Read and Write; Fast and
High Speed Mode
20/51
STE2002
condition.
Connecting SDA_IN and SDA_OUT together the SDA line become the standard data line. Having the ac-
knowledge output (SDAOUT) separated from the serial data line is advantageous in Chip-On-Glass
(COG) applications. In COG applications where the track resistance from the SDAOUT pad to the system
SDA line can be significant, a potential divider is generated by the bus pull-up resistor and the Indium Tin
Oxide (ITO) track resistance. It is possible that during the acknowledge cycle the STE2002 will not be able
to create a valid logic 0 level. By splitting the SDA input from the output the device could be used in a mode
that ignores the acknowledge bit. In COG applications where the acknowledge cycle is required, it is necessary to minimize the track resistance from the SDACK pad to the system SDA line to guarantee a valid
LOW level.
To be compliant with the I2C-bus Hs-mode specification the STE2002 is able to detect the speci al sequence
"S00001xxx". After this sequence no acknowledge pulse is generated.
Since no internal modification are applied to work in Hs-mode, the device is able to work in Hs-mode without
detecting the master code.
Figure 29. Bit transfer and START,STOP conditions definition
DATA LINE
STABLE
DATA VALID
CLOCK
DATA
START
CONDITION
Figure 30. Acknowledgment on the
START
SCLK FROM
MASTER
DATA OUTPUT
BY TRANSMITTER
DATA OUTPUT
BY RECEIVER
I2C-bus
1
MSBLSB
CHANGE OF
DATA ALLOWED
289
D00IN1151
D00IN1152
STOP
CONDITION
CLOCK PULSE FOR
ACKNOWLEDGEMENT
Communication Protocol
The STE200 2 is an I2C slave. The access to the device is bi-directional since data write and status read ar e allowed.
Four are the dev ice add res ses available for the device. All have in commo n the first 5 bits (01111) . The tw o least significant bit of the slave address are set by connecting the SA0 and SA1 inputs to a logic 0 or to a logic 1.
To start the communication between th e bus master and the slave LCD drive r, the master must initiate a START condition. Following this, the master sen ds an 8-bit byte, shown in Fig. 30, on t he SDA bus line ( M ost significa nt bit first).
This consists of the 7-bit Device select Code, and the 1-bit Read/Write Designator (R/W
All slaves with the corresponding address acknowledge in parallel, all the others will ignore the I
).
2
C-bus transfer.
Writing Mode.
If the R/W bit is set to logic 0 the STE2002 is set to be a receiver. After the s l aves acknowledge one or more
command word follows to define the status of the device.
A command word is composed by two bytes. The first i s a cont rol byt e whi ch def ines the Co and D/C
values,
21/51
STE2002
the second is a data byte (fig 31). The Co bit is the command MSB and defines if after this command will follo w
one data byte and an other command word or if will follow a stream of data (Co = 1 Command word, Co = 0
Stream of data). The D/C
C
= 0 Command).
If Co =1 and D/C
= 0 the incoming data byte is decoded as a command, and if Co =1 and D/C =1, the fo llowing
data byte will be stored in the data RAM at the location specified by the data pointer.
Every byte of a command word must be acknowledged by all addressed units.
After the last control byte, if D/C
RAM starting at the address specified by the data pointer. The data pointer is automatically updated after every
byte written and in the end points to the last RAM location written.
Every byte must be acknowledged by all addressed units.
Reading Mode.
If the R/W bit is set to logic 1 the chip will output data immediately after the slave address. If the D/C bit sent
during the last write access, is set to a logic 0, the byte read is the status byte.
Figure 31. Communication Protocol
WRITE MODE
STE2002 ACK
bit defines whether the data byte is a command or RAM data (D/C = 1 RAM Data, D/
is set to a logic 1 the incoming data bytes are stored inside the STE2002 Display
STE2002 ACK
STE2002 ACKSTE2002 ACKSTE2002 ACK
S
SS011110A0A
SLAVE ADDRESS
READ MODE
SS011110A1A
A
1
R/W
Co
STE2002 ACKMASTER ACK
S
A
1
R/W
COMMAND WORDCONTROL BYTEMSB........LSB
A1 DC Control ByteDATA ByteADC Control ByteA 0DATA ByteA P
P
CoLASTN> 0 BYTE
011110AR/
STE2002
SLAVE ADDRESS
S
A
1
S
W
CoD
000000A
C
CONTROL BYTE
SERIAL INTERFACE
The STE2002 serial Interface is a bidirectional link between the display driver and the application supervisor.
It consists of five lines: two for data signals (SDIN, SO UT ), one for clock signals (SCLK), one for the peripheral
enable (SCE
The serial interface is active only if the SCE line is set to a logic 0. When SCE
power consumption is zero. While SCE
) and one for mode selection (SD/C).
line is high the serial peripheral
pin is high the serial interface is kept in reset.
The STE2002 is always a slave on the bus and receive the communication clock on the SCLK pin from the master.
Information are exchanged byte-wide. During data transfer, the data line is sampled on the positive SCLK edge.
line status indicates whether the byte is a command (SD/C =0) or RAM data (SD/C =1);it is read on the
SD/C
eighth SCLK clock pulse during every byte transfer.
22/51
STE2002
If SCE stays low after the last bit of a command/data byte, the serial interface expects the MSB of the next byte
at the next SCLK positive edge.
A reset pulse on RES
registers are cleared.
is low after the positive edge of RES, the serial interface is ready to receive data.
If SCE
Throughout SOUT can be read only the driver I
2
I
C slave address is reported in Fig. 34 & 35. S OUT is in High impedanc e in steady state and during data write.
It is possible to short circuit DOUT and SDIN and read I2C address without any additional lines.
Figure 32. Seri a l bus pro t ocol - one byte tran sm is sio n
SCE
D/C
SCLK
pin interrupts the transmission. No data is written into the data RAM and all the internal
2
C slave address. The Command sequence that allows to read
SDIN
MSBLSB
Figure 33. Serial bus protocol - several byte transmission
Figure 34. Serial bus protocol - several byte transmission
SCE
D/C
SCLK
D00IN1159
D00IN1160
SDIN
DB7DB6DB5DB4DB3DB2DB1DB0
High-Z
Command WriteI2C Address Read
Don't
Don't
Don't
Don't
Care
Care
Care
DB7DB6DB5DB4DB3DB2
Care
Don't
Care
Don't
Care
Don't
Care
DB1DB0SOUT
Don't
Care
DB7DB6DB5
D00IN1160
High-Z
23/51
STE2002
Figure 35. Reading Sequence
READING SEQUENCE
Write a "00000000" Instruction
SOUT Buffer becomes active (Low Impedence)
Source 8 pulses on SCLK and
Read the I2C Address or Status Byte On SOUT
SOUT Buffer Configured in High Impedence
END OF READING SEQUENCE
note: 1) these data are not read by the display Diver
2) SDIN and SOUT can be short circuited if the processor can configure
serial output buffers in high impedence during data read
1
.
LR0078
Parallel Interface
The STE2002 parallel Interface is a bidirectional link between the display driver and the application supervisor.
It consists of eleven lines: eight data lines (from DB7 to DB0) and three control lines. The control lines are: enable (E) for data latch, PD/C
for mode selection and R/W for reading or writing.
The data lines and the control line values are internally latched on E rising edge (fig. 50).
When the parallel interface is selected, if R/W line is set to “one”, D0-D7 lines are configured as output drivers
(low impedence) and it is possible to read the driver I
2
C address (Fig. 51)
24/51
STE2002
Table 1. STE2001-like instruction Set
InstructionD/CR/
H=0 or H=1
Function Set00001MXMYPDVH[0] Power Down Management; Entry
VHorizontal addressing Vertical addressing0
MXNormal X axis addressingX axis address is mirrored.0
MYImage is displayed not vertically mirroredImage is displayed vertically mirrored0
DOMSB on TOPMSB on BOTTOM0
PEPartial Display disabledPartial Display enabled0
000Bias Ratio equal to 7
001Bias Ratio equal to 6
010Bias Ratio equal to 5
011Bias Ratio equal to 4000
100Bias Ratio equal to 3
101Bias Ratio equal to 2
110Bias Ratio equal to 1
111Bias Ratio equal to 0
SET 1st Sector Start Address
SET 2nd Sector Start Address
SET PE=1
END OF ENABLING DUAL PARTIAL DISPLAY
OPTIONAL1
35/51
STE2002
Figure 46. Dual Partial Display Mode configuration or Duty Change
SETUP PARTIAL DISPLAY CONFIGURATION
SET Driver in Power Down(PD=1)
SET Driver in Partial Display Mode (PE=1)
SET PRS[1:0], Vop[6:0], BS[2:0], CP[2:0]
for Partial Display Operation
SET Partial Display Configuration (PD[2:0])
SET 1st Sector Start Address
SET 2nd Sector Start Address
SET Driver in Normal Mode (PE=0)
END OF PARTIAL DISPLAY CONFIG.
OPTIONAL
36/51
Figure 47. DATA RAM to display Mapping
DISPLAY DATA RAM
STE2002
bank
0
bank
1
bank
2
bank
3
bank
7
bank
8
GLASS
TOP VIEW
DISPLAY DATA RAM = "1"
DISPLAY DATA RAM = "0"
LCD
ICOR ROW
Table 15. Test Pin Configuration
Test Numb.Pin Configuration
TEST_1
TEST_2
TEST_3
TEST_4
TEST_5
TEST_6
TEST_7
TEST_8
TEST_9
TEST_10
TEST_11
TEST_12
TEST_13
TEST_14
D00IN1155
OPEN
GND
GND
37/51
STE2002
ABSOLUTE MAXIMUM RATINGS
SymbolParameterValueUnit
V
DD1
V
DD2
V
LCD
I
SS
V
I
in
I
out
P
tot
P
T
T
stg
ELECTRICAL CHARACTERISTICS
DC OPERATION
(V
= 1.7 to 3.6 V; V
DD1
SymbolParameterTest ConditionMin. Typ.Max.Unit
Supply Voltages
V
DD1
V
DD2
V
LCDIN
V
LCDOUT
I(V
DD1
I(V
DD2
I(V
DD1,2
I(V
LDCIN
Logic Outputs
V
0H
V
OL
Supply Voltage Range - 0.5 to + 5V
Supply Voltage Range- 0.5 to + 7V
LCD Supply Voltage Range- 0.5 to + 12V
Supply Current- 50 to +50 mA
Input Voltage (all input pads)-0.5 to V
i
+ 0.5V
DD2
DC Input Current - 10 to + 10 mA
DC Output Current - 10 to + 10 mA
Total Power Dissipation (Tj = 85°C)300mW
Power Dissipation per Output30mW
o
Operating Junction Temperature-40 to + 85°C
j
Storage Temperature- 65 to 150°C
= 1.75 to 4.2V; V
DD2
ss1,2
= 0V; V
= 4.5 to 11 V; T
LCD
=-40 to 85°C; un less otherw ise specified)
amb
Supply Voltagenote 91.73.6V
Supply VoltageLCD Voltage Internally
4. Power-down m ode. During power- down all static current s are switche d-off.
5. f external V
6. Toleranc e depends on t he temperature; (typically z ero at T
ature range limit.
7. For TC0 to TC7
8. Data Byte Writing Mode
9.V
DD1
= 0 there is no in terface clo ck .
sclk
, the display load current is not transmitted to I
LCD
≤ V
DD2
voltage that can be generat ed is depen dent on voltag e, temperat ure and (dis pl ay) load.
LCD
DD
= 27°C), m aximum tolerance values are measured at the temper-
amb
39/51
STE2002
8
ELECTRICAL CHARACTERISTICS
AC OPERATION
(V
= 1.7 to 3.6V; V
DD1
SymbolParameterTest ConditionMin.Typ.Max.Unit
INTERNAL OSCILLATOR
F
OSC
F
F
FRAME
T
w(RES)
EXT
Internal Oscillator frequencyVDD = 2.8V;
External Oscillator frequency20100 kHz
Frame frequencyfosc or fext = 72 kHz; note 175Hz
RES LOW pulse width5µs
Reset Pulse Rejection1µs
T
LOGIC
(RES)
T
VDD
Internal Logic Reset Time5µs
V
DD1
Figure 48. RESET timing diagram
= 1.75 to 4.2V; V
DD2
vs. V
DD2
ss1,2
= 0V; V
= 4.5 to 11V; T
LCD
=-40 to 85°C; unless otherwise specified)
amb
647280kHz
Tamb = -20 to +70 °C
Delay0µs
VDD2
VDD1
RES
INPUTS
I/O
(HOST)
I/O
(DRIVER)
INTERFACE
OUTPUT
OSCIN
(HOST)
Tw(res)
Hi-Z
Hi-Z
Tlogic(res)
40/51
OSC OUT
(DRIVER)
BSY FLG
RESET
TABLE
LOADED
LR011
STE2002
ELECTRICAL CHARACTERISTICS
AC OPERATION
(V
= 1.7 to 3.6V; V
DD1
SymbolParameterTest ConditionMin.Typ.Max.Unit
2
I
C BUS INTERFACE (See note 4)
F
T
SU;STA
SCL Clock FrequencyFast ModeDC400kHz
SCL
Set-up time (repeated) START
condition
T
HD;STA
Hold time (repeated) START
condition
T
LOW
T
HIGH
T
SU;DAT
T
HD;DAT
T
T
LOW period of the SCLH clockNote 2, 3, Cb=100pF160ns
HIGH period of the SCLH clockNote 2, 3, Cb=100pF60ns
Data set-up timeNote 2, 3, Cb=100pF10ns
Data hold timeNote 2, 3; Cb=100pF
Rise time of SCLH signalNote 2, 3; Cb=100pF10ns
r;CL
Rise time of SCLH signal after a
rCL1
repeated START condition and
after an acknowledge bit
T
T
T
T
T
T
SU;STO
Fall time of SCLH signalNote 2, 3, Cb=100pF10ns
fCL
Rise time of SDAH signalNote 2, 3, 4, Cb=100pF10ns
rDA
Fall time of SDAH signalNote 2, 3, 4, Cb=100pF1080ns
fDA
Rise time of SDAH signalNote 2, 3, 4, Cb=400pF20ns
rDA
Fall time of SDAH signalNote 2, 3, 4, Cb=400pF20160ns
fDA
Set-up time for STOP conditionNote 2, 3, Cb=100pF160ns
Capacitive load for SDAH and
C
b
SCLH
C
Capacitive load for SDAH + SDA
b
line and SCLH + SCL line
= 1.75 to 4.2V; V
DD2
= 0V; V
ss1,2
High Speed Mode; Cb=100pF
(max);V
High Speed Mode; Cb=400pF
= 4.5 to 11V; T
LCD
DD1=2
=-40 to 85°C; unless otherwise specified)
amb
DC3.4MHz
DC1.7MHz
(max); VDD1=2
Fast Mode; V
DD1=1.7V400KHz
Note 2, 3, Cb=100pF160ns
Note 2, 3, Cb=100pF160ns
40
Note 2, 3, Cb=100pF10ns
100400pF
400pF
ns
Figure 49.
I2C-bus timings
t
fDA
SDAH
t
SU;STA
SCLH
= MCS current source pull-up
= Rp resistor pull-up
Sr
t
HD;STA
t
rCL
t
t
HD;DAT
rDA
t
t
HIGH
fCL
t
LOW
t
SU;DAT
t
rCL1
(1)(1)
t
t
LOW
HIGH
t
rCL1
Sr P
D00IN1153
41/51
STE2002
ELECTRICAL CHARACTERISTICS
(continued)
AC OPERATION
(V
= 1.7 to 3.6V; V
DD1
= 1.75 to 4.2V; V
DD2
ss1,2
= 0V; V
= 4.5 to 11V; T
LCD
=-40 to 85°C; unless otherwise specified)
amb
SymbolParameterTest ConditionMin.Typ.Max.Unit
PARALLEL INTERFACE
T
CY(EN)
T
W(EN)
T
SU(A)
T
H(A)
T
SU(D)
T
H(D)
T
SU(D)
T
HU(D)
Enable Cycle TimeV
= 1.7V; Write; note 2, 6150ns
DD1
Enable Pulse width 60ns
Address Set-up Time30ns
Address Hold Time 40ns
Data Set-Up Time30ns
Data Hold Time30ns
Data Set-Up Time in read Mode100ns
Data Hold Time In Read mode100ns
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibilit y for the consequences
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No l ic en se i s gr an ted
by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject
to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not
authorized for use as critical comp onents in lif e support devi ces or syste m s without ex press written approval of STMicroel ectronics .
The ST logo is a registered trademark of STMicroelectronics
2002 STMicroelectronics - All Ri ghts Rese rved
Austra lia - Brazil - Canada - Chi na - F i nl and - Franc e - Germany - Hong Kong - In di a - Israel - Ita l y - J apan -Malaysia - Malta - Morocco -
Singap ore - Spain - Sw eden - Switze rl and - Unit ed K i ngdom - United States .
STMicroelectronics GROUP OF COMPANIES
http://www.s t. com
51/51
Loading...
+ 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.