OK, thanks for your answer and a logical solution.
But is it possible the (re)attach only when waking up?
I tested it to reattach now in loop. But then it will attach every loop and not only if it wakes up.
I know that it is possible with ESP32. But I couldn't find a soltion for STM32.
And I have ...
Search found 2 matches
- Sat Jul 27, 2024 6:33 am
- Forum: General discussion
- Topic: STM32LowPower wakeup at interrupt
- Replies: 2
- Views: 3352
- Fri Jul 26, 2024 11:51 am
- Forum: General discussion
- Topic: STM32LowPower wakeup at interrupt
- Replies: 2
- Views: 3352
STM32LowPower wakeup at interrupt
Hi,
I'am using the Lib stm32duino/STM32duino Low Power@^1.2.5 (https://github.com/stm32duino/STM32LowPower)
But if I send the STM32 in sleep-mode with LowPower.deepSleep(5000) for 5 seconds it also wakes up at GPIO Interrupt without attachInterruptWakeup(...)
Is that the correct behavior? And if ...
I'am using the Lib stm32duino/STM32duino Low Power@^1.2.5 (https://github.com/stm32duino/STM32LowPower)
But if I send the STM32 in sleep-mode with LowPower.deepSleep(5000) for 5 seconds it also wakes up at GPIO Interrupt without attachInterruptWakeup(...)
Is that the correct behavior? And if ...