beautypg.com

External clock, Attiny26(l) – Rainbow Electronics ATtiny26L User Manual

Page 32

background image

32

ATtiny26(L)

1477B–AVR–04/02

oscillator is intended for calibration to 1.0, 2.0, 4.0, or 8.0 MHz. Tuning to other values is
not guaranteed, as indicated in Table 14.

External Clock

To drive the device from an external clock source, XTAL1 should be driven as shown in
Figure 30. To run the device on an external clock, the CKSEL Fuses must be pro-
grammed to “0000” and PLLCK to “1”. By programming the CKOPT Fuse, the user can
enable an internal 36 pF capacitor between XTAL1 and GND.

Figure 30. External Clock Drive Configuration

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

Table 14. Internal RC Oscillator Frequency Range.

OSCCAL Value

Min Frequency in Percentage of

Nominal Frequency

Max Frequency in Percentage of

Nominal Frequency

$00

50%

100%

$7F

75%

150%

$FF

100%

200%

Table 15. Start-up Times for the External Clock Selection

SUT1..0

Start-up Time from

Power-down

Additional Delay from

Reset (V

CC

= 5.0V)

Recommended Usage

00

6 CK

BOD enabled

01

6 CK

4.1 ms

Fast rising power

10

6 CK

65 ms

Slowly rising power

11

Reserved

EXTERNAL

CLOCK

SIGNAL

PB5 (XTAL2)

XTAL1

GND