Electronic Components Datasheet Search
  English  ▼

X  

ATMEGA328P Datasheet(PDF) 9 Page - ATMEL Corporation

Part # ATMEGA328P
Description  ATMEL 8-BIT MICROCONTROLLER WITH 4/8/16/32KBYTES
Download  344 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATMEGA328P Datasheet(HTML) 9 Page - ATMEL Corporation

Back Button ATMEGA328P Datasheet HTML 5Page - ATMEL Corporation ATMEGA328P Datasheet HTML 6Page - ATMEL Corporation ATMEGA328P Datasheet HTML 7Page - ATMEL Corporation ATMEGA328P Datasheet HTML 8Page - ATMEL Corporation ATMEGA328P Datasheet HTML 9Page - ATMEL Corporation ATMEGA328P Datasheet HTML 10Page - ATMEL Corporation ATMEGA328P Datasheet HTML 11Page - ATMEL Corporation ATMEGA328P Datasheet HTML 12Page - ATMEL Corporation ATMEGA328P Datasheet HTML 13Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 344 page
background image
9
7810C–AVR–10/12
Atmel ATmega328P [Preliminary]
The fast-access Register File contains 32 x 8-bit general purpose working registers with a single
clock cycle access time. This allows single-cycle Arithmetic Logic Unit (ALU) operation. In a typ-
ical ALU operation, two operands are output from the Register File, the operation is executed,
and the result is stored back in the Register File – in one clock cycle.
Six of the 32 registers can be used as three 16-bit indirect address register pointers for Data
Space addressing – enabling efficient address calculations. One of the these address pointers
can also be used as an address pointer for look up tables in Flash program memory. These
added function registers are the 16-bit X-, Y-, and Z-register, described later in this section.
The ALU supports arithmetic and logic operations between registers or between a constant and
a register. Single register operations can also be executed in the ALU. After an arithmetic opera-
tion, the Status Register is updated to reflect information about the result of the operation.
Program flow is provided by conditional and unconditional jump and call instructions, able to
directly address the whole address space. Most AVR instructions have a single 16-bit word for-
mat. Every program memory address contains a 16- or 32-bit instruction.
Program Flash memory space is divided in two sections, the Boot Program section and the
Application Program section. Both sections have dedicated Lock bits for write and read/write
protection. The SPM instruction that writes into the Application Flash memory section must
reside in the Boot Program section.
During interrupts and subroutine calls, the return address Program Counter (PC) is stored on the
Stack. The Stack is effectively allocated in the general data SRAM, and consequently the Stack
size is only limited by the total SRAM size and the usage of the SRAM. All user programs must
initialize the SP in the Reset routine (before subroutines or interrupts are executed). The Stack
Pointer (SP) is read/write accessible in the I/O space. The data SRAM can easily be accessed
through the five different addressing modes supported in the AVR architecture.
The memory spaces in the AVR architecture are all linear and regular memory maps.
A flexible interrupt module has its control registers in the I/O space with an additional Global
Interrupt Enable bit in the Status Register. All interrupts have a separate Interrupt Vector in the
Interrupt Vector table. The interrupts have priority in accordance with their Interrupt Vector posi-
tion. The lower the Interrupt Vector address, the higher the priority.
The I/O memory space contains 64 addresses for CPU peripheral functions as Control Regis-
ters, SPI, and other I/O functions. The I/O Memory can be accessed directly, or as the Data
Space locations following those of the Register File, 0x20 - 0x5F. In addition, the ATmega328P
has Extended I/O space from 0x60 - 0xFF in SRAM where only the ST/STS/STD and
LD/LDS/LDD instructions can be used.
6.2
ALU – Arithmetic Logic Unit
The high-performance AVR ALU operates in direct connection with all the 32 general purpose
working registers. Within a single clock cycle, arithmetic operations between general purpose
registers or between a register and an immediate are executed. The ALU operations are divided
into three main categories – arithmetic, logical, and bit-functions. Some implementations of the
architecture also provide a powerful multiplier supporting both signed/unsigned multiplication
and fractional format. See the “Instruction Set” section for a detailed description.


Similar Part No. - ATMEGA328P

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
ATMEGA328P ATMEL-ATMEGA328P Datasheet
420Kb / 26P
8-bit Microcontroller with 4/8/16/32K Bytes In-System Programmable Flash
ATMEGA328P ATMEL-ATMEGA328P Datasheet
406Kb / 24P
8-bit AVR Microcontrollers
06/2016
ATmega328P ATMEL-ATmega328P Datasheet
487Kb / 26P
8-bit Microcontroller with4/8/16/32K Bytes In-System Programmable Flash
ATmega328P ATMEL-ATmega328P Datasheet
5Mb / 345P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATmega328P ATMEL-ATmega328P Datasheet
12Mb / 448P
8-bit Microcontroller with 4/8/16/32K Bytes In-System Programmable Flash
More results

Similar Description - ATMEGA328P

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
ATMEGA48A ATMEL-ATMEGA48A_14 Datasheet
1Mb / 39P
ATMEL 8-BIT MICROCONTROLLER WITH 4/8/16/32KBYTES
ATMEGA168A ATMEL-ATMEGA168A_14 Datasheet
1Mb / 39P
ATMEL 8-BIT MICROCONTROLLER WITH 4/8/16/32KBYTES
ATMEGA328 ATMEL-ATMEGA328_14 Datasheet
1Mb / 39P
ATMEL 8-BIT MICROCONTROLLER WITH 4/8/16/32KBYTES
ATMEGA168PA ATMEL-ATMEGA168PA_14 Datasheet
1Mb / 326P
ATMEL 8-BIT MICROCONTROLLER WITH 4/8/16/32KBYTES
ATMEGA88PA-PU ATMEL-ATMEGA88PA-PU Datasheet
750Kb / 50P
ATMEL 8-BIT MICROCONTROLLER WITH 4/8/16/32KBYTES IN-SYSTEM PROGRAMMABLE FLASH
11/2015
ATMEGA48PA-15MZ ATMEL-ATMEGA48PA-15MZ Datasheet
585Kb / 31P
Atmel 8-bit Microcontroller with 4/8/16/32KBytes In-System Programmable Flash
ATMEGA48PB ATMEL-ATMEGA48PB_14 Datasheet
934Kb / 23P
Atmel AVR 8-bit Microcontroller with 4/8/16KBytes
ATMEGA88PA ATMEL-ATMEGA88PA_14 Datasheet
1Mb / 326P
ATMEL 8-BIT MICROCONTROLLER
ATMEGA88A ATMEL-ATMEGA88A_14 Datasheet
1Mb / 39P
ATMEL 8-BIT MICROCONTROLLER
ATXMEGA64B1 ATMEL-ATXMEGA64B1_14 Datasheet
6Mb / 142P
8/16-bit Atmel XMEGA B1 Microcontroller
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com