I mounted the Adafruit DS3231 RTC module on a breadboard and using the Adafruit instructions got it to work. It works fine but it takes one minute after booting the BBB before it reads the clock date and time and updates to Debian. I would like it to update right away when the BBB boots up. I suspect that the BBB is trying to get the date and time thru the Ethernet connection but don't know. Any help please? Thanks, John
Here's the Adafruit DS3231 info: https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout/downloads and here's the instructions: https://learn.adafruit.com/adding-a-real-time-clock-to-beaglebone-black/set-rtc-time My systemd code is: [Unit] Description=DS3231 RTC Service [Service] Type=simple WorkingDirectory=/usr/share/rtc_ds3231 ExecStart=/bin/bash clock_init.sh SyslogIdentifier=rtc_ds3231 [Install] WantedBy=multi-user.target and my clock_init.sh code is: #!bin/bash sleep 15 echo ds3231 0x68 > /sys/class/i2c-adapter/i2c-1/new_device hwclock -s -f /dev/rtc1 hwclock -w -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/75ebc521-bf6e-433a-8a08-2bbd51d89da2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
