ATTIny2313-16MI ATMEL Corporation, ATTIny2313-16MI Datasheet - Page 23

no-image

ATTIny2313-16MI

Manufacturer Part Number
ATTIny2313-16MI
Description
8-bit AVR Microcontroller with 2K Bytes In-System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Clock Sources
Default Clock Source
Crystal Oscillator
2543C–AVR–12/03
The device has the following clock source options, selectable by Flash Fuse bits as
shown below. The clock from the selected source is input to the AVR clock generator,
and routed to the appropriate modules.
Table 2. Device Clocking Select
Note:
The various choices for each clocking option is given in the following sections. When the
CPU wakes up from Power-down, the selected clock source is used to time the start-up,
ensuring stable Oscillator operation before instruction execution starts. When the CPU
starts from reset, there is an additional delay allowing the power to reach a stable level
before commencing normal operation. The Watchdog Oscillator is used for timing this
real-time part of the start-up time. The number of WDT Oscillator cycles used for each
time-out is shown in Table 3. The frequency of the Watchdog Oscillator is voltage
dependent as shown in “ATtiny2313 Typical Characteristics – Preliminary Data” on page
180.
Table 3. Number of Watchdog Oscillator Cycles
The device is shipped with CKSEL = “0010”, SUT = “10”, and CKDIV8 programmed.
The default clock source setting is the Internal RC Oscillator with longest start-up time
and an initial system clock prescaling of 8. This default setting ensures that all users can
make their desired clock source setting using an In-System or Parallel programmer.
XTAL1 and XTAL2 are input and output, respectively, of an inverting amplifier which can
be configured for use as an On-chip Oscillator, as shown in Figure 12 on page 24. Either
a quartz crystal or a ceramic resonator may be used.
C1 and C2 should always be equal for both crystals and resonators. The optimal value
of the capacitors depends on the crystal or resonator in use, the amount of stray capac-
itance, and the electromagnetic noise of the environment. Some initial guidelines for
choosing capacitors for use with crystals are given in Table 4 on page 24. For ceramic
resonators, the capacitor values given by the manufacturer should be used.
Device Clocking Option
External Clock
Calibrated Internal RC Oscillator 4MHz
Calibrated internal RC Oscillator 8MHz
Watchdog Oscillator 128kHz
External Crystal/Ceramic Resonator
Typ Time-out (V
1. For all fuses “1” means unprogrammed while “0” means programmed.
4.1 ms
65 ms
CC
= 5.0V)
(1)
Typ Time-out (V
4.3 ms
69 ms
CC
= 3.0V)
ATtiny2313/V
Number of Cycles
64K (65,536)
4K (4,096)
0000 - 0001
0010 - 0011
0100 - 0101
0110 - 0111
1000 - 1111
CKSEL3..0
23

Related parts for ATTIny2313-16MI