Micro crystal RV-8063-C7 Applications Manual

Ultra small real-time clock module with spi-bus interface
Table of Contents

Advertisement

Quick Links

RV-8063-C7
Application Manual
Application
Manual
RV-8063-C7
Ultra Small
Real-Time Clock Module
with SPI-Bus Interface
October 2018
1/58
Rev. 1.1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RV-8063-C7 and is the answer not in the manual?

Questions and answers

Summary of Contents for Micro crystal RV-8063-C7

  • Page 1 RV-8063-C7 Application Manual Application Manual RV-8063-C7 Ultra Small Real-Time Clock Module with SPI-Bus Interface October 2018 1/58 Rev. 1.1...
  • Page 2: Table Of Contents

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 TABLE OF CONTENTS OVERVIEW ..............................4 1.1. GENERAL DESCRIPTION ......................... 4 1.2. APPLICATIONS ............................5 1.3. ORDERING INFORMATION ........................5 BLOCK DIAGRAM ............................6 2.1. PINOUT ..............................7 2.2.
  • Page 3 6.4. SPI-BUS CHARACTERISTICS ........................ 46 APPLICATION INFORMATION ........................47 7.1. OPERATING RV-8063-C7 ........................47 7.2. OPERATING RV-8063-C7 WITH BACKUP CAPACITOR ..............48 PACKAGE ..............................49 8.1. DIMENSIONS AND SOLDER PAD LAYOUT ..................49 8.1.1. RECOMMENDED THERMAL RELIEF ..................... 49 8.2.
  • Page 4: Overview

    1.1. GENERAL DESCRIPTION The RV-8063-C7 is a CMOS real-time clock/calendar module optimized for low power consumption. An Offset register allows to compensating the frequency deviation of the 32.768 kHz clock. All addresses and data are transferred serially via a Serial Peripheral Interface (SPI-bus) with a maximum data rate of 7 Mbit/s. The register address is incremented automatically after each written or read data byte.
  • Page 5: Applications

    Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 1.2. APPLICATIONS The RV-8063-C7 RTC module combines standard RTC functions in high reliable, ultra-small ceramic package:  Smallest RTC module (embedded XTAL) in an ultra-small 3.2 x 1.5 x 0.8 mm lead-free ceramic package ...
  • Page 6: Block Diagram

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 2. BLOCK DIAGRAM POWER CONTROL Control1 Control2 Offset SPI-BUS SDIO INTERFACE Seconds Minutes Hours Date FREQUENCY SYSTEM OFFSET Weekday CONTROL COMPENSATION Month LOGIC Year XTAL DIVIDER Seconds Alarm Minutes Alarm...
  • Page 7: Pinout

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 2.1. PINOUT RV-C7 Package: (top view) SDIO CLKOE ̅̅̅̅̅ 8063 CLKOUT 2.2. PIN DESCRIPTION Symbol Pin # Description Serial Data Input and Output. SDIO Input: When CE is LOW, input may float.
  • Page 8: Functional Description

    2.3. FUNCTIONAL DESCRIPTION The RV-8063-C7 is a low power CMOS real-time clock/calendar module with embedded 32.768 kHz Crystal. The CMOS IC contains 18 8-bit registers with an auto-incrementing register address, a frequency divider which provides the source clock for the Real Time Clock (RTC), a programmable clock output, and SPI-bus with a maximum data rate of 7 Mbit/s.
  • Page 9: Device Protection Diagram

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 2.4. DEVICE PROTECTION DIAGRAM SDIO CLKOE CLKOUT October 2018 9/58 Rev. 1.1...
  • Page 10: Register Organization

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 3. REGISTER ORGANIZATION Registers are accessed by selecting a register address and then performing read or write operations. Multiple reads or writes may be executed in a single access, with the address automatically incrementing after each byte.
  • Page 11: Control Registers

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 3.2. CONTROL REGISTERS To ensure that all control registers will be set to their default values, the V level must be at zero volts at initial power-up. If this is not possible, a reset must be initiated with the software reset command when power is stable.
  • Page 12 Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 01h - Control2 Control and status register 2. Address Function Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Control2 Reset Symbol...
  • Page 13 Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 02h – Offset Register This register holds the OFFSET value to digitally compensate the initial frequency deviation of the 32.768 kHz oscillator or for aging adjustment (see FREQUENCY OFFSET COMPENSATION).
  • Page 14: Time And Date Registers

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 3.3. TIME AND DATE REGISTERS 04h - Seconds This register holds the count of seconds, in two binary coded decimal (BCD) digits. Values will be from 00 to 59.
  • Page 15 Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 07h – Date This register holds the current date of the month, in two binary coded decimal (BCD) digits. Values will range from 01 to 31. Leap years are correctly handled from 2000 to 2099.
  • Page 16 Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 09h - Month This register holds the current month, in two binary coded decimal (BCD) digits. Values will range from 01 to 12. Address Function Bit 7 Bit 6...
  • Page 17: Alarm Registers

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 3.4. ALARM REGISTERS 0Bh – Seconds Alarm This register holds the Seconds Alarm Enable bit AE_S and the alarm value for seconds, in two binary coded decimal (BCD) digits. Values will range from 00 to 59.
  • Page 18 Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 0Dh – Hours Alarm This register holds the Hours Alarm Enable bit AE_H and the alarm value for hours, in two binary coded decimal (BCD) digits. If the 12_24 bit is cleared (default value) (see CONTROL REGISTERS, 00h - Control1) the values will range from 00 to 23.
  • Page 19 Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 0Eh - Date Alarm This register holds the Date Alarm Enable bit AE_D and the alarm value for the date, in two binary coded decimal (BCD) digits. Values will range from 01 to 31.
  • Page 20: Timer Registers

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 3.5. TIMER REGISTERS 10h – Timer Value This register holds the current value of the Countdown Timer. It may be loaded with the desired starting value when the Countdown Timer is stopped.
  • Page 21: Register Reset Values Summary

    Weekday Month Year Seconds Alarm Minutes Alarm Hours Alarm (24h / 12h) Date Alarm Weekday Alarm Timer Value Timer Mode RV-8063-C7 resets to: Time (hh:mm:ss) 00:00:00 Date (YY-MM-DD) 00-01-01 Weekday Weekday 7 Mode RTC clock runs, 24 h mode Pins CLKOUT Frequency = 32.768 kHz (when CLKOE is HIGH)
  • Page 22: Detailed Functional Description

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 4. DETAILED FUNCTIONAL DESCRIPTION 4.1. POWER ON RESET (POR) The power on reset (POR) is generated at start-up. All registers including the Counter Registers are initialized to their reset values (see REGISTER RESET VALUES SUMMARY).
  • Page 23: Oscillator Stop Flag

    4.3. OSCILLATOR STOP FLAG When the oscillator of the RV-8063-C7 is stopped, the Oscillator Stop flag OS is set. The oscillator is considered to be stopped between power up and stable crystal oscillation (start-up time t ). This time can be in a range of START typical 200 ms to maximal 2 s depending on temperature and supply voltage.
  • Page 24: Setting And Reading The Time

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 4.4. SETTING AND READING THE TIME The following Figure shows the data flow and data dependencies starting from the 1 Hz clock tick. Data flow for the time function:...
  • Page 25: Interrupt Output

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 4.5. INTERRUPT OUTPUT ̅̅̅̅̅ can be triggered by four different functions: The interrupt pin INT  ALARM FUNCTION  COUNTDOWN TIMER FUNCTION  MINUTE AND HALF MINUTE INTERRUPT FUNCTION ...
  • Page 26: Alarm Function

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 4.6. ALARM FUNCTION By clearing the alarm enable bit (AE_x) of one or more of the alarm registers, the corresponding alarm condition(s) ̅̅̅̅̅ ). are active. When an alarm occurs, AF is set logic 1. The asserted AF can be used to generate an interrupt (INT The AF is cleared by command.
  • Page 27: Countdown Timer Function

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 4.7. COUNTDOWN TIMER FUNCTION 4.7.1. TIMER FLAG TF The Timer Flag (bit TF) is set logic 1 on the first trigger of the Countdown Timer or the MI and HMI Interrupt. The purpose of the flag is to allow the controlling system to interrogate what caused the interrupt: Timer/MI/HMI or Alarm.
  • Page 28: Use Of The Countdown Timer

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 4.7.4. USE OF THE COUNTDOWN TIMER The timer has four selectable source clocks allowing for countdown periods in the range from 244 µs to 4 hours 15 min. For periods longer than 4 hours, the alarm function can be used.
  • Page 29 Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 ̅̅̅̅̅ is generated if this mode is enabled. See Section INTERRUPT When the TF flag is set, an interrupt signal on INT OUTPUT for details on how the interrupt can be controlled.
  • Page 30: Minute And Half Minute Interrupt Function

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 4.8. MINUTE AND HALF MINUTE INTERRUPT FUNCTION The Minute Interrupt (bit MI) and Half Minute Interrupt (bit HMI) are pre-defined timers for generating interrupt ̅̅̅̅̅ (see following Figure). The timers are running in sync with the seconds counter (see TIME AND pulses on pin INT DATE REGISTERS, 04h - Seconds).
  • Page 31: Frequency Offset Compensation

    RV-8063-C7 4.9. FREQUENCY OFFSET COMPENSATION The RV-8063-C7 incorporates an Offset register (see CONTROL REGISTERS, 02h – Offset Register) which can be used by customer to compensate the frequency offset of the 32.768 kHz oscillator which allows implementing functions, such as: ...
  • Page 32: Offset Compensation Calculation Workflow

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 4.9.1. OFFSET COMPENSATION CALCULATION WORKFLOW Offset compensation calculation workflow: Example Measure the frequency on pin CLKOUT: 32768.48 Hz CLKOUT Compute the CLKOUT offset value in ppm: – 32768) / 32768) * 1’000’000 Offset [ppm] = ((f 14.648 ppm...
  • Page 33 Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 Result of the offset compensation (Example): Offset [ppm] Reachable Measured/calculated Offset [ppm] ≙ 14.648 ppm accuracy zone (32768.48 Hz) With the offset compensation the accuracy of ±2.17 ppm (0.5 * offset per LSB) can be reached (see CONTROL REGISTERS, 02h –...
  • Page 34: Compensation Interrupt Function

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 4.10. COMPENSATION INTERRUPT FUNCTION It is possible to monitor when compensation pulses are applied. To enable Compensation Interrupt generation, bit ̅̅̅̅̅ by the CIE (register Control1) has to be set logic 1. At every compensation cycle a pulse is generated on pin INT Pulse Generator 3.
  • Page 35: Compensation Pulses When Mode = 1 (Fast Mode)

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 4.10.2. COMPENSATION PULSES WHEN MODE = 1 (FAST MODE) The compensation is triggered once every four minutes and then compensation pulses are applied once per second up to a maximum of 60 pulses. When compensation values greater than 60 pulses are used, additional compensation pulses are made in the 59 second.
  • Page 36: Clkout Frequency Selection

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 4.11. CLKOUT FREQUENCY SELECTION A programmable square wave is available at pin CLKOUT. Operation is controlled by the FD field in the register Control2. Frequencies of 32.768 kHz (default) down to 1 Hz can be generated for use as a system clock, microcontroller clock, input to a charge pump, or for calibration of the crystal oscillator.
  • Page 37: Stop Bit Function

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 4.12. STOP BIT FUNCTION The function of the STOP bit is to allow for accurate starting of the time circuits. The STOP bit function causes the upper part of the prescaler (F...
  • Page 38 Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 STOP bit release timing: 8192 Hz stop released 0 µs to 122 µs The first increment of the time circuits is between 0.507813 s and 0.507935 s after STOP bit is released. The...
  • Page 39: Spi Interface

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 5. SPI INTERFACE Data transfer to and from the device is made via a 3-wire SPI-bus (see following Table). The chip enable signal is used to identify the transmitted data. Each data transfer is a byte, with the Most Significant Bit (MSB) sent first (see following Figure).
  • Page 40: Serial Bus Read / Write Examples

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 5.1. SERIAL BUS READ / WRITE EXAMPLES SPI-bus write example: The register Seconds is set to 45 seconds and the register Minutes is set to 10 minutes. Addr 04h...
  • Page 41: Electrical Specifications

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 6. ELECTRICAL SPECIFICATIONS 6.1. ABSOLUTE MAXIMUM RATINGS The following Table lists the absolute maximum ratings. Absolute Maximum Ratings according to IEC 60134: SYMBOL PARAMETER CONDITIONS UNIT Power supply voltage -0.5...
  • Page 42: Operating Parameters

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 6.2. OPERATING PARAMETERS For this Table, T = -40 °C to +85 °C unless otherwise indicated. V = 0.9 to 5.5 V, TYP values at 25 °C and 3.0 V.
  • Page 43 Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 SPI active. Typical I with respect to f [µA] 5000 1000 2000 3000 4000 6000 [kHz] = 25 °C; CLKOUT disabled. (1) V = 5.5 V. (2) V = 3.0 V.
  • Page 44 Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 Timekeeping mode. Typical I with respect to V [nA] = 25 °C; timer clock frequency = 1/60 Hz; CLKOUT disabled. Oscillator frequency variation with respect to V ∆f/f [ppm] = 25 °C, normalized to V...
  • Page 45: Oscillator Parameters

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 6.3. OSCILLATOR PARAMETERS For this Table, V = 0.9 to 5.5 V; V = 0 V; T = -40 °C to +85 °C; f = 32.768 kHz; TYP values at 25 °C and 3.0 V;...
  • Page 46: Spi-Bus Characteristics

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 6.4. SPI-BUS CHARACTERISTICS = 1.8 V to 5.5 V; V = 0 V; T = -40°C to +85°C; f = 32.768 kHz; unless otherwise specified. All timing values are valid within the operating supply voltage and temperature range and referenced to V...
  • Page 47: Application Information

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 7. APPLICATION INFORMATION 7.1. OPERATING RV-8063-C7 100 nF RV-8063-C7 SDIO SDIO GPIO CLKOE CLKOUT A 100 nF decoupling capacitor is recommended close to the device. ̅̅̅̅̅ output is an open drain and requires a pull-up resistor to V The INT CLKOUT offers selectable frequencies from 32.768 kHz to 1 Hz for application use.
  • Page 48: Operating Rv-8063-C7 With Backup Capacitor

    OPERATING RV-8063-C7 WITH BACKUP CAPACITOR An external diode-circuitry can be wired to ensure standby or back-up supply. With the RTC in its minimum power configuration (see OPERATING RV-8063-C7) the RTC with a supercapacitor may operate for weeks and with a battery for years.
  • Page 49: Package

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 8. PACKAGE 8.1. DIMENSIONS AND SOLDER PAD LAYOUT RV-C7 Package: Package dimensions (bottom view): Recommended solder pad layout: Metal lid is connected to V (pin #2) Tolerances: unless otherwise specified ±0.1mm...
  • Page 50: Marking And Pin #1 Index

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 8.2. MARKING AND PIN #1 INDEX Laser marking RV-8063-C7 Package: (top view) Product Date Code M835A1 8063 Part Designation Pin 1 Index October 2018 50/58 Rev. 1.1...
  • Page 51: Material Composition Declaration & Environmental Information

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 9. MATERIAL COMPOSITION DECLARATION & ENVIRONMENTAL INFORMATION 9.1. HOMOGENOUS MATERIAL COMPOSITION DECLARATION Homogenous material information according to IPC-1752 standard Material Composition RV-8063-C7: (Symbolic drawing) Item Sub Item Material Substance Comment...
  • Page 52: Material Analysis & Test Results

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 9.2. MATERIAL ANALYSIS & TEST RESULTS Homogenous material information according to IPC-1752 standard Item Sub Item RoHS Halogen Phthalates Component Material Name Name Resonator Quartz Crystal Electrodes Cr+Au Housing...
  • Page 53: Recycling Material Information

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 9.3. RECYCLING MATERIAL INFORMATION Recycling material information according to IPC-1752 standard. Element weight is accumulated and referenced to the unit weight of 11.4 mg. Item Item Material Substance Comment...
  • Page 54: Environmental Properties & Absolute Maximum Ratings

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 9.4. ENVIRONMENTAL PROPERTIES & ABSOLUTE MAXIMUM RATINGS Package Description SON-8 Small Outline Non-leaded (SON), ceramic package with metal lid Parameter Directive Conditions Value Product weight (total) 11.4 mg Storage temperature Store as bare product -55 to +125°C...
  • Page 55: Soldering Information

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 10. SOLDERING INFORMATION Maximum Reflow Conditions in accordance with IPC/JEDEC J-STD-020C “Pb-free” Critical Zone to T Ramp-up Tsmax Tsmin Ramp-down Preheat t 25°C to Peak Time Temperature Profile Symbol...
  • Page 56: Handling Precautions For Modules With Embedded Crystals

    Shock and vibration: Keep the crystal / module from being exposed to excessive mechanical shock and vibration. Micro Crystal guarantees that the crystal / module will bear a mechanical shock of 5000 g / 0.3 ms.
  • Page 57: Packing & Shipping Information

    Micro Crystal Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 12. PACKING & SHIPPING INFORMATION Reel: 7” = 178 mm Ø 13 min. 12.4 max. 17 Carrier Tape: Material: Polycarbonate, conductive Width: 12 mm Tape Leader and Trailer: Minimum length 300 mm ±0,1...
  • Page 58: Compliance Information

    Ultra Small Real-Time Clock Module with SPI-Bus Interface RV-8063-C7 13. COMPLIANCE INFORMATION Micro Crystal confirms that the standard product Real-Time Clock Module RV-8063-C7 is compliant with “EU RoHS Directive” and “EU REACh Directives”. Please find the actual Certificate of Conformance for Environmental Regulations on our website: CoC_Environment_RV-Series.pdf...

Table of Contents