Opens in a new tab

Home » Power Switches » DS12885S

DS12885S

Real-time clock/calendar with 114B NV SRAM, parallel interface, 24-SOIC, ADI/Maxim DS12885S

5600

Effective Inventory

Image for reference only

Manufacturer Part:

DS12885S

Package:

24-SOIC (0.295″, 7.50mm width), surface mount

Brand:

Product Categories:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The DS12885S is a real-time clock (RTC) integrated circuit from Analog Devices (Maxim Integrated), designed as a direct drop-in replacement for the industry-standard DS1285/DS1287 RTC found in IBM AT-compatible computers and embedded systems. Housed in a 24-pin SOIC package, this device provides a complete real-time clock/calendar function with automatic leap year compensation valid through 2099, counting seconds, minutes, hours, day of week, date, month, and year. It features 114 bytes of battery-backed user RAM, three independently maskable interrupts, a programmable square-wave output, and selectable Intel or Motorola bus timing. The DS12885S uses an external 32.768 kHz crystal and an external backup battery (2.5V to 4V), automatically switching to battery power when primary supply fails. With parallel multiplexed byte-wide interface, industrial temperature range options, and UL recognition, it is widely used in embedded systems, network equipment, security systems, and utility meters.

Key Specifications

r>

Parameter Value
Manufacturer Analog Devices Inc. / Maxim Integrated
Part Number DS12885S (DS12885S+)
Product Type Real-Time Clock (RTC) with NVSRAM
Clock Function Seconds, Minutes, Hours, Day, Date, Month, Year
Leap Year Compensation Yes, valid through 2099
Time Format 12-hour (AM/PM) or 24-hour selectable
Date Format YY-MM-DD-day
Memory Size 114 bytes battery-backed user RAM
Clock & Control Registers 14 bytes
Interface Multiplexed parallel (byte-wide)
Bus Timing Intel or Motorola mode selectable
Interrupts 3 maskable (alarm, periodic, update-end)
Alarm Once per second to once per day
Periodic Interrupt Rates 122 μs to 500 ms (13 selectable rates)
Square-Wave Output Yes, programmable (1.8 mHz to 250 kHz)
Supply Voltage (VCC) 4.5 V to 5.5 V
Battery Backup Voltage 2.5 V to 4.0 V
Timekeeping Current < 1 mA (battery mode)
Oscillator External 32.768 kHz crystal required
Daylight Saving Software selectable
Binary or BCD Software selectable
RAM Clear Function Yes (RCLR pin)
Power-Fail Switch Automatic, with power-fail detection
Operating Temperature (Commercial) 0°C ~ +70°C
Operating Temperature (Industrial) -40°C ~ +85°C (DS12885SN variant)
Package / Case 24-SOIC (0.295″, 7.50mm width)
Mounting Type Surface Mount
RoHS RoHS3 Compliant
MSL Level MSL 1 (Unlimited)
UL Recognition Yes
Product Status Active

Features

  • Drop-in replacement for IBM AT computer clock/calendar (DS1285)
  • Counts sec, min, hr, day, date, month, year with leap year through 2099
  • Binary or BCD time representation
  • 12-hour or 24-hour format with AM/PM indicator
  • Daylight Saving Time option
  • Selectable Intel or Motorola bus timing
  • 114 bytes of battery-backed general-purpose RAM
  • 14 bytes of clock and control registers
  • RAM clear function (RCLR input)
  • Three maskable interrupts with common IRQ output
  • Time-of-day alarm (once per sec to once per day)
  • Programmable periodic interrupt (122μs to 500ms)
  • Update-end interrupt flag
  • Programmable square-wave output (1.8mHz ~ 250kHz)
  • Automatic power-fail detection and switch circuitry
  • 24-pin SOIC surface mount package
  • UL recognized component
  • RoHS3 compliant
  • Industrial temperature grade available (SN suffix)

Applications

  • Embedded systems and single-board computers
  • Network hubs, bridges, and routers
  • Security systems and access control
  • Utility meters (electric, gas, water)
  • POS terminals and cash registers
  • Industrial automation and PLCs
  • Server and desktop computers
  • Medical equipment and patient monitors
  • Telecommunications equipment
  • Consumer electronics with time/date function
Product Introduction: DS12885S Product Introduction

The DS12885S is a parallel-interface real-time clock/calendar manufactured by Maxim Integrated (now part of Analog Devices), designed to be a pin-compatible and functionally equivalent replacement for the original Dallas Semiconductor DS1285 — a de facto standard RTC in IBM PC/AT architecture and countless embedded systems. The DS12885 provides a complete hardware calendar that tracks seconds, minutes, hours, day-of-week, day-of-month, month, and year, with automatic end-of-month adjustment including leap year correction that remains valid through the year 2099. Time may be represented in either binary or BCD format, and the clock can be configured for 12-hour operation with AM/PM indicator or 24-hour military format. A daylight saving time option is also provided. Beyond basic timekeeping, the DS12885 includes 114 bytes of non-volatile static RAM (NVSRAM) that is maintained by the backup battery when main power is removed — useful for storing system configuration parameters that must survive power loss. The device supports three independently maskable interrupt sources sharing a single interrupt output pin: a time-of-day alarm (programmable from once per second to once per day), a periodic interrupt (with 13 selectable rates from 122 microseconds to 500 milliseconds), and an update-end interrupt that signals when the clock has completed its once-per-second update cycle. A programmable square-wave output provides 15 selectable frequencies ranging from 1.8 mHz to 250 kHz. The multiplexed byte-wide parallel interface supports both Intel and Motorola bus timing modes (selected by the MOT pin), making it compatible with a wide range of microprocessor families. Automatic power-fail detection circuitry monitors VCC and switches the device to backup battery operation when the primary supply drops below the power-fail threshold, ensuring uninterrupted timekeeping and RAM data retention. Unlike the DS12887 module version which integrates the crystal and battery in the package, the DS12885S uses an external 32.768 kHz crystal and external lithium coin cell backup battery, giving the system designer flexibility in crystal accuracy and battery capacity selection. Packaged in a 24-pin SOIC with RoHS3 compliance and UL recognition, the DS12885S remains a reliable choice for cost-sensitive, space-constrained embedded RTC applications.

Working Principle: DS12885S Working Principle

The DS12885 is a CMOS real-time clock that uses a 32.768 kHz crystal oscillator as its timebase. The crystal oscillator circuit divides the 32.768 kHz input down to a precise 1 Hz pulse (one per second), which drives the seconds counter. The seconds counter increments from 0 to 59, then rolls over and increments the minutes counter, and this cascading continues through minutes, hours, days, day-of-week, date, month, and year counters. The calendar logic automatically handles months with different numbers of days (28, 29, 30, or 31 days) and applies leap year correction — years divisible by 4 are leap years, with the year 2000 correctly identified as a leap year and 2100 as not (though the device only operates through 2099). The counters can be read or written through the parallel interface by addressing the appropriate register. The device uses a multiplexed address/data bus interface: the address is latched on the falling edge of the AS (Address Strobe) signal, and then data is transferred during the read or write cycle. The MOT pin selects between Intel bus timing (MOT=0, using /RD and /WR signals) and Motorola bus timing (MOT=1, using R/W and DS signals), providing compatibility with both major microprocessor bus standards. Three types of interrupts are supported: the alarm interrupt triggers when the current time matches the programmed alarm time (each alarm byte can be set to ‘don’t care’ for periodic alarms ranging from every second to once per day); the periodic interrupt triggers at a selectable rate determined by the RS3-RS0 bits in Register A; and the update-ended interrupt triggers once per second after the clock counters have been updated, allowing software to read the time without risk of catching the counters mid-update. The square-wave output (SQW pin) generates a continuous square wave at the same rate selected for the periodic interrupt. Power-fail detection is handled by a precision comparator that monitors VCC. When VCC drops below the power-fail threshold (typically 4.25V), the device switches to battery operation: the external interface is disabled, the clock and RAM are maintained by the backup battery (connected to VBAT), and power consumption drops to minimal levels. When VCC returns above the threshold, the device switches back to main power and normal operation resumes.

Pin Description: DS12885S Pin Definition and Functions

The DS12885S is available in a 24-pin SOIC package. Key pin assignments:

Pin Name Type Description
1 MOT Input Bus type select: 0=Intel, 1=Motorola
2 RCLR Input RAM clear input (active low)
3-10 AD0-AD7 I/O Multiplexed address/data bus
11 GND Ground Ground
12 CS Input Chip select (active low)
13 AS Input Address strobe
14 R/W Input Read/Write (Motorola mode) or WR (Intel mode)
15 DS Input Data strobe (Motorola) or RD (Intel)
16 RESET Input Reset input (active low)
17 IRQ Output Interrupt request output (open drain, active low)
18 SQW Output Square wave output
19 VBAT Power Backup battery input (+2.5V to +4.0V)
20 VCC Power Main power supply (+4.5V to +5.5V)
21 X1 Input Crystal oscillator input (32.768 kHz)
22 X2 Output Crystal oscillator output
23 NC – No internal connection
24 PWR – No internal connection (package pin)

Note: Some pin functions are mode-dependent (Intel vs Motorola). Refer to the official DS12885 datasheet for complete specifications and recommended external components.

Application Scenarios: In which products and applications is DS12885S used
  • Embedded Systems & Single-Board Computers: Used as the system RTC in embedded motherboards, single-board computers (SBCs), and industrial PCs to maintain time-of-day and system configuration data through power cycles
  • Networking Equipment: Found in routers, switches, hubs, bridges, and network appliances where accurate timestamping of events, logs, and scheduled operations requires a battery-backed real-time clock
  • Security & Access Control: Used in alarm systems, access control panels, CCTV DVRs, and building automation for time-stamped event logging, scheduled arming/disarming, and time-based access rules
  • Utility Meters: Deployed in electric, gas, and water smart meters for time-of-use metering, scheduled data logging, and time-stamped tamper detection records
  • POS Terminals & Cash Registers: Used in point-of-sale systems, cash registers, and vending machines for transaction time-stamping, daily reporting, and time-based pricing functions
  • Industrial Automation & PLCs: Found in programmable logic controllers, industrial controllers, and data loggers for time-stamping I/O events, scheduled control operations, and production data recording
  • Medical Equipment: Used in patient monitors, diagnostic devices, and medical instrumentation for time-stamping patient data, scheduling drug delivery, and maintaining device configuration
  • Telecommunications Equipment: Deployed in telecom switches, PBX systems, and VoIP gateways for call record time-stamping, scheduled maintenance, and system time reference
Alternative Models: What chips are recommended as replacements for DS12885S
Part Number Manufacturer Interface RAM Package Key Feature
DS12885S+ ADI/Maxim Parallel 114B 24-SOIC External crystal & battery
DS12887+ ADI/Maxim Parallel 114B 24-EDIP Integrated crystal + battery module
DS12C887+ ADI/Maxim Parallel 113B 24-EDIP Crystal + battery + century byte
DS3231 ADI/Maxim I2C 236B 16-SOIC TCXO, high accuracy, I2C
PCF8563 NXP I2C 512B 8-SOIC I2C interface, low cost
MCP7940N Microchip I2C 64B 8-MSOP I2C, battery backup, RTCC

Recommend Parts

ISL95855HRTZ-T

IMVP8 3+2+1 phase buck controller, R3 technology, 4.5-25V input, 48-TQFN

Brand: Renesas

Package: 48-TQFN (6×6 mm, exposed pad)

IN STOCK: 2156pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFB4019PBF

150V N-Channel HEXFET Power MOSFET, 47A, 34 mΩ RDS(on), TO-220AB

Brand: infineon

Package: TO-220AB

IN STOCK: 2409pcs

Cargo cycle: 3-7 Days

The minimum order is 1

NRF52832-QFAA-T

Nordic BLE SoC, ARM Cortex-M4 @ 64MHz, 64KB Flash, 32KB RAM, QFN-48

Package: See datasheet

IN STOCK: 10958pcs

Cargo cycle: 3-7 Days

The minimum order is 1

UCC28740DR

CVCC Flyback Controller, 700V startup, opto feedback, <10mW no-load, SOIC-7

Brand: TI

Package: SOIC-7 (4.9 x 3.9 x 1.75 mm)

IN STOCK: 4840pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MMUN2211LT1G

NPN digital transistor, R1=10kΩ R2=10kΩ, 50V, 100mA, SOT-23-3, pre-biased BRT switch

Brand: Onsemi

Package: SOT-23-3 (TO-236, SC-59)

IN STOCK: 8500pcs

Cargo cycle: 3-7 Days

The minimum order is 1

PIC32MX795F512L-80I/PF

32-bit PIC32MX MCU with Ethernet/CAN/USB, 80MHz, 512KB Flash, TQFP-100, industrial

Brand: MICROCHIP

Package: TQFP-100 (14 x 14 mm)

IN STOCK: 7912pcs

Cargo cycle: 3-7 Days

The minimum order is 1