Freelance Electronics Components Distributor
Closed Dec 25th-26th
800-300-1968
We Stock Hard to Find Parts

ATMEGA48-20AU

Part # ATMEGA48-20AU
Description MCU 8BIT ATMEGA RISC 4KB FLASH 3.3V/5V 32TQFP - Trays
Category IC
Availability Out of Stock
Qty 0
Qty Price
1 + $1.49230



Technical Document


DISCLAIMER: The information provided herein is solely for informational purposes. Customers must be aware of the suitability of this product for their application, and consider that variable factors such as Manufacturer, Product Category, Date Codes, Pictures and Descriptions may differ from available inventory.

31
2545M–AVR–09/07
ATmega48/88/168
Figure 8-2. Crystal Oscillator Connections
The Low Power Oscillator can operate in three different modes, each optimized for a specific fre-
quency range. The operating mode is selected by the fuses CKSEL3..1 as shown in Table 8-3
on page 31.
Notes: 1. This is the recommended CKSEL settings for the different frequency ranges.
2. This option should not be used with crystals, only with ceramic resonators.
3. If 8 MHz frequency exceeds the specification of the device (depends on V
CC
), the CKDIV8
Fuse can be programmed in order to divide the internal frequency by 8. It must be ensured
that the resulting divided clock meets the frequency specification of the device.
The CKSEL0 Fuse together with the SUT1..0 Fuses select the start-up times as shown in Table
8-4.
Table 8-3. Low Power Crystal Oscillator Operating Modes
(3)
Frequency Range
(MHz)
Recommended Range for
Capacitors C1 and C2 (pF) CKSEL3..1
(1)
0.4 - 0.9 100
(2)
0.9 - 3.0 12 - 22 101
3.0 - 8.0 12 - 22 110
8.0 - 16.0 12 - 22 111
Table 8-4. Start-up Times for the Low Power Crystal Oscillator Clock Selection
Oscillator Source /
Power Conditions
Start-up Time from
Power-down and
Power-save
Additional Delay
from Reset
(V
CC
= 5.0V) CKSEL0 SUT1..0
Ceramic resonator, fast
rising power
258 CK 14CK + 4.1 ms
(1)
000
Ceramic resonator, slowly
rising power
258 CK 14CK + 65 ms
(1)
001
Ceramic resonator, BOD
enabled
1K CK 14CK
(2)
010
Ceramic resonator, fast
rising power
1K CK 14CK + 4.1 ms
(2)
011
Ceramic resonator, slowly
rising power
1K CK 14CK + 65 ms
(2)
100
XTAL
2
XTAL
1
GND
C2
C1
32
2545M–AVR–09/07
ATmega48/88/168
Notes: 1. These options should only be used when not operating close to the maximum frequency of the
device, and only if frequency stability at start-up is not important for the application. These
options are not suitable for crystals.
2. These options are intended for use with ceramic resonators and will ensure frequency stability
at start-up. They can also be used with crystals when not operating close to the maximum fre-
quency of the device, and if frequency stability at start-up is not important for the application.
8.4 Full Swing Crystal Oscillator
Pins 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 8-2. Either a quartz crystal or a
ceramic resonator may be used.
This Crystal Oscillator is a full swing oscillator, with rail-to-rail swing on the XTAL2 output. This is
useful for driving other clock inputs and in noisy environments. The current consumption is
higher than the “Low Power Crystal Oscillator” on page 30. Note that the Full Swing Crystal
Oscillator will only operate for V
CC
= 2.7 - 5.5 volts.
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 capacitance, and the
electromagnetic noise of the environment. Some initial guidelines for choosing capacitors for
use with crystals are given in Table 8-6. For ceramic resonators, the capacitor values given by
the manufacturer should be used.
The operating mode is selected by the fuses CKSEL3..1 as shown in Table 8-5.
Notes: 1. If 8 MHz frequency exceeds the specification of the device (depends on V
CC
), the CKDIV8
Fuse can be programmed in order to divide the internal frequency by 8. It must be ensured
that the resulting divided clock meets the frequency specification of the device.
Crystal Oscillator, BOD
enabled
16K CK 14CK 1 01
Crystal Oscillator, fast
rising power
16K CK 14CK + 4.1 ms 1 10
Crystal Oscillator, slowly
rising power
16K CK 14CK + 65 ms 1 11
Table 8-4. Start-up Times for the Low Power Crystal Oscillator Clock Selection (Continued)
Oscillator Source /
Power Conditions
Start-up Time from
Power-down and
Power-save
Additional Delay
from Reset
(V
CC
= 5.0V) CKSEL0 SUT1..0
Table 8-5. Full Swing Crystal Oscillator operating modes
(1)
Frequency Range (MHz)
Recommended Range for
Capacitors C1 and C2 (pF) CKSEL3..1
0.4 - 20 12 - 22 011
33
2545M–AVR–09/07
ATmega48/88/168
Figure 8-3. Crystal Oscillator Connections
Notes: 1. These options should only be used when not operating close to the maximum frequency of the
device, and only if frequency stability at start-up is not important for the application. These
options are not suitable for crystals.
2. These options are intended for use with ceramic resonators and will ensure frequency stability
at start-up. They can also be used with crystals when not operating close to the maximum fre-
quency of the device, and if frequency stability at start-up is not important for the application.
Table 8-6. Start-up Times for the Full Swing Crystal Oscillator Clock Selection
Oscillator Source /
Power Conditions
Start-up Time from
Power-down and
Power-save
Additional Delay
from Reset
(V
CC
= 5.0V) CKSEL0 SUT1..0
Ceramic resonator, fast
rising power
258 CK 14CK + 4.1 ms
(1)
000
Ceramic resonator, slowly
rising power
258 CK 14CK + 65 ms
(1)
001
Ceramic resonator, BOD
enabled
1K CK 14CK
(2)
010
Ceramic resonator, fast
rising power
1K CK 14CK + 4.1 ms
(2)
011
Ceramic resonator, slowly
rising power
1K CK 14CK + 65 ms
(2)
100
Crystal Oscillator, BOD
enabled
16K CK 14CK 1 01
Crystal Oscillator, fast
rising power
16K CK 14CK + 4.1 ms 1 10
Crystal Oscillator, slowly
rising power
16K CK 14CK + 65 ms 1 11
XTAL
2
XTAL
1
GND
C2
C1
PREVIOUS4567891011121314151617NEXT