PINRSTF & WWDGRSTF are set in RCC->CSR with no apparent reason
Hi,
Our device sometimes turns on from Standby by itself. The only wakeup sources enabled are a couple of wakeup pins.
I saw the device reset (from standby) by itself, and the PINRSTF flags in RCC->CSR was set. The reset pin has 100nF capacitor to Gnd (it has an internal pullup according to the datasheet), and it is not connected anywhere, there's no option of performing external reset.
On another occasion the WWDGRSTF flag was set, and I do not use the Window Watchdog. My application uses Independent Watchdog, but power off is done by software reset, then the bootloader 'sees' no button is pressed and so it puts the system in Standby, with no watchdog set.
I did some experiments, and when I turn on the device from Standby (by wakeup pin) the PINRSTF flag is set with no apparent reason.
Ideas?