The perfect partner for high-precision time management: Co-design of YSN8563 RTC and 32.768kHz crystal oscillator

Real-Time Clock (RTC) is a dedicated integrated circuit used to provide an accurate time reference. The 32.768kHz crystal oscillator is the most commonly used clock source in RTC due to its convenience of binary frequency division, ensuring that RTC can provide a reliable and accurate time reference in various application scenarios.
According to whether it is internally integrated, it can be divided into an integrated crystal RTC (Integrated Crystal RTC) and an external crystal RTC (External Crystal RTC). The built-in crystal RTC has better consistency, but lower flexibility and higher cost; the external crystal RTC design is more complex, but has higher flexibility and stronger adaptability.
This article will introduce the combination of YXC external crystal RTC YSN8563 and YXC 32.768kHz crystal oscillator.

1. Introduction to YXC clock chip YSN8563
YSN8563 is a real-time clock chip designed for applications that require high-precision time management and low power consumption. Its core advantages lie in its excellent time keeping capability and low current consumption. It also uses I2C bus technology to support a bus speed of up to 400Kbit/s, significantly improving data transmission efficiency. YSN8563 also has a rich feature set, including but not limited to programmable calendar alarms, timers, and periodic interrupt functions, providing users with a flexible and efficient time control solution.

YSN8563 product image

Product features:

Support alarm, timer and interrupt functions
· Operating temperature: -40℃~+85℃
· Low power consumption: 0.9μA (typical value)
· Supply voltage: 1.2V~5.5V
· I2C bus communication interface
· Built-in matching capacitor
· External crystal: 32.768kHz
· Package: SOP8 & TSSOP8
· Pin-to-Pin compatible with PCF8563

Detailed parameters:
YSN8563 consists of an oscillator circuit (Oscillator), a real-time clock core (RTC Core), registers (Register), power management (Power Management), an I2C interface (I2C Interface) and an interrupt output circuit (Interrupt/Fout). The real-time clock core of YSN8563 is mainly responsible for providing accurate time management. Its clock signal and frequency source are provided by the internal oscillator circuit and the external 32.768kHz crystal oscillator.

YSN8563 block diagram


YSN8563 pin function diagram


YSN8563 package size diagram

YSN8563 is comparable to PCF8563 in terms of technical parameters and performance, and can meet the replacement needs. In addition, YXC also provides detailed basic solution design and technical support to help users achieve higher accuracy and reliability in the design and development process.

2. 32.768kHz crystal matching solution
Crystal oscillators are clock frequency devices made using the piezoelectric effect of quartz crystals. They mainly provide highly stable clock signals for electronic systems, achieve precise timing, and ensure the synchronous operation of various components of the system.
32.768kHz crystal oscillators are low-frequency quartz crystal resonators that are widely used in real-time clocks (RTCs) and other electronic devices that require precise time references. YXC provides 32.768kHz crystal oscillators in a variety of packaging forms to meet the needs of diversified solution design.

YXC 32.768kHz Product List


3. RTC YSN8563 + 32.768kHz Combination Solution
Choosing the right 32.768kHz crystal is crucial to ensuring the accuracy and reliability of the clock. The 32.768kHz crystal provided by YXC is highly matched with the YSN8563 chip, and the matching solution can ensure the accuracy and reliability of the RTC system.

The following test results show the clock frequency stability achieved by RTC YSN8563 with YXC 32.768kHz crystal.

Test conditions:
1. RTC: YSN8563
· YXC external crystal clock chip
2. Crystal: YST310S
· YXC resonator
· Nominal frequency: 32.768kHz
· Package: 3.2*1.5mm
· Load capacitance: 12.5pF
3. External capacitor: 15pF

Test results:
The frequency deviation of the RTC clock solution is -3.8PPM, with excellent frequency stability


Actual test data display

The clock solution composed of YSN8563 and 32.768kHz crystal can achieve precise time control under low power consumption conditions, and is suitable for various application scenarios such as IoT devices, wearable devices, industrial automation systems, automotive electronics, remote monitoring systems, smart meters and medical equipment. This solution effectively improves the energy efficiency, accuracy and security of the system, and promotes technological progress and industrial upgrading in related industries.