Use Methods; Description Of Registers; Write / Read And Bank Select; Register Table (Basic Time And Calendar Register) - Epson RX8804CE Applications Manual

Real time clock module
Hide thumbs Also See for RX8804CE:
Table of Contents

Advertisement

RX8804CE

8. Use Methods

8.1. Description of Registers

8.1.1. Write / Read and Bank Select

Address 00h to 0Fh: Basic time and calendar register. It compatible with RX8803 and RX8900
Address 10h to 1Fh: Extension register
Access to more than address 20h is possible, but there is some control register for quality inspection.
Address is incremented automatically in lower 4 bits address.
Upper 4bits address are fixed. (00, ..., 0E, 0F, 00, 01), (10, ..., 1E, 1F, 10, 11)

Table 8 Register Division (00h ~ 0Fh)

Address (8bit)

8.1.2. Register Table (Basic time and calendar register)

Table 9 Register Table (00h ~ 0Fh)

Address
Function
00
SEC
01
MIN
02
HOUR
03
WEEK
04
DAY
05
MONTH
06
YEAR
07
RAM
08
MIN Alarm
09
HOUR Alarm
WEEK Alarm
0A
DAY Alarm
0B
Timer Counter 0
0C
Timer Counter 1
0D
Control1
0E
Flag Register
0F
Control2
 Writing is avoided. Read value is 0, always.
"Init" shows value of after power-on Reset. Unit is Hex.
*Note Refer to Flag Registers
Note
After the initial power-up (from 0 V) or in case the VLF bit returns "1" , make sure to initialize all registers, before
using the RTC.
Be sure to avoid entering incorrect date and time data, as clock operations are not guaranteed when the data or
time data is incorrect.
-
Only a 0 can be written to the UF, TF, AF, VLF, VDET and EF bit.
The EVMON bit is read only bit.
Any bit marked with "
-
Any bit marked with "•" is a RAM bit that can be used to read or write any data.
-
The TEST bit is used by the manufacturer for testing. Be sure to set "0" for this bit when writing.
-
If an alarm function is not used, registers 08h-0Ah can be used as RAM. (AIE: "0")
-
-
Reading register value of address 0Bh-0Ch and 1Fh is pre-set data.
If a timer function is not used, register of 0Bh-0Ch and 1Fh can be used as RAM. (TE, TIE: "0")
Basic register
Time stamp register
0Fh from 00h
bit 7
bit 6
40
40
6
80
40
AE
40
AE
6
AE
128
64
32768
16384 8132
TEST
WADA USEL
CSEL1
CSEL0
• It can read and write.
" should be used with a value of "0" after initialization.
Access is prohibited
1Fh from 10h
bit 5
bit 4
bit 3
bit 2
20
10
8
20
10
8
20
10
8
5
4
3
20
10
8
10
8
20
10
8
20
10
8
20
10
8
5
4
3
20
10
8
32
16
8
4096
2048
1024
TE
FSEL1 FSEL0 TSEL1 TSEL0
UF
TF
AF
UIE
TIE
AIE
 is available.
Page - 7
FFh from 20h
bit 1
bit 0
Init
4
2
1
4
2
1
4
2
1
2
1
0
4
2
1
4
2
1
4
2
1
4
2
1
4
2
1
2
1
0
4
2
1
4
2
1
512
256
02h
VLF
VDET
00h
RESET
40h
− avoid.
ETM59E-05
Write
 *

Advertisement

Table of Contents
loading

Table of Contents