Waking from Standby with any GPIO with STM32L4?
I thought of using an STM32 to build a device which responds to infrequent pushbutton presses, but should also conserve battery. My initial instinct was to use an STM32L4 in Standby or Shutdown mode, setting the GPIO as external interrupts which would wake up the MCU.
This seems to only be possible with up to 5 pins according to the documentation, but what if I need more than five separate pushbuttons? Is something like wiring the buttons to both their separate GPIO pins and a common wakeup pin feasible? Maybe using a cap on the separate GPIO to allow the button press to be captured after the MCU wakes up?
I'd also love to use timers instead of EXTI for this, as there are 12 separate buttons, but don't really see how that would be possible.