RTC module nvvrs-pseq-rtc problem

Hello,
I am experiencing an issue with the RTC module (nvvrs-pseq-rtc) on a Jetson Orin device. When performing a software reboot, the RTC time is preserved correctly. However, if the main power is disconnected while the backup battery remains attached, the time gets reset. This reset occurs even if I disable the RTC driver and manually read the register values immediately after the system boots.

When the driver is loaded, attempting to access the clock using the hwclock utility triggers error messages in the kernel log.

nvvrs_pseq 4-003c: CAUTION: interrupt status reg:0x10 set to 0x8

nvvrs_pseq 4-003c: Clearing interrupts

According to the scripts in the /etc/systemd/nvrtc-sync*.sh directory, the system relies on rtc0 for timekeeping—which is the exact module that resets upon a power cycle.

Jetson version from /etc/nv_tegra_release:

R35 (release), REVISION: 5.0, GCID: 35550185, BOARD: t186ref, EABI: aarch64, DATE: Tue Feb 20 04:46:31 UTC 2024

Hi, sorry for the long delay in replying. The issue was with the battery (more specifically, the supercapacitor) connected to the RTC module. The only thing that remains unclear is why the system defaults to configuring an RTC module that has no way of connecting to an external power source.

Thank you for the update, and we are glad you found the root cause.

Super capacitors are not supported for the RTC backup power. Please refer to Table 6-1 in the Jetson Orin NX Series and Jetson Orin Nano Series Product Design Guide. The PMIC_BBAT pin is input only, so it cannot charge a super capacitor or a rechargeable cell. For RTC backup power, please use a battery such as a lithium coin cell (1.85V to 5.5V).

The purpose of the RTC is to keep the time even when the board power is turned off. Using the RTC on the Jetson module is optional. You can use it with a backup battery as described above, or you can get the time from another source on your board, such as a GPS module, if your design supports one.