I am new to developing applications on STM32 development boards.
Currently i have STM32 IoT discovery kit. I am able to configure all the sensors and read data. I am interested in low power design especially STOP2 mode, when i can retain all the variables on SRAM. I want to achieve low power consumption keeping sensor reading intervals low. Imagine having 3 different sensors, reading sensor data at 3 diffrent intervals for e.g.
- Sensor A – read every 15mins
- Sensor B – read every 30mins
- sensor C – read every hour.
So far i have implemented a storing mechanism to store data. I have also implemented the stop2 mode sample which wakeup every 33seconds (from examples). How can i achieve functionality where i can read/poll at diffrent intervals and keep the MCU in stop2 mode after the reading is finished.?