MCP79510 MAS [Micro Analog systems], MCP79510 Datasheet
MCP79510
Available stocks
Related parts for MCP79510
MCP79510 Summary of contents
Page 1
... SPI Real-Time Clock Calendar with Battery Switchover Device Selection Table SRAM EEPROM Part Number (Bytes) (Kbits) MCP79520 64 2 MCP79510 64 1 MCP79521 64 2 MCP79511 64 1 MCP79522 64 2 MCP79512 64 1 Timekeeping Features: • Real-Time Clock/Calendar: - Hours, Minutes, Seconds, Hundredth of Seconds, Day of Week, Month, Year, Leap Year • ...
Page 2
MCP7952X/MCP7951X Description: The MCP795XX is a low-power Real-Time Clock/ Calendar (RTCC) that uses digital trimming compen- sation for an accurate clock/calendar, an interrupt out- put to support alarms and events, a power sense circuit that automatically switches to the backup ...
Page 3
ELECTRICAL CHARACTERISTICS (†) Absolute Maximum Ratings V .............................................................................................................................................................................6.5V CC All inputs and outputs w.r.t. V ................................................................................................................. -0.6V to +6.5V SS Storage temperature ...............................................................................................................................-65°C to +150°C Ambient temperature under bias............................................................................................................... -40°C to +85°C ESD protection on all pins.......................................................................................................................................... 4 kV ...
Page 4
MCP7952X/MCP7951X TABLE 1-2: AC CHARACTERISTICS AC CHARACTERISTICS Param. Sym. Characteristic No Clock Frequency CLK Setup Time CSS Hold Time CSH Disable Time CSD 5 Tsu Data Setup Time 6 ...
Page 5
FIGURE 1-1: SERIAL INPUT TIMING SCK MSB In SO FIGURE 1-2: SERIAL OUTPUT TIMING SCK 2012 Microchip Technology Inc. MCP7952X/MCP7951X High-Impedance 14 MSB Out ...
Page 6
MCP7952X/MCP7951X 2.0 PIN DESCRIPTION The descriptions of the pins are listed in FIGURE 2-1: DEVICE PINOUTS MSOP/TDFN Vcc MFP SCK BAT 2.1 ...
Page 7
RTCC Memory Map The RTCC registers are contained in addresses 0x00h- 0x1fh. 64 bytes of user-accessable SRAM are located in the address range 0x20-0x5f. The SRAM memory is a separate block from the RTCC control and Configura- tion registers. ...
Page 8
MCP7952X/MCP7951X 3.0 SPI BUS OPERATION The MCP795XX is designed to interface directly with the Serial Peripheral Interface (SPI) port of many of today’s popular microcontroller families, including ® Microchip’s PIC microcontrollers. It may also interface with microcontrollers that do not ...
Page 9
EEWREN instruction (Figure done by setting CS low and then clocking out the proper instruction into the MCP795XX. After all eight bits of the instruction are transmitted, CS must be driven high to set the write enable ...
Page 10
MCP7952X/MCP7951X 3.3 Write Enable (EEWREN) and Write Disable (EEWRDI) The MCP795XX contains a write enable latch. This latch must be set before any EEWRITE, SRWRITE and IDWRITE operation will be completed internally. The EEWREN instruction will set the latch, and ...
Page 11
RTCC FUNCTIONALITY 4.0.1 RTCC REGISTER MAP The RTCC register space runs from 0x00 through to 0x1F. Any read or write that is started within the RTCC register address space will wrap to the beginning of the RTCC registers. TABLE ...
Page 12
MCP7952X/MCP7951X 5.0 TIME AND CONFIGURATION REGISTERS REGISTER 5-1: HUNDREDTHS OF SECONDS 0 R/W Tenth Seconds bit 7 Legend Readable bit W = Writable bit bit 7-4 TENTH SECONDS<3:0>: Tenth Seconds bit 3-0 HUNDREDTHS OF SECONDS<3:0>: Hundredths of Seconds ...
Page 13
REGISTER 5-4: HOUR R/W R/W R/W CALSGN 12/24 10 Hour AM/PM bit 7 bit 6 bit 5 Legend Readable bit W = Writable bit bit 7 CALSGN: Calibration Sign bit Bit 7 is the sign ...
Page 14
MCP7952X/MCP7951X REGISTER 5-6: DATE U-0 U-0 — — bit 7 bit 6 bit 5 Legend Readable bit W = Writable bit bit 7-6 Unimplemented: Read as ‘0’ bit 5-4 10 DATE<1:0> bit 3-0 DATE<3:0> Note ...
Page 15
REGISTER 5-9: CONTROL REG 0 R/W R/W R/W OUT SQWE ALM1 bit 7 bit 6 bit 5 Legend Readable bit W = Writable bit bit 7 OUT: Output Polarity of MFP bit This bit sets the logic level ...
Page 16
MCP7952X/MCP7951X 6.0 ALARM 0 REGISTERS REGISTER 6-1: SECONDS 0 X U-0 R/W — 10 Seconds bit 7 bit 6 Legend Readable bit W = Writable bit bit 7 Unimplemented: Read as ‘0’ bit 6-4 10 SECONDS<2:0>: 10 Seconds ...
Page 17
REGISTER 6-4: DAY R/W R/W — ALM0C2 ALM0C1 bit 7 bit 6 bit 5 Legend Readable bit W = Writable bit bit 7 Unimplemented: Read as ‘0’ bit 6-4 ALM0C<2:0>: Alarm 0 Configuration bits Sets ...
Page 18
MCP7952X/MCP7951X REGISTER 6-6: MONTH U-0 U-0 U-0 — — — bit 7 bit 6 bit 5 Legend Readable bit W = Writable bit bit 7-5 Unimplemented: Read as ‘0’ bit 4 10 MONTH bit 3-0 ...
Page 19
ALARM 1 REGISTERS REGISTER 7-1: HUNDREDTHS OF SECONDS 0 R/W Tenth Seconds bit 7 Legend Readable bit W = Writable bit bit 7-4 TENTH SECONDS<3:0>: Tenth Seconds bit 3-0 HUNDREDTHS OF SECONDS<3:0>: Hundredths of Seconds Note 1: ...
Page 20
MCP7952X/MCP7951X REGISTER 7-4: HOURS U-0 R/W — 12/24 10 Hour AM/PM bit 7 bit 6 bit 5 Legend Readable bit W = Writable bit bit 7 Unimplemented: Read as ‘0’ bit 6 12/24 bit 5 ...
Page 21
REGISTER 7-6: DATE U-0 U-0 — — bit 7 bit 6 bit 5 Legend Readable bit W = Writable bit bit 7-6 Unimplemented: Read as ‘0’ bit 5-4 10 DATE<1:0> bit 3-0 DATE<3:0> 2012 ...
Page 22
MCP7952X/MCP7951X 8.0 POWER-DOWN TIME-STAMP REGISTERS Note strongly recommended that the timesaver function only be used when the oscillator is running. This will ensure accurate functionality. REGISTER 8-1: MINUTES U-0 R/W — 10 Minutes bit 7 ...
Page 23
REGISTER 8-4: MONTH R/W Day bit 7 bit 6 bit 5 Legend Readable bit W = Writable bit bit 7-5 DAY<2:0> bit 4 10 MONTH bit 3-0 MONTH<3:0> Note 1: Month match is only available ...
Page 24
MCP7952X/MCP7951X 9.0 POWER-UP TIME REGISTERS Note strongly recommended that the timesaver function only be used when the oscillator is running. This will ensure accurate functionality. REGISTER 9-1: MINUTES U-0 R/W — 10 Minutes bit 7 ...
Page 25
REGISTER 9-4: MONTH R/W Day bit 7 bit 6 bit 5 Legend Readable bit W = Writable bit bit 7-5 DAY<2:0> bit 4 10 MONTH bit 3-0 MONTH<3:0> 2012 Microchip Technology Inc. MCP7952X/MCP7951X R/W ...
Page 26
MCP7952X/MCP7951X 9.1 Features 9.1.1 CALIBRATION The Calibration register (0x09h) allows a number of RTCC counts to be added or subtracted (CALSGN bit located at 0x03:7) each minute. This allows for calibration to reduce the PPM error due to oscillator shift. ...
Page 27
In the case where the MSB of the Calibration register is set to ‘1’, the MFP output waveforms that appear when bits RS1 and RS0 are set to ‘01’ or ‘10’ are not as responsive to the setting of the ...
Page 28
MCP7952X/MCP7951X 9.1.2 MULTIFUNCTION PIN (MFP) Pin multifunction pin and supports the following functions: • The value of the OUT bit determines the logic. • Level of the I/O. This is only available when operating from V . ...
Page 29
FIGURE 9-3: IDWRITE COMMAND SEQUENCE SCK Instruction SCK Data Byte ...
Page 30
MCP7952X/MCP7951X 9.1.5 POWER-FAIL TIME-STAMP The MCP795XX family of RTCC devices feature a power-fail time-stamp feature. This feature will save the time at which V crosses the V CC TRIP shown in Figure 9-4. To use this feature must ...
Page 31
FIGURE 9-5: READ STATUS REGISTER TIMING SEQUENCE SCK Instruction High-Impedance SO * Data should be able to continuously be read from the STATUS register without toggling CS, for updating ...
Page 32
MCP7952X/MCP7951X 9.1.7 WRITE STATUS REGISTER (SRWRITE) The Write Status Register (SRWRITE) instruction allows the user to select one of four levels of protec- tion for the array by writing to the appropriate bits in the STATUS register. The array is ...
Page 33
DATA PROTECTION The following protection has been implemented to pre- vent inadvertent writes to the array: • The write enable latch is reset on power-up • A Write Enable instruction must be issued to set the write enable latch ...
Page 34
MCP7952X/MCP7951X FIGURE 9-8: BOARD LAYOUT DS22300A-page 34 Gerber files are available on request. Please contact your Microchip Sales representative required that the final application should be tested with the chosen crystal and capacitor combinations across all operating and ...
Page 35
ON-BOARD MEMORY The MCP795XX has both on-board EEPROM memory and battery-backed SRAM. The SRAM is arranged as 64 bytes and is retained when V supply is removed. CC The EEPROM is organized as 256 or 128 bytes. The EEPROM ...
Page 36
MCP7952X/MCP7951X FIGURE 10-2: WRITE SEQUENCE SCK Instruction 10.1.4 WRITE TO THE UNLOCK REGISTER The MCP795XX contains a protected area of 64 bits that ...
Page 37
... PACKAGING INFORMATION 11.1 Package Marking Information 10-Lead MSOP (3x3 mm) 10-Lead TDFN NNN PIN 1 Part Number MCP79520 MCP79510 MCP79521 MCP79511 MCP79522 MCP79512 Note Temperature grade NN = Alphanumeric traceability code Legend: XX...X Customer-specific information Y Year code (last digit of calendar year) YY Year code (last 2 digits of calendar year) WW Week code (week of January 1 is week ‘ ...
Page 38
MCP7952X/MCP7951X Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging DS22300A-page 38 Preliminary 2012 Microchip Technology Inc. ...
Page 39
Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging 2012 Microchip Technology Inc. MCP7952X/MCP7951X Preliminary DS22300A-page 39 ...
Page 40
MCP7952X/MCP7951X Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging DS22300A-page 40 Preliminary 2012 Microchip Technology Inc. ...
Page 41
Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging 2012 Microchip Technology Inc. MCP7952X/MCP7951X Preliminary DS22300A-page 41 ...
Page 42
MCP7952X/MCP7951X Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging DS22300A-page 42 Preliminary 2012 Microchip Technology Inc. ...
Page 43
APPENDIX A: REVISION HISTORY Revision A (04/2012) Initial Release. 2012 Microchip Technology Inc. MCP7952X/MCP7951X Preliminary DS22300A-page 43 ...
Page 44
MCP7952X/MCP7951X NOTES: DS22300A-page 44 Preliminary 2012 Microchip Technology Inc. ...
Page 45
THE MICROCHIP WEB SITE Microchip provides online support via our WWW site at www.microchip.com. This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the web ...
Page 46
MCP7952XX/MCP7951XX READER RESPONSE It is our intention to provide you with the best documentation possible to ensure successful use of your Microchip product. If you wish to provide your comments on organization, clarity, subject matter, and ways in which our ...
Page 47
... Temp Package Range Preliminary MCP79510-I/MS: 1K EEPROM, Blank ID, Industrial Temperature, MSOP Package MCP79512-I/MS: 1K EEPROM, EUI-64™, Industrial Temperature, MSOP Package MCP79511T-I/MN: 1K EEPROM, EUI-48™, Industrial Temperature, Tape and Reel, TDFN Package MCP79520-I/MS: 2K EEPROM, Blank ID, Industrial Temperature, MSOP Package MCP79522-I/MS: 2K EEPROM, EUI-64™, Industrial Temperature, MSOP Package MCP79521T-I/MN: 2K EEPROM, EUI-48™ ...
Page 48
MCP7952XX/MCP7951XX NOTES: DS22300A-page 48 Preliminary 2012 Microchip Technology Inc. ...
Page 49
Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families ...
Page 50
Worldwide Sales and Service AMERICAS ASIA/PACIFIC Corporate Office Asia Pacific Office 2355 West Chandler Blvd. Suites 3707-14, 37th Floor Chandler, AZ 85224-6199 Tower 6, The Gateway Tel: 480-792-7200 Harbour City, Kowloon Fax: 480-792-7277 Hong Kong Technical Support: Tel: 852-2401-1200 http://www.microchip.com/ ...