STM32U5 - Real confusion about RTC and sub-seconds tracking. Trying to use it to set time from NTP packets.
Hi all,
I'd like to use the RTC as a keeper of real-world clock. It would get synchronized with a (S)NTP server once a day. The RTC would get queried multiple times a day for the current time. The main challenge is that I'd like the timestamps to have a resolution of about 1ms. This should be possible according to the manual, but I'm not sure how to utilize the HAL to do so (if it's even supported by the HAL). When reading some HAL functions, it's mentioned that HAL_RTC_SetTime doesn't set the sub-seconds register.
Is it correct to assume I'll need to use the low-level drivers to implement this functionality?
Thanks
