STM32H7 RTC in both M7 and M4 Dual Cores
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-28 5: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.
- Labels:
-
RTC
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-28 11:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-28 11:24 AM
