Hi all,
In RUI3 on RAK3172-SIP the Watchdog allows max. 8 seconds timeout. However to serve it a timer-task is required, which has a power frame of 10 msec, or in other words: If a timer wakes all 5 seconds to serve the watchog, the average current is quite high (power profiler calculates 35uA), instead of the extreme low 3uA (without Watchog).
I see in the code (stm32wlxx_hal_iwdg.h), that the watchdog prescaler is 64, up to 256 is possible and a much larger reload period than 8 sec (uhal_wdt.c). According to the datasheet (Sect. 3.25.4 ) up to 32 sec are possible, hence this would reduce the average sleep current to 6 uA.
Are there plans to integrate it in RUI3? I think a watchdog is sometimes very useful…
Best regards, Jo
My project: A professional, but Open Source stand alone precise Soil moisture sensor, working at 40.68 MHz (worldwide available SRD-Band). The principle is based on scientific work and the sensor is highly insensitive to salinity. If using a 1.5 AA Battery and a stepper with the RAK3172-SIP-L, up to 10 years of hourly upload should be possible. Git: GitHub - joembedded/Gizmo-SoilMoisture-Monitor: A lowCost SoilMoisture Monitor ('Giess-Monitor')