cancel
Showing results for 
Search instead for 
Did you mean: 

RTC wake up counter setting for STM32Cube LL library

HungKai.Chien
Associate II

We have set the RTC wakeup counter with STM32Cube.

We can found the wakeup counter value is 1023 for HAL library.

But we didn't found the wakeup value setting for LL library.

How do we set the wakeup counter value with LL library?

 /** Enable the WakeUp

 */

 if (HAL_RTCEx_SetWakeUpTimer_IT(&hrtc, 1023, RTC_WAKEUPCLOCK_RTCCLK_DIV4) != HAL_OK)

 {

  Error_Handler();

 }

3 REPLIES 3

Hello @HungKai.Chien​ 

Could you please tell me which MCU do you use ?

which STM32CubeMX version do you use ?

Best regards,

Nesrine

HungKai.Chien
Associate II

Hi,

STM32G070RB

STM32Cube 6.0.1

Hello @HungKai.Chien​ 

Thanks for the feedback,  issue reported to the tool development team that will plan the correction.

Best regards,

Nesrine