Obsolete Product(s) - Obsolete Product(s)
M48T86 Operation
13/36
Table 2. AC characteristics
Symbol Parameter
(1)
1. Valid for ambient operating temperature: T
A
= 0 to 70°C; V
CC
= 4.5 to 5.5 V (except where noted).
M48T86
Unit
Min Typ Max
t
CYC
Cycle time 160 ns
t
DSL
Pulse width, data strobe low or R/W high 80 ns
t
DSH
Pulse width, data strobe high or R/W low 55 ns
t
RWH
R/W hold time 0 ns
t
RWS
R/W setup time 10 ns
t
CS
Chip select setup time 5 ns
t
CH
Chip select hold time 0 ns
t
DHR
READ data hold time 0 25 ns
t
DHW
WRITE data hold time 0 ns
t
AS
Address setup time 20 ns
t
AH
Address hold time 5 ns
t
DAS
Delay time, data strobe to address strobe
rise
10 ns
t
ASW
Pulse width address strobe high 30 ns
t
ASD
Delay time, address strobe to data strobe
rise
35 ns
t
OD
Output data delay time from data strobe
rise
50 ns
t
DW
WRITE setup time 30 ns
t
BUC
Delay time before update cycle 244 µs
t
PI
(2)
2. See Table 4 on page 18.
Periodic interrupt time interval
t
UC
Time of update cycle 1 µs
Obsolete Product(s) - Obsolete Product(s)
Obsolete Product(s) - Obsolete Product(s)
Clock operations M48T86
14/36
3 Clock operations
3.1 Address map
The address map of the M48T86 is shown in Figure 8. It consists of 114 bytes of user RAM,
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. Registers C & D are “Read only.
2. Bit 7 of Register A is “Read only.
The contents of the four Registers A, B, C, and D are described in the “Registers” section.
3.2 Time, calendar, and alarm locations
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. Table3 on page15 shows the binary and BCD formats of
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.
Obsolete Product(s) - Obsolete Product(s)
Obsolete Product(s) - Obsolete Product(s)
M48T86 Clock operations
15/36
Figure 8. Address map
AI01650
SECONDS
SECONDS ALARM
MINUTES
MINUTES ALARM
HOURS
HOURS ALARM
DAY OF WEEK
DATE OF MONTH
MONTH
YEAR
REGISTER A
REGISTER B
REGISTER C
REGISTER D
0
1
2
3
4
5
6
7
8
9
10
11
12
13
BCD OR
BINARY
FORMAT
00
0D
0E
7F
0
13
14
127
114
BYTES
14
BYTES
CLOCK AND CONTROL
STATUS REGISTERS
STORAGE REGISTERS
Table 3. Time, calendar, and alarm formats
Address RTC bytes
Range
Decimal Binary BCD
0 Seconds 0-59 00-3B 00-59
1 Seconds alarm 0-59 00-3B 00-59
2 Minutes 0-59 00-3B 00-59
3 Minutes alarm 0-59 00-3B 00-59
4
Hours, 12-hrs 1-12
01-0C AM
81-8C PM
01-12 AM
81-92 PM
Hours, 24-hrs 0-23 00-17 00-23
5
Hours alarm, 12-hrs 1-12
01-0C AM
81-8C PM
01-12 AM
81-92 PM
Hours alarm, 24-hrs 0-23 00-17 00-23
6 Day of week (1 = Sun) 1-7 01-07 01-07
7 Day of month 1-31 01-1F 01-31
8 Month 1-12 01-0C 01-12
9 Year 0-99 00-63 00-99
Obsolete Product(s) - Obsolete Product(s)

M48T86PC1

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
Real Time Clock 5 Volt PC Drop-In
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet