cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WL RTC HANGS!

Subramanya A
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Subramanya A
Associate II

Seems like: adding below line before calling "MX_RTC_Init()" resolve the issue.

hrtc.IsEnabled.RtcFeatures = UINT32_MAX; 

View solution in original post

1 REPLY 1
Subramanya A
Associate II

Seems like: adding below line before calling "MX_RTC_Init()" resolve the issue.

hrtc.IsEnabled.RtcFeatures = UINT32_MAX;