Microchip Technology MCP7940M-I/MS
- Part No.:
- MCP7940M-I/MS
- Manufacturer:
- Microchip Technology
- Category:
- Real Time Clocks
- Package:
- 8-TSSOP, 8-MSOP (0.118", 3.00mm Width)
- Datasheet:
-
MCP7940M-I/MS.pdf
- Description:
- IC RTC CLK/CALENDAR I2C 8MSOP
- Quantity:
- Payment:

- Shipping:

Inventory:879
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
MCP7940M-I/MS from Microchip Technology is a low-power, I²C-compatible Real-Time Clock/Calendar (RTCC) IC with integrated 64-byte SRAM, digital trimming, dual programmable alarms, and multifunction output pin. It maintains time across seconds, minutes, hours, day of week, date, month, and year with leap-year compensation to 2399, operates from 1.8V–5.5V, and draws only 1.2 μA at 3.3V for timekeeping - used in battery-backed embedded systems requiring precise, long-term timestamping.
For engineers reviewing the MCP7940M-I/MS datasheet, MCP7940M-I/MS pinout, MCP7940M-I/MS application, or MCP7940M-I/MS equivalent, this page delivers verified technical context, exact pin functions, real-world timing use cases, and validated alternative parts - all grounded in Microchip's DS20002292C specification and package-specific MSOP-8 implementation.
Technical Context
The MCP7940M-I/MS implements a fully autonomous RTCC using an internal oscillator circuit optimized for 32.768 kHz crystals with 6–9 pF load capacitance. Its on-chip digital trimming provides ±1 ppm resolution over a ±129 ppm range, enabling precise frequency calibration without external components.
It supports I²C up to 400 kHz, features two independent alarm modules with maskable fields (down to seconds), and uses BCD-encoded registers (0x00–0x1F) with automatic rollover handling and buffered reads to prevent counter corruption during access - all managed via a fixed slave address prefix '1101111x'.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Oscillator Frequency | 32.768 kHz - precisely matches standard tuning-fork crystal for low-power, high-stability timekeeping |
| Timekeeping Current | 1.2 μA at 3.3V - enables multi-year operation on coin-cell batteries in backup power mode |
| Digital Trimming Range | ±129 ppm - compensates for crystal tolerance and temperature drift without external trim caps |
| I²C Clock Rate | Up to 400 kHz - supports fast register access and SRAM read/write in high-throughput systems |
| Operating Voltage | 1.8V to 5.5V - interoperable with 1.8V logic, 3.3V microcontrollers, and 5V legacy systems |
| Temperature Range | −40°C to +85°C (Industrial grade) - qualified for deployment in automotive infotainment, industrial HMIs, and outdoor metering |
| User SRAM | 64 bytes (0x20–0x5F) - nonvolatile storage for configuration, event logs, or calibration data alongside RTC registers |
Pinout & Package
Package: 8-pin MSOP (MCP7940M-I/MS), body size 3.0 mm × 3.0 mm, exposed pad optional to VSS.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| X1 | Crystal input / External clock input | Accepts 32.768 kHz crystal or external oscillator signal; also serves as oscillator enable control point via ST bit |
| X2 | Crystal output | Drives crystal resonator; must be left floating when using external clock mode (EXTOSC = 1) |
| NC | No connect | Internally unconnected; no routing or termination required |
| VSS | Ground reference | Primary return path for oscillator, I²C, and MFP circuits; exposed pad may be tied to VSS for thermal relief |
| SDA | I²C bidirectional data line | Open-drain interface requiring external pull-up (2 kΩ typical for 400 kHz); supports ACK/NACK handshake per I²C spec |
| SCL | I²C clock input | Master-generated synchronous clock; defines timing windows for data setup/hold and ACK generation |
| MFP | Multi-function output | Open-drain pin configurable as alarm pulse, square-wave clock (32.768 kHz, 1024 Hz, etc.), or general-purpose output |
| VCC | Primary power supply | Supplies all internal circuitry including oscillator, SRAM, and I²C interface; decoupling capacitor (0.1 μF) required near pin |
Key Features
| Feature | Design Value |
|---|---|
| Leap-year compensation | Automatically adjusts calendar through year 2399 - eliminates firmware date-handling complexity in embedded applications |
| Dual independent alarms | Each alarm masks seconds through months; supports one-shot or periodic interrupts (e.g., daily wake-up or hourly log trigger) |
| On-chip oscillator failure detection | OSCRUN bit (RTCWKDAY[5]) reports oscillator status after 32 cycles - enables runtime health monitoring without external sensors |
| BCD-encoded time registers | All time/date values stored in binary-coded decimal format - simplifies human-readable display and avoids binary-to-BCD conversion overhead |
| Buffered register reads | RTCC registers auto-latch on first read (0x00–0x1F) - prevents inconsistent time capture during counter rollover |
Applications
| Smart Energy Metering | Industrial HMI Logging |
|---|---|
|
Use Scenario: Utility meters recording kWh consumption with timestamped intervals for billing and diagnostics. IC Role / Device Role / Timing Role: Primary time source maintaining accurate UTC-aligned timestamps during mains power loss using coin-cell backup. Use Value: 1.2 μA timekeeping current extends battery life beyond 10 years; ±129 ppm trimming ensures <±2 sec/month accuracy without field recalibration. |
Use Scenario: Human-machine interface panels logging operator actions, fault events, and system uptime in factory automation. IC Role / Device Role / Timing Role: Standalone RTCC providing synchronized timestamps for multiple microcontroller subsystems via shared I²C bus. Use Value: 64-byte SRAM stores last 20+ event timestamps; dual alarms trigger scheduled diagnostics or firmware update checks without CPU intervention. |
| Medical Wearable Monitoring | Automotive Infotainment |
|
Use Scenario: Portable ECG or glucose monitors capturing physiological readings with precise time stamps for clinical analysis. IC Role / Device Role / Timing Role: Low-voltage timekeeper operating from 1.8V supply, interfacing directly with ultra-low-power MCU via I²C. Use Value: 1.8V–5.5V operation enables direct integration with Li-ion battery rails; BCD registers reduce firmware processing load on resource-constrained SoCs. |
Use Scenario: In-vehicle infotainment systems displaying real-time clock, scheduling audio playback, and managing sleep/wake cycles. IC Role / Device Role / Timing Role: Independent calendar IC providing wall-clock time and alarm-driven wake-up for head unit processors in deep-sleep mode. Use Value: −40°C to +85°C rating ensures reliable operation under hood-adjacent mounting; MFP pin outputs 1 Hz square wave for UI refresh synchronization. |
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 |
|---|---|---|---|
| MCP7940N-I/MS | No on-chip oscillator - requires external 32.768 kHz clock source; identical pinout, register map, and SRAM | Suitable where board-level clock distribution already exists; eliminates crystal placement and layout sensitivity | Select when system-level clock tree reduces BOM count and improves timing margin over crystal-based designs |
| DS3231M+ | Integrated TCXO with ±2 ppm accuracy over −40°C to +85°C; higher timekeeping current (3 μA); different I²C address (0x68) | Better stability in wide-temperature environments; no trimming required but lacks SRAM and dual-alarm flexibility | Choose for highest accuracy-critical applications like precision data loggers where ±2 ppm outweighs SRAM and alarm feature trade-offs |
Compared with MCP7940N-I/MS, the MCP7940M-I/MS integrates a calibrated crystal oscillator - reducing component count and layout risk. Against DS3231M+, it trades absolute accuracy for on-chip SRAM, dual alarms, and software-configurable trimming - making it optimal for cost-sensitive, feature-rich embedded timing.
Availability
MCP7940M-I/MS is available at Aetrix Electronics and suitable for smart energy metering, industrial HMI logging, medical wearable monitoring, and automotive infotainment requiring stable component supply across extended production lifecycles.
Supply support for MCP7940M-I/MS 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 microcontrollers, analog devices, and timing solutions, headquartered in Chandler, Arizona, with global design and manufacturing operations.
The MCP7940M belongs to Microchip's standalone RTCC product line, designed specifically for embedded systems needing low-power, high-reliability timekeeping with integrated memory and flexible alarm functionality - not dependent on host processor resources.
FAQ
What is the primary function of the MCP7940M-I/MS in a system?
The MCP7940M-I/MS serves as a self-contained Real-Time Clock/Calendar IC that maintains accurate time and date information - including seconds, minutes, hours, day of week, date, month, and year - with leap-year compensation through 2399. It operates independently of the host microcontroller, retains time during power loss via backup supply, and provides timestamping, alarm triggering, and 64-byte SRAM storage. The MCP7940M-I/MS is engineered for minimal power consumption (1.2 μA at 3.3V) and robustness in industrial environments.
How does the MCP7940M-I/MS handle oscillator calibration?
The MCP7940M-I/MS implements on-chip digital trimming with ±1 ppm resolution over a ±129 ppm range, controlled via the OSCTRIM register (0x08). This allows fine-tuning of the 32.768 kHz oscillator frequency to compensate for crystal tolerance and temperature-induced drift - eliminating the need for external variable capacitors. Calibration is performed in firmware by writing to TRIMVAL[6:0] and SIGN bits, and the setting persists across power cycles. The MCP7940M-I/MS does not require external calibration hardware.
Can the MCP7940M-I/MS operate without an external crystal?
Yes - the MCP7940M-I/MS supports external clock input mode: when the EXTOSC bit (CONTROL[4]) is set, the X1 pin accepts a 32.768 kHz square-wave clock signal, and X2 is left floating. This bypasses the internal crystal oscillator circuit entirely. However, the device still requires valid time/date initialization and I²C communication; the core RTCC, SRAM, and alarm functions remain fully operational. The MCP7940M-I/MS does not support higher-frequency or non-32.768 kHz clock inputs.
What is the role of the MFP pin on the MCP7940M-I/MS?
The MFP (Multifunction Pin) on the MCP7940M-I/MS is an open-drain output configurable via CONTROL register bits (SQWEN, ALMxEN, OUT) to serve three roles: (1) alarm pulse output (active-low on match), (2) selectable square-wave clock (32.768 kHz, 1024 Hz, 32 Hz, or 1 Hz), or (3) general-purpose output driven by the OUT bit. It requires an external pull-up resistor (typically 10 kΩ to VCC). The MCP7940M-I/MS does not support input or bidirectional use of MFP - it is output-only.
Does the MCP7940M-I/MS support battery backup switching?
The MCP7940M-I/MS does not include built-in battery switchover circuitry. It relies on external design: VCC must be connected to a backup power source (e.g., coin cell) through a diode or ideal diode controller to maintain operation during main supply loss. The device draws only 1.2 μA in timekeeping mode at 3.3V, enabling multi-year backup operation. All registers and SRAM retain state as long as VCC remains ≥1.8V - the MCP7940M-I/MS has no dedicated VBAT pin or internal power-path management.
MCP7940M-I/MS Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Microchip Technology
- Series:
- -
- Package/Case:
- 8-TSSOP, 8-MSOP (0.118", 3.00mm Width)
- Packaging:
- Tube
- Product Status:
- Active
- Programmable:
- Not Verified
- Type:
- Clock/Calendar
- Features:
- Alarm, Leap Year, Square Wave Output, SRAM
- Memory Size:
- 64B
- Time Format:
- HH:MM:SS (12/24 hr)
- Date Format:
- YY-MM-DD-dd
- Interface:
- I2C, 2-Wire Serial
- Voltage - Supply:
- 1.8V ~ 5.5V
- Voltage - Supply, Battery:
- -
- Current - Timekeeping (Max):
- 1µA @ 5.5V
- Operating Temperature:
- -40°C ~ 85°C
- Mounting Type:
- Surface Mount
- Grade:
- -
- Qualification:
- -
- Supplier Device Package:
- 8-MSOP
MCP7940M-I/MS FAQ
1.How can I place an order for MCP7940M-I/MS through Aetrix?
Please submit a Request for Quotation (RFQ) for MCP7940M-I/MS 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 MCP7940M-I/MS reliable?
The price and inventory of MCP7940M-I/MS are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for MCP7940M-I/MS is usually 5 days.
3.What payment methods are accepted for MCP7940M-I/MS?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for MCP7940M-I/MS transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for MCP7940M-I/MS?
MCP7940M-I/MS orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your MCP7940M-I/MS 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 MCP7940M-I/MS?
For technical support, including MCP7940M-I/MS datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your MCP7940M-I/MS requirements.
6.How does Aetrix verify that MCP7940M-I/MS is sourced from the original manufacturer or authorized distributors?
All MCP7940M-I/MS 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 MCP7940M-I/MS meets industry standards.
7.What is the process for return or replacement of MCP7940M-I/MS?
All MCP7940M-I/MS units undergo pre-shipment inspection (PSI). If there is an issue with MCP7940M-I/MS, 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 MCP7940M-I/MS part is unused and in its original packaging.
Return procedure for MCP7940M-I/MS:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
MCP7940M-I/MS 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…
