Address setting command
11 Address setting command
STFPC320
This command sets an address of the display memory or the address of the RTC register
map.
MSB
LSB
0
1
1
0
0
0
0
1
Address (00h - 3Fh)
The address range from 00h-0Fh represents the RTC register map. For writing data to RTC
or Normal display registers, address command is sent followed by the RTC or normal
display data.
10h-3Fh represents the normal display memory map. On power application, the default
address location is 10h.
11.1
RTC display data read
When the CPU wants to read the RTC data from the specified memory location of RTC, the
user must first set the address of the RTC location using “address setting command” after
which send the “read RTC register” command.
Thus before reading the RTC register data, the user must set the proper address for RTC
using “address setting command”.
As an example:
Address setting command with RTC memory address of 0x01: 0xC1
Read RTC register command: 0x73
Subsequently STFPC320 will output the data byte from RTC memory location 0x01.
11.2
Display (normal & RTC) data write
The data can be written to the normal or RTC display memory by issuing an address setting
command followed by the data bytes to be written (in auto-increment mode).
As an example, address setting command with normal display memory address of 0x10:
0xC2 subsequently the host can write the data bytes starting from memory location 0x10.
For fixed address mode, the address command has to be sent followed by the display data.
When the next byte of data is to be written, address command has to be sent again before
the new display data byte.
46/78