sbcshop / USB-RTC-Software

USB RTC is an open source real time clock device that comprises MCP2221, a USB-to-UART/I2C serial converter, which enables USB connectivity, in the processes that include a USB, UART(Serial), GPIO, and I2C interfaces.
GNU General Public License v3.0
11 stars 4 forks source link

Integrate RTC in Raspberry Pi #8

Open alexandergue opened 2 years ago

alexandergue commented 2 years ago

Is there an opportunity to set up the RTC in the OS from the Pi?

The script "Set_Time_Boot.py" only sets the time when you boot the System. And all other scripts only use the same methods to read the time. But I want the USB-RTC as a hardware clock, so i can access the RTC in the shell (via hwclock or timedatectl).

There are Tutorials to setup I2C-RTCs (connected via GPIO Pins) like this online, but not for this USB-RTC Version.

I hope there is someone who can help me with this problem.

jdrch commented 9 months ago

There are Tutorials to setup I2C-RTCs (connected via GPIO Pins) like this online, but not for this USB-RTC Version.

I believe those may apply since I suspect this RTC shows up as an I2C device.