{"datasheetId":"ds_c0200e826bcac75fdd1a","chunkCount":196,"revision":"2026-11-09T20:13:50.615Z","source":"index","nextCursor":"49","chunks":[{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0001","chunkIndex":0,"heading":"MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)"],"preview":"MCP7940N Battery Backed I2C Real Time Clock/Calendar with SRAM (Microchip DS20005010J) Source: Microchip Technology datasheet DS20005010J (2011 2022), https://ww1.microchip.com/downloads/aemDocuments/documents/MPD/ProductDocuments/DataSheet","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0001"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0002","chunkIndex":1,"heading":"Page 1","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 1"],"preview":"Page 1 MCP7940N datasheet DS20005010J page 1 ```text MCP7940N Battery Backed I2C Real Time Clock/Calendar with SRAM Timekeeping Features General Description • Real Time Clock/Calendar (RTCC): The MCP7940N Real Time Clock/Calendar (RTCC) Hou","images":[{"path":"images/page-01.png","name":"page-01.png","mimeType":"image/png","semanticKind":"package_drawing","semanticCaption":"MCP7940N datasheet overview with package type drawings.","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-01.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0002"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0003","chunkIndex":2,"heading":"Page 1","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 1"],"preview":"The open drain, multi functional output can be • On Chip Digital Trimming/Calibration: configured to assert on an alarm match, to output a ±1 PPM resolution selectable frequency square wave, or as a general ±129 PPM range purpose output. •","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0003"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0004","chunkIndex":3,"heading":"Page 1","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 1"],"preview":"back up supply when main power is lost, allowing the Time logged on switchover to and from device to maintain accurate time and the SRAM Battery mode contents. The times when the device switches over to Low Power Features the back up supply","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0004"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0005","chunkIndex":4,"heading":"Page 1","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 1"],"preview":"Operating from battery backup: 925 nA at X1 1 8 VCC 3.0V X2 2 7 MFP X2 2 7 MFP • Automatic Switchover to Battery Backup VBAT 3 6 SCL VBAT 3 6 SCL VSS 4 5 SDA User Memory VSS 4 5 SDA • 64 byte Battery Backed SRAM Operating Ranges • Two Wire","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0005"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0006","chunkIndex":5,"heading":"Page 2","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 2"],"preview":"Page 2 MCP7940N datasheet DS20005010J page 2 ```text MCP7940N FIGURE 1 1: TYPICAL APPLICATION SCHEMATIC VCC VCC VCC 8 VCC 1 CX1 X1 32.768 KHZ 6 SCL PIC® MCU MCP7940N 5 2 CX2 SDA X2 7 3 MFP VBAT","images":[{"path":"images/page-02.png","name":"page-02.png","mimeType":"image/png","semanticKind":"block_diagram","semanticCaption":"Typical application schematic and MCP7940N internal block diagram.","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-02.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0006"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0007","chunkIndex":6,"heading":"Page 2","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 2"],"preview":"VBAT VSS 4 FIGURE 1 2: BLOCK DIAGRAM VCC Power Control Power Fail VSS and Switchover Time Stamp VBAT SCL Control Logic Configuration I2C Interface and Addressing SDA Seconds SRAM Minutes X1 32.768 kHz Hours Oscillator Clock Divider","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0007"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0008","chunkIndex":7,"heading":"Page 2","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 2"],"preview":"X2 Day of Week Digital Trimming Date Square Wave Month Output Alarms Year MFP Output Logic DS20005010J page 2  2011 2022 Microchip Technology Inc. and its subsidiares ```","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0008"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0009","chunkIndex":8,"heading":"Page 3","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 3"],"preview":"Page 3 MCP7940N datasheet DS20005010J page 3 ```text MCP7940N 1.0 ELECTRICAL CHARACTERISTICS Absolute Maximum Ratings (†) VCC...................................................................................................................","images":[{"path":"images/page-03.png","name":"page-03.png","mimeType":"image/png","semanticKind":"electrical_table","semanticCaption":"Absolute maximum ratings and DC characteristics table.","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-03.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0009"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0010","chunkIndex":9,"heading":"Page 3","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 3"],"preview":"ESD protection on all pins  4 kV † NOTICE: Stresses above those listed under “Absolute Ma","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0010"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0011","chunkIndex":10,"heading":"Page 3","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 3"],"preview":"D1 VIH High Level Input Voltage 0.7 VCC — — V — — 0.3 VCC V VCC  2.5V D2 VIL Low Level Input Voltage — — 0.2 VCC V VCC","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0011"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0012","chunkIndex":11,"heading":"Page 3","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 3"],"preview":"(MFP, SDA pins) IOL = 2.1 mA @ VCC = 2.5V D5 ILI Input Leakage Current — — ±1 µA VIN = VSS or VCC D6 ILO Output Leakage Current — — ±1 µA VOUT = VSS or VCC CIN, Pin Capacitance VCC = 5.0V (Note 2) D7 — — 10 pF COUT (SDA, SCL, MFP pins) TA =","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0012"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0013","chunkIndex":12,"heading":"Page 3","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 3"],"preview":"D8 COSC — 3 — pF Note 2 Capacitance (X1, X2 pins) VCC = 5.5V, ICCREAD — — 300 µA SRAM/RTCC Register SCL = 400 kHz D9 Operating Current VCC = 5.5V, ICCWRITE — — 400 µA SCL = 400 kHz","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0013"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0014","chunkIndex":13,"heading":"Page 3","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 3"],"preview":"SCL, SDA, VCC = 5.5V — — 1 µA VCC Data Retention (I Temp) D10 ICCDAT Current (oscillator off) SCL, SDA, VCC = 5.5V — — 5 µA (E temp) D11 ICCT Timekeeping Current — 1.2 — µA VCC = 3.3V (Note 2) Power fail Switchover","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0014"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0015","chunkIndex":14,"heading":"Page 3","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 3"],"preview":"D12 VTRIP 1.3 1.5 1.7 V Voltage Backup Supply Voltage D13 VBAT 1.3 — 5.5 V Note 2 Range Note 1: Typical measurements taken at room temperature. 2: This parameter is not tested but ensured by characterization.  2011 2022 Microchip Technolog","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0015"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0016","chunkIndex":15,"heading":"Page 4","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 4"],"preview":"Page 4 MCP7940N datasheet DS20005010J page 4 ```text MCP7940N Industrial (I): VCC = +1.8V to 5.5V TA = 40°C to +85°C DC CHARACTERISTICS (Continued) Extended (E): VCC = +1.8V to 5.5V TA = 40°C to +125°C Param. Symbol Characteristic Minimum T","images":[{"path":"images/page-04.png","name":"page-04.png","mimeType":"image/png","semanticKind":"electrical_table","semanticCaption":"Continuation of the DC characteristics table.","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-04.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0016"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0017","chunkIndex":16,"heading":"Page 4","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 4"],"preview":"VBAT = 5.5V, VCC = VSS — 9000 nA (Note 2) VBAT Data Retention D15 IBATDAT — — 750 nA VBAT = 3.6V, VCC = VSS Current (oscillator off) Note 1: Typical measurements taken at room temperature. 2: This parameter is not tested but ensured by char","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0017"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0018","chunkIndex":17,"heading":"Page 5","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 5"],"preview":"Page 5 MCP7940N datasheet DS20005010J page 5 ```text MCP7940N TABLE 1 2: AC CHARACTERISTICS Industrial (I): VCC = +1.8V to 5.5V TA = 40°C to +85°C AC CHARACTERISTICS Extended (E): VCC = +1.8V to 5.5V TA = 40°C to +125°C Param. Symbol Charac","images":[{"path":"images/page-05.png","name":"page-05.png","mimeType":"image/png","semanticKind":"electrical_table","semanticCaption":"AC characteristics and I2C timing specification table.","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-05.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0018"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0019","chunkIndex":18,"heading":"Page 5","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 5"],"preview":"4700 — — ns 1.8V  VCC","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0019"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0020","chunkIndex":19,"heading":"Page 5","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 5"],"preview":"(Note 1) 5 TF SDA and SCL Fall Time 2.5V  VCC  5.5V — — 300 ns (Note 1) 4000 — — ns 1.8V  VCC","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0020"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0021","chunkIndex":20,"heading":"Page 5","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 5"],"preview":"9 TSU:DAT Data Input Setup Time 100 — — ns 2.5V  VCC  5.5V 4000 — — ns 1.8V  VCC","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0021"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0022","chunkIndex":21,"heading":"Page 5","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 5"],"preview":"14 TFVCC VCC fall time 300 — — s Note 1 15 TRVCC VCC rise time 0 — — s Note 1 16 FOSC Oscillator frequency — 32.768 — kHz 17 TOSF Oscillator timeout period 1 — — ms Note 1 Note 1: Not 100% tested. 2: As a transmitter, the device must prov","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0022"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0023","chunkIndex":22,"heading":"Page 6","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 6"],"preview":"Page 6 MCP7940N datasheet DS20005010J page 6 text MCP7940N FIGURE 1 3: I2C BUS TIMING DATA 5 4 2 D3 SCL 7 3 8 9 10 SDA 6 In 13 11 12 SDA Out FIGURE 1 4: POWER SUPPLY TRANSITION TIMING VCC VTRIP(MAX) VTRIP(MIN) 14 15 DS20005010J page 6  201","images":[{"path":"images/page-06.png","name":"page-06.png","mimeType":"image/png","semanticKind":"timing_diagram","semanticCaption":"I2C bus timing and power supply transition timing diagrams.","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-06.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0023"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0024","chunkIndex":23,"heading":"Page 7","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 7"],"preview":"Page 7 MCP7940N datasheet DS20005010J page 7 ```text MCP7940N 2.0 TYPICAL PERFORMANCE CURVE Note: The graphs and tables provided following this note are a statistical summary based on a limited number of samples and are provided for informa","images":[{"path":"images/page-07.png","name":"page-07.png","mimeType":"image/png","semanticKind":"graph_chart","semanticCaption":"Timekeeping backup current versus backup supply voltage","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-07.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0024"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0025","chunkIndex":24,"heading":"Page 7","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 7"],"preview":"85 IBATT Current (μA) 4.0 TA = 85°C 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0.0 1.30 1.90 2.50 3.10 3.70 4.30 4.90 5.50 VBAT Voltage (V)  2011 2022 Microchip Technology Inc. and its subsidiares DS20005010J page 7 ```","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0025"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0026","chunkIndex":25,"heading":"Page 8","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 8"],"preview":"Page 8 MCP7940N datasheet DS20005010J page 8 ```text MCP7940N 3.0 PIN DESCRIPTIONS The descriptions of the pins are listed in Table 3 1. TABLE 3 1: PIN FUNCTION TABLE Name MSOP PDIP SOIC TDFN TSSOP Function X1 1 1 1 1 1 Quartz Crystal Input","images":[{"path":"images/page-08.png","name":"page-08.png","mimeType":"image/png","semanticKind":"pinout","semanticCaption":"Pin function table and pin descriptions","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-08.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0026"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0027","chunkIndex":26,"heading":"Page 8","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 8"],"preview":"This is a bidirectional pin used to transfer addresses This is the input for a backup supply to maintain the and data into and out of the device. It is an open drain RTCC and SRAM registers during the time when VCC terminal. Therefore, the","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0027"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0028","chunkIndex":27,"heading":"Page 8","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 8"],"preview":"X1 also serves as the external clock input when the MCP7940N is configured to use an external oscillator. 3.4 Multifunction Pin (MFP) This is an output pin used for the alarm and square wave output functions. It can also serve as a general","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0028"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0029","chunkIndex":28,"heading":"Page 9","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 9"],"preview":"Page 9 MCP7940N datasheet DS20005010J page 9 ```text MCP7940N 4.0 I2C BUS CHARACTERISTICS 4.1.1.3 Stop Data Transfer (C) A low to high transition of the SDA line while the clock 4.1 I2C Interface (SCL) is high determines a Stop condition. A","images":[{"path":"images/page-09.png","name":"page-09.png","mimeType":"image/png","semanticKind":"timing_diagram","semanticCaption":"I2C serial bus data transfer sequence","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-09.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0029"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0030","chunkIndex":29,"heading":"Page 9","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 9"],"preview":"ent. Both host and client can operate as transmitter or The data on the line must be changed during the low receiver but the host device determines which mode is period of the clock signal. There is one bit of data per activated. clock puls","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0030"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0031","chunkIndex":30,"heading":"Page 9","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 9"],"preview":"interpreted as a Start or Stop condition. each byte. The host device must generate an extra Accordingly, the following bus conditions have been clock pulse which is associated with this Acknowledge defined (Figure 4 1). bit. Note: The I2C i","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0031"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0032","chunkIndex":31,"heading":"Page 9","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 9"],"preview":"(SCL) is high determines a Start condition. All and hold times must be taken into account. During commands must be preceded by a Start condition. reads, a host must signal an end of data to the client by NOT generating an Acknowledge bit on","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0032"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0033","chunkIndex":32,"heading":"Page 9","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 9"],"preview":"Valid to Change  2011 2022 Microchip Technology Inc. and its subsidiares DS20005010J page 9 Page 10 MCP7940N datasheet DS20005010J page 10 text MCP7940N FIGURE 4 2: ACKNOWLEDGE TIMING Acknowledge Bit SCL 1 2 3 4 5 6 7 8 9 1 2 3 SDA Data fr","images":[{"path":"images/page-10.png","name":"page-10.png","mimeType":"image/png","semanticKind":"timing_diagram","semanticCaption":"I2C acknowledge timing and control byte format","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-10.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0033"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0034","chunkIndex":33,"heading":"Page 10","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 10"],"preview":"4.1.2 DEVICE ADDRESSING FIGURE 4 3: CONTROL BYTE FORMAT The control byte is the first byte received following the Acknowledge Bit Start condition from the host device (Figure 4 3). The control byte begins with a 4 bit control code. For the","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0034"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0035","chunkIndex":34,"heading":"Page 10","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 10"],"preview":"The combination of the 4 bit control code and the three Chip Select bits is called the client address. Upon receiving a valid client address, the client device out puts an acknowledge signal on the SDA line. Depend ing on the state of the R","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0035"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0036","chunkIndex":35,"heading":"Page 11","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 11"],"preview":"Page 11 MCP7940N datasheet DS20005010J page 11 ```text MCP7940N 5.0 FUNCTIONAL DESCRIPTION 5.1 Memory Organization The MCP7940N is a highly integrated Real Time The MCP7940N features two different blocks of mem Clock/Calendar (RTCC). Using","images":[{"path":"images/page-11.png","name":"page-11.png","mimeType":"image/png","semanticKind":"register_table","semanticCaption":"RTCC registers and SRAM memory map","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-11.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0036"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0037","chunkIndex":36,"heading":"Page 11","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 11"],"preview":"compensate for inaccuracies inherent with crystals. The RTCC registers are contained in addresses Using the backup supply input and an integrated power 0x00 0x1F. Table 5 1 shows the detailed RTCC regis switch, the MCP7940N will automatical","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0037"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0038","chunkIndex":37,"heading":"Page 11","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 11"],"preview":"0x07 Configuration and Trimming 0x09 0x0A Alarm 0 0x10 0x11 Alarm 1 0x17 0x18 Power Fail/Power Up Time Stamps 0x1F 0x20 SRAM (64 Bytes) 0x5F 0x60 Unimplemented; device does not ACK 0xFF I2C Address: 1101111x  2011 2022 Microchip Technology","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0038"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0039","chunkIndex":38,"heading":"Page 12","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 12"],"preview":"Page 12 MCP7940N datasheet DS20005010J page 12 ```text MCP7940N TABLE 5 1: DETAILED RTCC REGISTER MAP Addr. Register Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Section 5.3 “Timekeeping” 00h RTCSEC ST SECTEN2 SECTEN1 SECTEN0 SECONE","images":[{"path":"images/page-12.png","name":"page-12.png","mimeType":"image/png","semanticKind":"register_table","semanticCaption":"Detailed RTCC register map with bit fields","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-12.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0039"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0040","chunkIndex":39,"heading":"Page 12","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 12"],"preview":"06h RTCYEAR YRTEN3 YRTEN2 YRTEN1 YRTEN0 YRONE3 YRONE2 YRONE1 YRONE0 07h CONTROL OUT SQWEN ALM1EN ALM0EN EXTOSC CRSTRIM SQWFS1 SQWFS0 08h OSCTRIM SIGN TRIMVAL6 TRIMVAL5 TRIMVAL4 TRIMVAL3 TRIMVAL2 TRIMVAL1 TRIMVAL0 09h Reserved Reserved – Do","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0040"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0041","chunkIndex":40,"heading":"Page 12","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 12"],"preview":"0Fh ALM0MTH — — — MTHTEN0 MTHONE3 MTHONE2 MTHONE1 MTHONE0 10h Reserved Reserved – Do not use Section 5.4 “Alarms” 11h ALM1SEC — SECTEN2 SECTEN1 SECTEN0 SECONE3 SECONE2 SECONE1 SECONE0 12h ALM1MIN — MINTEN2 MINTEN1 MINTEN0 MINONE3 MINONE2 MI","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0041"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0042","chunkIndex":41,"heading":"Page 12","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 12"],"preview":"18h PWRDNMIN — MINTEN2 MINTEN1 MINTEN0 MINONE3 MINONE2 MINONE1 MINONE0 19h PWRDNHOUR — 12/24 AM/PM HRTEN0 HRONE3 HRONE2 HRONE1 HRONE0 HRTEN1 1Ah PWRDNDATE — — DATETEN1 DATETEN0 DATEONE3 DATEONE2 DATEONE1 DATEONE0 1Bh PWRDNMTH WKDAY2 WKDAY1","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0042"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0043","chunkIndex":42,"heading":"Page 12","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 12"],"preview":"2: The 12/24 bits in the ALMxHOUR registers are read only and reflect the value of the 12/24 bit in the RTCHOUR register. 3: The ALMPOL bit in the ALM1WKDAY register is read only and reflects the value of the ALMPOL bit in the ALM0WKDAY reg","images":[{"path":"images/page-13.png","name":"page-13.png","mimeType":"image/png","semanticKind":"schematic","semanticCaption":"MCP7940N crystal oscillator operation and load capacitance calculation","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-13.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0043"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0044","chunkIndex":43,"heading":"Page 13","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 13"],"preview":"+ C STRAY C X1 + C X2 5.2.1 EXTERNAL CRYSTAL The crystal oscillator circuit on the MCP7940N is Where: designed to operate with a standard 32.768 kHz tuning C L = Effective load capacitance fork crystal and matching external load capacitors.","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0044"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0045","chunkIndex":44,"heading":"Page 13","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 13"],"preview":"The oscillator circuit should be placed on the same FIGURE 5 2: CRYSTAL OPERATION side of the board as the device. Place the oscillator circuit close to the respective oscillator pins. The load MCP7940N capacitors should be placed next to t","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0045"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0046","chunkIndex":45,"heading":"Page 13","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 13"],"preview":"ST ground pour. Also, if using a two sided board, avoid any Crystal traces on the other side of the board where the crystal is placed. CX 2 X2 Layout suggestions are shown in Figure 5 3. In line packages may be handled with a single sided l","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0046"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0047","chunkIndex":46,"heading":"Page 13","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 13"],"preview":"2: Always verify oscillator performance over ground layer. In all cases, the guard trace(s) must be the voltage and temperature range that is returned to ground. expected for the application. For additional information and design guidance o","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0047"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0048","chunkIndex":47,"heading":"Page 13","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 13"],"preview":"CX1 and CX2 are the external load capacitors. They Stand Alone Real Time Clock Calendar Devices” must be chosen to match the selected crystal’s specified load capacitance. Note: If the load capacitance is not correctly matched to the chosen","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0048"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0049","chunkIndex":48,"heading":"Page 14","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 14"],"preview":"Page 14 MCP7940N datasheet DS20005010J page 14 ```text MCP7940N FIGURE 5 3: SUGGESTED PLACEMENT OF THE OSCILLATOR CIRCUIT Single Sided and In line Layouts: Fine Pitch (Dual Sided) Layouts: Copper Pour Oscillator Top Layer Copper Pour (tied","images":[{"path":"images/page-14.png","name":"page-14.png","mimeType":"image/png","semanticKind":"layout","semanticCaption":"Suggested oscillator circuit placement layouts with external clock and failure timing diagrams","viewUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/asset?path=images%2Fpage-14.png"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0049"},{"chunkId":"ds_c0200e826bcac75fdd1a-chunk-0050","chunkIndex":49,"heading":"Page 14","headingPath":["MCP7940N Battery-Backed I2C Real-Time Clock/Calendar with SRAM (Microchip DS20005010J)","Page 14"],"preview":"CX1 CX1 X2 Oscillator GND Crystal CX2 GND CX2 ` X2 DEVICE PINS DEVICE PINS 5.2.2 EXTERNAL CLOCK INPUT 5.2.3 OSCILLATOR FAILURE STATUS A 32.768 kHz external clock source can be connected The MCP7940N features an oscillator failure flag, to t","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_c0200e826bcac75fdd1a/chunks/ds_c0200e826bcac75fdd1a-chunk-0050"}]}