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

1338-31DVGI 参数 Datasheet PDF下载

1338-31DVGI图片预览
型号: 1338-31DVGI
PDF下载: 下载PDF文件 查看货源
内容描述: 带电池备份非易失性RAM实时时钟 [REAL-TIME CLOCK WITH BATTERY BACKED NON-VOLATILE RAM]
分类和应用: 电池时钟
文件页数/大小: 23 页 / 317 K
品牌: IDT [ INTEGRATED DEVICE TECHNOLOGY ]
 浏览型号1338-31DVGI的Datasheet PDF文件第2页浏览型号1338-31DVGI的Datasheet PDF文件第3页浏览型号1338-31DVGI的Datasheet PDF文件第4页浏览型号1338-31DVGI的Datasheet PDF文件第5页浏览型号1338-31DVGI的Datasheet PDF文件第7页浏览型号1338-31DVGI的Datasheet PDF文件第8页浏览型号1338-31DVGI的Datasheet PDF文件第9页浏览型号1338-31DVGI的Datasheet PDF文件第10页  
IDT1338
REAL-TIME CLOCK WITH BATTERY BACKED NON-VOLATILE RAM
RTC
RTC and RAM Address Map
The address map for the RTC and RAM registers shown in Table 3. The RTC registers and control register are located in
address locations 00H to 07H The RAM registers are located in address locations 08H to 3FH. During a multibyte access,
when the register pointer reaches 3FH (the end of RAM space) it wraps around to location 00H (the beginning of the clock
space). On an I
2
C START, STOP, or register pointer incrementing to location 00H, the current time and date is transferred to
a second set of registers. The time and date in the secondary registers are read in a multibyte data transfer, while the clock
continues to run. This eliminates the need to re-read the registers in case of an update of the main registers during a read.
Table 3. RTC and RAM Address Map
Address
00H
01H
02H
03H
04H
05H
06H
07H
08H -
3FH
Note:
Bits listed as “0” should always be written and read as 0.
OUT
0
Bit 7
CH
0
0
0
0
0
12/24
0
0
0
10 year
OSF
SQWE
0
0
0
Bit 6
Bit 5
10 seconds
10 minutes
AM/PM
10 hour
0
10 date
10 month
10 hour
0
0
Date
Month
Year
RS1
RS0
Hour
Day
Hours
Day
Date
Month
Year
Control
RAM 56 x 8
00H - FFH
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Function
Seconds
Minutes
Range
00 - 59
00 - 59
1 - 12
+ AM/PM
00 - 23
1-7
01 - 31
01 - 12
00 - 99
Seconds
Minutes
Clock and Calendar
Table 3 shows the address map of the RTC registers. The
time and date information is obtained by reading the
appropriate register bytes. The time and calendar are set or
initialized by writing the appropriate register bytes. The
contents of the time and calendar registers are in the BCD
format. Bit 7 of Register 0 is the clock halt (CH) bit. When
this bit is set to 1, the oscillator is disabled. When cleared to
0, the oscillator is enabled. The clock can be halted
whenever the timekeeping functions are not required, which
decreases V
BAT
current.
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,
secondary (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 or stop, and when the address
pointer rolls over to zero. The countdown chain is reset
whenever the seconds register is written. Write transfers
occurs on the acknowledge pulse from the device. To avoid
rollover issues, once the countdown chain is reset, the
remaining time and date registers must be written within one
second. If enabled, the 1 Hz square-wave output transitions
high 500 ms after the seconds data transfer, provided the
oscillator is already running.
Note that the initial power-on state of all registers,
unless otherwise specified, is not defined. Therefore, it
is important to enable the oscillator (CH = 0) during
initial configuration.
The IDT1338 runs in either 12-hour or 24-hour mode. Bit 6
of the hours register is defined as the 12-hour 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
IDT®
REAL-TIME CLOCK WITH BATTERY BACKED NON-VOLATILE RAM 6
IDT1338
REV K 032910