Skip to main content
Vladimir Yakovlev
Associate
August 31, 2021
Solved

Can I use disabling of certain low-power timer (LPTIMx) by clearing the ENABLE bit in the LPTIM_CRx register safely if no interrupts from LPTIMx are used to wake up MCU from Stop mode?

  • August 31, 2021
  • 1 reply
  • 967 views

Clarification: Can I be sure that the case in Errata sheet ES0491 "Device may remain stuck in LPTIM interrupt when entering Stop mode" never occurs for certain LPTIMx if no interrupts within it are used to wake up MCU from Stop mode and disabling of LPTIMx by clearing the ENABLE bit in the LPTIM_CRx register can be used safely?

This topic has been closed for replies.
Best answer by Amel NASRI

Hi @Vladimir Yakovlev​ ,

I think that the difficulty here is how to make sure that "no interrupts within it are used to wake up MCU from Stop mode".

Based on the following table from reference manual RM0468, LPTIM interrupts will cause the device to exit Stop mode:

0693W00000Dm0v5QAB.png-Amel

1 reply

Amel NASRI
Amel NASRIBest answer
Technical Moderator
September 2, 2021

Hi @Vladimir Yakovlev​ ,

I think that the difficulty here is how to make sure that "no interrupts within it are used to wake up MCU from Stop mode".

Based on the following table from reference manual RM0468, LPTIM interrupts will cause the device to exit Stop mode:

0693W00000Dm0v5QAB.png-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.