DS1371 Maxim, DS1371 Datasheet - Page 11

no-image

DS1371

Manufacturer Part Number
DS1371
Description
The DS1371 is a 32-bit binary counter that is designed to continuously count time in seconds
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS1371U
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1371U+
Manufacturer:
TI
Quantity:
288
Part Number:
DS1371U+
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1371U+T
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1371U+T&R
Manufacturer:
ON
Quantity:
1 000
Part Number:
DS1371U+T&R
Manufacturer:
MAXIM
Quantity:
6 000
Part Number:
DS1371U+TR
Manufacturer:
MAXIM/美信
Quantity:
20 000
Company:
Part Number:
DS1371U+TR
Quantity:
9 000
Bit #
Name
Default
Status Register (08h)
Bit 7: Oscillator Stop Flag (OSF). A logic 1 in this bit indicates that the oscillator either is stopped or
was stopped for some period and can be used to judge the validity of the timekeeping data. This bit is set
to logic 1 any time that the oscillator stops. The following are examples of conditions that can cause the
OSF bit to be set:
Bit 0: Alarm Flag (AF). A logic 1 in the AF bit indicates that the WD/ALM counter reached 0. If
INTCN is set to a 1, and WD/ALM is set to 0 and AIE is set to 1, the SQW/INT pin goes low and stays
low until AF is cleared. AF is cleared when written to logic 0. This bit can only be written to logic 0.
Attempting to write logic 1 leaves the value unchanged. If INTCN and WD/ALM are set to 1 and the AIE
is set to 1, the SQW/INT pin pulses low for 250ms when the WD/ALM counter reaches 0 and sets AF =
1. At the completion of the 250ms pulse, the DS1371 clears the AF bit to a 0. If the 250ms pulse is active,
writing AF to a 0 does not truncate the pulse.
I
The DS1371 supports a bidirectional I
onto the bus is defined as a transmitter and a device receiving data as a receiver. The device that controls
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
generates the START and STOP conditions. The DS1371 operates as a slave on the I
I
defined. The DS1371 works in both modes. Connections to the bus are made through the open-drain I/O
lines SDA and SCL.
The following bus protocol has been defined (Figure 4):
• Data transfer can be initiated only when the bus is not busy.
• During data transfer, the data line must remain stable whenever the clock line is HIGH. Changes in
Accordingly, the following bus conditions have been defined:
2
2
C bus specifications a standard mode (100kHz clock rate) and a fast mode (400kHz clock rate) are
C Serial Interface
• The first time power is applied.
• The voltage present on V
• The EOSC bit is turned off.
• External influences on the crystal (e.g., noise, leakage, etc.)
• This bit remains at logic 1 until written to logic 0.
the data line while the clock line is high are interpreted as control signals.
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.
OSF
7
1
6
0
0
CC
is insufficient to support oscillation.
2
C bus and data transmission protocol. A device that sends data
5
0
0
11 of 15
4
0
0
3
0
0
2
0
0
1
0
0
2
C bus. Within the
AF
0

Related parts for DS1371