
1996 Dec 18
19
Philips Semiconductors
Product specification
8-bit microcontroller with DTMF generator,
256 bytes EEPROM and real-time clock
PCD3350A
8.4
Real-time clock derivative registers
8.4.1
C
LOCK
C
ONTROL
R
EGISTER
(CLCR)
The register access type is R/W and the value at reset is 00H.
Table 23
Clock Control Register, CLCR (address 20H)
Table 24
Description of CLCR bits
8.4.2
F
REQUENCY
A
DJUSTMENT
R
EGISTER
(FAR)
The frequency adjustment value of the RTC is defined by the 8-bit Frequency Adjustment Register. The register access
type is R/W. The value of FAR at reset is 00H.
The significance of the individual bits of FAR can be illustrated by the following equation:
RCO
×
where f
RCO
= RTC frequency and ‘FAR’ is the decimal contents of the Frequency Adjustment Register.
Table 26 shows the recommended correction factor FAR for all allowed RTC frequencies f
RCO
.
Table 25
Frequency Adjustment Register, FAR (address 21H)
7
6
5
4
3
2
1
0
0
TST2
TST1
ERCO
RUN
ITS
CIF
ECI
BIT
SYMBOL
TST2
TST1
ERCO
DESCRIPTION
7
6
5
4
This bit is set to a logic 0.
Test 2 input. This is a testing bit; has to be fixed at a logic 0 by user software.
Test 1 input. This is a testing bit; has to be fixed at a logic 0 by user software.
Enable 16 kHz clock output. If ERCO = 0, then the DP0.0/RCO is a derivative port line.
If ERCO = 1, then DP0.0./RCO is a 16 kHz clock output. ERCO = 1 does not inhibit the
port instructions for DP0.0/RCO. Therefore the state of both port line and flip-flop may
be read in and the port flip-flop may be written by derivative port instructions. However,
the port flip-flop of DP0.0/RCO must remain set to avoid conflicts between 16 kHz clock
and port outputs.
Clock run or stop bit. If RUN = 0, then the oscillator is stopped and the clock is reset.
If RUN = 1, then the oscillator and the clock are running.
Interrupt Time Select. If ITS = 1, then the interrupt time is one second.
If ITS = 0, then the interrupt time is one minute.
Clock Interrupt Flag. Set by hardware, if RTC divider chain overflows (every second or
minute depending on ITS) or by program. Reset by program.
Enable Clock Interrupt. If ECI = 0, then CIF event cannot request interrupt.
If ECI = 1, then CIF event requests interrupt.
3
RUN
2
ITS
1
CIF
0
ECI
7
6
5
4
3
2
1
0
FAR7
FAR6
FAR5
FAR4
FAR3
FAR2
FAR1
FAR0
Minute Interrupt Time (MIT)
60
2
f
2
FAR
+
=