欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA128L-8AL 参数 Datasheet PDF下载

ATMEGA128L-8AL图片预览
型号: ATMEGA128L-8AL
PDF下载: 下载PDF文件 查看货源
内容描述: [RISC Microcontroller, 8-Bit, FLASH, 8MHz, CMOS, PQFP64, 14 X 14 MM, 1 MM HEIGHT, 0.80 MM PITCH, PLASTIC, MS-026AEB, TQFP-64]
分类和应用: 时钟微控制器外围集成电路
文件页数/大小: 391 页 / 6192 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA128L-8AL的Datasheet PDF文件第29页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第30页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第31页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第32页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第34页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第35页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第36页浏览型号ATMEGA128L-8AL的Datasheet PDF文件第37页  
ATmega128(L)  
External Memory  
Control Register B –  
XMCRB  
Bit  
7
XMBK  
R/W  
0
6
5
4
3
2
XMM2  
R/W  
0
1
XMM1  
R/W  
0
0
XMM0  
R/W  
0
XMCRB  
Read/Write  
Initial Value  
R
0
R
0
R
0
R
0
• Bit 7– XMBK: External Memory Bus-keeper Enable  
Writing XMBK to one enables the bus keeper on the AD7:0 lines. When the bus keeper is  
enabled, it will ensure a defined logic level (zero or one) on AD7:0 when they would otherwise  
be tri-stated. Writing XMBK to zero disables the bus keeper. XMBK is not qualified with SRE, so  
even if the XMEM interface is disabled, the bus keepers are still activated as long as XMBK is  
one.  
• Bit 6..4 – Res: Reserved Bits  
These are reserved bits and will always read as zero. When writing to this address location,  
write these bits to zero for compatibility with future devices.  
• Bit 2..0 – XMM2, XMM1, XMM0: External Memory High Mask  
When the External Memory is enabled, all Port C pins are default used for the high address byte.  
If the full 60KB address space is not required to access the External Memory, some, or all, Port  
C pins can be released for normal Port Pin function as described in Table 5. As described in  
“Using all 64KB Locations of External Memory” on page 35, it is possible to use the XMMn bits to  
access all 64KB locations of the External Memory.  
Table 5. Port C Pins Released as Normal Port Pins when the External Memory is Enabled  
XMM2 XMM1 XMM0 # Bits for External Memory Address  
Released Port Pins  
None  
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
8 (Full 60 KB space)  
7
PC7  
6
PC7 - PC6  
PC7 - PC5  
PC7 - PC4  
PC7 - PC3  
PC7 - PC2  
Full Port C  
5
4
3
2
No Address high bits  
Using all Locations of Since the external memory is mapped after the internal memory as shown in Figure 11, the  
External Memory  
Smaller than 64 KB  
external memory is not addressed when addressing the first 4,352 bytes of data space. It may  
appear that the first 4,352 bytes of the external memory are inaccessible (external memory  
addresses 0x0000 to 0x10FF). However, when connecting an external memory smaller than 64  
KB, for example 32 KB, these locations are easily accessed simply by addressing from address  
0x8000 to 0x90FF. Since the External Memory Address bit A15 is not connected to the external  
memory, addresses 0x8000 to 0x90FF will appear as addresses 0x0000 to 0x10FF for the exter-  
nal memory. Addressing above address 0x90FF is not recommended, since this will address an  
external memory location that is already accessed by another (lower) address. To the Applica-  
tion software, the external 32 KB memory will appear as one linear 32 KB address space from  
0x1100 to 0x90FF. This is illustrated in Figure 17. Memory configuration B refers to the  
ATmega103 compatibility mode, configuration A to the non-compatible mode.  
When the device is set in ATmega103 compatibility mode, the internal address space is 4,096  
bytes. This implies that the first 4,096 bytes of the external memory can be accessed at  
33  
2467P–AVR–08/07  
 复制成功!