The R2043K/T is a CMOS real-time clock IC connected to the CPU by four signal lines, CE, SCLK, SI, SO, and
configured to perform serial transmission of time and calendar data to the CPU. The periodic interrupt circuit is
configured to generate interrupt signals with six selectable interrupts ranging from 0.5 seconds to 1 month. The
2 alarm interrupt circuits generate interrupt signals at preset times. As the oscillation circuit is driven under
constant voltage, fluctuation of the oscillator frequency due to supply voltage is small, and the time keeping
current is small (TYP. 0.45µA at 3V). The oscillation halt sensing circuit can be used to judge the validity of
internal data in such events as power-on; The supply voltage monitoring circuit is configured to record a drop in
supply voltage below two selectable supply voltage monitoring threshold settings. The 32.768kHz clock output
function (N-channel open drain output) is intended to output sub-clock pulses for the external microcomputer.
The oscillation adjustment circuit is intended to adjust time counts with high precision by correcting deviations in
the oscillation frequency of the crystal oscillator. Since the package for these ICs are TSSOP10G (4.0x2.9x1.0:
R2043T) or FFP12 (2.0x2.0x1.0: R2043K), high density mounting of ICs on boards is possible.
4-wire Serial Interface
R2043K/T
’04.04.23
FEATURES
Minimum Timekeeping supply volt age TYP:0.66 to 5.5v (Worst: 1.00V to 5.5v); VDD pin
Low power consumption 0.45µA TYP at VDD=3V (1.00µA MAX.)
Four signal lines (CE, SCLK, SI, and SO) required for connection to the CPU.
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)
With Power-on flag to prove that the power supply starts from 0V
32-kHz clock output pin (N-channel open drain output)
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
High precision oscillation adjustment circuit
Built-in oscillation stabilization capacitors (CG and CD)
Package TSSOP10G (4.0mm x 2.9mm x 1.0mm: R2043T) FFP12 (2.0mm x 2.0mm x 1.0mm: R2043K)
CMOS process
PIN CONFIGURATION
R2043T(TSSOP10G)
R2043K(FFP12)
OSCOUT
OSCIN
CE
10
9
8
7
VDD
OSCIN
OSCOUT
CE
/INTR VSS
/INTR
VSS
SI
32KOUT
SCLK
Rev.2.06 - 1 -
1
2
3
SO
4
SI
5 6
TOP VIEW
8
9
10
11
12
1
2
SO
SCL
TOP VIEW
7
VDD
6
(VSS)
5
(VSS)
4
3
32KOUT
12345
R2043K/T
BLOCK DIAGRAM
32KOUT
OSCIN
OSCOUT
/INTR
32kHz
OUTPUT
CONTROL
OSC
OSC
DETECT
DIVIDER
CORREC
-TION
INTERRUPT CONTROL
DIV
COMPARATOR_W
COMPARATOR_D
TIME COUNTER
(SEC,MIN,HOUR,WEEK,DAY,MONTH,YEAR)
ADDRESS
DECODER
SHIFT REGISTER
SELECTION GUIDE
Part Number is designated as follows:
R2043K-E2 ←Part Number ↑ ↑
R2043a-bb
Code Description
Designation of the package.
a
bb Designation of the taping type. Only E2 is available.
K: FFP12
T: TSSOP10G
ALARM_W REGISTER
(MIN,HOUR, WEEK)
ALARM_D REGISTER
(MIN,HOUR)
ADDRESS
REGISTER
POWER_ON
I/O
CONTROL
VDD
VOLTAGE
DETECT
RESET
VSS
SCLK
SI
SO
CE
12345
Rev.2.06 - 2 -
R2043K/T
PIN DESCRIPTION
Symbol Item Description
CE Chip enable
Input
SCLK Serial Clock
Input
SI Serial Input The SI pin is used to input data intended for writing in synchronization with
SO Serial Output The SO pin is used to output data intended for reading in synchronization
/INTR Interrupt
Output
32KOUT 32kHz Clock
Output
OSCIN
OSCOUT
VDD
VSS
(VSS) Please connect to ground line, or do not connect any lines.
Oscillation
Circuit
Input / Output
Positive/Negative
Power
Supply Input
The CE pin is used for interfacing with the CPU. Should be held high to
allow access to the CPU. Incorporates a pull-down resistor. Should be
held low or open when the CPU is powered off. Allows a maximum input
voltage of 5.5v regardless of supply voltage.
The SCLK pin is used to input clock pulses synchronizing the input and
output of data to and from the SI and SO pins. Allows a maximum input
voltage of 5.5v regardless of supply voltage.
the SCLK pin. CMOS input. Allows a maximum input voltage of 5.5v
regardless of supply voltage.
with the SCLK pin. CMOS output. If the CE pin is low, the SO pin goes to a
high impedance state.
The /INTR pin is used to output alarm interrupt (Alarm_W) and alarm
interrupt (Alarm_D) and output periodic interrupt signals to the CPU signals.
Disabled at power-on from 0V. N-channel open drain output. Allows a
maximum pull-up voltage of 5.5v regardless of supply voltage.
The 32KOUT pin is used to output 32.768-kHz clock pulses. The pin is
N-channel open drain output. However it cannot be pulled up over
VDD+0.3v.
The OSCIN and OSCOUT pins are used to connect the 32.768-kHz crystal
oscillator (with all other oscillation circuit components built into the
R2043K/T).
The VDD pin is connected to the power supply. The VSS pin is grounded.
Rev.2.05 - 3 -
12345
R2043K/T
ABSOLUTE MAXIMUM RATINGS
(VSS=0V)
Symbol Item Pin Name Description Unit
VDD Supply Voltage VDD -0.3 to +6.5 V
VI Input Voltage CE, SCLK, SI -0.3 to +6.5 V
Output Voltage 1 SO, 32KOUT -0.3 to VDD + 0.3 V VO
Output Voltage 2 /INTR -0.3 to +6.5 V
PD Power Dissipation
Topt Operating Temperature -40 to +85
Tstg Storage Temperature -55 to +125
Topt = 25°C
300 mW
°C
°C
RECOMMENDED OPERATING CONDITIONS
(VSS=0V, Topt=-40 to +85°C)
Symbol Item Pin Name Min, Typ. Max. Unit
Vaccess Supply Voltage Power supply voltage
for interfacing
with CPU
VCLK Time keeping Voltage
VCLKL Minimum Time keeping
Voltage
fXT Oscillation Frequency 32.768 kHz
*1) CGout is connected between OSCIN and VSS, CDout is connected between OSCOUT and VSS.
R2043K/T series incorporates the capacitors between OSCIN and VSS, between OSCOUT and VSS.
Then normally, CGout and CDout are not necessary. For more detail, see “P.28 Adjustment of Oscillation
frequency”
*2) Crystal oscillator: CL=6-9pF, R1=50KΩ
Symbol Item Pin Name Conditions Min. Typ. Max. Unit
VIH “H” Input Voltage 0.8x
VIL “L” Input Voltage
IOH “H” Output
Current
IOL1 /INTR 2.0
IOL2
IIL Input Leakage
RDNCE Pull-down Resistance CE 40 120 400
IOZ1 SO VO=5.5V or VSS
IOZ2 /INTR VO=5.5V
IOZ3
IDD Time Keeping Current VDD VDD=3V,
VDETH Supply Voltage
VDETL Supply Voltage
*1) For time keeping current when outputting 32.768kHz from the 32KOUT pin, see “P.43 Typical
Characteristics”. For time keeping current when CGOUT, CDOUT is not equal to 0pF, see “P.28
Adjustment of Oscillation frequency”.
“L” Output
Current
Current
Output Off-state
Current
Monitoring Voltage “H”
Monitoring Voltage “L”
CE,
SCLK, SI
SO VOH=VDD-0.5V -0.5 mA
SO,
32KOUT
SI, SCLK VI=5.5V or VSS
32KOUT VO=5.5V
VDD
VDD
VDD=1.7 to 5.5V
VOL=0.4V
VDD=5.5V
VDD=5.5V
VDD=5.5V
VDD=5.5V
CE= OPEN
Output = OPEN
32KOUT=OFF
CGout=CDout=0pF
*1)
Topt=-30 to +70°C
Topt=-30 to +70°C
VDD
-0.3 0.2x
0.5
-1.0 1.0
-1 1
-1 1
-1 1
1.45 1.60 1.75 V
1.15 1.30 1.45 V
5.5
VDD
0.45 1.00
V
mA
µA
kΩ
µA
µA
Rev.2.05 - 5 -
12345
R2043K/T
AC ELECTRICAL CHARACTERISTICS
Unless otherwise specified: VSS=0V,Topt=-40 to +85°C
Input and Output Conditions: VIH=0.8×VDD,VIL=0.2×VDD,VOH=0.8×VDD,VOL=0.2×VDD,CL=50pF
Symbol Item Condi-
tions
t
CE Set-up Time 400 ns
CES
t
CE Hold Time 400 ns
CEH
tCR CE Recovery Time 62
f
SCLK Clock Frequency 1.0 MHz
SCLK
t
SCLK Clock High Time 400 ns
CKH
t
SCLK Clock Low Time 400 ns
CKL
t
SCLK Set-up Time 200 ns
CKS
tRD Data Output Delay T ime 300 ns
tRZ Data Output Floating T ime 300 ns
t
Data Output Delay Time
CEZ
300 ns
After Falling of CE
tDS Input Data Set-up Time 200 ns
tDH Input Data Hold T i me 200 ns
t
t
CKH
CKL
VDD≥1.7V
Min. Typ. Max.
Unit
µs
CE
t
t
CES
CKS
SCLK
t
DS
t
DH
SI
SO
tRD
t
RD
t
RZ
*) For reading/writing timing, see “P.28 Adjustment of Oscillation frequency”.
t
CEH
tCR
t
CEZ
12345
Rev.2.06 - 6 -
PACKAGE DIMENSIONS
R2043K
9 7
R2043K/T
10
12
0.103
0.5
0.5
1PIN INDEX
2PIN INDEX
0.3±0.15
0.2±0.15
(BOTTOM VIEW)
6
0.05
4
3 1
0.35
2.0±0.1
0.35
0.25
1.0Max
0.17±0.1
0.27±0.15
2.0±0.1
unit: mm
Rev.2.05 - 7 -
12345
R2043K/T
M
R2043T
2.9±0.2
10
1
0.2±0.1
0.5
6
5
0.1
0.15
0 to 10
2.8±0.2
4.0±0.2
°
0.55±0.2
+0.1
0.13
-0.05
(0.75)
-0.05
+0.1
0.85±0.15
0.1
unit: mm
12345
Rev.2.06 - 8 -
R2043K/T
GENERAL DESCRIPTION
Interface with CPU
The R2043K/T is connected to the CPU by four signal lines CE (Chip Enable), SCLK (Serial Clock), SI (Serial
Input), and SO (Serial Output), through which it reads and writes data from and to the CPU. The CPU can be
accessed when the CE pin is held high. Access clock pulses have a maximum frequency of 1 MHz allowing
high-speed data transfer to the CPU.
Clock and Calendar Function
The R2043K/T 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.
*) The year 2000 is a leap year while the year 2100 is not a leap year.
Alarm Function
The R2043K/T 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 /INTR pin, and
the Alarm_D outputs also from /INTR pin. Each alarm function can be checked from the CPU by using a polling
function.
High-precision Oscillation Adjustment Function
The R2043K/T has built-in oscillation stabilization capacitors (CG and CD), which can be connected to an
external crystal oscillator to configure an oscillation circuit. Two kinds of accuracy for this function are
alternatives. To correct deviations in the oscillator frequency of the crystal, the oscillation adjustment circuit is
configured to allow correction of a time count gain or loss (up to ±1.5ppm or ±0.5ppm at 25°C) from the CPU.
The maximum range is approximately ±189ppm (or ±63ppm) in increments of approximately 3ppm (or 1ppm).
Such oscillation frequency adjustment in each system has the following advantages:
* Allows timekeeping with much higher precision than conventional RTCs while using a crystal oscillator
with a wide range of precision variations.
* 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.
Power-on Reset, Oscillation Halt Sensing Function and Supply Voltage Monitoring Function
The R2043K/T incorporates an oscillation halt sensing circuit equipped with internal registers configured to
record any past oscillation halt.
Power on reset function reset the control resisters when the system is powered on from 0V. At the same time, the
fact is memorized to the resister as a flag, thereby identifying whether they are powered on from 0V or battery
backed-up.
The R2043K/T 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 1.6V and 1.3V through internal register settings. The sampling rate is normally 1s.
The oscillation halt sensing circuit and the power-on reset flag are 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 R2043K/T incorporates the periodic interrupt circuit configured to generate periodic interrupt signals aside
from interrupt signals generated by the alarm interrupt circuit for output from the /INTR 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 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 with using a polling function.
32kHz Clock Output
The R2043K/T incorporates a 32-kHz clock circuit configured to generate clock pulses with the oscillation
Rev.2.05 - 9 -
12345
R2043K/T
frequency of a 32.768kHz crystal oscillator for output from the 32KOUT pin. 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. The pin is N-channel open
drain output, however it cannot be pulled up over VDD+0.3v.
12345
Rev.2.06 - 10 -
R2043K/T
Address Mapping
Address Register Name D a t a
A3A2A1A0 D7 D6 D5 D4 D3 D2 D1 D0
Century Bit
6 0110 Year Counter Y80 Y40 Y20 Y10 Y8 Y4 Y2 Y1
7 0111 Oscillation Adjustment
Register *3)
8 1000 Alarm_W
(Minute Register)
9 1001 Alarm_W
(Hour Register)
A 1010 Alarm_W
(Day-of-week
Register)
B 1011 Alarm_D
(Minute Register)
C 1100 Alarm_D
(Hour Register)
D 1101 - - - - - - - E 1110 Control Register 1 *3) WALEDALE
F 1111 Control Register 2 *3) VDSLVDET/XST
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) PON is a power-on-reset flag.
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 bit.
* 4) When DEV=0, the oscillation adjustment circuit is configured to allow correction of a time count gain or
loss up to ±1.5ppm.
When DEV=1, the oscillation adjustment circuit is configured to allow correction of a time count gain or
loss up to or ±0.5ppm.
* 5) /XST is an oscillation halt sensing monitor bit.
Setting the /12⋅24 bit should precede writing time data
(3) /CLEN2 32kHz Clock Output Bit 2
/CLEN2 Description
0 Enabling the 32-kHz clock circuit (Default)
1 Disabling the 32-kHz clock circuit
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 /CLEN2 bit to 1 disabling (”H”) such output.
(4) TEST T est 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.
/12⋅24
/12⋅24
of the Alarm_W registers and the Alarm_D registers).
of the Alarm_W registers and the Alarm_D registers)
Description
/CLEN2 TEST CT2 CT1 CT0 (For Writing)
/CLEN2 TEST CT2 CT1 CT0 (For Reading)
(Default)
12345
Rev.2.06 - 12 -
R2043K/T
A
(5) CT2, CT1, and CT0 Periodic Interrupt Selection Bits
* 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.
Description
Wave form
mode
*1)
*1)
*2)
*2)
*2)
*2)
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)
In the pulse mode, the increment of the second counter is delayed by approximately 92 µs from the
* 2) Level Mode: Periodic interrupt signals are output with selectable interrupt cycle settings of 1 second, 1
CTFG Bit
/INTR Pin
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
/INTR pin low.
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.
/INTR Pin
CTFG Bit
pprox. 92µs
(Increment of second counter)
Rewriting of the second counter
Setting CTFG bit to 0
(Increment of
second counter)
*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.
*) Default settings: Default value means read / written values when the PON bit is set to “1” due to VDD
power-on from 0v.
(1) VDSL VDD Supply Voltage Monitoring Threshold Selection Bit
VDSL Description
0 Selecting the VDD supply voltage monitoring threshold setting of
1 Selecting the VDD supply voltage monitoring threshold setting of
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
1 Indicating supply voltage below the supply voltage monitoring
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 0v. 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, /INTR pin stops outputting.
* The PON bit accepts only the writing of 0. Conversely, setting the PON bit to 1 causes no event.
(5) /CLEN1 32kHz Clock Output Bit 1
/CLEN1 Description
0 Enabling the 32-kHz clock circuit (Default)
1 Disabling the 32-kHz clock circuit
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 /CLEN2 bit to 1 disabling (”H”) such output.
1 Periodic interrupt output = “L”
The CTFG bit is set to 1 when the periodic interrupt signals are output from the /INTR pin (“L”). The CTFG
bit accepts only the writing of 0 in the level mode, which disables (“H”) the /INTR 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. /INTR pin
outputs off (“H”) when this bit is set to 0. And /INTR 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 and DAFG bits are synchronized with the output of the /INTR pin as shown in the
timing chart below.
pprox. 61µs
pprox. 61µs
WAFG(DAFG) Bit
/INTR Pin
(Match between
current time and
preset alarm time)
Writing of 0 to
WAFG(DAFG) bit
(Match between
current time and
preset alarm time)
(Match between
current time and
preset alarm time)
Writing of 0 to
WAFG(DAFG) bit
12345
Rev.2.05 - 15 -
Loading...
+ 33 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.