DS3231 Maxim, DS3231 Datasheet - Page 15

no-image

DS3231

Manufacturer Part Number
DS3231
Description
The DS3231 is a low-cost, extremely accurate I²C real-time clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO) and crystal
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS3231
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS3231M
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS3231M+T
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS3231M+TRL
Manufacturer:
MAXIM
Quantity:
28
Part Number:
DS3231M+TRL
Manufacturer:
MAXIM
Quantity:
5
Part Number:
DS3231M+TRL
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS3231MZ
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS3231MZ+
Manufacturer:
Maxim
Quantity:
91
Part Number:
DS3231MZ+TRL
Manufacturer:
MAXIM
Quantity:
14
Part Number:
DS3231MZ+TRL
Manufacturer:
MAXIM
Quantity:
250
Part Number:
DS3231MZ+TRL
Manufacturer:
MAXIM
Quantity:
300
Part Number:
DS3231MZ+TRL
Manufacturer:
MAXIM
Quantity:
5 000
Part Number:
DS3231MZ+TRL
0
Company:
Part Number:
DS3231N
Quantity:
3 400
Part Number:
DS3231S
Manufacturer:
MAXIM
Quantity:
225
Part Number:
DS3231S
Manufacturer:
MAXIM
Quantity:
18 500
Temperature is represented as a 10-bit code with a res-
olution of 0.25°C and is accessible at location 11h and
12h. The temperature is encoded in two’s complement
format. The upper 8 bits, the integer portion, are at
location 11h and the lower 2 bits, the fractional portion,
are in the upper nibble at location 12h. For example,
00011001 01b = +25.25°C. Upon power reset, the reg-
isters are set to a default temperature of 0°C and the
controller starts a temperature conversion. The temper-
ature is read on initial application of V
on V
temperature registers are updated after each user-initi-
ated conversion and on every 64-second conversion.
The temperature registers are read-only.
The DS3231 supports a bidirectional I
transmission protocol. A device that sends data onto
the bus is defined as a transmitter and a device receiv-
ing data is defined as a receiver. The device that con-
trols the message is called a master. The devices that
are controlled by the master are slaves. The bus must
be controlled by a master device that generates the
serial clock (SCL), controls the bus access, and gener-
ates the START and STOP conditions. The DS3231
operates as a slave on the I
bus are made through the SCL input and open-drain
SDA I/O lines. Within the bus specifications, a standard
mode (100kHz maximum clock rate) and a fast mode
(400kHz maximum clock rate) are defined. The DS3231
works in both modes.
The following bus protocol has been defined (Figure 2):
• Data transfer may be initiated only when the bus is
• During data transfer, the data line must remain stable
not busy.
whenever the clock line is high. Changes in the data
NAME:
NAME:
POR:
POR:
Temperature Registers (11h–12h)
BAT
and once every 64 seconds afterwards. The
BIT 7
BIT 7
Data
Sign
0
0
I
2
C Serial Data Bus
2
C bus. Connections to the
BIT 6
BIT 6
Data
Data
Extremely Accurate I
0
0
____________________________________________________________________
CC
2
C bus and data
or I
BIT 5
BIT 5
Data
0
0
0
2
C access
BIT 4
BIT 4
Data
0
0
0
Accordingly, the following bus conditions have been
defined:
Temperature Register (Lower Byte) (12h)
line while the clock line is high are interpreted as
control signals.
Temperature Register (Upper Byte) (11h)
Bus not busy: Both data and clock lines remain
high.
START data transfer: A change in the state of the
data line from high to low, while the clock line is high,
defines a START condition.
STOP data transfer: A change in the state of the
data line from low to high, while the clock line is high,
defines a STOP condition.
Data valid: The state of the data line represents
valid data when, after a START condition, the data
line is stable for the duration of the high period of the
clock signal. The data on the line must be changed
during the low period of the clock signal. There is
one clock pulse per bit of data.
Each data transfer is initiated with a START condition
and terminated with a STOP condition. The number
of data bytes transferred between the START and
the STOP conditions is not limited, and is determined
by the master device. The information is transferred
byte-wise and each receiver acknowledges with a
ninth bit.
Acknowledge: Each receiving device, when
addressed, is obliged to generate an acknowledge
after the reception of each byte. The master device
must generate an extra clock pulse, which is associ-
ated with this acknowledge bit.
A device that acknowledges must pull down the SDA
line during the acknowledge clock pulse in such a
way that the SDA line is stable low during the high
period of the acknowledge-related clock pulse. Of
course, setup and hold times must be taken into
account. A master must signal an end of data to the
BIT 3
BIT 3
Data
0
0
0
RTC/TCXO/Crystal
BIT 2
BIT 2
Data
2
0
0
0
C-Integrated
BIT 1
BIT 1
Data
0
0
0
BIT 0
BIT 0
Data
0
0
0
15

Related parts for DS3231