STM32G474 WKUP Pin needs to be pulled down?
Hello,
I’m using an STM32G474 in standby mode and have found some weird behavior. I know the MCU is entering standby mode as the flag is set upon wake up, however the MCU is still drawing ~120μA in standby.
The WKUP pin is floating when not pulled up. To wake, it’s connected to a 10k pull up resistor via a switch. I’ve been poking around and found that connecting the WKUP pin to GND while in standby drops the current down to about 2μA, in line with the standby current spec. I soldered a 1MΩ resistor between the pin and GND and this seems to do the trick while allowing my pull up to still operate and wake the MCU.
Any idea why this is happening? Perhaps someone could point me to a reference document that explains it?
Thanks in advance!