m48t86 STMicroelectronics, m48t86 Datasheet - Page 14

no-image

m48t86

Manufacturer Part Number
m48t86
Description
5v Pc Real Time Clock
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M48T86
Manufacturer:
ST
0
Part Number:
m48t86-150PC1
Manufacturer:
ST
0
Part Number:
m48t86-MH
Manufacturer:
ST
0
Part Number:
m48t86-MH1
Manufacturer:
ST
0
Part Number:
m48t86-MH1
Manufacturer:
ST
Quantity:
20 000
Part Number:
m48t86-MH1#####
Manufacturer:
ST
0
Part Number:
m48t86MH1
Manufacturer:
CARTYS
Quantity:
2 585
Part Number:
m48t86MH1
Manufacturer:
ST
Quantity:
20 000
Part Number:
m48t86PC1
Manufacturer:
AXELITE
Quantity:
344 000
Clock operations
Address map
Time, calendar, and alarm locations
14/36
The address map of the M48T86 is shown in
10 bytes of RAM that contain the RTC time, calendar and alarm data, and 4 bytes which are
used for control and status. All bytes can be read or written to except for the following:
1.
2.
The contents of the four Registers A, B, C, and D are described in the “Registers” section.
The time and calendar information is obtained by reading the appropriate memory bytes.
The time, calendar, and alarm registers are set or initialized by writing the appropriate RAM
bytes. The contents of the time, calendar, and alarm bytes can be either Binary or Binary-
Coded Decimal (BCD) format. Before writing the internal time, calendar, and alarm register,
the SET Bit (Register B; Bit 7) should be written to a logic '1.' This will prevent updates from
occurring while access is being attempted. In addition to writing the time, calendar, and
alarm registers in a selected format (binary or BCD), the Data Mode (DM) Bit (Register B;
Bit 2), must be set to the appropriate logic level ('1' signifies binary data; '0' signifies Binary
Coded Decimal (BCD data). All time, calendar, and alarm bytes must use the same data
mode. The SET Bit should be cleared after the Data Mode Bit has been written to allow the
Real Time Clock to update the time and calendar bytes. Once initialized, the Real Time
Clock makes all updates in the selected mode. The data mode cannot be changed without
reinitializing the ten data bytes.
the time, calendar, and alarm locations. The 24/12 Bit (Register B; Bit 1) cannot be changed
without reinitializing the hour locations. When the 12-hour format is selected, a logic '1' in
the high order bit of the hours byte represents PM. The time, calendar, and alarm bytes are
always accessible because they are double-buffered. Once per second the ten bytes are
advanced by one second and checked for an alarm condition. If a READ of the time and
calendar data occurs during an update, a problem exists where data such as seconds,
minutes, or hours may not correlate. However, the probability of reading incorrect time and
calendar data is low. Methods of avoiding possible incorrect time and calendar READs are
reviewed later in this text.
Registers C & D are “Read only.”
Bit 7 of Register A is “Read only.”
Table 3 on page 15
Figure
shows the binary and BCD formats of
8. It consists of 114 bytes of user RAM,

Related parts for m48t86