ATmega48PA Atmel Corporation, ATmega48PA Datasheet - Page 37

no-image

ATmega48PA

Manufacturer Part Number
ATmega48PA
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega48PA

Flash (kbytes)
4 Kbytes
Pin Count
32
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
23
Ext Interrupts
24
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
256
Self Program Memory
NO
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega48PA-15AZ
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega48PA-15MT
Manufacturer:
ATMEL
Quantity:
110
Part Number:
ATmega48PA-15MZ
Manufacturer:
ATMEL
Quantity:
3 500
Part Number:
ATmega48PA-AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega48PA-ANR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega48PA-AU
Manufacturer:
MICRON
Quantity:
1 000
Part Number:
ATmega48PA-AU
Manufacturer:
Atmel
Quantity:
900
Part Number:
ATmega48PA-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega48PA-AU
Manufacturer:
ATMEL
Quantity:
8 000
Part Number:
ATmega48PA-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATmega48PA-AU
Quantity:
60 000
Part Number:
ATmega48PA-AUR
Manufacturer:
ATMEL
Quantity:
723
Part Number:
ATmega48PA-MMH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega48PA-MMHR
Manufacturer:
ATMEL
Quantity:
20 000
ATmega48A/PA/88A/PA/168A/PA/328/P
When switching between prescaler settings, the System Clock Prescaler ensures that no
glitches occurs in the clock system. It also ensures that no intermediate frequency is higher than
neither the clock frequency corresponding to the previous setting, nor the clock frequency corre-
sponding to the new setting. The ripple counter that implements the prescaler runs at the
frequency of the undivided clock, which may be faster than the CPU's clock frequency. Hence, it
is not possible to determine the state of the prescaler - even if it were readable, and the exact
time it takes to switch from one clock division to the other cannot be exactly predicted. From the
time the CLKPS values are written, it takes between T1 + T2 and T1 + 2 * T2 before the new
clock frequency is active. In this interval, 2 active clock edges are produced. Here, T1 is the pre-
vious clock period, and T2 is the period corresponding to the new prescaler setting.
To avoid unintentional changes of clock frequency, a special write procedure must be followed
to change the CLKPS bits:
1. Write the Clock Prescaler Change Enable (CLKPCE) bit to one and all other bits in
CLKPR to zero.
2. Within four cycles, write the desired value to CLKPS while writing a zero to CLKPCE.
Interrupts must be disabled when changing prescaler setting to make sure the write procedure is
not interrupted.
37
8271D–AVR–05/11

Related parts for ATmega48PA