A Real-Time Clock/Calendar (RTCC) maintains accurate time within embedded systems even when the main power is off. This provides an advantage over RTCCs embedded in microcontrollers (MCUs) by reducing power consumption by not repeatedly waking the MCU unnecessarily. Our I2C and Serial Peripheral Interface (SPI) real-time clocks range from simple, low-cost devices to highly integrated mid-range devices containing additional user available memory (SEEPROM & SRAM) included and a combination of features that are useful when operating within a single battery-backed clock device. These cost-effective solutions offer more features and better performance than many competitive devices and will meet the specific requirements of your application.
*NOTE: 1 ppm ≈ 86 milliseconds/day
*NOTE: 1 ppm ≈ 86 milliseconds/day
Use our Real-Time Clock PICtail™ daughter boards, along with a PICtail Plus Expansion Board and an Explorer 16/32 Development Board, to evaluate real-time clock functionality in microcontroller-based embedded applications.
While there are many ways that RTCC technology can be used to enhance an embedded design, here are a few examples of how an RTCC can be used:
Whatever your complex timing requirements are, we offer a comprehensive portfolio of technologies, services, and solutions to help you build more reliable systems. Visit our Clock and Timing page to learn more about our atomic clocks, buffers, crystals, oscillators and other timing products.
Title
|
|
---|---|
Enabling Intelligent Automation Using the MCP7941X I2C RTCC | Download |
AN1364 - Using the Alarm Feature on the MCP79410 RTCC to Implement a Delayed Alarm | Download |
AN1413 - Temperature Compensation of a Tuning Fork Crystal Based on MCP79410 | Download |
AN1414 - Using HI-TECH C Compiler to Interface RTCC Devices to 8-Bit PIC MCUs | Download |
AN1365 - Recommended Usage of Microchip Serial RTCC Devices | Download |
AN1355 - A Complete Electronic Watch Based on MCP79410 I2C? RTCC | Download |
Title
|
|
---|---|
I2C & SPI Real-Time Clock/Calendar Sell Sheet | Download |
An RTCC uses 32.768 kHz oscillations to provide a clock to the internal counters as shown in the figure on the right. A 15-bit counter overflows every 32,768 clocks (which is every second), providing a consistent time base. The counter feeds additional counters, which count the seconds, tens of seconds, minutes and so on, up to tens of years. If available, alarms compare the current values of the time counters to the alarm registers. If there is a match, the RTCC will modify a flag bit in an internal register or change the state of an output pin.
As noted above, an RTCC works with an oscillator, which is typically a quartz crystal that is shaped to vibrate at a specific frequency. Most RTCC devices use a 32.768 kHz quartz crystal, which is often referred to as a watch crystal. They also typically use an internal inverting amplifier circuit, as shown in the figure on the right, to resonate the crystal. The amplifier is configured with two feedback paths between its output and input that cause it to resonate or oscillate.
The oscillator circuit is not resonating before the RTCC's amplifier is enabled. When the amplifier is enabled, any thermal or background noise picked up by the oscillator circuit is amplified and causes the system to begin to oscillate. The oscillations quickly grow in amplitude.
The internal resistor (Rf) provides a non-frequency-specific feedback path around the amplifier. This assists in starting oscillations, but it has relatively high impedance. The crystal has much lower impedance at the rated frequency and rapidly dominates over the internal resistor to set the frequency of the oscillations. Capacitors (C1 and C2) ensure stable oscillation. Their values are determined by the crystal used and any other capacitance in the oscillator circuit.
Crystals only resonate at their rated frequency at a specified temperature. This is typically 25°C for 32.768 kHz tuning-fork watch crystals. The crystal will resonate at lower frequencies at other temperatures. This is a highly predictable property of the thermal expansion of quartz. While minor changes in temperature may not be an issue, as temperatures move further away from 25°C, the variance in frequency may cause the RTCC to lose significant amounts of time. Therefore, many RTCC devices offer a digital trimming or analog compensation scheme that can adjust for the frequency error to ensure accurate timekeeping.
Microchip Technology expands its Full-Speed USB 2.0 Device PIC® microcontroller portfolio with three new Enhanced Midrange 8-bit families comprising 15 scalable MCUs ranging from 14 to 100 pins with up to 128 KB of Flash. All feature internal clock sources with the 0.25% clock accuracy necessary for USB communication, which saves up to $0.15 by eliminating the need for an external crystal. Additionally, all three families are eXtreme Low Power compliant, with power consumption down to 35 µA/MHz Active and 20 nA in Sleep mode.
Microchip Technology expands its Full-Speed USB 2.0 Device PIC® microcontroller portfolio with three new Enhanced Midrange 8-bit families comprising 15 scalable MCUs ranging from 14 to 100 pins with up to 128 KB of Flash. All feature internal clock sources with the 0.25% clock accuracy necessary for USB communication, which saves up to $0.15 by eliminating the need for an external crystal. Additionally, all three families are eXtreme Low Power compliant, with power consumption down to 35 µA/MHz Active and 20 nA in Sleep mode.
Demonstration of the Advanced features of the Microchip RTCC chips including Power Cycle logging, EUI storage and EEPROM data storage.