2021-08-28 05:11 AM
I wanted to use RTC in both my cores M7 and M4. Is RTC a shared peripheral ? Can we use RTC to set or get time from any core asynchronously ?
Please share any configuration need to be done for doing so ?
Solved! Go to Solution.
2021-08-28 11:24 AM
2021-08-28 10:45 AM
Yes, it's shared, just like most (all?) of the other peripherals. You can access it from either core. Naturally, if you set it from one core, then set it from the other, you are overwriting the previous values.
RTC examples are in the CubeMX repository.
2021-08-28 11:12 AM
Fine, Overwriting is not a problem for me, but how about both cores accessing same RTC at same time, in such scenario should we use HSEM or is it already protected function ?
2021-08-28 11:24 AM