beautypg.com

Low-frequency crystal oscillator, Attiny26(l) – Rainbow Electronics ATtiny26L User Manual

Page 29

background image

29

ATtiny26(L)

1477B–AVR–04/02

The CKSEL0 Fuse together with the SUT1..0 Fuses select the start-up times as shown
in Table 8.

Notes:

1. These options should only be used when not operating close to the maximum fre-

quency of the device, and only if frequency stability at start-up is not important for the
application.

2. These options are intended for use with ceramic resonators and will ensure fre-

quency stability at start-up. They can also be used with crystals when not operating
close to the maximum frequency of the device, and if frequency stability at start-up is
not important for the application.

Low-frequency Crystal
Oscillator

To use a 32.768 kHz watch crystal as the clock source for the device, the Low-fre-
quency Crystal Oscillator must be selected by setting the PLLCK to “1” and CKSEL
Fuses to “1001”. The crystal should be connected as shown in Figure 28. By program-
ming the CKOPT Fuse, the user can enable internal capacitors on XTAL1 and XTAL2,
thereby removing the need for external capacitors. The internal capacitors have a nomi-
nal value of 36 pF.

When this oscillator is selected, start-up times are determined by the SUT Fuses as
shown in Table 9.

Note:

1. These options should only be used if frequency stability at start-up is not important for

the application.

Table 8. Start-up Times for the Crystal Oscillator Clock Selection

CKSEL0

SUT1..0

Start-up Time

from Power-down

Additional Delay from

Reset (V

CC

= 5.0V)

Recommended
Usage

0

00

258 CK

(1)

4.1 ms

Ceramic resonator,
fast rising power

0

01

258 CK

(1)

65 ms

Ceramic resonator,
slowly rising power

0

10

1K CK

(2)

Ceramic resonator,
BOD enabled

0

11

1K CK

(2)

4.1 ms

Ceramic resonator,
fast rising power

1

00

1K CK

(2)

65 ms

Ceramic resonator,
slowly rising power

1

01

16K CK

Crystal Oscillator,
BOD enabled

1

10

16K CK

4.1 ms

Crystal Oscillator, fast
rising power

1

11

16K CK

65 ms

Crystal Oscillator,
slowly rising power

Table 9. Start-up Times for the Low-frequency Crystal Oscillator Clock Selection

SUT1..0

Start-up Time

from Power-down

Additional Delay from

Reset (V

CC

= 5.0V)

Recommended Usage

00

1K CK

(1)

4.1 ms

Fast rising power or BOD enabled

01

1K CK

(1)

65 ms

Slowly rising power

10

32K CK

65 ms

Stable frequency at start-up

11

Reserved