M41T56_11 STMICROELECTRONICS [STMicroelectronics], M41T56_11 Datasheet - Page 13

no-image

M41T56_11

Manufacturer Part Number
M41T56_11
Description
Serial real-time clock (RTC) with 56 bytes NVRAM
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
M41T56
3
Note:
Clock operation
The eight byte clock register (see
and time from the clock, in a binary coded decimal format. Seconds, minutes, and hours are
contained within the first three registers. Bits D6 and D7 of clock register 2 (hours register)
contain the century enable bit (CEB) and the century bit (CB). Setting CEB to a '1' will cause
CB to toggle, either from '0' to '1' or from '1' to '0' at the turn of the century (depending upon
its initial state). If CEB is set to a '0,' CB will not toggle. Bits D0 through D2 of register 3
contain the day (day of week). Registers 4, 5, and 6 contain the date (day of month), month,
and years. The final register is the control register (this is described in the clock calibration
section). Bit D7 of register 0 contains the stop bit (ST). Setting this bit to a '1' will cause the
oscillator to stop.
If the device is expected to spend a significant amount of time on the shelf, the oscillator
may be stopped to reduce current drain. When reset to a '0' the oscillator restarts within one
second.
The seven clock registers may be read one byte at a time, or in a sequential block. The
control register (address location 7) may be accessed independently. Provision has been
made to assure that a clock update does not occur while any of the seven clock addresses
are being read. If a clock address is being read, an update of the clock registers will be
delayed by 250 ms to allow the READ to be completed before the update occurs. This will
prevent a transition of data during the READ.
This 250 ms delay affects only the clock register update and does not alter the actual clock
time.
Table 3.
1. Keys:
2. When CEB is set to '1,' CB toggles from '0' to '1' or from '1' to '0' every 100 years (dependent upon the
Address
S = Sign bit
FT = Frequency test bit
ST = Stop bit
OUT = Output level
X = Don't care
CEB = Century enable bit
CB = Century bit
initial value set). When CEB is set to '0,' CB does not toggle.
0
1
2
3
4
5
6
7
CEB
OUT
Register map
D7
ST
X
X
X
X
(2)
10 years
D6
CB
FT
X
X
X
10 Seconds
10 Minutes
(1)
D5
X
X
S
10 hours
10 date
Doc ID 6104 Rev 9
Table
10 M.
Data
D4
X
3) is used to both set the clock and to read the date
D3
X
Calibration
D2
Seconds
Minutes
Month
Hours
Years
Date
Day
D1
D0
Century/hours 0-1/00-23
Seconds
Minutes
Control
Month
Function/range
Date
Year
Day
BCD format
Clock operation
00-59
00-59
01-07
01-31
01-12
00-99
13/27

Related parts for M41T56_11