Skip to main content
HungKai.Chien
Associate II
September 1, 2020
Question

RTC wake up counter setting for STM32Cube LL library

  • September 1, 2020
  • 3 replies
  • 805 views

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();

 }

This topic has been closed for replies.

3 replies

Nesrine.JLASSI
Visitor II
September 1, 2020

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
September 1, 2020

Hi,

STM32G070RB

STM32Cube 6.0.1

Nesrine.JLASSI
Visitor II
September 1, 2020

Hello @HungKai.Chien​ 

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

Best regards,

Nesrine