2023-04-04 07:59 AM
Hi Team,
I'm facing some trap in the STM32WLE5 device during RTC init, some time RTC initialization works, some time it hangs in generated function "HAL_RTC_MspInit()" during HAL_NVIC_EnableIRQ(RTC_Alarm_IRQn).
if any one faced this issue kindly let me know tow it was resolved.
Thanks in Advance.
Solved! Go to Solution.
2023-04-04 08:52 AM
Seems like: adding below line before calling "MX_RTC_Init()" resolve the issue.
hrtc.IsEnabled.RtcFeatures = UINT32_MAX;
2023-04-04 08:52 AM
Seems like: adding below line before calling "MX_RTC_Init()" resolve the issue.
hrtc.IsEnabled.RtcFeatures = UINT32_MAX;