All crystals have a start-up time, which is the time it takes for the crystal output to become stable. The start-up time of a given crystal is specified in the crystal data sheet. There are multiple choices on the tinyAVR 1-series and megaAVR 0-series for setting the start-up time, with the maximum value being 65535. This means that the device counts 65536 cycles with a frequency of 32.768 kHz, which translates to a start-up time of two seconds. When the start-up time has expired, the XOSC32K Status bit in the Main Clock Status register (MCLKSTATUS.XOSC32KS) will be set.
1
’. It will
only be started when the 32.768 kHz clock is requested by a peripheral, for example
the main clock or RTC, or if the Run Standby bit in XOSC32KCTRLA
(XOSC32KCTRLA.RUNSTDBY) is set.