No, what I wanted to say is that it is possible to set the filter registers early in the startup code. I don't really know if presetting the filter register will cause a faster FLL synchronization. That is a good question indeed.
bigmac wrote:Hello Fabio,Are you aware of any evidence to suggest that, by setting the SCM frequency to be in the vicinity of the eventual FEI mode frequency, whether this would result in a significantly shorter synchronization time for FEI?
Digitally-controlled oscillator (DCO) preserves previous frequency settings, allowing fast frequency lock when recovering from stop3 mode.
"Here is the answer I got to my question regarding the SCM clock:
"Self Clock mode is a very particular case; it is intended to provide a clock that could help you to initialize the system in the abscense of another clock.The values for ICGFLT don't have a direct formula to be calculated;basically you write a value, check the output frequency and then adjust it writing a higher value to get a higher frequency or smaller to reduce it.
You also have to remember that Self Clock mode has poor accuracy; it could change a lot on all the voltage and temperature range, this is one more reason to avoid using it for something different than initializing the system.
Resuming the answer, there is no formula on how to calculate the ICGFLT register, you simply have to write it until you get the desired bus frequency.
It is also good to remember that SCM should be avoided for something different than system initialization since it has a poor accuracy."
So it seems that the accuracy of the SCM mode is not to count on.If you need it, calibrate it against a known external frequency.