Dear all,
Currently I am using the LowPowerTicker to tick my STM32L031K6 MCU. However, the ticker froze after around 72 minutes from reset. So I use the same code but replace the LowPowerTicker with Ticker and it works fine (tested for 3 hours).
In fact, I have come across same issue with Ticker when I first used Mbed in 2014. It is because a variable was overflowed after 72 minutes and was not handled properly. The same issue on Ticker was addressed in the next released mbed library.
I believe this issue on LowPowerTicker is the same as that on Ticker. A variable was overflowed but not handled properly.
Hope such issue can be addressed in the near future.
Thanks a lot.
Dear all,
Currently I am using the LowPowerTicker to tick my STM32L031K6 MCU. However, the ticker froze after around 72 minutes from reset. So I use the same code but replace the LowPowerTicker with Ticker and it works fine (tested for 3 hours).
In fact, I have come across same issue with Ticker when I first used Mbed in 2014. It is because a variable was overflowed after 72 minutes and was not handled properly. The same issue on Ticker was addressed in the next released mbed library.
I believe this issue on LowPowerTicker is the same as that on Ticker. A variable was overflowed but not handled properly.
Hope such issue can be addressed in the near future.
Thanks a lot.