cancel
Showing results for 
Search instead for 
Did you mean: 

How PVD interrupt when in Active-halt mode

vegetableswim
Associate

Hi,

STM8L152 with buttons and LCD, using CR2032 battery. Most of time MCU is in Active-halt mode and keep LCD display. Now I want PVD low voltage interrupt to inform user to change battery in LCD.

So my question is, can PVD interrupt work in active-halt mode? And how to do it properly?

I notice setting PWR_CSR2_ULP bit will disable Vrefint(for PVD and others) in Active/Halt mode, So this bit can't be set and bring extra power consumption in Active-halt mode, am I right?

Yong

0 REPLIES 0