DS1685 Maxim, DS1685 Datasheet

no-image

DS1685

Manufacturer Part Number
DS1685
Description
The DS1685/DS1687 are real-time clocks (RTCs) designed as successors to the industry-standard DS1285,DS1385, DS1485, and DS1585 PC RTCs
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS1685-3
Quantity:
3 376
Part Number:
DS1685-3
Manufacturer:
DALLAS
Quantity:
7 209
Part Number:
DS1685-5
Manufacturer:
HARRIS
Quantity:
523
Part Number:
DS1685-5
Quantity:
200
Part Number:
DS1685-5
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS1685-5+
Manufacturer:
Maxim Integrated Products
Quantity:
135
Part Number:
DS1685-5IND+
Manufacturer:
Maxim
Quantity:
307
Part Number:
DS16855S-5
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS1685E
Manufacturer:
DS
Quantity:
20 000
Part Number:
DS1685E-3
Manufacturer:
DALLAS
Quantity:
1 000
Part Number:
DS1685E-3
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS1685E-5
Manufacturer:
MAXIM/美信
Quantity:
20 000
19-5215; Rev 4/10
www.maxim-ic.com
FEATURES
Incorporates Industry-Standard DS1287 PC Clock
plus Enhanced Features Such as: Y2K Compliant
APPLICATIONS
Embedded Systems
Utility Meters
Security Systems
Network Hubs, Bridges, and Routers
PIN CONFIGURATIONS
TOP VIEW
+3V or +5V Operation
64-Bit Silicon Serial Number
Power-Control Circuitry Supports System
Power-On from Date/Time Alarm or Key
Closure
32kHz Output for Power Management
Crystal-Select Bit Allows RTC to Operate with
6pF or 12.5pF Crystal
SMI Recovery Stack
242 Bytes Battery-Backed NV RAM
Auxiliary Battery Input
X1
X2
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
PWR
GND
1
2
3
4
5
6
7
8
9
10
11
12
TSSOP (0.173)
PDIP (0.600)/
SO (0.300)/
DS1685/
DS1685S/
DS1685E
24
23
22
21
20
19
18
17
16
15
14
13
SQW
V
RCLR
GND
ALE
IRQ
V
RD
WR
CS
V
KS
BAUX
CC
BAT
AD4
AD0
AD1
AD2
AD3
AD5
N.C.
5
6
7
8
9
10
11
12
4
1 of 34
DS1685Q
13 14
3
PLCC
2
15 16
1
28
27
17
26
18
RAM Clear Input
Century Register
Date Alarm Register
Compatible with Existing BIOS for Original
DS1287 Functions
Available as Chip (DS1685) or Stand-Alone
Encapsulated DIP (EDIP) with Embedded
Battery and Crystal (DS1687)
Timekeeping Algorithm Includes Leap-Year
Compensation Valid Through 2099
Underwriters Laboratory (UL) Recognized
24
21
25
23
22
20
19
3V/5V Real-Time Clocks
RCLR
V
KS
RD
GND
WR
IRQ
BAT
PWR
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
GND
N.C.
N.C.
DS1685/DS1687
1
2
3
4
5
6
7
8
9
10
11
12
EDIP (0.740)
DS1687
24
23
22
21
20
19
18
17
16
15
14
13
SQW
V
RCLR
ALE
IRQ
N.C.
V
RD
WR
CS
N.C.
KS
BAUX
CC

Related parts for DS1685

DS1685 Summary of contents

Page 1

... Real-Time Clocks RAM Clear Input Century Register Date Alarm Register Compatible with Existing BIOS for Original DS1287 Functions Available as Chip (DS1685) or Stand-Alone Encapsulated DIP (EDIP) with Embedded Battery and Crystal (DS1687) Timekeeping Algorithm Includes Leap-Year Compensation Valid Through 2099 Underwriters Laboratory (UL) Recognized ...

Page 2

... DS1687-5IND+ -40°C to +85°C +Denotes a lead(Pb)-free/RoHS-compliant device. A “+” anywhere on the top mark indicates a lead-free/RoHS-compliant device “N” or “IND” denotes an industrial temperature grade device. TYPICAL OPERATING CIRCUIT DS1685/DS1687 3V/5V Real-Time Clocks VOLTAGE PIN-PACKAGE ( PDIP (0.600” PDIP (0.600” ...

Page 3

... EDIP. The entire unit is fully tested at Maxim such that a minimum of 10 years of timekeeping and data retention in the absence guaranteed. CC OPERATION The block diagram in Figure 1 shows the pin connections with the major internal functions of the DS1685/DS1687. The following paragraphs describe the function of each pin. DS1685/DS1687 3V/5V Real-Time Clocks ...

Page 4

... No Connection. Pins missing by design. N.C. Connections for Standard 32.768kHz Quartz Crystal. For greatest accuracy, the DS1685 must be used with a crystal that has a specified load X1 capacitance of either 6pF or 12.5pF. The crystal-select (CS) bit in Extended Control Register 4B is used to select operation with a 6pF or 12.5pF crystal ...

Page 5

... NAME Kickstart Input, Active Low. When V DS1685/DS1687, the system can be powered on in response to an active- low transition on the KS pin, as might be generated from a key closure. V must be present and the auxiliary-battery enable bit (ABE) and kick- BAUX KS start enable bit (KSE) must be set the kickstart function is used, and the KS pin must be pulled up to the V KS pin can be used as an interrupt input ...

Page 6

... AD0 - AD7 OSCILLATOR CIRCUIT The DS1685 uses an external 32.768kHz crystal. The oscillator circuit does not require any external resistors or capacitors to operate. Table 1 specifies several crystal parameters for the external crystal, and Figure 2 shows a functional schematic of the oscillator circuit. The oscillator is controlled by an enable bit in the control register. ...

Page 7

... Refer to Application Note 58: Crystal Considerations with Dallas Real-Time Clocks for detailed information. The DS1685 can also be driven by an external 32.768 kHz oscillator. In this configuration, the X1 pin is connected to the external oscillator signal and the X2 pin is floated. Refer to Application Note 58: Crystal Considerations with Dallas Real-Time Clocks for detailed information about crystal selection and crystal layout ...

Page 8

... A). This time period allows the system to stabilize after power is applied. If the oscillator is not enabled, the oscillator enable bit will be enabled on power up, and the device becomes immediately accessible. The DS1685/DS1687 is available in either device. The 5V device is fully accessible and data can be written and read only when V falls below V , read and writes are inhibited ...

Page 9

... Date 0 10 Month DV1 DV0 RS3 RS2 AIE UIE SQWE Century 10 Date DS1685/DS1687 3V/5V Real-Time Clocks BIT 1 BIT 0 FUNCTION Seconds Seconds Alarm Minutes Minutes Alarm Hours Hours Hours Hours Alarm Day Day Date Date Month Month Year ...

Page 10

... Year DV1 DV0 RS3 RS2 AIE UIE SQWE Century 10 Date DS1685/DS1687 3V/5V Real-Time Clocks BIT 1 BIT 0 FUNCTION Seconds Seconds Alarm Minutes Minutes Alarm Hours Hours Hours Hours Alarm Day Day Date Month Month Year RS1 RS0 ...

Page 11

... Enable both at the same time and the same rate Enable neither. Table 3 lists the periodic interrupt rates and the square-wave frequencies that can be chosen with the RS bits. BIT 5 BIT 4 BIT 3 DV1 DV0 RS3 DS1685/DS1687 3V/5V Real-Time Clocks LSB BIT 2 BIT 1 BIT 0 RS2 RS1 RS0 ...

Page 12

... When the AIE bit is set to 0, the AF bit does not initiate the IRQ signal. The internal functions of the DS1685/DS1687 do not affect the AIE bit. UIE – The update-ended interrupt-enable (UIE) bit is a read/write bit that enables the update-end flag (UF) bit in Register C to assert IRQ. The SET bit going high clears the UIE bit. SQWE – ...

Page 13

... BIT 6, BIT 5, BIT 4, BIT 3, BIT 2, BIT 1, BIT 0 – The remaining bits of Register D are not usable. They cannot be written and when read will always read 0. BIT 4 BIT BIT 5 BIT 4 BIT DS1685/DS1687 3V/5V Real-Time Clocks LSB BIT 2 BIT 1 BIT LSB BIT 2 BIT 1 BIT pin or the ...

Page 14

... The IRQF bit in Register whenever the IRQ pin is being driven low as a result of one of the six possible active sources. Therefore, determination that the DS1685/DS1687 initiated an interrupt is accomplished by reading Register C and finding IRQF = 1. IRQF remains set until all enabled interrupt flag bits are cleared to 0 ...

Page 15

... However, each function has a separate enable bit in Register B. The SQWE and E32K bits control the square- wave output. Similarly, the periodic interrupt is enabled by the PIE bit in Register B. The periodic interrupt can be used with software counters to measure inputs, create output intervals, or await the next needed software function. DS1685/DS1687 3V/5V Real-Time Clocks . ...

Page 16

... ensure that data is not read during the update cycle. PI BUC DS1685/DS1687 3V/5V Real-Time Clocks SQW OUTPUT FREQUENCY None 256Hz 128Hz 8.192kHz 4.096kHz 2.048kHz 1.024kHz 512Hz 256Hz 128Hz 64Hz 32Hz 16Hz 8Hz 4Hz 2Hz 32 ...

Page 17

... PF EXTENDED FUNCTIONS The extended functions provided by the DS1685/DS1687 that are new to the RAMified RTC family are accessed by a software-controlled bank-switching scheme, as illustrated in Figure 5. In bank 0, the clock/calendar registers and 50 bytes of user RAM are in the same locations as for the DS1287 result, existing routines implemented within BIOS, DOS, or application software packages can gain access to the DS1685/DS1687 clock registers with no changes ...

Page 18

... Figure 5. DS1685/DS1687 Register Map and Extended Register Bank Definition BANK 0 DV0 MSB = 0 00 TIMEKEEPING AND CONTROL BYTES-USER RAM 3F 64 BYTES-USER RAM 7F When bank 1 is selected, the clock/calendar registers and the original 50 bytes of user RAM still appear as bank 0. However, the registers that provide control and status for the extended functions are accessed in place of the additional 64 bytes of user RAM ...

Page 19

... In the DS1685/DS1687, this auxiliary battery can be used as the primary backup-power source for maintaining the clock/calendar, user RAM, and extended external RAM functions. This occurs if the V than the DS1685 backed-up using a single battery with the auxiliary features enabled, then V BAUX should be used and V should be grounded ...

Page 20

... At the beginning of Interval 3, the system processor has begun code execution and clears the interrupt condition of WF and/ writing 0’s to both of these control bits. As long as no other interrupt within the DS1685/DS1687 is pending, the IRQ line is taken inactive once these bits are reset. Execution of the application software can proceed. ...

Page 21

... Two extended control registers are provided to supply controls and status information for the extended features offered by the DS1685/DS1687. These are designated as extended control registers 4A and 4B and are located in register bank 1, locations 04AH and 04BH, respectively. The functions of the bits within these registers are described as follows ...

Page 22

... RAM. When RCE = 0, RCLR and the RAM clear function are disabled. PRS – PAB Reset-Select Bit. When set the PWR pin is set high-Z when the DS1685 goes into power-fail. When set the PWR pin remains active upon entering power-fail. ...

Page 23

... RTC address 4Eh is latched and the address from “1” is pushed to location “4Eh,” “RTC Address-2” while 0Ah is pushed to the “RTC Address-1” location. The data in this register, 4Eh, is the RTC address lost due to the SMI DS1685/DS1687 3V/5V Real-Time Clocks 4 ...

Page 24

... A A PARAMETER (-5) Power-Supply Voltage (-3) Input Logic 1 PWR Pullup Voltage IRQ Input Logic 0 Battery Voltage (-5) Auxiliary Battery Voltage (-3) SYMBOL MIN TYP 4.5 5 2.7 3 PUPWR V -0 2.5 BAT 2.5 V BAUX 2 DS1685/DS1687 3V/5V Real-Time Clocks MAX UNITS NOTES 5 0.2 CC 0.6 V 3.7 V 5 ...

Page 25

... CC1 I CC2 BATLKG OLPWR I OLIRQ = -40C to +85C.) SYMBOL MIN I BAT1 I BAT2 DS1685/DS1687 3V/5V Real-Time Clocks TYP MAX UNITS 0.5 2 A +1  0.4 V 4.37 4.5 V 2.6 2 BAT V V BAUX 10 100 nA  ...

Page 26

... DHR t 0 DHW t 30 ASL t 15 AHL t 30 ASD PW 80 ASH t 30 ASED t 20 DDR t 60 DSW t IRD DS1685/DS1687 3V/5V Real-Time Clocks MAX UNITS NOTES  ...

Page 27

... DHR t 0 DHW t 30 ASL t 15 AHL t 25 ASD PW 40 ASH t 30 ASED t 20 DDR t 60 DSW t IRD DS1685/DS1687 3V/5V Real-Time Clocks MAX UNITS NOTES  ...

Page 28

... DS1685/DS1667 BUS TIMING FOR READ CYCLE TO RTC AND RTC REGISTERS DS1685/DS1687 BUS TIMING FOR WRITE CYCLE TO RTC AND RTC REGISTERS DS1685/DS1687 3V/5V Real-Time Clocks ...

Page 29

... 2.7V  V  2. SYMBOL MIN OUT SYMBOL MIN TYP t 2 KSPW t 2 POTO DS1685/DS1687 3V/5V Real-Time Clocks TYP MAX UNITS 0 ns 150 ms s s s years TYP MAX UNITS 0 ns 150 ms s s years TYP MAX UNITS 12 ...

Page 30

... POWER-UP CONDITION—3V CS 2.6V 2. POWER FAIL POWER-DOWN CONDITION— POWER FAIL REC 2. 2.7V 2.6V 2. DS1685/DS1687 3V/5V Real-Time Clocks ...

Page 31

... POWER-UP CONDITION—5V CS 4.5V 4.25V 4. POWER FAIL POWER-DOWN CONDITION— DS1685/DS1687 3V/5V Real-Time Clocks REC 4.5V FB 4.25V 4.0V 3. ...

Page 32

... Post solder cleaning with water washing techniques is acceptable, if ultrasonic vibration is not used. Note 12: I and I are measured at V BAT1 BAT2 and V . BAT BAUX 3.5V and with recommended crystal type on X1 and X2. BAT BAUX DS1685/DS1687 3V/5V Real-Time Clocks . DR ...

Page 33

... RoHS status only. Package drawings may show a different suffix character, but the drawing pertains to the package regardless of RoHS status. PACKAGE TYPE 24 PDIP 28 PLCC 24 TSSOP EDIP DS1685/DS1687 3V/5V Real-Time Clocks PACKAGE CODE P24+3 Q28+4 U24+1 W24+7 MDP24 DOCUMENT NO ...

Page 34

... Maxim is a registered trademark of Maxim Integrated Products, Inc. The Dallas logo is a registered trademark of Maxim Integrated Products, Inc. DS1685/DS1687 3V/5V Real-Time Clocks DESCRIPTION © ...

Related keywords