ATmega48PA Atmel Corporation, ATmega48PA Datasheet

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
Features
High Performance, Low Power Atmel
Advanced RISC Architecture
High Endurance Non-volatile Memory Segments
Atmel
Peripheral Features
Special Microcontroller Features
I/O and Packages
Operating Voltage:
Temperature Range:
Speed Grade:
Power Consumption at 1MHz, 1.8V, 25°C
– 131 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 20 MIPS Throughput at 20MHz
– On-chip 2-cycle Multiplier
– 4/8/16/32KBytes of In-System Self-Programmable Flash program memory
– 256/512/512/1KBytes EEPROM
– 512/1K/1K/2KBytes Internal SRAM
– Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
– Data retention: 20 years at 85°C/100 years at 25°C
– Optional Boot Code Section with Independent Lock Bits
– Programming Lock for Software Security
– Capacitive touch buttons, sliders and wheels
– QTouch and QMatrix
– Up to 64 sense channels
– Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode
– One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture
– Real Time Counter with Separate Oscillator
– Six PWM Channels
– 8-channel 10-bit ADC in TQFP and QFN/MLF package
– 6-channel 10-bit ADC in PDIP Package
– Programmable Serial USART
– Master/Slave SPI Serial Interface
– Byte-oriented 2-wire Serial Interface (Philips I
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator
– Interrupt and Wake-up on Pin Change
– Power-on Reset and Programmable Brown-out Detection
– Internal Calibrated Oscillator
– External and Internal Interrupt Sources
– Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, Standby,
– 23 Programmable I/O Lines
– 28-pin PDIP, 32-lead TQFP, 28-pad QFN/MLF and 32-pad QFN/MLF
– 1.8 - 5.5V
– -40
– 0 - 4MHz@1.8 - 5.5V, 0 - 10MHz@2.7 - 5.5.V, 0 - 20MHz @ 4.5 - 5.5V
– Active Mode: 0.2mA
– Power-down Mode: 0.1µA
– Power-save Mode: 0.75µA (Including 32kHz RTC)
Mode
and Extended Standby
®
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
Temperature Measurement
Temperature Measurement
°
QTouch
C to 85
°
®
C
library support
®
acquisition
®
AVR
®
8-Bit Microcontroller
2
C compatible)
(1)
8-bit Atmel
Microcontroller
with 4/8/16/32K
Bytes In-System
Programmable
Flash
ATmega48A
ATmega48PA
ATmega88A
ATmega88PA
ATmega168A
ATmega168PA
ATmega328
ATmega328P
Summary
Rev. 8271DS–AVR–05/11

Related parts for ATmega48PA

ATmega48PA Summary of contents

Page 1

... Active Mode: 0.2mA – Power-down Mode: 0.1µA – Power-save Mode: 0.75µA (Including 32kHz RTC) ® ® AVR 8-Bit Microcontroller ( compatible) 8-bit Atmel Microcontroller with 4/8/16/32K Bytes In-System Programmable Flash ATmega48A ATmega48PA ATmega88A ATmega88PA ATmega168A ATmega168PA ATmega328 ATmega328P Summary Rev. 8271DS–AVR–05/11 ...

Page 2

Pin Configurations Figure 1-1. Pinout ATmega48A/PA/88A/PA/168A/PA/328/P (PCINT19/OC2B/INT1) PD3 (PCINT20/XCK/T0) PD4 GND VCC GND VCC (PCINT6/XTAL1/TOSC1) PB6 (PCINT7/XTAL2/TOSC2) PB7 (PCINT19/OC2B/INT1) PD3 (PCINT20/XCK/T0) PD4 VCC GND (PCINT6/XTAL1/TOSC1) PB6 (PCINT7/XTAL2/TOSC2) PB7 (PCINT21/OC0B/T1) PD5 NOTE: Bottom pad should be soldered to ground. Table ...

Page 3

Pin Descriptions 1.1.1 VCC Digital supply voltage. 1.1.2 GND Ground. 1.1.3 Port B (PB7:0) XTAL1/XTAL2/TOSC1/TOSC2 Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port B output buffers have symmetrical drive ...

Page 4

The various special features of Port D are elaborated in 90. 1.1 the supply voltage pin for the A/D Converter, PC3:0, and ADC7:6. It should be externally CC connected to V through a low-pass filter. Note ...

Page 5

Overview The ATmega48A/PA/88A/PA/168A/PA/328 low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega48A/PA/88A/PA/168A/PA/328/P achieves throughputs approaching 1 MIPS per MHz allowing the system designer to ...

Page 6

... The ATmega48A/PA/88A/PA/168A/PA/328/P differ only in memory sizes, boot loader support, and interrupt vector sizes. for the devices. Table 2-1. Device ATmega48A ATmega48PA ATmega88A 8271DS–AVR–05/11 ATmega48A/PA/88A/PA/168A/PA/328/P ® offers the QTouch library for embedding capacitive touch buttons, sliders and wheels microcontrollers. The patented charge-transfer signal acquisition offers ® ...

Page 7

Table 2-1. Device ATmega88PA ATmega168A ATmega168PA ATmega328 ATmega328P ATmega48A/PA/88A/PA/168A/PA/328/P support a real Read-While-Write Self-Programming mechanism. There is a separate Boot Loader Section, and the SPM instruction can only execute from there. In ATmega 48A/48PA there is no Read-While-Write support and ...

Page 8

Resources A comprehensive set of development tools, application notes and datasheets are available for download on http://www.atmel.com/avr. Note: 4. Data Retention Reliability Qualification results show that the projected data retention failure rate is much less than 1 PPM over ...

Page 9

Register Summary Address Name Bit 7 (0xFF) Reserved – (0xFE) Reserved – (0xFD) Reserved – (0xFC) Reserved – (0xFB) Reserved – (0xFA) Reserved – (0xF9) Reserved – (0xF8) Reserved – (0xF7) Reserved – (0xF6) Reserved – (0xF5) Reserved – ...

Page 10

Address Name Bit 7 (0xBF) Reserved – (0xBE) Reserved – (0xBD) TWAMR TWAM6 (0xBC) TWCR TWINT (0xBB) TWDR (0xBA) TWAR TWA6 (0xB9) TWSR TWS7 (0xB8) TWBR (0xB7) Reserved – (0xB6) ASSR – (0xB5) Reserved – (0xB4) OCR2B (0xB3) OCR2A (0xB2) ...

Page 11

Address Name Bit 7 (0x7D) Reserved – (0x7C) ADMUX REFS1 (0x7B) ADCSRB – (0x7A) ADCSRA ADEN (0x79) ADCH (0x78) ADCL (0x77) Reserved – (0x76) Reserved – (0x75) Reserved – (0x74) Reserved – (0x73) Reserved – (0x72) Reserved – (0x71) Reserved ...

Page 12

... Opcode for the IN and OUT instructions. For the Extended I/O space from 0x60 - 0xFF in SRAM, only the ST/STS/STD and LD/LDS/LDD instructions can be used. 5. Only valid for ATmega88A/88PA/168A/168PA/328/328P. 6. BODS and BODSE only available for picoPower devices ATmega48PA/88PA/168PA/328P 8271DS–AVR–05/11 ATmega48A/PA/88A/PA/168A/PA/328/P ...

Page 13

Instruction Set Summary Mnemonics Operands ARITHMETIC AND LOGIC INSTRUCTIONS ADD Rd, Rr Add two Registers ADC Rd, Rr Add with Carry two Registers ADIW Rdl,K Add Immediate to Word SUB Rd, Rr Subtract two Registers SUBI Rd, K Subtract ...

Page 14

Mnemonics Operands BRIE k Branch if Interrupt Enabled BRID k Branch if Interrupt Disabled BIT AND BIT-TEST INSTRUCTIONS SBI P,b Set Bit in I/O Register CBI P,b Clear Bit in I/O Register LSL Rd Logical Shift Left LSR Rd Logical ...

Page 15

Mnemonics Operands POP Rd Pop Register from Stack MCU CONTROL INSTRUCTIONS NOP No Operation SLEEP Sleep WDR Watchdog Reset BREAK Break Note: 1. These instructions are only available in ATmega168PA and ATmega328P. 8271DS–AVR–05/11 ATmega48A/PA/88A/PA/168A/PA/328/P Description Rd ← STACK (see specific ...

Page 16

Ordering Information 9.1 ATmega48A Speed (MHz) Power Supply (V) (3) 20 1.8 - 5.5 Note: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. ...

Page 17

... ATmega48A/PA/88A/PA/168A/PA/328/P (2) Ordering Code ATmega48PA-AU (5) ATmega48PA-AUR ATmega48PA-CCU (5) ATmega48PA-CCUR (4) ATmega48PA-MMH (4)(5) ATmega48PA-MMHR ATmega48PA-MU (5) ATmega48PA-MUR ATmega48PA-PU ATmega48PA-AN (4) ATmega48PA-ANR ATmega48PA-MMN (4) ATmega48PA-MMNR ATmega48PA-MN (4) ATmega48PA-MNR ATmega48PA-PN 322. Package Type (1) Package Operational Range 32A 32A 32CC1 32CC1 Industrial 28M1 ° (- 28M1 ...

Page 18

ATmega88A Speed (MHz) Power Supply (V) (3) 20 1.8 - 5.5 Note: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging ...

Page 19

ATmega88PA (3) Speed (MHz) Power Supply (V) 20 1.8 - 5.5 Note: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging ...

Page 20

ATmega168A (3) Speed (MHz) Power Supply (V) 20 1.8 - 5.5 Note: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging ...

Page 21

ATmega168PA (3) Speed (MHz) Power Supply (V) 20 1.8 - 5.5 20 1.8 - 5.5 Note: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum ...

Page 22

ATmega328 Speed (MHz) Power Supply (V) (3) 20 1.8 - 5.5 Note: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging ...

Page 23

ATmega328P (3) Speed (MHz) Power Supply (V) 20 1.8 - 5.5 Note: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging ...

Page 24

Packaging Information 10.1 32A PIN 1 IDENTIFIER C Notes: 1. This package conforms to JEDEC reference MS-026, Variation ABA. 2. Dimensions D1 and E1 do not include mold protrusion. Allowable protrusion is 0.25 mm per side. Dimensions D1 and ...

Page 25

BALL CORNER Note1: Dimension “b” is measured at the maximum ball dia. ...

Page 26

Pin TOP VIEW 0.20 b 0.4 Ref BOTTOM VIEW (4x) The terminal # Laser-marked Feature. Note: Package Drawing Contact: packagedrawings@atmel.com 8271DS–AVR–05/11 ATmega48A/PA/88A/PA/168A/PA/328 ...

Page 27

Pin TOP VIEW Pin #1 Notch (0. BOTTOM VIEW Note: JEDEC Standard MO-220, Fig. 2 (Anvil Singulation), VHHD-2. 2325 Orchard Parkway San Jose, CA 95131 ...

Page 28

A SEATING PLANE Note: 1. Dimensions D and E1 do not include mold Flash or Protrusion. Mold Flash or Protrusion shall not exceed 0.25 mm (0.010"). 2325 Orchard Parkway San Jose, CA 95131 R 8271DS–AVR–05/11 ...

Page 29

... ADMUX is '1' (ADMUX[3:0]=1xxx), all MUX'es are turned off until the ACME bit is cleared. Problem Fix/Workaround Clear the MUX3 bit before setting the ACME bit. 11.2 Errata ATmega48PA The revision letter in this section refers to the revision of the ATmega48PA device. 11.2.1 Rev. D • Analog MUX can be turned off when setting ACME bit 1 ...

Page 30

Errata ATmega88PA The revision letter in this section refers to the revision of the ATmega88PA device. 11.4.1 Rev. F • Analog MUX can be turned off when setting ACME bit 1. Analog MUX can be turned off when setting ...

Page 31

Errata ATmega328 The revision letter in this section refers to the revision of the ATmega328 device. 11.7.1 Rev D • Analog MUX can be turned off when setting ACME bit 1. Analog MUX can be turned off when setting ...

Page 32

Errata ATmega328P The revision letter in this section refers to the revision of the ATmega328P device. 11.8.1 Rev D • Analog MUX can be turned off when setting ACME bit 1. Analog MUX can be turned off when setting ...

Page 33

... Updated “Ordering Information”,”ATmega328P” on page MMH” and “ATmega328P-MMHR”. Added “Ordering Information” for ATmega48PA/88PA/168PA/328P @ 105°C Updated ”Errata ATmega328” on page 555 Updated the datasheet according to the Atmel new brand style guide. Added 32UFBGA Pinout, Table 1-1 on page Updated the “ ...

Page 34

... Rev. 8271A – 12/ 8271DS–AVR–05/11 ATmega48A/PA/88A/PA/168A/PA/328/P New datasheet 8271 with merged information for ATmega48PA, ATmega88PA, ATmega168PA and ATmega48A, ATmega88A andATmega168A. Also included information on ATmega328 and ATmega328P Changes done: – New devices added: ATmega48A/ATmega88A/ATmega168A and ATmega328 – Updated Feature Description – ...

Page 35

... Atmel Munich GmbH Business Campus Parkring 4 D-85748 Garching b. Munich GERMANY Tel: (+49) 89-31970-0 Fax: (+49) 89-3194621 ® and others are registered trademarks or trademarks of Atmel Corporation or its Atmel Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 JAPAN Tel: (+81)(3) 3523-3551 Fax: (+81)(3) 3523-7581 8271DS–AVR–05/11 ...

Related keywords