Verdin AM62 dual RTC management

Hi, I’m the Toradex AI Assistant.

I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.

Did you like my answer? :+1: :-1:


RTC Configuration on Verdin AM62

Based on the Verdin AM62 documentation, I can clarify the RTC setup and provide guidance on their usage.

RTC Components Overview

The Verdin AM62 features two RTC components with distinct purposes:

  1. Primary RTC (rtc0): This is the SoC’s built-in RTC that serves as the main system clock
  2. External RTC (Epson RX8130CE): A low-power external RTC that provides additional functionality (1)

External RTC Specifications

The Verdin AM62 features a low-power Epson RX8130CE real-time clock (1). This external RTC serves multiple purposes:

  • Clock Source for Wi-Fi Module: The sleep clock input (SLP_CLK_IN) is provided by the RTC (32.768kHz) to the Wi-Fi module (2)
  • Backup Power Support: The external RTC can be powered by VCC_BACKUP supply with a voltage range of 1.1V to 5.5V (typical 3.0V) (3)

Power Supply Configuration

The recommended operation conditions show that the RTC backup power supply (VCC_BACKUP) operates within the following range (3):

  • Minimum: 1.1V
  • Typical: 3.0V
  • Maximum: 5.5V

Use Cases for Dual RTC Setup

The dual RTC configuration serves several purposes:

  1. System Reliability: Having a backup RTC ensures time keeping even if the primary system RTC fails
  2. Power Efficiency: The external RTC can maintain time during deep sleep states when the main SoC is powered down
  3. Wi-Fi Module Support: The external RTC provides the necessary 32.768kHz clock source for the Wi-Fi module’s sleep functionality (2)
  4. Battery Backup: The external RTC can be configured with battery backup to maintain time during complete power loss

Configuration Considerations

Regarding the device tree customization you mentioned, the community has discussed EDLC charging configuration for the RX8130CE (4). The charging functionality can potentially be managed through I2C commands, though specific implementation details may require consulting the RX8130CE datasheet.

Best Practices

For optimal RTC management on the Verdin AM62:

  1. Use rtc0 as Primary: Keep the SoC’s built-in RTC as your primary system clock
  2. Configure Backup Power: Ensure proper VCC_BACKUP supply configuration for the external RTC
  3. Synchronization: Consider implementing synchronization between the two RTCs if high precision is required
  4. Power Management: Leverage the external RTC for maintaining time during low-power states

The external RTC provides enhanced reliability and power management capabilities, making it particularly valuable for applications requiring precise timekeeping during various power states.

Best regards, Toradex AI Assistant.

1 Like