we are currently deciding on the right OS for a project we are working on and have come to some questions regarding the low power capabilities of RIOT.
Our Dev platform: -> STM32 LoRa and Sigfox Discovery kit (B-L072Z-LRWAN1, https://www.st.com/en/evaluation-tools/b-l072z-lrwan1.html)
Most of the time the MCU should be in standby mode to have achive the lowest current consumption possible. But in that mode everything in RAM is lost. That means we would have to save the LoRaWAN configuration and approx. 250 byte of our own data to flash.
Our question is: How does RIOT handle the standby mode?
- Do we have to rewrite the LoRaWAN stack?
- Will our application restart, when using standby or is program data, counter, etc. saved and our app will continiue where it left?
- Might custom firmware be the better choice? There is no parallelism in our app and we won’t need the console.
Thank you and with best regards, Marcel Maas
Low power modes -> AN445 (https://www.st.com/content/st_com/en/products/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus/stm32-ultra-low-power-mcus/stm32l0-series/stm32l0x2/stm32l072cz.html#resource)