All is in the subject line. I Have a Pi 5 but have been unable to find out how to use the RTC, there is a a dearth of information it seems.
All is in the subject line. I Have a Pi 5 but have been unable to find out how to use the RTC, there is a a dearth of information it seems.
There's no RTC in the conventional sense. Linux will maintain its own clock, by obtaining the current time from the network. The time will need to be obtained this way each time the Pi is powered on.
If you want a RTC that retains its time (for instance through battery back-up with a coin cell etc) and does not require the Pi to be connect to a network time server, then you'd need additional hardware plugged onto the Pi. If you mention your actual end use-case, then it may be possible to provide a better answer to meet your needs.
Not sure, but it definitely has an rtc community.element14.com/.../how-can-i-connect-a-battery-for-the-real-time-clock-rtc-on-the-raspberry-pi-5 hopefully it just works.
What's with the negative vote? That's pretty rude considering it was a genuine mistake when trying to provide a helpful answer.
RTC DS3221 I have used with some success.
Or it seems just a battery on the Pi 5 (apparently that's new for the Pi 5).
andylhart I'm presuming you can just use the Linux 'date' command, provided that the correct driver is already part of the new Pi OS. Not many people probably have the Pi 5 yet (I don't), so if there's no other information, I'd try the 'date' command (type 'man date' to see how to use it, or temporarily connect to a network for the time to automatically update).
I found this link and your cable was attached.
Thanks to the wonderful faq by cstanton .If we should never use the down vote button, perhaps we should remove it and have likes only?
Clearly there is an issue here. Negative-vote me whenever you wish. I'm not suggesting that you should never downvote.
I've called you out on it because I don't think it is justified. You called me out on my comment with the down-vote. What's the difference? I would also stick up for any user if I thought they were getting unfairly down-voted by anyone. Do what you like.
There's no RTC in the conventional sense
The Raspberry Pi 5 now has an RTC!
It's part of the Renesas / Dialog DA9091 PMIC.
It's supported by a 3v coin cell battery that connects to J5. This means we can now use "hwclock".
What's with the negative vote?
With the way Verint operates, upvoted comments become more visible towards the 'top' of the thread, and downvoted comments are less prevalent.
I can see that being justified with regard to accuracy for someone with a question and looking for an answer.
It's similar to how Reddit operates. However, functionality on the site is always being assessed.