2023-04-08 06:49 AM
How can I wake up the B-L072Z-LRWAN1 STM32L072CZ PA0 pin when I want to measure the begin and end of a movement plus gathering measurements from the FIFO after one or several FIFO watermark interrupts?
Ideally I want to let the STM32 go back into low power mode and let the begin/end of movement and any FIFO watermark interrupt wake up the STM32. There is no reason to not go back to lop power mode when the accelerometer gathers data for several seconds.
The problem is that there is only one external wakeup pin on the STM32L072CZ which is PA0 while I want to wake up the STM32 for two different interrupts.
I am sure that this is not the first time that something like this is required. There might be a solution already documented or answered before but for now I can't find them.
Thanks in advance
2023-04-08 07:03 AM
-- deleted --