2020-02-14 07:12 AM
Hi Community,
I am working on developing applications using STM32L4 IoT discovery kit. So far i am able to configure sensors and read data from it. Connect to WiFi and transmit data via mqtt are working fine so far. I am also interesting in implementing low power modes. I am able to configure sleep, stop2 mode on the board and able to wake up from the wake-up timer interrupts. Althoug when i wake up from the sleep modes i loose all reference to variables which were declared before. Are there any examples to show how to periodically wake up from sleep mode and read sesnor data and then go back to sleep again ?