STM32F407 spurious reset (RCC_FLAG_PINRST)
Hi, I have a project using STM32F407 micro. Every few days I get a reset on the device even though there is no interaction with the device. I have it running on the debugger with ST-Link connected and when this reset occurs I inspect the CSR register and the RCC_FLAG_PINRST flag is set but none of the other reset flags.
From the datasheets it seems that this RCC_FLAG_PINRST means that the external NRST pin has been pulled low. Is there anything else that could trigger this flag (without any others set). Can something go wrong in code that could cause this?