Page 1 of 1

SAM D21, 4 seconds to boot, 48 MHz clock sync

Posted: Thu Dec 29, 2016 10:49 pm
by rubear
Hi,

I am seeing a bit over 4 seconds to get past system_clock_init(). I am using 48MHz in closed loop mode.

Is this normal?

Thanks,
-Robert

Update, I had CONF_CLOCK_XOSC32K_STARTUP_TIME set to SYSTEM_XOSC32K_STARTUP_65536,
which I would have expected a delay of 2 seconds. In any case, I changed it to SYSTEM_XOSC32K_STARTUP_32.
This decreased the delay to a few milliseconds. USB is working. Any problems with setting this to such a short time?

-Robert