ATMEGA325-16AJ ATMEL [ATMEL Corporation], ATMEGA325-16AJ Datasheet - Page 18

no-image

ATMEGA325-16AJ

Manufacturer Part Number
ATMEGA325-16AJ
Description
8-bit Microcontroller with In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
SRAM Data Memory
Data Memory Access Times
18
ATmega325/3250/645/6450
Figure 10 shows how the ATmega325/3250/645/6450 SRAM Memory is organized.
The ATmega325/3250/645/6450 is a complex microcontroller with more peripheral units
than can be supported within the 64 locations reserved in the 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.
The lower 2304/4352 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 loca-
tions of Extended I/O memory, and the next 2048/4096 locations address the internal
data SRAM.
The five different addressing modes for the data memory cover: Direct, Indirect with Dis-
placement, 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.
The Indirect with Displacement mode reaches 63 address locations from the base
address given by the Y- or Z-register.
When using register indirect addressing modes with automatic pre-decrement and post-
increment, the address registers X, Y, and Z are decremented or incremented.
The 32 general purpose working registers, 64 I/O Registers, 160 Extended I/O Regis-
ters, and the 2,048 bytes of internal data SRAM in the ATmega325/3250/645/6450 are
all accessible through all these addressing modes. The Register File is described in
“General Purpose Register File” on page 12.
Figure 10. Data Memory Map
This section describes the general access timing concepts for internal memory access.
The internal data SRAM access is performed in two clk
11.
160 Ext I/O Reg.
64 I/O Registers
Data Memory
Internal SRAM
32 Registers
(2048 x 8)/
(4096 x 8)
0x08FF/0x10FF
0x0000 - 0x001F
0x0020 - 0x005F
0x0060 - 0x00FF
0x0100
CPU
cycles as described in Figure
2570A–AVR–09/04

Related parts for ATMEGA325-16AJ