Skip to main content
helioz
Associate
May 26, 2023
Question

Does PVD work in Stop mode?

  • May 26, 2023
  • 2 replies
  • 1100 views

STM32L072CZTx

PVD is configured to trigger INT16 and wake up the MCU.

It is working with the MCU in Sleep mode.

However, when the MCU is in Stop mode the interrupt does not trigger.

After reading RM0376 I am unsure if PVD is supposed to work in Stop mode or not?

Thank you

This topic has been closed for replies.

2 replies

ST Employee
May 26, 2023

Hello @helioz​, welcome to ST Community,

Yes, PVD is supposed to work in Stop mode.

Table 37 of RM0376 lists the details on how to exit Stop mode, where the PVD through EXTI line is configured as interrupt mode (table 55), the PVD is only stopped in standby mode.

BR

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
helioz
heliozAuthor
Associate
May 27, 2023

Thanks for clarifying @Sarra.S​ 

I have discovered the reason for PVD not working in stop mode - it was due to the ULP mode being enabled which shuts down VREFINT and therefore disables the PVD and any other functions which rely on VREFINT.

After disabling ULP mode the power consumption went from 5uA to 20uA in stop mode which is still very low for my application.