cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Wake-up for STM32F042

Mathieu Garivet
Associate III
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
2 REPLIES 2
Imen.D
ST Employee
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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
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.