AnsweredAssumed Answered

Auto Wake-up for STM32F042

Question asked by Mathieu Garivet on Jun 28, 2017
Latest reply on Jun 29, 2017 by Imen D

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 :

#if 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.