
2002 Jan 17
20
Philips Semiconductors
Product specification
48
×
84 dot matrix LCD driver
OM6211
11.2.2
R
EAD MODE
In the read mode of the interface the microcontroller reads
data from the OM6211. To do so the microcontroller first
has to send the read status command, and then the
following byte is transmitted in the opposite direction
(using SDOUT). After that SCE is required to go HIGH
before a new command is sent (see Fig.15).
The OM6211 samples the SDIN data on the rising edges
of SCLK, but shifts SDOUT data on the falling edges of
SCLK. Thus the microcontroller is supposed to read
SDOUT data on the rising edges of SCLK.
After the read status command has been sent, the SDIN
line must be set to 3-state not later then the falling SCLK
edge of the last bit (see Fig.15).
The 8th read bit is shorter than the others because it is
terminated by the rising edge of SCLK (see Fig.15). The
last rising edge of SCLK sets SDOUT to 3-state after the
delay time t
3
(see Section 10.1 and Fig.17).
There are 5 bits of information only that can be read by the
microcontroller (see Table 7). Two of them are chip
identification bits and have fixed values. The next two bits
are LCD module identification bits and can be set by
connecting the ID3 and ID4 pins to V
DD1
or V
SS
. The fifth
bit is the V
LCD
voltage monitor bit VM.
It indicates that the charge pump is running and the
voltage level of V
LCD
is sufficient to provide enough
contrast of the display (VM = 1). If the V
LCD
generator
cannot produce a voltage defined by V
OP
, then VM = 0.
VM has a valid value 45 ms after a delay time of
approximately 45 ms starting from the time the V
LCD
generatorhasbeen switched on(by settingHVE = 1).This
delay time is dependent on the external V
LCD
decoupling
capacitor (here 100 nF is assumed).
For more details concerning the VM bit see Chapter 22
The reading out of the chip identification bits and module
identification bits can be used to implement different
initialization schemes for different applications. The
reading out of VM can be used to check the proper
electrical contacts of the LCD module.
One read status command enables one status bit to be
read, i.e. 5 commands are needed to read the status of all
5 bits. The first 4 bits of the read byte (DB7 to DB4) are
always equal to the corresponding status bit and the next
4 bits (DB3 to DB0) are equal to the complement of this bit.
As stated before the SDOUT data is supposed to be read
on the rising edge of SCLK. Care must be taken, however,
when running the SCLK at maximum frequency. Because
of the access time limit t
2
(see Section 10.1 and Fig.17) it
might happen that the first bits of each group (DB7 to DB4
and DB3 to DB0) are not valid at the time of the
corresponding SCLK edges. Thus it is recommended to
read the bits DB4 and DB0 only.
handbook, full pagewidth
MGU282
SCLK
SDIN
SDOUT
DB7
D/C
DB6
DB5
DB4
DB7 DB6 DB5 DB4
DB3 DB2 DB1
DB0
DB3
DB2
DB1 DB0
D/C
Fig.15 Read mode.