14.2.2 Clock Start-up Sequence
Any clock source needs a sufficient VCC to start oscillating and a minimum number of oscillating cycles before it can be considered stable.
To ensure sufficient VCC, the device issues an internal reset with a time-out delay (tTOUT) after the device reset is released by all other reset sources. See the Related Links for a description of the start conditions for the internal reset. The delay (tTOUT) is timed from the Watchdog Oscillator and the number of cycles in the delay is set by the SUTx and CKSELx fuse bits. The selectable delays are shown in the Table below. The frequency of the Watchdog Oscillator is voltage dependent.
Typ. Time-out (VCC = 5.0V) | Typ. Time-out (VCC = 3.0V) |
---|---|
0ms | 0ms |
4ms | 4.3ms |
65ms | 69ms |
Main purpose of the delay is to keep the device in reset until it is supplied with minimum VCC. The delay will not monitor the actual voltage, so it is required to select a delay longer than the VCC rise time. If this is not possible, an internal or external Brown-Out Detection circuit should be used. A BOD circuit will ensure sufficient VCC before it releases the reset, and the time-out delay can be disabled. Disabling the time-out delay without utilizing a Brown-Out Detection circuit is not recommended.
The oscillator is required to oscillate for a minimum number of cycles before the clock is considered stable. An internal ripple counter monitors the oscillator output clock, and keeps the internal reset active for a given number of clock cycles. The reset is then released and the device will start to execute. The recommended oscillator start-up time is dependent on the clock type, and varies from 6 cycles for an externally applied clock to 32K cycles for a low frequency crystal.
The start-up sequence for the clock includes both the time-out delay and the start-up time when the device starts up from reset. When starting up from Power-save or Power-down mode, VCC is assumed to be at a sufficient level and only the start-up time is included.