MCP795B10 MAS [Micro Analog systems], MCP795B10 Datasheet

no-image

MCP795B10

Manufacturer Part Number
MCP795B10
Description
SPI Real-Time Clock Calendar
Manufacturer
MAS [Micro Analog systems]
Datasheet
Device Selection Table
Timekeeping Features:
• Real-Time Clock/Calendar:
• Crystal Oscillator requires External 32,768 kHz
• Clock Out Function:
• 32 kHz Boot-up Clock at Power-up (MCP795BXX)
• 2 Programmable Alarms – Supports IRQ or WDO
• Programmable open drain output – Alarm or
• On-Chip Digital Trimming/Calibration:
• Power-Fail Time-Stamp @ Battery Switchover:
Low-Power Features:
• Wide Operating Voltage:
• Low Operating Current:
• Automatic Battery Switchover from V
 2011 Microchip Technology Inc.
MCP795W20
MCP795W10
MCP795W21
MCP795W11
MCP795W22
MCP795W12
MCP795B20
MCP795B10
MCP795B21
MCP795B11
MCP795B22
MCP795B12
Part Number
Note:
- Hours, Minutes, Seconds, Hundredth of
Tuning Fork Crystal and Load Capacitors.
- 1Hz, 4.096 kHz, 8.192 kHz, 32.768 kHz
Interrupt
- +/- 255 PPM range in 1 PPM steps
- Logs time when V
- V
- V
- V
- V
- Backup power for timekeeping and SRAM
Seconds, Day of Week, Month, Year, Leap
Year
retention
CC
BAT
CC
BAT
: 1.8V to 5.5V
Standby Current < 1uA @ 3V
: 1.3V to 5.5V
Timekeeping Current: <700nA @ 1.8V
Watchdog Timer and Event Detects in all devices.
Boot-up
32 kHz
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
CC
Enhanced Features and Battery Switchover
fails and V
(Bytes)
SRAM
64
64
64
64
64
64
64
64
64
64
64
64
SPI Real-Time Clock Calendar with
EEPROM
CC
(Kbits)
CC
2
1
2
1
2
1
2
1
2
1
2
1
is restored
to V
MCP795WXX/MCP795BXX
Blank
Blank
EUI-48
EUI-48
EUI-64
EUI-64
Blank
Blank
EUI-48
EUI-48
EUI-64
EUI-64
Unique
BAT
ID
:
Preliminary
User Memory:
• 64-Byte Battery-Backed SRAM
• 2 Kbit and 1 Kbit EEPROM Memory:
• 128-Bit Unique ID in Protected Area of EEPROM:
Enhanced Features:
• SPI Clock Speed up to 10 MHz
• Programmable Watchdog Timer:
• Dual Configurable Event Detect Inputs:
• Operating Temperature Ranges:
• Packages include 14-Lead SOIC and TSSOP
- Software block write-protect (¼, ½, or entire
- Write Page mode (up to 8 bytes)
- Endurance: 1M erase/write cycles
- Available blank or preprogrammed
- EUI-48™ or EUI-64™ MAC address
- Unlock sequence for user programming
- Dedicated watchdog output pin
- Dual retrigger using SPI bus or EVHS digital
- High-Speed Digital Event Detect (EVHS) with
- Low-Speed Event Detect (EVLS) with
- Edge triggered (rising or falling)
- Operates from V
- Industrial (I Temp): -40°C to +85°C.
Note:
array)
input
pulse count for 1
programmable debounce delays of 31 msec
and 500 msec
MCP795XXX is used in this document as a
generic part number for the MCP795WXX,
MCP795BXX devices.
WDO
V
IRQ
V
BAT
CS
X1
X2
SS
SOIC/TSSOP
1
2
3
4
5
6
7
CC
st
, 4
or V
th
,16
BAT
th
14
13
12
11
10
9
8
or 32
Vcc
CLKOUT/BOOT
EVHS
EVLS
SCK
SI
SO
nd
DS22280A-page 1
event

Related parts for MCP795B10

MCP795B10 Summary of contents

Page 1

... No 64 MCP795W10 No 64 MCP795W21 No 64 MCP795W11 No 64 MCP795W22 No 64 MCP795W12 No 64 MCP795B20 Yes 64 MCP795B10 Yes 64 MCP795B21 Yes 64 MCP795B11 Yes 64 MCP795B22 Yes 64 MCP795B12 Yes 64 Note: Watchdog Timer and Event Detects in all devices. Timekeeping Features: • Real-Time Clock/Calendar: - Hours, Minutes, Seconds, Hundredth of Seconds, Day of Week, Month, Year, Leap Year • ...

Page 2

MCP795WXX/MCP795BXX Description: The MCP795XXX 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

MCP795WXX/MCP795BXX 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  2011 Microchip Technology Inc. MCP795WXX/MCP795BXX High-Impedance 14 MSB Out ...

Page 6

MCP795WXX/MCP795BXX 2.0 PIN DESCRIPTION The descriptions of the pins are listed in FIGURE 2-1: DEVICE PINOUTS SOIC/TSSOP Vcc CLKOUT/BOOT EVHS BAT WDO 4 11 EVLS IRQ 5 10 SCK CS 6 ...

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

MCP795WXX/MCP795BXX 3.0 SPI BUS OPERATION The MCP795XXX 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

Nonvolatile Memory Write Sequence Prior to any attempt to write data to the nonvolatile memory (EEPROM, Unique ID and STATUS register) in the MCP795XXX, the write enable latch must be set by issuing the EEWREN instruction (Figure done by ...

Page 10

MCP795WXX/MCP795BXX 3.3 Write Enable (EEWREN) and Write Disable (EEWRDI) The MCP795XXX 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

MCP795WXX/MCP795BXX 5.0 TIME AND CONFIGURATION REGISTERS REGISTER 5-1: HUNDREDTHS OF SECONDS 0 RW Tenth Seconds bit 7 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7-4 Tenth Seconds bit 3-0 Hundredths ...

Page 13

REGISTER 5-4: HOUR CALSGN 12/24 10 Hour AM/PM bit 7 bit 6 bit 5 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7 CALSGN Bit ...

Page 14

MCP795WXX/MCP795BXX REGISTER 5-6: DATE bit 7 bit 6 bit 5 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7-6 Unimplemented bit, read as ‘0’ bit 5-4 ...

Page 15

REGISTER 5-9: CONTROL REG OUT SQWE ALM1 bit 7 bit 6 bit 5 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7 Bit 7 is the OUT ...

Page 16

MCP795WXX/MCP795BXX REGISTER 5-11: WATCHDOG WDTEN WDTIF WDDEL bit 7 bit 6 bit 5 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7 Bit read/write ...

Page 17

REGISTER 5-12: EVENT DETECT EVHIF EVLIF EVEN1 bit 7 bit 6 bit 5 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7 When the configured number of ...

Page 18

MCP795WXX/MCP795BXX 6.0 ALARM 0 REGISTERS REGISTER 6-1: SECONDS Seconds bit 7 bit 6 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7 Unimplemented bit 6-4 10 ...

Page 19

REGISTER 6-4: DAY ALM0PIN ALM0C2 ALM0C1 bit 7 bit6 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7 Bit 7 configures the pin that is used ...

Page 20

MCP795WXX/MCP795BXX REGISTER 6-6: MONTH bit 7 bit 6 bit 5 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7-5 Unimplemented bit 4 10 Month bit ...

Page 21

ALARM 1 REGISTERS REGISTER 7-1: HUNDREDTHS OF SECONDS 0 RW Tenth Seconds bit 7 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7-4 Tenth Seconds bit 3-0 Hundredths of Seconds ...

Page 22

MCP795WXX/MCP795BXX REGISTER 7-4: HOURS 12/24 10 Hour AM/PM bit 7 bit 6 bit 5 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7 Unimplemented bit ...

Page 23

REGISTER 7-6: DATE bit 7 bit 6 bit 5 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7-6 Unimplemented bit 5-4 10 Date bit 3-0 Date ...

Page 24

MCP795WXX/MCP795BXX 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 Minutes bit 7 bit ...

Page 25

REGISTER 8-4: MONTH Day bit 7 bit 6 bit 5 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7-5 Day bit 4 10 Month bit ...

Page 26

MCP795WXX/MCP795BXX 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 Minutes bit 7 bit ...

Page 27

REGISTER 9-3: DATE bit 7 bit 6 bit 5 Legend Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’ bit 7-6 Unimplemented bit 5-4 10 Date bit 3-0 ...

Page 28

MCP795WXX/MCP795BXX 9.1 Features 9.1.1 CALIBRATION The Calibration register (0x09h) allows a number of RTCC counts to be added or subtracted (Cal Sign bit located at 0x03:7) each minute. This allows for calibration to reduce the PPM error due to oscillator ...

Page 29

In the case where the MSB of the Calibration register is set to ‘1’, the CLKOUT 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 30

MCP795WXX/MCP795BXX 9.1.2 CLOCKOUT FUNCTION The MCP795W20 features a push-pull pin CLKOUT that can supply a digital signal based on a division of the main 32.768 kHz clock. If this function is not used the pin may be directly controlled using ...

Page 31

The debounce will only operate if the clock is running and these timings are based on the uncalibrated 32.768 kHz clock. • EVHS<1:0> – These bits determine how many high-speed events must occur before the EVHIF bit is set. All ...

Page 32

MCP795WXX/MCP795BXX FIGURE 9-3: IDWRITE COMMAND SEQUENCE SCK Instruction SCK Data Byte ...

Page 33

POWER-FAIL TIME-STAMP The MCP795XXX 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 be ...

Page 34

MCP795WXX/MCP795BXX 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 ...

Page 35

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 divided ...

Page 36

MCP795WXX/MCP795BXX 9.1.10 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 ...

Page 37

Crystal Specification and Selection The MCP795XXX has been designed to operate with a standard 32.768 kHz tuning fork crystal. The on-board oscillator has been characterized to operate with a crystal of maximum ESR of 70K Ohms. Crystals with a ...

Page 38

MCP795WXX/MCP795BXX 10.0 ON-BOARD MEMORY The MCP795XXX has both on-board EEPROM mem- ory and battery-backed SRAM. The SRAM is arranged bytes and is retained when V removed. The EEPROM is organized as 256/128 x 8 bytes. The ...

Page 39

FIGURE 10-2: WRITE SEQUENCE SCK Instruction 10.1.4 WRITE TO THE UNLOCK REGISTER The MCP795XXX contains a protected area of 64 bits that can ...

Page 40

... Line Marking Codes SOIC TSSOP MCP795W20 795W20T MCP795W10 795W10T MCP795W21 795W21T MCP795W11 795W11T MCP795W22 795W22T MCP795W12 795W12T MCP795B20 795B20T MCP795B10 795B10T MCP795B21 795B21T MCP795B11 795B11T MCP795B22 795B22T MCP795B12 795B12T Preliminary 1144017 1144 017 ) e 3  2011 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  2011 Microchip Technology Inc. MCP795WXX/MCP795BXX Preliminary DS22280A-page 41 ...

Page 42

MCP795WXX/MCP795BXX Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging DS22280A-page 42 Preliminary  2011 Microchip Technology Inc. ...

Page 43

WKH PRVW FXUUHQW SDFNDJH GUDZLQJV SOHDVH VHH WKH 0LFURFKLS 3DFNDJLQJ 6SHFLILFDWLRQ ORFDWHG DW KWWSZZZPLFURFKLSFRPSDFNDJLQJ  2011 Microchip Technology Inc. MCP795WXX/MCP795BXX Preliminary DS22280A-page 43 ...

Page 44

MCP795WXX/MCP795BXX Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging DS22280A-page 44 Preliminary  2011 Microchip Technology Inc. ...

Page 45

Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging  2011 Microchip Technology Inc. MCP795WXX/MCP795BXX Preliminary DS22280A-page 45 ...

Page 46

MCP795WXX/MCP795BXX Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging DS22280A-page 46 Preliminary  2011 Microchip Technology Inc. ...

Page 47

APPENDIX A: REVISION HISTORY Revision A (11/2011) Initial Release.  2011 Microchip Technology Inc. MCP795WXX/MCP795BXX Preliminary DS22280A-page 47 ...

Page 48

MCP795WXX/MCP795BXX NOTES: DS22280A-page 48 Preliminary  2011 Microchip Technology Inc. ...

Page 49

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 50

MCP795WXX/MCP795BXX 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 51

... Industrial Temperature, SOIC Package d) MCP795W22-I/ST: 2K EEPROM, EUI-64™, Industrial Temperature, TSSOP Package e) MCP795B20-I/SL: Boot Clock, 2K EEPROM, Blank ID, Industrial Temperature, SOIC Package f) MCP795B10-I/ST: Boot Clock, 1K EEPROM, Blank ID, Industrial Temperature, TSSOP Package Note 1: Preliminary All devices include a Watchdog Timer and two Event Detects. DS22280A-page 51 ...

Page 52

MCP795WXX/MCP795BXX NOTES: DS22280A-page 52 Preliminary  2011 Microchip Technology Inc. ...

Page 53

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 54

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/ ...

Related keywords