cancel
Showing results for 
Search instead for 
Did you mean: 

Using stm32g0 RTC as an external RTC for another system/board

EMela
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

2 REPLIES 2

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

EMela
Associate II

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.