2022-06-14 06: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.
2022-06-14 02: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
2022-06-14 02: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
2022-06-14 03: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.