Using stm32g0 RTC as an external RTC for another system/board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-14 6:26 AM
I noticed this driver https://github.com/EmcraftSystems/linux-emcraft/blob/master/drivers/rtc/rtc-stm32f2.c
Is it possible to configure the stm32g030c8 to be an i2c slave and provide it's RTC to an external system that runs linux and uses this driver? Or do I have to implement a full i2c slave that would emulate another discrete RTC?
Solved! Go to Solution.
- Labels:
-
RTC
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-14 2:03 PM
That link is to a minimalistic linux version which is to be run directly on the STM32F2xx.
> do I have to implement a full i2c slave that would emulate another discrete RTC?
Yes.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-14 2:03 PM
That link is to a minimalistic linux version which is to be run directly on the STM32F2xx.
> do I have to implement a full i2c slave that would emulate another discrete RTC?
Yes.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-14 3:04 PM
Thank you! I suspected that.
It would have been nice to use that instead of a discrete chip . But I assume it would be a lot of work to do a full implementation of a known device that works out of the box with a linux driver.
