atmega32u4-16mu ATMEL Corporation, atmega32u4-16mu Datasheet - Page 18

no-image

atmega32u4-16mu

Manufacturer Part Number
atmega32u4-16mu
Description
Atmega32u4 8-bit Avr Microcontroller With 32k Bytes Of Isp Flash And Usb Controller
Manufacturer
ATMEL Corporation
Datasheet
described in detail in
“Memory Programming” on page
365.
“Memory Programming” on page
365
contains a detailed description on Flash data serial downloading using the SPI pins or the
JTAG interface.
Constant tables can be allocated within the entire program memory address space (see the LPM
– Load Program Memory instruction description and ELPM - Extended Load Program Memory
instruction description).
Timing diagrams for instruction fetch and execution are presented in
“Instruction Execution Tim-
ing” on page
13.
Figure 5-1.
Program Memory Map
Program Memory
0x00000
Application Flash Section
Boot Flash Section
0x7FFF (32KBytes)
5.2
SRAM Data Memory
Figure 5-2
shows how the ATmega32U4 SRAM Memory is organized.
The ATmega32U4 is a complex microcontroller with more peripheral units than can be sup-
ported within the 64 location reserved in the Opcode for the IN and OUT instructions. For the
Extended I/O space from $060 - $0FF in SRAM, only the ST/STS/STD and LD/LDS/LDD instruc-
tions can be used.
The first 2,816 Data Memory locations address both the Register File, the I/O Memory,
Extended I/O Memory, and the internal data SRAM. The first 32 locations address the Register
file, the next 64 location the standard I/O Memory, then 160 locations of Extended I/O memory
and the next 2,560 locations address the internal data SRAM.
The five different addressing modes for the data memory cover: Direct, Indirect with Displace-
ment, Indirect, Indirect with Pre-decrement, and Indirect with Post-increment. In the Register file,
registers R26 to R31 feature the indirect addressing pointer registers.
The direct addressing reaches the entire data space.
ATmega32U4
18
7766A–AVR–03/08

Related parts for atmega32u4-16mu