RTC4573 Epson Company, RTC4573 Datasheet - Page 6

no-image

RTC4573

Manufacturer Part Number
RTC4573
Description
Serial RTC with Alarm and Timer
Manufacturer
Epson Company
Datasheet
1.4. Timer register( Reg-C to Reg-D )
1.3. Frequency output control register ( Reg-B )
1.2 Alarm registers (register 7 to register A)
FE bit is Frequency output enable bit. Source clock is selectable by FD4 and FD3 bits. And Count down rate is
selectable by FD0 , FD1 and FD2 bits. This frequency is output from FOUT terminal.
Alarms can be set for days of the week, hours, and minutes. Bit 7 of each alarm register is an AE bit that can be
used to set an hourly alarm or a daily alarm. An alarm can also be set for multiple days of the week.However, when
using the day of the week alarm, also set either or both the hour and minute alarms. If the day of the week alarm is
set by itself, the alarm may not be output properly.When the AE bit is "0", the register in question and the timekeeping
register is compared; when the AE bit is "1", this indicates "don't care", and the registers are assumed to match,
regardless of the data.
Register-D is presetable binary down counter of 8 bits.
Source clock of this counter does setup by TD bit of Register-C.
Register-D does countdown by a period of selected source clock.
When data of register-D becomes 0, /TIRQ terminal changes to Low level.
In that time, register-D does written data reloads again if TI/TP bit is 1.
And counter does countdown repeatedly.
As a result, by a same period, interrupt occurs repeatedly.
When TIE bit of Register-E is "0", /TIRQ terminal keep high impedance.
When TI/TP bit is 0, Register-D does never reload the data.
Set TI/TP.TD,TIE and TE bits carefully, for perfect function of timer.
Source clock control for Timer ( Reg.C )
FOUT control ( Reg.B )
When TEbit is 0, Register-D loads preset data, and keeps stop. Note:There isn't pause.
When TE bit is cleared, Register-D starts countdown from preset data.
Timer interrupt doesn't occur when set 0 in Register-D.
Therefore pay attention because 1 period error of source clock occurs as for timer time.
Timing of Timer start
FD4 FD3
0
0
1
1
CLK
DATA
TIMER COUNT DOWN
TIRQ-PIN
TD1
0
0
1
1
0
1
0
1
1 min.
0 sec.
TD0
0
1
Source Clk.
32768Hz
1024Hz
32Hz
1Hz
TD0
Source Clk.
update
Address C
4096Hz
update
64Hz
TD1
*
FD2
0
0
0
0
1
1
1
1
TE
Page-6
DATA LOAD
FD1
0
0
1
1
0
0
1
1
COUNT DOWN
FD0
0
1
0
1
1
0
1
0
1 / 10
1 / 15
1 / 30
1 / 1
1 / 2
1 / 3
1 / 6
Div.
1 / 5
FOUT Duty
ZERO
50%
50%
33%
50%
20%
50%
33%
50%
Aug.1998

Related parts for RTC4573