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

Real time clock module
Table of Contents

Advertisement

RA8804 CE

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 RX-8803 and RX/RA8900
Address 10h to 1Fh: Extension register
Access to more than address 20h is possible, but there is some control register for quality inspection. When more than
Address auto increment is looping in lower 4 bits address.
Upper 4bits address are fixed. (00, ..., 0E, 0F, 00, 01)
Address (8bit)

8.1.2. Register table (Basic time and calendar register)

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
Extension Register
0E
Flag Register
0F
Control Register
 Writing is avoid. Read value is 0, always.
"Init" shows value of after power-on Reset. Unit is Hex.
After the initial power-up (from 0V) or in case the VLF bit returns "1" , make sure to initialize all registers, before
Note
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.
-
During the initial power-up, the following are the default settings for the register values
Initial value_0: TSVLF, TSVDET,TEST, WADA, USEL, TE, FSEL1, FSEL0, TSEL0, UF, TF, AF, CSEL1, UIE, TIE,
AIE, RESET, ECP, EHL, EPU, RCE, EIE, ET1, ET0, EF, EVMON, SOE0 ~ SOE7, DCE, DC, SRV,
FS0~FS2, TRES, TSTP, All bits of address 1Ch, 1Dh, 1Eh, and 1Fh.
Initial value_1: TSEL1, VLF,VDET,CSEL0
 At this point, all other register values are undefined, so be sure to perform a reset before using the module.
-
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
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.
(10, ..., 1E, 1F, 10, 11)
Time stamp register
1Fh from 10h
bit 5
bit 4
bit 3
bit 2
20
10
8
4
20
10
8
4
20
10
8
4
5
4
3
2
20
10
8
4
10
8
4
20
10
8
4
20
10
8
4
20
10
8
4
5
4
3
2
20
10
8
4
32
16
8
4
4096
2048
1024
TE
FSEL1 FSEL0 TSEL1 TSEL0
UF
TF
AF
UIE
TIE
AIE
 is available.
Page - 6
Access is prohibited
FFh from 20h
bit 1
bit 0
Init
Write
2
1
2
1
2
1
1
0
2
1
2
1
2
1
2
1
2
1
1
0
2
1
2
1
512
256
[0:2]
Clear
VLF
VDET
[0:0]
only
RESET
[4:0]
 avoid.
ETM60E-02

Advertisement

Table of Contents
loading

Table of Contents