MYSON
TECHNOLOGY
MTV016
MTV016 Revision 2.0 01/01/1999
3/11
3.0 FUNCTIONAL DESCRIPTIONS
3.1 Serial Data Interface
The serial data interface receives data transmitted from an external controller. There are 2 types of bus
that can be accessed through the serial data interface: SPI bus and I
2
C bus.
3.1.1 SPI Bus
While SSB pin is pulled to "high" or "low" level, the SPI bus operation is selected. A valid transmission
should be started by pulling SSB to "low" level, enabling MTV016 in receiving mode, and retaining "low"
level until the last cycle for a complete data packet transfer. The protocol is shown in Figure 2:
Figure 2. Data Transmission Protocol
There are 3 transmission formats as shown below:
Format (a) R - C - D
→
R - C - D
→
R - C - D ..........
Format (b) R - C - D
→
C - D
→
C - D
→
C - D .......
Format (c) R - C - D
→
D
→
D
→
D
→
D
→
D .........
R=row address, C=column address, D=display data
3.1.2 I
2
C Bus
The I
2
C bus operation is only selected when the SSB pin is left floating. A valid transmission should
begin by writing the slave address 7AH, which is the mask option, to MTV016. The protocol is shown in
Figure 3:
SCK
SDA
fist byte
@ @ @ @ @
START
ACK
second byte
last byte
ACK
STOP
B7
B6
B0
B7
B0
Figure 3. Data Transmission Protocol (I
2
C)
There are 3 transmission formats as shown below:
Format (a) S - R - C - D
→
R - C - D
→
R - C - D ..........
Format (b) S - R - C - D
→
C - D
→
C - D
→
C - D .......
Format (c) S - R - C - D
→
D
→
D
→
D
→
D
→
D ........
S=slave address, R=row address, C=column address, D=display data
Each arbitrary length of data packet consists of 3 portions: row address (R), column address (C) and
display data (D). Format (a) is suitable for updating small amounts of data, which will be allocated to
different row and column addresses. Format (b) is recommended for updating data that has the same
row address but a different column address. Massive data updating or a full screen data change should
use format (c) to increase transmission efficiency. The row and column address will be incremented
automatically when format (c) is applied. Furthermore, the undefined locations in display or font RAM
should be filled with dummy data.
MS
B
LSB
SSB
SCK
SDA
first byte
last byte