How To Use; Clock Calendar Function; Clock Counter - Epson RX8111CE Applications Manual

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

Advertisement

RX8111CE

14. How to use

14.1. Clock Calendar Function

At the time of a communication start, the Clock & Calendar data are fixed (hold the carry operation), and it is automatically revised
at the end of the communication. Therefore, it is recommended that the access to a clock calendar has continuous access by the
auto increment function.
At the moment of current time reading, STOP bit should be "0".
Example '88 February 29 (Sun) 17:39:45 (leap year)
Address
10h
11h
12h
13h
14h
15h
16h
Note With caution that writing non-existent time data may interfere with normal operation of the clock counter
Note Time starts at the moment of STOP bit operation (H →L timing)

14.1.1. Clock Counter

1) [SEC], [MIN] register
These registers are 60-base BCD counters. When update signals were generated from a lower counter, a upper counter is one
incremented.. At the timing when the lower register changes from 59 to 00, carry is generated to the higher register and thus
incremented.
When writing is performed to [SEC] register, Internal-count-down-chain less than one second (512 Hz  1 Hz) is cleared to 0.
2) [HOUR] register
This register is a 24-base BCD counter (24-hour format). These registers are incremented at the timing when carry is generated
from a lower register.
3) Leap second adjustment
For leap second adjustment, user can write "60" into SEC counter, after 1 second SEC counter is to be set "00".
Normally second counter counts up "59" to "00".
Figure 18 Basic (32.768 kHz oscillation, counter, FOUT) Function
Table 13 Time, calendar setting example
Function
bit 7
0
SEC
MIN
0
0
HOUR
0
WEEK
0
DAY
MONTH
0
YEAR
1
bit 6
bit 5
bit 4
1
0
0
0
1
1
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
Page − 22
bit 3
bit 2
bit 1
0
1
0
1
0
0
0
1
1
0
0
0
1
0
0
0
0
1
1
0
0
bit 0
1
1
1
1
1
0
0
ETM61E-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx8111ce aRx8111ce b

Table of Contents