I just spent the last few weeks looking at the BBB RTC.

If you want a battery backed RTC, you will need to add one.  The Maxim DS3231 
is one example.  Adafruit makes several breakout boards and modules so you can 
pick your flavor of how you want to connect it.  The clock will be connected to 
the I2C - 2 bus.

Then add this line to /boot/uEnv.txt:

dtb_overlay=/lib/firmware/BB-I2C2-RTC-DS3231.dtbo


Restart, and that’s it.  Your BBB now has a battery backed RTC.  If it’s on a 
network and can reach an NTP server, it will set the RTC automagically.

The BBB still does not have a good low power sleep mode.  The RTC will not fix 
that, but it’s not the fault of the RTC, which otherwise works quite nicely 
with the Linux drivers.

-Steve



> On Sep 10, 2020, at 10:37 PM, Chinmay Pendharkar <notthe...@gmail.com> wrote:
> 
> Hello,
> 
> Does the BeagleBone AI have an onboard RTC? If so is there any documentation 
> about it and how it can work? If there is a mechanism to add battery/supercap 
> to keep time.
> 
> -Chinmay
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <http://beagleboard.org/discuss>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com 
> <mailto:beagleboard+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/0cae3f1d-2f95-4128-8a81-440c770c05ben%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/beagleboard/0cae3f1d-2f95-4128-8a81-440c770c05ben%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/D7148BB2-27F7-4134-ADD4-C07979641561%40gmail.com.

Reply via email to