Microchip Technology MCP795B21T-I/ST
- Part No.:
- MCP795B21T-I/ST
- Manufacturer:
- Microchip Technology
- Category:
- Real Time Clocks
- Package:
- 14-TSSOP (0.173", 4.40mm Width)
- Datasheet:
-
MCP795B21T-I/ST.pdf
- Description:
- IC RTC CLK/CALENDAR SPI 14TSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:2,420
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
MCP795B21T-I/ST from Microchip Technology is a SPI real-time clock/calendar (RTCC) IC with integrated 64-byte battery-backed SRAM, 2 Kbit EEPROM, EUI-48™ unique ID, and 32 kHz boot-up clock on CLKOUT/BOOT pin. It delivers timekeeping accuracy via digital trimming (±255 ppm in 1 ppm steps), supports dual programmable alarms, power-fail time-stamping, and operates from 1.8V to 5.5V VCC or 1.3V to 5.5V VBAT for backup retention. Used in industrial metering, smart sensors, and battery-powered IoT edge nodes requiring precise timestamped event logging.
For engineers reviewing the MCP795B21T-I/ST datasheet, MCP795B21T-I/ST pinout, MCP795B21T-I/ST application, or MCP795B21T-I/ST equivalent, key selection criteria include its 32 kHz boot-up capability, VBAT switchover voltage threshold (1.3–1.7 V), <700 nA timekeeping current at 1.8 V, 10 MHz SPI interface, and dual event detect inputs (EVHS/EVLS) with configurable debounce and pulse counting.
Technical Context
The MCP795B21T-I/ST implements a crystal-based RTCC core with digital calibration logic that adjusts timekeeping by ±255 ppm in 1 ppm increments per minute. Its oscillator requires an external 32.768 kHz tuning fork crystal connected to X1/X2, and it supports both 12- and 24-hour formats with automatic leap-year correction.
It integrates three independent timing subsystems: a primary RTCC engine with hundredth-of-second resolution, two programmable alarms (Alarm 0 with second-level, Alarm 1 with hundredth-of-second resolution), and a dedicated watchdog timer with dual retrigger sources (SPI or EVHS). All registers, SRAM, and EEPROM retain state during VCC-to-VBAT switchover triggered at 1.3–1.7 V.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| VCC Range | 1.8 V to 5.5 V - Enables direct interface with 1.8 V, 3.3 V, and 5 V microcontrollers without level shifting. |
| VBAT Timekeeping Current | <700 nA at 1.8 V - Ensures >10-year battery life with typical 220 mAh coin cell in always-on timekeeping mode. |
| SPI Clock Speed | Up to 10 MHz - Supports sub-millisecond alarm latency and fast bulk SRAM/EEPROM read/write operations. |
| Digital Trimming Range | ±255 ppm in 1 ppm steps - Allows field calibration to compensate for crystal aging, temperature drift, and load capacitance mismatch. |
| Power-Fail Time-Stamp | Logs VCC fail & restore timestamps in dedicated 16-byte registers - Enables forensic analysis of brownout duration and system uptime accounting. |
| Event Detect Inputs | EVHS (pulse count: 1st/4th/16th/32nd) + EVLS (debounce: 31 ms / 500 ms) - Supports reliable counting of mechanical switch closures or high-frequency sensor pulses without MCU intervention. |
| Unique ID | 128-bit EUI-48™ preprogrammed - Provides globally unique MAC address for secure device identity and network onboarding. |
Pinout & Package
Package: 14-lead SOIC (Small Outline Integrated Circuit), 3.9 mm × 8.65 mm body, 1.27 mm pitch, RoHS-compliant, rated for -40°C to +85°C industrial operation.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (X1) | Clock Input | Drives internal oscillator with external 32.768 kHz crystal; also accepts CMOS square wave input when X2 is NC. |
| 2 (X2) | Clock Output | Crystal oscillator output node; must be left unconnected if using external clock source on X1. |
| 3 (VBAT) | Backup Supply | Provides continuous power to RTC, SRAM, and registers during main supply loss; activates at 1.3–1.7 V VCC drop. |
| 4 (WDO) | Watchdog Output | Open-drain N-channel output; sinks up to 10 mA; pulses low on WDT timeout; requires external pull-up to VCC or VBAT. |
| 5 (IRQ) | Interrupt Output | Shared open-drain output for alarms and event detects; active-low; requires external pull-up; cleared only by register write. |
| 6 (CS) | Chip Select | Active-low SPI enable; forces standby mode when high; initiates internal write cycle on low-to-high transition after valid command. |
| 7 (VSS) | Ground | Primary digital ground reference for all I/O and internal circuitry; must be low-impedance connection to PCB ground plane. |
| 8 (SCK) | Serial Clock | Synchronizes SPI data transfer; rising edge latches SI, falling edge updates SO; supports up to 10 MHz frequency. |
| 9 (SI) | Serial Input | Receives 8-bit instructions, addresses, and data; MSb-first protocol; sampled on SCK rising edge. |
| 10 (SO) | Serial Output | Drives SPI MISO data; high-impedance when CS is high; outputs data after SCK falling edge. |
| 11 (EVLS) | Low-Speed Event Input | Debounced input for noisy mechanical switches; configurable 31 ms or 500 ms filter; operates from VCC or VBAT. |
| 12 (EVHS) | High-Speed Event Input | Edge-triggered (rising/falling) pulse counter; counts 1st/4th/16th/32nd event before asserting IRQ; operates from VCC or VBAT. |
| 13 (CLKOUT/BOOT) | Configurable Clock Output | Push-pull output; defaults to 32 kHz boot-up clock at power-on for immediate timing reference; programmable to 1 Hz / 4.096 kHz / 8.192 kHz / 32.768 kHz. |
| 14 (VCC) | Main Power Supply | Primary operating supply; powers all digital logic, SPI interface, and EEPROM writes; range 1.8–5.5 V. |
Key Features
| Feature | Design Value |
|---|---|
| 32 kHz Boot-Up Clock | Delivers immediate 32.768 kHz timing reference on CLKOUT/BOOT at power-on-eliminates MCU wait time for oscillator stabilization before critical initialization. |
| Dual Programmable Alarms | Alarm 0 (second-resolution) and Alarm 1 (hundredth-of-second resolution) support independent IRQ/WDO routing and flexible compare masking-enables precise wake-up scheduling and periodic maintenance triggers. |
| On-Chip Digital Trimming | Adjusts timekeeping rate in ±255 ppm increments via 8-bit CALIBRATION register and sign bit-replaces manual capacitor tuning and enables firmware-based accuracy compensation across temperature and aging. |
| Battery Switchover with Time-Stamp | Automatically logs exact time of VCC failure and restoration into dedicated registers-provides auditable power-integrity history without external supervision or MCU involvement. |
| Protected 128-bit Unique ID | EUI-48™ MAC address preprogrammed in locked EEPROM space-enables secure device authentication, zero-touch provisioning, and traceability in production and field deployments. |
Applications
| Smart Energy Metering | Industrial Data Logger |
|---|---|
Use Scenario: Utility-grade electricity meters recording kWh consumption with tariff-based billing windows and tamper detection events. IC Role / Device Role / Timing Role: Primary RTCC providing synchronized time stamps for energy accumulation, tariff switching, and event logging; maintains continuity during grid brownouts via VBAT. Use Value: 32 kHz boot-up clock ensures immediate time validity at power restoration; power-fail time-stamp enables accurate outage duration reporting for utility SLA compliance. | Use Scenario: Ruggedized environmental sensor nodes deployed in remote locations, logging temperature, humidity, and vibration at fixed intervals over years. IC Role / Device Role / Timing Role: Autonomous timekeeper and nonvolatile memory manager-controls sampling schedule, stores timestamps in battery-backed SRAM, and retains configuration in EEPROM across power cycles. Use Value: Dual event detect inputs (EVHS/EVLS) capture mechanical shocks or door openings without MCU wake-up; <700 nA VBAT current extends battery life beyond 10 years. |
| Medical Wearable Monitor | Secure IoT Gateway |
Use Scenario: Portable ECG or SpO₂ monitors requiring clinical-grade time stamping of physiological events and FDA-mandated audit trails. IC Role / Device Role / Timing Role: Certified time source with traceable calibration; stores patient session start/end times, alarm triggers, and firmware update timestamps in protected EEPROM. Use Value: EUI-48™ unique ID enables HIPAA-compliant device identification and encrypted telemetry binding; digital trimming ensures ±10 ppm accuracy over full industrial temperature range. | Use Scenario: Edge gateways aggregating Zigbee/Z-Wave sensor data and forwarding to cloud with end-to-end message integrity and origin verification. IC Role / Device Role / Timing Role: Secure root-of-trust anchor-provides monotonic time for TLS certificate validation, firmware signature timestamping, and anti-replay nonce generation. Use Value: Preprogrammed EUI-48™ serves as immutable hardware identity for PKI enrollment; 2 Kbit EEPROM stores cryptographic keys and certificates with software block write-protection (¼/½/full array). |
Equivalent & Alternatives
The following parts are listed as comparable options for similar real-time clock/calendar applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| MCP795W21T-I/ST | Lacks 32 kHz boot-up clock; no CLKOUT/BOOT power-on default output; identical SRAM, EEPROM, EUI-48™, and calibration features. | Not suitable where immediate post-power-on timing reference is required without MCU initialization delay. | Select MCP795W21T-I/ST only if boot-up clock is unnecessary and cost optimization is prioritized. |
| DS3231M+ | Integrated TCXO (±2 ppm accuracy); higher VCC current (1.5 µA vs. <1 µA standby); no EVHS/EVLS inputs; different pinout and I²C-only interface. | Better accuracy but lacks event detection, SPI interface, and programmable alarms; requires redesign for I²C bus and layout changes. | Choose DS3231M+ only when ultra-high accuracy dominates over feature set, interface compatibility, and low-power event handling. |
Compared with MCP795W21T-I/ST, the MCP795B21T-I/ST adds guaranteed 32 kHz clock output at power-up-critical for deterministic boot sequences-while retaining identical memory, ID, and alarm capabilities. Against DS3231M+, it trades ±2 ppm TCXO stability for richer peripheral integration (SPI, dual event inputs, programmable alarms) and lower VBAT current, at the cost of external crystal dependency.
Availability
MCP795B21T-I/ST is available at Aetrix Electronics and suitable for industrial metering, battery-powered data loggers, medical wearables, and secure IoT gateways requiring stable component supply, long-term lifecycle support, and traceable sourcing.
Supply support for MCP795B21T-I/ST includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
Microchip Technology Inc. is a leading provider of microcontroller, analog, FPGA, and timing solutions, serving automotive, industrial, consumer, and communications markets with vertically integrated silicon and development tools.
The MCP795XXX product line delivers highly integrated SPI real-time clock/calendars with battery switchover, nonvolatile memory, and enhanced system monitoring features-designed specifically for resource-constrained embedded systems needing autonomous, low-power timekeeping and event response.
FAQ
What is the function of the CLKOUT/BOOT pin on the MCP795B21T-I/ST?
The CLKOUT/BOOT pin on the MCP795B21T-I/ST is a push-pull output that defaults to a 32.768 kHz square wave at power-up-providing immediate timing reference before the host MCU initializes. It is programmable to output 1 Hz, 4.096 kHz, 8.192 kHz, or 32.768 kHz, and supports calibration-adjusted frequencies. This boot-up capability distinguishes the MCP795B21T-I/ST from the W-series variants and eliminates startup delays in time-critical applications.
How does the MCP795B21T-I/ST handle power failure and recovery?
The MCP795B21T-I/ST automatically switches from VCC to VBAT when VCC drops below 1.3–1.7 V, preserving RTC registers, 64-byte SRAM, and EEPROM contents. Crucially, it logs the exact time of VCC failure and restoration into dedicated 16-byte power-down/power-up timestamp registers-enabling precise outage duration tracking without MCU involvement. The MCP795B21T-I/ST resumes timekeeping seamlessly upon VCC return.
Does the MCP795B21T-I/ST require external components for basic operation?
Yes-the MCP795B21T-I/ST requires an external 32.768 kHz tuning fork crystal connected between X1 and X2, plus two load capacitors (typically 12.5 pF each) referenced to ground. It also needs external pull-up resistors on WDO and IRQ (to VCC or VBAT), and a backup battery (1.3–5.5 V) on VBAT. No external oscillator is needed, as the internal circuit drives the crystal directly.
What unique identifier is provided with the MCP795B21T-I/ST, and how is it accessed?
The MCP795B21T-I/ST includes a factory-programmed 128-bit EUI-48™ MAC address stored in a protected EEPROM region. It is accessed via the SPI interface using the IDREAD instruction (0b00110011) after issuing the UNLOCK instruction (0b00010100). The ID space is write-protected by default and requires a specific unlock sequence to enable user programming-ensuring tamper-resistant device identity for secure provisioning and traceability.
Can the MCP795B21T-I/ST generate interrupts for external events without MCU polling?
Yes-the MCP795B21T-I/ST features two dedicated event detect inputs: EVHS (high-speed, edge-triggered, pulse-counting for 1st/4th/16th/32nd event) and EVLS (low-speed, debounced with 31 ms or 500 ms filter). Both operate from VCC or VBAT and assert the shared IRQ pin on detection-enabling true hardware offload of switch monitoring, pulse counting, or fault signaling without CPU polling or wake-up overhead.
MCP795B21T-I/ST Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Microchip Technology
- Series:
- -
- Package/Case:
- 14-TSSOP (0.173", 4.40mm Width)
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Type:
- Clock/Calendar
- Features:
- Alarm, EEPROM, Leap Year, Square Wave Output, SRAM, Unique ID, Watchdog Timer
- Memory Size:
- 64B
- Time Format:
- HH:MM:SS:hh (12/24 hr)
- Date Format:
- YY-MM-DD-dd
- Interface:
- SPI
- Voltage - Supply:
- 1.8V ~ 5.5V
- Voltage - Supply, Battery:
- 1.3V ~ 5.5V
- Current - Timekeeping (Max):
- 1µA @ 1.8V ~ 5.5V
- Operating Temperature:
- -40°C ~ 85°C
- Mounting Type:
- Surface Mount
- Grade:
- -
- Qualification:
- -
- Supplier Device Package:
- 14-TSSOP
MCP795B21T-I/ST FAQ
1.How can I place an order for MCP795B21T-I/ST through Aetrix?
Please submit a Request for Quotation (RFQ) for MCP795B21T-I/ST on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for MCP795B21T-I/ST reliable?
The price and inventory of MCP795B21T-I/ST are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for MCP795B21T-I/ST is usually 5 days.
3.What payment methods are accepted for MCP795B21T-I/ST?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for MCP795B21T-I/ST transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for MCP795B21T-I/ST?
MCP795B21T-I/ST orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your MCP795B21T-I/ST order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for MCP795B21T-I/ST?
For technical support, including MCP795B21T-I/ST datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your MCP795B21T-I/ST requirements.
6.How does Aetrix verify that MCP795B21T-I/ST is sourced from the original manufacturer or authorized distributors?
All MCP795B21T-I/ST products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that MCP795B21T-I/ST meets industry standards.
7.What is the process for return or replacement of MCP795B21T-I/ST?
All MCP795B21T-I/ST units undergo pre-shipment inspection (PSI). If there is an issue with MCP795B21T-I/ST, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The MCP795B21T-I/ST part is unused and in its original packaging.
Return procedure for MCP795B21T-I/ST:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
MCP795B21T-I/ST Tags

-
MCP7940N-I/SN
Microchip Technology

-
MCP7940MT-I/MNY
Microchip Technology

-
PCF85063ATL/1,118
NXP USA Inc.

-
MCP7940NT-I/SN
Microchip Technology

-
MCP7940NT-I/MS
Microchip Technology

-
MCP7940N-I/MS
Microchip Technology

-
PCF85063AT/AY
NXP USA Inc.
-
PCF85063TP/1Z
NXP Semiconductors

-
PCF85063ATT/AJ
NXP USA Inc.

-
MCP7940NT-E/SN
Microchip Technology

-
MCP7940NT-I/MNY
Microchip Technology

-
MCP79400T-I/SN
Microchip Technology
Tech Hub
TTL and CMOS logic families differ in thresholds, loading, output drive, power and timing. This engineering guide compares 74HC and 74HCT, calculates noise margins and checks 3.3 V/5 V compatibility.
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…

