欢迎访问ic37.com |
会员登录 免费注册
发布采购

DS3231SN#T&R 参数 Datasheet PDF下载

DS3231SN#T&R图片预览
型号: DS3231SN#T&R
PDF下载: 下载PDF文件 查看货源
内容描述: [Real Time Clock, Non-Volatile, 1 Timer(s), CMOS, PDSO16, 0.300 INCH, ROHS COMPLIANT, SOIC-16]
分类和应用:
文件页数/大小: 20 页 / 363 K
品牌: MAXIM [ MAXIM INTEGRATED PRODUCTS ]
 浏览型号DS3231SN#T&R的Datasheet PDF文件第8页浏览型号DS3231SN#T&R的Datasheet PDF文件第9页浏览型号DS3231SN#T&R的Datasheet PDF文件第10页浏览型号DS3231SN#T&R的Datasheet PDF文件第11页浏览型号DS3231SN#T&R的Datasheet PDF文件第13页浏览型号DS3231SN#T&R的Datasheet PDF文件第14页浏览型号DS3231SN#T&R的Datasheet PDF文件第15页浏览型号DS3231SN#T&R的Datasheet PDF文件第16页  
Extremely Accurate I
2
C-Integrated
RTC/TCXO/Crystal
the binary-coded decimal (BCD) format. The DS3231
can be run in either 12-hour or 24-hour mode. Bit 6 of
the hours register is defined as the 12- or 24-hour
mode select bit. When high, the 12-hour mode is
selected. In the 12-hour mode, bit 5 is the
AM/PM
bit
with logic-high being PM. In the 24-hour mode, bit 5 is
the second 10-hour bit (20–23 hours). The century bit
(bit 7 of the month register) is toggled when the years
register overflows from 99 to 00.
The day-of-week register increments at midnight.
Values that correspond to the day of week are user-
defined but must be sequential (i.e., if 1 equals
Sunday, then 2 equals Monday, and so on). Illogical
time and date entries result in undefined operation.
When reading or writing the time and date registers, sec-
ondary (user) buffers are used to prevent errors when
the internal registers update. When reading the time and
date registers, the user buffers are synchronized to the
internal registers on any START and when the register
pointer rolls over to zero. The time information is read
from these secondary registers, while the clock contin-
ues to run. This eliminates the need to reread the regis-
ters in case the main registers update during a read.
The countdown chain is reset whenever the seconds regis-
ter is written. Write transfers occur on the acknowledge
from the DS3231. Once the countdown chain is reset, to
avoid rollover issues the remaining time and date registers
must be written within 1 second. The 1Hz square-wave out-
put, if enabled, transitions high 500ms after the seconds
data transfer, provided the oscillator is already running.
DS3231
Alarms
The DS3231 contains two time-of-day/date alarms.
Alarm 1 can be set by writing to registers 07h to 0Ah.
Alarm 2 can be set by writing to registers 0Bh to 0Dh.
The alarms can be programmed (by the alarm enable
and INTCN bits of the control register) to activate the
INT/SQW
output on an alarm match condition. Bit 7 of
each of the time-of-day/date alarm registers are mask
bits (Table 2). When all the mask bits for each alarm
are logic 0, an alarm only occurs when the values in the
timekeeping registers match the corresponding values
stored in the time-of-day/date alarm registers. The
alarms can also be programmed to repeat every sec-
ond, minute, hour, day, or date. Table 2 shows the pos-
sible settings. Configurations not listed in the table will
result in illogical operation.
The DY/DT bits (bit 6 of the alarm day/date registers)
control whether the alarm value stored in bits 0 to 5 of
that register reflects the day of the week or the date of
the month. If DY/DT is written to logic 0, the alarm will
be the result of a match with date of the month. If
DY/DT is written to logic 1, the alarm will be the result of
a match with day of the week.
When the RTC register values match alarm register set-
tings, the corresponding Alarm Flag ‘A1F’ or ‘A2F’ bit is
set to logic 1. If the corresponding Alarm Interrupt
Enable ‘A1IE’ or ‘A2IE’ is also set to logic 1 and the
INTCN bit is set to logic 1, the alarm condition will acti-
vate the
INT/SQW
signal. The match is tested on the
once-per-second update of the time and date registers.
Table 2. Alarm Mask Bits
DY/DT
X
X
X
X
0
1
ALARM 1 REGISTER MASK BITS (BIT 7)
A1M4
1
1
1
1
0
0
A1M3
1
1
1
0
0
0
A1M2
1
1
0
0
0
0
A1M1
1
0
0
0
0
0
ALARM RATE
Alarm once per second
Alarm when seconds match
Alarm when minutes and seconds match
Alarm when hours, minutes, and seconds match
Alarm when date, hours, minutes, and seconds match
Alarm when day, hours, minutes, and seconds match
DY/DT
X
X
X
0
1
ALARM 2 REGISTER MASK BITS (BIT 7)
A2M4
1
1
1
0
0
A2M3
1
1
0
0
0
A2M2
1
0
0
0
0
ALARM RATE
Alarm once per minute (00 seconds of every minute)
Alarm when minutes match
Alarm when hours and minutes match
Alarm when date, hours, and minutes match
Alarm when day, hours, and minutes match
12
____________________________________________________________________