![](http://datasheet.mmic.net.cn/370000/MAX7456_datasheet_16716529/MAX7456_39.png)
Writing the Character Address Byte to the Display
Memory:
1) Write DMAH[1] = 0 to write a Character Address
byte.
2) Write DMAH[0] = x to select the MSB and
DMAL[7:0] = xxH to select the lower order bits of
the address where the character data is to be writ-
ten. This address determines the location of the
character on the display (see Figure 10).
3) Write the Character Address byte (CA[7:0]) to be
written to the display memory to DMDI[7:0] (see
Figures 10, 12, and 19).
Writing the Character Attribute Byte to the Display
Memory:
1) Write DMAH[1] = 1 to write a Character Attribute
byte.
2) Write DMAH[0] = x to select the MSB and
DMAL[7:0] = xxH to select the lower order bits of
the address where the character data is to be writ-
ten. This address determines the location of the
character on the display (Figure 10).
3) Write the Character Attribute byte to be written to
the display memory to DMDI[7:0] (see Figures 10
and 19).
Steps for Writing to
Display Memory in 16-Bit Mode
The 16-bit operation mode increases the speed at
which the display memory can be updated. This is
done by automatically copying DMM[5:3] to a
Character’s Attribute byte when a new character is writ-
ten, thus reducing the number of SPI write operations
per character from two to one (Figure 19). When in this
mode, all characters written to the display memory
have the same attribute byte. This mode is useful
because successive characters commonly have the
same attribute. This mode is distinct from the 8-bit
operation mode where a Character Attribute byte must
be written each time a Character Address byte is writ-
ten to the display memory (see Table 5).
1) Write DMM[6] = 0 to select the 16-bit operation
mode.
2) Write DMM[5:3] = xxx to set the Local Background
Control (LBC), Blink (BLK), and Invert (INV) attribute
bits that will be applied to all characters written to
the display memory while in the 16-bit operation
mode.
3) Write DMAH[0] = x to select the MSB and
DMAL[7:0] = xxH to select the lower order bits of the
address where the character data is to be written.
This address determines the location of the charac-
ter on the display (see Figure 10).
4) Write the Character Address byte (CA[7:0]) to be
written to the display memory into DMDI[7:0]. It will
be stored along with a Character Attribute byte
derived from DMM[5:3] (Figures 12 and 19).
Steps for Writing to Display Memory
in Auto-Increment Mode
Auto-increment mode increases the speed at which the
display memory can be written by automatically incre-
menting the character address for each successive
character written. This mode is useful when writing
strings of characters written from left-to-right and top-
to-bottom on the display. This mode reduces the num-
ber of SPI commands (see Table 5).
When in 8-Bit Operating Mode:
1) Write DMM[0] = 1 to set the auto-increment mode.
2) Write to DMM[6] = 1 to set the 8-bit operation mode.
3) Write DMAH[1] = 0 to select if a Character Address
byte will be written or DMAH[1] = 1 to select if a
Character Attribute byte will be written.
4) Write DMAH[0] = x to select the MSB and
DMAL[7:0] to select the lower order address bits, of
the starting address for auto-increment operation.
This address determines the location of the charac-
ter on the display (see Figures 10 and 21).
5) Write to DMDI[7:0] to store character data (Character
Address or Character Attribute bytes) to the current
display-memory address. The display-memory
address is automatically incremented following the
write operation. Subsequent characters are succes-
sively written from left-to-right and top-to-bottom on the
display (see Figure 10). Repeat until the final display-
memory address is reached.
6) Write DMDI[7:0] = FFH to terminate the auto-incre-
ment mode. Note that the character stored at
CA[7:0] = FFH is not available for use when in auto-
increment mode.
When in 16-Bit Operating Mode:
1) Write DMM[0] = 1 to set the auto-increment mode.
2) Write DMM[6] = 0 to set the 16-bit operation mode.
3) Write DMM[5:3] = xxx to set the Local Background
Control (LBC), Blink (BLK), and Invert (INV) attribute
bits that will be applied to all characters.
4) Write DMAH[0] = x to select the MSB and
DMAL[7:0] to select the lower order address bits, of
the starting address for auto-increment operation.
M
Single-Channel Monochrome On-Screen
Display with Integrated EEPROM
______________________________________________________________________________________
39