Вы находитесь на странице: 1из 11

DS1307

DS1307 64 X 8
....................................................................................................................................................................................... 1
........................................................................................................................................................................................ 1
........................................................................................................................................................................... 1
............................................................................................................................................................................... 2
.................................................................................................................................................................................................. 2
...................................................................................................................................................................... 2
....................................................................................................................................................................................................... 2
.................................................................................................................................................................................. 3
....................................................................................................................... 4
........................................................................................................................................................................................ 4
RTC .............................................................................................................................................................. 4
.................................................................................................................................................................................... 5
............................................................................................................................................................................ 6
................................................................................................................................. 6
* ................................................................................................................................................ 9
........................................................................................................................... 9
........................................................................................................................................ 9
.................................................................................................................................... 9
64 X 8 DS1307. DIP 8-, ............................................................. 11
64 X 8 DS1307Z. SOIC 8- (150-), ................ 11

- (RTC) , , , , ,
, 2100 ;
- 56-
;
- ;
- (
);
- ;
- 500 ;
- : 40 C + 85 C;
- 8- DIP SOIC.

DS1307 8- DIP (300 7.62 )


DS1307Z 8- SOIC (150 3.81 )
DS1307N 8- DIP ()
DS1307ZN 8- SOIC ()

DS1307 8- DIP (300 )

http://piclist.ru/ 1 . PIClist RUS, 2007


DS1307

DS1307 8- SOIC (150 )

Vcc ;
X1, X2 32.768 ;
VBAT +3 ;
GND ;
SDA ;
SCL ;
SQW/OUT .

DS1307
- -, 56 .
. -
, , , , , .
31,
. 24-, 12- AM/PM.
DS1307 ,
.

DS1307 .
START ,
. ,
STOP.

http://piclist.ru/ 2 . PIClist RUS, 2007


DS1307

Vcc 1.25 * VBAT, DS1307 ,


(
).
Vcc VBAT, DS1307 .
DS1307 Vcc, Vcc
VBAT + 0.2 . , Vcc 1.25 * VBAT.
- . 1 RTC .

. 1. - DS1307

Vcc, GND .
Vcc +5 . 1.25 * VBAT,
, . 3 ,
Vcc , 1.25 * VBAT, ,
. Vcc VBAT, RTC VBAT.

VBAT .
DS1307 , 2.0 ... 3.5 .
48 / DS1307
10 25C.

SCL (Serial Clock Input - )


.

SDA (Serial Data Input/Output - / ) /


. SDA
.

SQW/OUT (Square Wave/Output Driver - ) , ..


SQWE 1, SQW/OUT
http://piclist.ru/ 3 . PIClist RUS, 2007
DS1307

(1 , 4 , 8 , 32 ). SQW/OUT
. SQW/OUT Vcc,
VBAT.

X1, X2 32.768 .
,
12.5 .


58 "
Dallas" (Application Note 58, "Crystal Considerations with Dallas Real-Time Clocks"). DS1307
32.768 . X1
, X2 .


.
,
- .
.

58 "
Dallas" (Application Note 58, "Crystal Considerations with
Dallas Real-Time Clocks").
95 " DS1307 8051- " (Application Note 95, "Interfacing
the DS1307 with a 8051-Compatible Microcontroller").

RTC

RTC . 2. RTC
00h 07h. 08h 3Fh.
, 3Fh ( ),
00h - RTC.

http://piclist.ru/ 4 . PIClist RUS, 2007


DS1307

.2. DS1307

.
RTC . 3.
. -
. 7 0 (clock halt - CH).
1, . 0, - .
,
. ( CH = 0)
.
DS1307 12-, 24- . 6
12- 24- . 1, 12- .
5 AM/PM, PM. 24- 5
(20 23 ).
START,
. ,
. DS1307
.

.3. DS1307

http://piclist.ru/ 5 . PIClist RUS, 2007


DS1307

SQW/OUT.

7 6 5 4 3 2 1 0
OUT 0 0 SQWE 0 0 RS1 RS0

OUT (Output control - )


SQW/OUT, . SQWE = 0,
SQW/OUT 1, OUT = 1, 0, OUT = 0.
SQWE (Square Wave Enable - )
1, .
RS0 RS1. ( 1,
).
RS (Rate Select - ) ,
SQWE=1. 1 , RS.

1. SQW

RS1 RS0
0 0 1
0 1 4.096
1 0 8.192
1 1 32.768

DS1307 I2C .
, , , ,
, - . , , . ,
, .
(serial clock - SCL), START STOP. DS1307
. I2C
. 4.

. 4.

. 5, 6 7 .
I2C:
1) .
http://piclist.ru/ 6 . PIClist RUS, 2007
DS1307

2) SDA SCL
, .
, :
- SDA SCL .
- ( START) SDA ,
SCL .
- ( STOP) SDA
, SCL .
- SDA ,
START SDA .
.
.
START STOP.
, START STOP,
. ,
( - ACK).
( 100 ) ( 400 ). DS1307
(100 ).
- , ,
.
, .
SDA
, SDA
, . ,
.
, ,
.
, STOP.

* R/W - /

. 5.

R/W , :
1) .
, , .
. .
, (most significant bit - MSB).
2) .

http://piclist.ru/ 7 . PIClist RUS, 2007


DS1307

( ) . .
.
.
"".
, START STOP.
STOP START. START
, . ,
.
DS1307 :
1) ( DS1307).
SDA SCL.
. START STOP
.
(. . 6).
, . 7
DS1307, 1101000, ( R/W ),
0. DS1307
SDA , .
. ,
DS1307. , .

. 6.

2) ( DS1307).
, .
, . DS1307
SDA SCL
. START STOP
(. . 7).
, , .
7- DS1307, 1101000,
( R/W ), 1.
, SDA. DS1307 ,
, .
, ,
. DS1307 "" .

. 7.

http://piclist.ru/ 8 . PIClist RUS, 2007


DS1307

: 0.5 +7.0 .
: 55 C +125 C.
: 260 C DIP 10 .
JPC/JEDEC J-STD-020A.

Vcc
0C +70C 4.5 5.5 VCC1
-40C +85C 4.5 5.5 VCC1

* , ,
, , .
.


( *)



VCC 4.5 5.0 5.5
1 VIH 2.2 VCC + 0.3
0 VIL 0.5 +0.8
VBAT 2.0 3.5
*


( *)
-


(SCL) ILI 1
/
ILO 1
(SDA SQW/OUT)
0
VOL 0.4
(IOL = 5 )
ICCA 1.5 7
ICCS 200 1
(OSC .);
IBAT1 300 500 2
SQW/OUT .
(OSC .);
IBAT2 480 800
SQW/OUT . (32 )

VPF 1.216 x VBAT 1.25 x VBAT 1.284 x VBAT 8


( *)



SCL fSCL 0 100

tBUF 4.7
STOP START
()
tHD:STA 4.0 3
START

tLOW 4.7
SCL

tHIGH 4.0
SCL

tSU:STA 4.7
START

http://piclist.ru/ 9 . PIClist RUS, 2007


DS1307

tHD:DAT 0 4, 5
tSU:DAT 250
SDA
tR 1000
SCL
SDA SCL tF 300
STOP tSU:STO 4.7

CB 400 6


CI/O 10
/ (TA = 25 C)
,
12.5
(TA = 25 C)
*

:
1. ICCS VCC=5.0 SDA, SCL = 5.0 .
2. VCC = 0 , VBAT = 3 .
3. .
4. 300
SDA ( VIHMIN SCL),
SCL.
5. tHD:DAT
(tLOW) SCL.
6. CB .
7. ICCA SCL (100 ).
8. VPF VBAT = 3.0 .

. 8.

http://piclist.ru/ 10 . PIClist RUS, 2007


DS1307

64 X 8 DS1307. DIP 8-,

8-
. .
0.360 0.400
A
9.14 10.16
0.240 0.260
B
6.10 6.60
0.120 0.140
C
3.05 3.56
0.300 0.325
D
7.62 8.26
0.015 0.040
E
0.38 1.02
0.120 0.140
F
3.04 3.56
0.090 0.110
G
2.29 2.79
0.320 0.370
H
8.13 9.40
0.008 0.012
J
0.20 0.30
0.015 0.021
K
0.38 0.53

64 X 8 DS1307Z. SOIC 8- (150-),


8-

(150 )
. .
0.188 0.196
A
4.78 4.98
0.150 0.158
B
3.81 4.01
0.048 0.062
C
1.22 1.57
0.004 0.010
E
0.10 0.25
0.053 0.069
F
1.35 1.75
0.050 BSC
G
1.27 BSC
0.230 0.244
H
5.84 6.20
0.007 0.011
J
0.18 0.28
0.012 0.020
K
0.30 0.51
0.016 0.050
L
0.41 1.27
phi . 0 8
56-G2008-001

http://piclist.ru/ 11 . PIClist RUS, 2007