Skip to main content
Mathieu Garivet
Associate III
June 28, 2017
Question

Auto Wake-up for STM32F042

  • June 28, 2017
  • 1 reply
  • 916 views
Posted on June 28, 2017 at 18:41

Hi everybody,

I'm wondering why the HAL library does not allow to program an auto wakeup for a STM32F042.

It is not allowed via CubeMX GUI neither.

I've looked into hal files :every function used to init/use the auto wakeup are surrounded by :

&sharpif defined(STM32F070xB) || defined(STM32F071xB) || defined(STM32F072xB) || defined(STM32F078xx) || defined(STM32F091xC) || defined(STM32F098xx) || defined(STM32F030xC)

However the Reference Manual RM0091 does not mention any limitation (does it ?).

Also it would be possible for an STM32F072CB but not for a STM32F072C8 ? Why ?

Thank you for your answer.

Best Regards,

Mathieu G.

#wakeup #stm32f042 #rtc
This topic has been closed for replies.

1 reply

Technical Moderator
June 29, 2017
Posted on June 29, 2017 at 17:44

Hi

Garivet.Mathieu

,

The RM0091specifies in the ''3 RTC implementation'' table (page 577) the RTC Features supported by STM32F0 product Reference:

0690X00000607ZCQAY.png

Regards

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Mathieu Garivet
Associate III
June 29, 2017
Posted on June 29, 2017 at 17:52

Hello

DAHMEN.IMEN

,

Thank you, I missed that point..

However, HAL lib implementation makes the periodic wakeup timer supported

by an STM32F072

CB

but not by an STM32F072

C8

? Why ?

BR,

Mathieu.