Resolved! Is it possible to use the RTC alarm signal on the tamper pin in order to turn on a transistor or maybe hold that value in a D flip flop?
I've been doing a lot of research concerning Low power modes for the stm32 bluepill and I was wondering if i could power my board through VDD and execute a code through it and then right after going into sleep mode I would use a switch to only power...