I'm using a SAML21 in my system, and recently, I have been facing a strange and critical behaviour. When I power off and power on the system, for any reason, the microcontroller starts rebooting forever.
After some debug, I have realized that it is stuck in the wdt_reset_count and that's because all of the programming fuses has changed (whyyyyyy????). Is this possible to happen because of overvoltage peaks, when I power on the system?
My microcontroller is being powered by a 5V to 3V3 step-down. The 5V are coming from a computer that is connected to a 230V to 24V power supply and, when I've checked the power line, there were some peaks comming from there.