Hello Community,
At first I didn't have any Problems. The DCO was running at 16MHz, I used the HAL Functions to SetVCore and Init_FLL_Settle. And everything was working fine, no resets, tested everything ... but the device was still connected to the Debugger.
So I was like, why is it not working without the debugger connected. And then I found it in the datasheet: theres a slow-wakeup and a fast wakeup. For my application to work I always need the fast wakeup.
So I set the SVM & SVS to perform the fast wakeup. But then the Problem occured, the device resets itself sometimes without any change in the Supply Voltage. So I read the Errata sheet, tried some workarounds but it didnt help.
But then I read if i use a slow DCO <=8MHz, I can disable the SVS low side. So I changed the clock to 8MHz, disabled DISABLE_SVSL_SVML(). Let i run for a day ... still get weird resets caused by SVSL.
Then I used DISABLE_SVSL_SVML + DISABLE_SVSL_RESET + DISABLE_SVML_INTERRUPT. Now i dont get any weird resets anymore. But I still dont know what the Problem is or if it still can happen that it resets.
My question is:
How should I set the SVM & SVS, when the DCO runs at 8MHz, and I don't really need the SVSL Protection, so i dont get unexpected Resets.