
2001 Nov 07
11
Philips Semiconductors
Product specification
48
×
84 pixels matrix LCD driver
OM6213
11 INSTRUCTIONS
The instruction format is divided into two modes. If D/C
(mode select) is set LOW the current byte is interpreted as
command byte (see Table 1). If D/C is set HIGH the
following bytes are stored in the DDRAM. After every data
byte the address counter is incremented automatically.
The level of the D/C signal is read during the last bit of the
data byte.
Instructions can be sent in any order to the OM6213 (the
exception being that the temperature control command
mustbefollowedbyatleastonebyteofdataorcommand).
TheMSBistransmittedfirst(seeFig.7).Figure 8showsan
example of a command stream, used to set-up the LCD
driver.
The serial interface is initialized when SCE is HIGH. In this
state SCLK clock pulses have no effect and no power is
consumed by the serial interface. A negative edge on SCE
enablestheserialinterfaceandindicatesthestartofadata
transmission.
Figures 9 and 10 show the serial bus protocol.
When SCE is HIGH, SCLK clocks are ignored. During
the HIGH time of SCE the serial interface is initialized
(see Fig.11).
SDIN is sampled at the positive edge of SCLK
D/C indicates whether the byte is a command (D/C = 0)
or RAM data (D/C = 1). It is read with the eighth SCLK
pulse.
If SCE stays LOW after the last bit of a command/data
byte, the serial interface expects bit DB7 of the next byte
at the next rising edge of SCLK (see Fig.11)
A reset pulse with RES interrupts the transmission. The
data being written into the RAM may be corrupted. The
registers are cleared. If SCE is LOW after the rising
edge of RES, the serial interface is ready to receive the
D/C bit of a command/data byte (see Fig.12).
Instructions (except the temperature control command)
are executed on the SCLK positive edge which latches
DB0 and D/C
The temperature control command is executed on the
SCLK positive edge which latches DB0 and D/C of the
next command or the next write to the DDRAM
(whichever occurs first).This command requires 2 bytes
to be executed.
handbook, halfpage
MGT639
data
data
LSB (DB0)
Fig.7 General format of data stream.
handbook, full pagewidth
MGT846
temperature control
set VPR
bias system
function set (H = 1)
X address
Y address
display control
function set (H = 0)
Fig.8 Serial data stream, example.