beautypg.com

Instructions, Outline, Instruction table – Matrix Orbital MOP-GL12232D User Manual

Page 5

background image

4

Instructions

Outline

The MOP-GL12232D is controlled using a standard SED1520 compliant controller. The display is enabled
by pulling the Enable (E) pin high, communication to and from the device is controlled by pulling the
Read/Write (R/W) line high or low respectively, and the unit may be reset at power up by pulling the
reset (RST) line low. Using Register Select (RS), either the data register or command register is selected
by toggling RS high or low respectively.

Before any data is read or written, the status of the display controller should be read. This is
accomplished by setting RS low, R/W high, E high, and reading the status byte that appears on the data
lines. Each bit of the status word indicates a specific condition, outlined below.

Table 3: Status Bits

Bit

Description

Status

D0

Unused.

Unused.

D1

Unused.

Unused.

D2

Unused.

Unused.

D3

Unused.

Unused.

D4

Reset.

0:Normal, 1:Reset.

D5

Display On/Off.

0:Display On, 1:Display Off.

D6 Display Data Direction. 0: Counter-CW, 1: Clockwise.
D7

Busy status.

0:Ready, 1:Busy.

Instruction Table

Table 4: Parallel Instruction Table

Instruction

Control

Instruction Code

RS R/W DB7

DB6

DB5

DB4

DB3 DB2 DB1 DB0

Display On

0

0

1

0

1

0

1

1

1

1

Display Off

0

0

1

0

1

0

1

1

1

0

Display Start Line

0

0

1

1

0

Start Line

Set (X) Page

0

0

1

0

1

1

1

0

X Page

Set (Y) Address

0

0

0

Y Address

Status Read

0

1

Busy ADC On/Off Reset

0

0

0

0

Write Display Data

1

0

Write Data

Read Display Data

1

1

Read Data

Counter-CW Display Data

0

0

1

0

1

0

0

0

0

1

Clockwise Display Data

0

0

1

0

1

0

0

0

0

0

Static Drive On

0

0

1

0

1

0

0

1

0

1

Dynamic Drive On

0

0

1

0

1

0

0

1

0

0

Set Data Auto Write

0

0

1

1

1

0

0

0

0

0

End Data Auto Write

0

0

1

1

1

0

1

1

1

0

Reset

0

0

1

1

1

0

0

0

1

0