rtc: Difference between revisions
From Vivid Unit
(Created page with "Yes, there is an RTC on Vivid Unit. It is actually integrated within the power supply management chip RK808. There is no I2C interface for this RTC though, you can use hwclock command to access its data. You can display the RTC with this command: sudo hwclock --show You can test the RTC with this command: sudo hwclock --test If you want the RTC to keep time when the device is not powered, you will need to connect a 3V battery to that small white connector.") |
mNo edit summary |
||
Line 5: | Line 5: | ||
You can display the RTC with this command: | You can display the RTC with this command: | ||
sudo hwclock --show | <span color='blue'>sudo hwclock --show</span> | ||
You can test the RTC with this command: | You can test the RTC with this command: | ||
sudo hwclock --test | <span color='blue'>sudo hwclock --test</span> | ||
If you want the RTC to keep time when the device is not powered, you will need to connect a 3V battery to that small white connector. | If you want the RTC to keep time when the device is not powered, you will need to connect a 3V battery to that small white connector. |
Revision as of 15:36, 28 January 2024
Yes, there is an RTC on Vivid Unit. It is actually integrated within the power supply management chip RK808.
There is no I2C interface for this RTC though, you can use hwclock command to access its data.
You can display the RTC with this command:
sudo hwclock --show
You can test the RTC with this command:
sudo hwclock --test
If you want the RTC to keep time when the device is not powered, you will need to connect a 3V battery to that small white connector.