RICOH R2025S, R2025D Technical data

R2025S/D
High precision I2C-Bus Real-Time Clock Module
NO.EA-135-100825
OUTLINE
FEATURES
Built in 32.768kHz crystal unit, The oscillation frequency is adjusted to high precision (0±5ppm: at 25°C) Time keeping voltage 1.15V to 5.5V Super low power consumption 0.48μA TYP (1.2μA MAX) at VDD=3V I2C-Bus interface (Maximum serial clock frequency: 400KHz at VDD1.7V) Time counters (counting hours, minutes, and seconds) and calendar counters (counting years, months, days,
and weeks) (in BCD format)
Interrupt circuit configured to generate interrupt signals (with interrupts ranging from 0.5 seconds to 1 month) to
the CPU and provided with an interrupt flag and an interrupt halt
2 alarm interrupt circuits (Alarm_W for week, hour, and minute alarm settings and Alarm_D for hour and minute
alarm settings)
32768Hz Clock CMOS push-pull output with control pin With Power-on flag to prove that the power supply starts from 0V With Oscillation halt sensing Flag to judge the validity of internal data Supply voltage monitoring circuit with two supply voltage monitoring threshold settings Automatic identification of leap years up to the year 2099 Selectable 12-hour and 24-hour mode settings Oscillation adjustment circuit for correcting temperature frequency deviation or offset deviation CMOS process Two types of package, SOP14(10.1x7.4x3.1) or SON22(6.1x5.0x1.3)
1
R2025S/D
PIN CONFIGURATION
R2025S (SOP14)
R2025D (SON22)
N.C. SCL SDA
32KOUT
N.C. VPP
VDD N.C.
BLOCK DIAGRAM
32KOUT
CLKC
/INTRA
32kHz
OUTPUT
CONTROL
OSC
OSC
DETECT
DIVIDER CORREC
-TION
1 2
3 4 5
6 7
TOP VIEW
DIV
N.C.
14 13
12
/INTRB VSS
11
/INTRA
10
9
N.C.CLKC
8
COMPARATOR_W
COMPARATOR_D
(SEC,MIN,HOUR,WEEK,DAY,MONTH,YEAR)
ADDRESS DECODER
CLKC
32KOUT
/INTRB
/INTRA
1
VDD
2
N.C. N.C.
3
VPP
4 5
SCL
6
SDA
7 8
VSS
9
10
N.C.
11
TOP VIEW
ALARM_W REGISTER
(MIN,HOUR, WEEK)
ALARM_D REGISTER
(MIN,HOUR)
TIME COUNTER
ADDRESS
REGISTER
22 21 20 19 18 17 16 15 14
N.C. N.C.
N.C. N.C. N.C. N.C. N.C. N.C.
I/O
CONTROL
VOLTAGE
DETECT
TEST
CIRCUIT
VDD
VPP
VSS
SCL SDA
/INTRB
INTERRUPT CONTROL
SHIFT REGISTER
2
PIN DESCRIPTION
Symbol Item Description
SCL Serial
Clock Line
SDA Serial
Data Line
/INTRA Interrupt
Output A
/INTRB Interrupt
Output B
32KOUT 32K Clock
Output
CLKC Clock control
input VDD VSS VPP Test input This pin is power pin for testing in the factory. Don’t connect to any lines.
N.C. No Connection These pins are not connected to internal IC chip.
Positive Power
Supply Input
Negative Power
Supply Input
The SCL pin is used to input clock pulses synchronizing the input and output of data to and from the SDA pin. Allows a maximum input voltage of 5.5 volts regardless of supply voltage. The SDA pin is used to input or output data intended for writing or reading in synchronization with the SCL pin. Up to 5.5v beyond VDD may be input. This pin functions as an N-ch open drain output. The /INTRA pin is used to output alarm interrupt (Alarm_D) and output periodic interrupt signals to the CPU signals. Disabled at power-on from 0V. N-ch. open drain output. The /INTRA pin is used to output alarm interrupt (Alarm_W) and output periodic interrupt signals to the CPU signals. Disabled at power-on from 0V. N-ch. open drain output. The 32KOUT pin is used to output 32.768-kHz clock pulses. Enabled at power-on from 0 volts. CMOS output. The output is disabled and held “L” when CLKC pi set to “L” or open, or certain register setting. This pin is enabled at power-on from 0v. The CLKC pin is used to control output of the 32KOUT pin. The clock output is disabled and held low when the pin is set to low or open. Incorporates a pull-down resistor. The VDD pin is connected to the power supply.
The VSS pin is grounded.
In R2025D (SON22), N.C. pins from 14 pin to 22 pin are connected together internally. Never connect these pins to any lines, or connect to VDD or VSS. And never connect different voltage level lines each other.
R2025S/D
3
R2025S/D
ABSOLUTE MAXIMUM RATINGS
(VSS=0V)
Symbol Item Pin Name and Condition Description Unit
VDD Supply Voltage VDD -0.3 to +6.5 V
Input Voltage 1 SCL, SDA, CLKC -0.3 to +6.5 VI Input Voltage 2 VPP -0.3 to VDD+0.3 Output Voltage 1 SDA, /INTRA, /INTRB -0.3 to +6.5 VO
Output Voltage 2 32KOUT -0.3 to VDD+0.3 PD Power Dissipation Topt Operating
Temperature Tstg Storage Temperature -55 to +125
Topt=25°C
-40 to +85
300 mW
V
V
°C °C
RECOMMENDED OPERATING CONDITION
(VSS=0V, Topt=-40 to +85°C)
Symbol Item Pin Name Min. Typ. Max. Unit
VDD Supply Voltage 1.7 5.5 V VCLK Time Keeping Voltage 1.15 5.5 V VPUP Pull-up Voltage SCL, SDA, /INTRA, /INTRB 5.5 V RPUP Pull-up resister CLKC 10
kΩ
FREQUENCY CHARACTERISTICS
(VSS=0V)
Symbol Item Condition Min. Typ. Max. Unit
Δf/f0 Fv Frequency Voltage
Top Frequency
tsta Oscillation Start-up fa Aging
Frequency Deviation Characteristics Temperature
Characteristics Time
Topt=25°C, VDD=3V Topt=25°C,
VDD=2.0V to 5.5V Topt=-20°C to +70°C 25°C as standard
Topt=25°C, VDD=2V Topt=25°C, VDD=3V,
First year
-5 0 +5 ppm
-1 +1 ppm
-120 +10 ppm
1 sec
-5 +5 ppm
4
R2025S/D
DC ELECTRICAL CHARACTERISTICS
Unless otherwise specified: VSS=0V,VDD=3V,Topt=-40 to +85°C
Symbol Item Pin Name Condition Min. Typ. Max. Unit
VIH “H” Input Voltage 0.8x VIL “L” Input Voltage IOH “H” Output
Current IOL1 32KOUT 0.5 IOL2 /INTRA,
IOL3 IIL Input Leakage
ICLKC Pull-down
IOZ Output Off-state
IDD1
IDD2
VDETH
VDETL
“L” Output Current
Current
Resistance Input
Current
Leakage Current
Time Keeping
Current
Supply Voltage
Monitoring Voltage
(“H”)
Supply Voltage
Monitoring Voltage
(“L”)
SCL,SDA, CLKC
32KOUT VOH=VDD-0.5V -0.5 mA
/INTRB SDA SCL VI=5.5V or VSS
CLKC VI=5.5V 0.3 1.0
SDA, /INTRA /INTRB
VDD
VDD
VDD
VDD
VDD=1.7 to 5.5V
VOL=0.4V
VDD=5.5V
VO=5.5V or VSS VDD=5.5V
VDD=3V, SCL=SDA=3V, Output = OPEN CLKC=”L” VDD=5V, SCL=SDA=5V, Output = OPEN CLKC=”L”
Topt=-30 to +70°C
Topt=-30 to +70°C
VDD
-0.3 0.2x
1.0
4.0
-1.0 1.0
-1.0
1.90
1.15
5.5
VDD
1.0
0.48 1.20
0.60 1.80
2.10 2.30
1.30 1.45
V
mA
μA μA
μA
μA
μA
V
V
5
R2025S/D
AC ELECTRICAL CHARACTERISTICS
Unless otherwise specified: VSS=0V,Topt=-40 TO +85°C Input / Output condition: VIH=0.8xVDD,VIL=0.2xVDD,VOH=0.8xVDD,VOL=0.2xVDD,CL=50pF
Symbol Item Condi-
f
SCL
t
LOW
t
HIGH
t
HD;STA
t
SU;STO
t
SU;STA
t
RCV
tion
SCL Clock Frequency 400 KHz SCL Clock ”L” Time 1.3 SCL Clock ”H” Time 0.6 Start Condition Hold Time 0.6 Stop Condition Set Up Time 0.6 Start Condition Set Up Time 0.6 Ricovery Time from Stop 62
Min. Typ. Max.
Condition to Start Condition
t
SU;DAT
t
HD;DAT
t
PL;DAT
Data Set Up Time 200 ns Data Hold Time 0 ns SDA “L” Stable Time
0.9
After Falling of SCL
t
PZ;DAT
SDA off Stable Time
0.9
After Falling of SCL
t
R
Rising Time of SCL and
300 ns
SDA (input)
t
F
Falling Time of SCL and
300 ns
SDA (input)
t
SP
Spike Width that can be
50 ns
removed with Input Filter
VDD1.7V
Unit
μs μs μs μs μs μs
μs μs
SCL
SDA(IN)
SDA(OUT)
S
Sr
S
t
LOW
t
PL;DAT
t
SU;DAT
t
HD;STA
Start Condition
Repeated Start Condition
t
RCV
S
Sr P
P
t
HIGH
t
HD;DAT
t
PZ;DAT
Stop Condition
t
HD;STA
t
SU;STA
tSP
t
SU;STO
6
PACKAGE DIMENSIONS
#
#7 #1 #
A
#22
#14
#1
#
#1
#11
#22
#14
A
A’ B
A
R2025S (SOP14)
1.24typ.
10.1±0.2
0.1
8
1.27±0.1
+0.1
5.0±0.2
3.1typ.
-0.05
0.1
7.4±0.2
0.1
±
3.2
14
+0.1
0.35
-0.05
R2025D (SON22)
0°-10
0.15
°
+0.1
-0.05
R2025S/D
0.25
±
0.6
0.2
0.55typ.
±
6.1
0.2
0.65
0.1
±
0.3
5.0
0.05
B
0.43
0.2
±
0.1
B
0.3
0.3
0.43
0.2
0.1
0.2
0.2
0.2
±
±
4.7
±
0.1
0.5
11
±
0.1
1.3
+0.1/-0.05
0.125
0.1
7
R2025S/D
GENERAL DESCRIPTION
Interface with CPU
The R2025S/D is connected to the CPU by two signal lines SCL and SDA, through which it reads and writes data from and to the CPU. Since the output of the I/O pin of SDA is open drain, data interfacing with a CPU different supply voltage is possible by applying pull-up resistors on the circuit board. The maximum clock frequency of 400kHz (at VDD1.7V) of SCL enables data transfer in I
Clock and Calendar Function
The R2025S/D reads and writes time data from and to the CPU in units ranging from seconds to the last two digits of the calendar year. The calendar year will automatically be identified as a leap year when its last two digits are a multiple of 4. Consequently, leap years up to the year 2099 can automatically be identified as such.
Alarm Function
The R2025S/D incorporates the alarm interrupt circuit configured to generate interrupt signals to the CPU at preset times. The alarm interrupt circuit allows two types of alarm settings specified by the Alarm_W registers and the Alarm_D registers. The Alarm_W registers allow week, hour, and minute alarm settings including combinations of multiple day-of-week settings such as "Monday, Wednesday, and Friday" and "Saturday and Sunday". The Alarm_D registers allow hour and minute alarm settings. The Alarm_W outputs from /INTRB pin, and the Alarm_D outputs from /INTRA pin. The current /INTRA or /INTRB conditions specified by the flag bits for each alarm function can be checked from the CPU by using a polling function.
High-precision Oscillation Adjustment Function
2
C-Bus fast mode.
To correct deviations in the oscillation frequency of the crystal oscillator, the oscillation adjustment circuit is configured to allow correction of a time count gain or loss (up to ±1.5 ppm at 25°C) from the CPU within a maximum range of approximately + 189 ppm in increments of approximately 3 ppm. Such oscillation frequency adjustment in each system has the following advantages:
* Corrects seasonal frequency deviations through seasonal oscillation adjustment.
* Allows timekeeping with higher precision particularly with a temperature sensing function out of RTC,
through oscillation adjustment in tune with temperature fluctuations.
Oscillation Halt Sensing Flag, Power-on Reset Flag, and Supply Voltage Monitoring Function
The R2025S/D incorporates an oscillation halt sensing circuit equipped with internal registers configured to record any past oscillation halt.
Power-on reset flag is set to “1” When R2025S/D is powered on from 0V.
As such, the oscillation halt sensing flag and Power-on reset flag are useful for judging the validity of time data.
The R2025S/D also incorporates a supply voltage monitoring circuit equipped with internal registers configured to record any drop in supply voltage below a certain threshold value. Supply voltage monitoring threshold settings can be selected between 2.1 and 1.3 volts through internal register settings. The oscillation halt sensing circuit is configured to confirm the established invalidation of time data in contrast to the supply voltage monitoring circuit intended to confirm the potential invalidation of time data. Further, the supply voltage monitoring circuit can be applied to battery supply voltage monitoring.
Periodic Interrupt Function
The R2025S/D incorporates the periodic interrupt circuit configured to generate periodic interrupt signals aside from interrupt signals generated by the periodic interrupt circuit for output from the /INTRA pin. Periodic interrupt signals have five selectable frequency settings of 2 Hz (once per 0.5 seconds), 1 Hz (once per 1 second), 1/60 Hz (once per 1 minute), 1/3600 Hz (once per 1 hour), and monthly (the first day of every month). Further, periodic interrupt signals also have two selectable waveforms, a normal pulse form (with a frequency of 2 Hz or 1 Hz) and
8
R2025S/D
special form adapted to interruption from the CPU in the level mode (with second, minute, hour, and month interrupts). The condition of periodic interrupt signals can be monitored by using a polling function.
32kHz Clock Output
The R2025S/D incorporates a 32-kHz clock output circuit configured to generate clock pulses with the oscillation frequency of a 32.768kHz crystal oscillator for output from the 32KOUT pin (CMOS push-pull output). The 32-kHz clock output is enabled and disabled when the CLKC pin is held high, and low or open, respectively. The 32-kHz clock output can be disabled by certain register settings but cannot be disabled without manipulation of any two registers with different addresses to prevent disabling in such events as the runaway of the CPU.
9
R2025S/D
Address Mapping
Address Register Name D a t a
A3A2A1A0 D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 0 0 Second Counter -
*2) 1 0 0 0 1 Minute Counter - M40 M20 M10 M8 M4 M2 M1 2 0 0 1 0 Hour Counter - - H20
3 0 0 1 1 Day-of-week Counter - - - - - W4 W2 W1 4 0 1 0 0 Day-of-month Counter - - D20 D10 D8 D4 D2 D1 5 0 1 0 1 Month Counter and
Century Bit 6 0 1 1 0 Year Counter Y80 Y40 Y20 Y10 Y8 Y4 Y2 Y1 7 0 1 1 1 Oscillation Adjustment
Register *3)
8 1 0 0 0 Alarm_W
(Minute Register)
9 1 0 0 1 Alarm_W
(Hour Register)
A 1 0 1 0 Alarm_W
(Day-of-week
Register)
B 1 0 1 1 Alarm_D
(Minute Register)
C 1 1 0 0 Alarm_D
(Hour Register) D 1 1 0 1 - - - - - - - ­E 1 1 1 0 Control Register 1 *3) WALE DALE F 1 1 1 1 Control Register 2 *3) VDSL VDET /XST PON
Notes: *1) All the data listed above accept both reading and writing. *2) The data marked with "-" is invalid for writing and reset to 0 for reading. *3) When the PON bit is set to 1 in Control Register 2, all the bits are reset to 0 in Oscillation Adjustment Register, Control Register 1 and Control Register 2 excluding the /XST and PON bits. *4) The (0) bit should be set to 0. *5) /XST is oscillation halt sensing bit. *6) PON is power-on reset flag.
/1920
(0) *4)
- WM40 WM20 WM10 WM8 WM4 WM2 WM1
- - WH20
- WW6 WW5 WW4 WW3 WW2 WW1 WW0
- DM40 DM20 DM10 DM8 DM4 DM2 DM1
- - DH20
S40 S20 S10 S8 S4 S2 S1
H10 H8 H4 H2 H1
P/A
- - MO10 MO8 MO4 MO2 MO1
F6 F5 F4 F3 F2 F1 F0
WH10 WH8 WH4 WH2 WH1
WP/ A
DH10 DH8 DH4 DH2 DH1
DP/A
/1224
/CLEN2 TEST CT2 CT1 CT0
/CLEN1 CTFG WAFG DAFG
*5)
10
R2025S/D
Register Settings
Control Register 1 (ADDRESS Eh)
D7 D6 D5 D4 D3 D2 D1 D0
WALE DALE WALE DALE
0 0 0 0 0 0 0 0 Default Settings *) *) Default settings: Default value means read / written values when the PON bit is set to “1” due to VDD power-on from 0 volts.
/1224 /1224
(1) WALE, DALE Alarm_W Enable Bit, Alarm_D Enable Bit
WALE,DALE Description
0 Disabling the alarm interrupt circuit (under the control of the settings
of the Alarm_W registers and the Alarm_D registers).
1 Enabling the alarm interrupt circuit (under the control of the settings
of the Alarm_W registers and the Alarm_D registers)
(2) /1224 /12-24-hour Mode Selection Bit
/1224
0 Selecting the 12-hour mode with a.m. and p.m. indications. (Default) 1 Selecting the 24-hour mode
Setting the /1224 bit to 0 and 1 specifies the 12-hour mode and the 24-hour mode, respectively.
24-hour mode 12-hour mode 24-hour mode 12-hour mode
00 12 (AM12) 12 32 (PM12) 01 01 (AM 1) 13 21 (PM 1) 02 02 (AM 2) 14 22 (PM 2) 03 03 (AM 3) 15 23 (PM 3) 04 04 (AM 4) 16 24 (PM 4) 05 05 (AM 5) 17 25 (PM 5) 06 06 (AM 6) 18 26 (PM 6) 07 07 (AM 7) 19 27 (PM 7) 08 08 (AM 8) 20 28 (PM 8) 09 09 (AM 9) 21 29 (PM 9) 10 10 (AM10) 22 30 (PM10) 11 11 (AM11) 23 31 (PM11)
Setting the /1224 bit should precede writing time data
(3) /CLEN2 32-kHz Clock Output Bit2
/CLEN2 Description
0 Enabling the 32-kHz clock output (Default)
1 Disabling the 32-kHz clock output Setting the /CLEN2 bit or the /CLEN1 bit (D3 in the control register 2) to 0 specifies generating clock pulses with the oscillation frequency of the 32.768-kHz crystal oscillator for output from the 32KOUT pin. Conversely, setting both the /CLEN1 and the /CLEN2 bit to 1 specifies disabling (“L”) such output.
(4) TEST Test Bit
TEST Description
0 Normal operation mode. (Default)
1 Test mode. The TEST bit is used only for testing in the factory and should normally be set to 0.
/CLEN2 TEST CT2 CT1 CT0 (For Writing) /CLEN2 TEST CT2 CT1 CT0 (For Reading)
(Default)
Description
11
R2025S/D
A
(5) CT2,CT1, and CT0 Periodic Interrupt Selection Bits
Description CT2 CT1 CT0
Wave form
mode
0 0 0 - OFF(H) (Default)
0 0 1 - Fixed at “L”
0 1 0 Pulse Mode
*1)
0 1 1 Pulse Mode
*1)
1 0 0 Level Mode
*2)
1 0 1 Level Mode
*2)
1 1 0 Level Mode
*2)
1 1 1 Level Mode
*2)
* 1) Pulse Mode: 2-Hz and 1-Hz clock pulses are output in synchronization with the increment of the second counter as illustrated in the timing chart below.
Interrupt Cycle and Falling Timing
2Hz(Duty50%) 1Hz(Duty50%) Once per 1 second (Synchronized with
second counter increment) Once per 1 minute (at 00 seconds of every minute) Once per hour (at 00 minutes and 00 seconds of every hour) Once per month (at 00 hours, 00 minutes, and 00 seconds of first day of every month)
CTFG Bi t
/INTRA Pin
pprox. 92μs
(Increment of second counter)
Rewriting of the second counter
In the pulse mode, the increment of the second counter is delayed by approximately 92 μs from the falling edge of clock pulses. Consequently, time readings immediately after the falling edge of clock pulses may appear to lag behind the time counts of the real-time clocks by approximately 1 second. Rewriting the second counter will reset the other time counters of less than 1 second, driving the /INTRA pin low.
* 2) Level Mode: Periodic interrupt signals are output with selectable interrupt cycle settings of 1 second, 1 minute, 1 hour, and 1 month. The increment of the second counter is synchronized with the falling edge of periodic interrupt signals. For example, periodic interrupt signals with an interrupt cycle setting of 1 second are output in synchronization with the increment of the second counter as illustrated in the timing chart below.
CTFG Bit
/INTRA Pin
Setting CTFG bit to 0
(Increment of second counter)
(Increment of second counter)
Setting CTFG bit to 0
(Increment of second counter)
12
R2025S/D
*1), *2) When the oscillation adjustment circuit is used, the interrupt cycle will fluctuate once per 20sec. or 60sec. as follows: Pulse Mode: The “L” period of output pulses will increment or decrement by a maximum of ±3.784 ms. For example, 1-Hz clock pulses will have a duty cycle of 50 ±0.3784%. Level Mode: A periodic interrupt cycle of 1 second will increment or decrement by a maximum of ±3.784 ms.
Control Register 2 (Address Fh)
D7 D6 D5 D4 D3 D2 D1 D0
VDSL VDET /XST PON /CLE
N1
VDSL VDET /XST PON /CLE
N1
0 0
*) Default settings: Default value means read / written values when the PON bit is set to “1” due to VDD power-on from 0 volts.
Indefinit e
1 0 0 0 0 Default Settings *)
(1) VDSL VDD Supply Voltage Monitoring Threshold Selection Bit
VDSL Description
0 Selecting the VDD supply voltage monitoring threshold setting of
2.1v.
1 Selecting the VDD supply voltage monitoring threshold setting of
1.3v.
The VDSL bit is intended to select the VDD supply voltage monitoring threshold settings.
(2) VDET Supply Voltage Monitoring Result Indication Bit
VDET Description
0 Indicating supply voltage above the supply voltage monitoring
threshold settings.
1 Indicating supply voltage below the supply voltage monitoring
threshold settings. Once the VDET bit is set to 1, the supply voltage monitoring circuit will be disabled while the VDET bit will hold the setting of 1. The VDET bit accepts only the writing of 0, which restarts the supply voltage monitoring circuit. Conversely, setting the VDET bit to 1 causes no event.
(3) /XST Oscillation Halt Sensing Monitor Bit
/XST Description
0 Sensing a halt of oscillation
1 Sensing a normal condition of oscillation The /XST accepts the reading and writing of 0 and 1. The /XST bit will be set to 0 when the oscillation halt sensing. The /XST bit will hold 0 even after the restart of oscillation.
(4) PON Power-on-reset Flag Bit
PON Description
0 Normal condition
1 Detecting VDD power-on -reset (Default) The PON bit is for sensing power-on reset condition. * The PON bit will be set to 1 when VDD power-on from 0 volts. The PON bit will hold the setting of 1 even after power-on. * When the PON bit is set to 1, all bits will be reset to 0, in the Oscillation Adjustment Register, Control Register 1, and Control Register 2, except /XST and PON. As a result, /INTRA and /INTRB pins stop outputting. * The PON bit accepts only the writing of 0. Conversely, setting the PON bit to 1 causes no event.
CTFG WAF
G
CTFG WAF
G
DAFG (For Writing) DAFG (For Reading)
(Default)
(Default)
13
R2025S/D
A
A
(5) /CLEN1 32-kHz Clock Output Bit 1
/CLEN1 Description
0 Enabling the 32-kHz clock output (Default)
1 Disabling the 32-kHz clock output Setting the /CLEN1 bit or the /CLEN2 bit (D4 in the control register 1) to 0 specifies generating clock pulses with the oscillation frequency of the 32.768-kHz crystal oscillator for output from the 32KOUT pin. Conversely, setting both the /CLEN1 and the /CLEN2 bit to 1 specifies disabling (“L”) such output.
(6) CTFG Periodic Interrupt Flag Bit
CTFG Description
0 Periodic interrupt output = “H” (Default)
1 Periodic interrupt output = “L” The CTFG bit is set to 1 when the periodic interrupt signals are output from the /INTRA pin (“L”). The CTFG bit accepts only the writing of 0 in the level mode, which disables (“H”) the /INTRA pin until it is enabled (“L”) again in the next interrupt cycle. Conversely, setting the CTFG bit to 1 causes no event.
(7) WAFG,DAFG Alarm_W Flag Bit and Alarm_D Flag Bit
WAFG,DAFG Description
0 Indicating a mismatch between current time and preset alarm time (Default)
1 Indicating a match between current time and preset alarm time The WAFG and DAFG bits are valid only when the WALE and DALE have the setting of 1, which is caused approximately 61μs after any match between current time and preset alarm time specified by the Alarm_W registers and the Alarm_D registers. The WAFG (DAFG) bit accepts only the writing of 0. /INTRB (/INTRA) pin outputs off (“H”) when this bit is set to 0. And /INTRB (/INTRA) pin outputs “L” again at the next preset alarm time. Conversely, setting the WAFG and DAFG bits to 1 causes no event. The WAFG and DAFG bits will have the reading of 0 when the alarm interrupt circuit is disabled with the WALE and DALE bits set to 0. The settings of the WAFG (DAFG) bit is synchronized with the output of the /INTRB (/INTRA) pin as shown in the timing chart below.
pprox. 61μs
pprox. 61μs
WAFG(DAFG) Bit
/INTRB(/INTRA) Pin
Writing of 0 to
WAFG(DAFG) bit (Match between current time and preset alarm time)
(Match between current time and preset alarm time)
(Match between current time and preset alarm time)
Writing of 0 to WAFG(DAFG) bit
14
R2025S/D
Time Counter (Address 0-2h)
Second Counter (Address 0h)
D7 D6 D5 D4 D3 D2 D1 D0
- S40 S20 S10 S8 S4 S2 S1 (For Writing) 0 S40 S20 S10 S8 S4 S2 S1 (For Reading) 0
Minute Counter (Address 1h)
D7 D6 D5 D4 D3 D2 D1 D0
- M40 M20 M10 M8 M4 M2 M1 (For Writing) 0 M40 M20 M10 M8 M4 M2 M1 (For Reading) 0
Hour Counter (Address 2h)
D7 D6 D5 D4 D3 D2 D1 D0
- -
0 0
0 0 *) Default settings: Default value means read / written values when the PON bit is set to “1” due to VDD power-on from 0 volts.
* Time digit display (BCD format) as follows:
The second digits range from 00 to 59 and are carried to the minute digit in transition from 59 to 00. The minute digits range from 00 to 59 and are carried to the hour digits in transition from 59 to 00. The hour digits range as shown in "P Selection Bit" and are carried to the day-of-month and day-of-week digits in transition from PM11 to AM12
or from 23 to 00. * Any writing to the second counter resets divider units of less than 1 second. * Any carry from lower digits with the writing of non-existent time may cause the time counters to malfunction.
Therefore, such incorrect writing should be replaced with the writing of existent time data.
Indefinite Indefinite Indefinite Indefinite Indefinite Indefinite Indefinite
Indefinite Indefinite Indefinite Indefinite Indefinite Indefinite Indefinite
P/A or H20
P/A or H20
Indefinite Indefinite Indefinite Indefinite Indefinite Indefinite
H10 H8 H4 H2 H1 (For Writing)
H10 H8 H4 H2 H1 (For Reading)
11 Control Register 1 (ADDRESS Eh) (2) /1224: /12-24-hour Mode
Default Settings *)
Default Settings *)
Default Settings *)
Day-of-week Counter (Address 3h)
D7 D6 D5 D4 D3 D2 D1 D0
- - - - - W4 W2 W1 (For Writing) 0 0 0 0 0 W4 W2 W1 (For Reading)
0 0 0 0 0 *) Default settings: Default value means read / written values when the PON bit is set to “1” due to VDD power-on from 0 volts.
* The day-of-week counter is incremented by 1 when the day-of-week digits are carried to the day-of-month
digits.
* Day-of-week display (incremented in septimal notation):
(W4, W2, W1) = (0, 0, 0) (0, 0, 1)→…→(1, 1, 0) (0, 0, 0)
* Correspondences between days of the week and the day-of-week digits are user-definable
(e.g. Sunday = 0, 0, 0)
* The writing of (1, 1, 1) to (W4, W2, W1) is prohibited except when days of the week are unused.
Indefinite Indefinite Indefinite
Default Settings *)
15
Loading...
+ 33 hidden pages