DS1308 Dallas Semiconductor, DS1308 Datasheet - Page 5

no-image

DS1308

Manufacturer Part Number
DS1308
Description
(DS1307) 64 x 8 Serial Real Time Clock
Manufacturer
Dallas Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS1308A+
Manufacturer:
MAXIM
Quantity:
8
Part Number:
DS1308U-18+T
0
Part Number:
DS1308U-33+
Manufacturer:
MVSILICON
Quantity:
1 400
Part Number:
DS1308U-33+
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1308U-5+T
Manufacturer:
MAXIM
Quantity:
1 240
CONTROL REGISTER
The DS1307/DS1308 Control Register is used to control the operation of the SQW/OUT pin.
OUT (Output control): This bit controls the output level of the SQW/OUT pin when the square wave
output is disabled. If SQWE=0, the logic level on the SQW/OUT pin is 1 if OUT=1 and is 0 if OUT=0.
SQWE (Square Wave Enable): This bit, when set to a logic 1, will enable the oscillator output. The
frequency of the square wave output depends upon the value of the RS0 and RS1 bits.
RS (Rate Select): These bits control the frequency of the square wave output when the square wave
output has been enabled. Table 1 lists the square wave frequencies that can be selected with the RS bits.
SQUAREWAVE OUTPUT FREQUENCY Table 1
2-WIRE SERIAL DATA BUS
The DS1307 supports a bi-directional 2-wire bus and data transmission protocol. A device that sends
data 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 referred to as
slaves. The bus must be controlled by a master device which generates the serial clock (SCL), controls
the bus access, and generates the START and STOP conditions. The DS1307/DS1308 operates as a slave
on the 2-wire bus. A typical bus configuration using this 2-wire protocol is show in Figure 4.
TYPICAL 2-WIRE BUS CONFIGURATION Figure 4
BIT 7
OUT
BIT 6
X
BIT 5
X
RS1
0
0
1
1
SQWE
BIT 4
5 of 14
RS0
0
1
0
1
BIT 3
X
SQW OUTPUT
BIT 2
FREQUENCY
32.768 kHz
X
4.096 kHz
8.192 kHz
1 Hz
BIT 1
RS1
DS1307/1308
BIT 0
RS0

Related parts for DS1308