Author Topic: M0 Watchdog timer  (Read 1524 times)

jbdww

  • NewMember
  • *
  • Posts: 5
M0 Watchdog timer
« on: September 23, 2021, 12:37:19 PM »
Is there a watchdog timer for M0. I am putting the uC to sleep and wake up once a minute to take a reading from the BME 280, but very randomly the uC will hang at wakeup time.

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6866
  • Country: us
    • LowPowerLab
Re: M0 Watchdog timer
« Reply #1 on: September 24, 2021, 10:06:24 AM »
My take would be to fix the issue rather than apply a bandaid, but see this article about WDT on SAMD21:

https://eugeniopace.org/arduino/resiliency/2020/05/11/Using-a-Watchdog-to-fix-all-issues.html