Other Parts Discussed in Thread: TPS6594-Q1,
Tool/software:
Hi Team,
I am working on a custom board based on the DRA821U SoC, and we are testing the RTC functionality in the TPS6594-Q1 PMIC. However, the RTC time is not updating correctly. For example, I set the time using the command date -s "2024-12-16 10:00:00"
and powered off the board. When I immediately powered it back on, the time was updated correctly. However, after powering off the board for 15 minutes with the battery connected, the RTC did not update as expected; instead, it showed 2024-12-16 10:01:00
. Additionally, I am encountering the following error:
[2024-12-16 15:14:53] root@j7200-iwg52m:~# hwclock -r
[2024-12-16 15:15:07] hwclock: select() to /dev/rtc0 to wait for clock tick timed out
[2024-12-16 15:15:07] root@j7200-iwg52m:~# hwclock -v
[2024-12-16 15:15:10] hwclock from util-linux 2.37.4
[2024-12-16 15:15:10] System Time: 1734361761.337436
[2024-12-16 15:15:10] Trying to open: /dev/rtc0
[2024-12-16 15:15:10] Using the rtc interface to the clock.
[2024-12-16 15:15:10] Last drift adjustment done at 1734361129 seconds after 1969
[2024-12-16 15:15:10] Last calibration done at 1734361129 seconds after 1969
[2024-12-16 15:15:10] Hardware clock is on UTC time
[2024-12-16 15:15:10] Assuming hardware clock is kept in UTC time.
[2024-12-16 15:15:10] Waiting for clock tick...
[2024-12-16 15:15:20] hwclock: select() to /dev/rtc0 to wait for clock tick timed out
[2024-12-16 15:15:20] ...synchronization failed
[2024-12-16 15:15:20] root@j7200-iwg52m:~#