micropython power cycle in STM32XX
Posted: Sat Jul 15, 2017 6:07 am
Hi,
as micropython application is grow more and more to many applications, especially remote application, it is worth to concern about how micropython handles device on and off cycles. e.g. in noisy power environment, power loss, unstable power line network could result in unexpected power supply conditions.
my question is, how micropython handle this?
e.g. is there "blocking process" code somwhere inside that I must be aware of, which could potentially cause crash because of this? or all process is non-blocking and leave the hardware (stm32) to do the power cycle?
as micropython application is grow more and more to many applications, especially remote application, it is worth to concern about how micropython handles device on and off cycles. e.g. in noisy power environment, power loss, unstable power line network could result in unexpected power supply conditions.
my question is, how micropython handle this?
e.g. is there "blocking process" code somwhere inside that I must be aware of, which could potentially cause crash because of this? or all process is non-blocking and leave the hardware (stm32) to do the power cycle?