Real Time Alarm Clock(RTC) PCF8563/BM8563

From Visuino
Jump to navigation Jump to search

File:TArduinoRTCPFC8563.png

Summary

Provides real-time clock functionality with alarms and timer support using the PCF8563 or BM8563 RTC chip over I²C.

Description

The Real Time Alarm Clock (RTC) PCF8563/BM8563 component interfaces with the NXP PCF8563 (and compatible BM8563) real-time clock via the I²C bus. It offers precise timekeeping, alarm scheduling, programmable clock output, and a countdown timer with interrupt support.

This component is useful for:

Applications requiring calendar-based alarms (daily, hourly, or by weekday)

Low-power systems using battery backup

Projects that need periodic interrupts from a hardware timer

Embedded systems needing reliable timekeeping with I²C control

Diagram:

Categories

Properties

  • Address – I²C address of the PCF8563/BM8563 device.
  • Alarm – Alarm configuration:
    • Day – Integer day value.
    • Hour – Integer hour value.
    • Minute – Integer minute value.
    • Week Day – Integer weekday value.
    • Interrupt Enabled – Boolean; enables or disables alarm interrupt.
  • Clock Out – Clock output configuration:
    • Enabled – Boolean; enable/disable clock output.
    • Frequency – Enum (pcfco32768Hz, pcfco1024Hz, pcfco32Hz, pcfco1Hz).
  • Elements – Date/Time initialization values: Set Second, Minute, Hour, Day, Week Day, Month, Year.
  • Enabled – Boolean; enables or disables the RTC component.
  • Timer – Countdown timer configuration:
    • Clock Frequency – Enum (pcftAuto, pcft1_60th_Hz, pcft1Hz, pcft64Hz, pcft4096Hz).
    • Enabled – Boolean.
    • Interrupt Enabled – Boolean.
    • Period – Timer period in seconds.
    • Pulse Interrupt Enabled – Boolean.

Pins

  • Clock – External clock input.
  • Set – Date/Time input used to set the RTC.

Outputs:

  • Out – Date/Time output from the RTC.
  • Control (I²C) – Communication interface with the PCF8563/BM8563.
  • Low Voltage (Boolean) – Indicates when supply voltage is too low for reliable operation.
  • Timer (Clock) – Output clock signal from the countdown timer.
  • Alarm (Clock) – Alarm interrupt output.