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

MEGA128CAN 参数 Datasheet PDF下载

MEGA128CAN图片预览
型号: MEGA128CAN
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器,带有ISP功能的Flash和CAN控制器128K字节 [Microcontroller WITH 128K BYTES OF ISP FLASH AND CAN CONTROLLER]
分类和应用: 微控制器
文件页数/大小: 413 页 / 5507 K
品牌: ATMEL [ ATMEL ]
 浏览型号MEGA128CAN的Datasheet PDF文件第27页浏览型号MEGA128CAN的Datasheet PDF文件第28页浏览型号MEGA128CAN的Datasheet PDF文件第29页浏览型号MEGA128CAN的Datasheet PDF文件第30页浏览型号MEGA128CAN的Datasheet PDF文件第32页浏览型号MEGA128CAN的Datasheet PDF文件第33页浏览型号MEGA128CAN的Datasheet PDF文件第34页浏览型号MEGA128CAN的Datasheet PDF文件第35页  
AT90CAN128  
Using all Locations of  
Since the external memory is mapped after the internal memory as shown in Figure 12,  
External Memory Smaller than the external memory is not addressed when addressing the first 4,352 bytes of data  
64 KB  
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 exter-  
nal 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 external memory. Addressing above  
address 0x90FF is not recommended, since this will address an external memory loca-  
tion that is already accessed by another (lower) address. To the Application software,  
the external 32 KB memory will appear as one linear 32 KB address space from 0x1100  
to 0x90FF. This is illustrated in Figure 18.  
Figure 18. Address Map with 32 KB External Memory  
AVR Memory Map  
External 32K SRAM  
0x0000  
0x0000  
Internal Memory  
0x10FF  
0x1100  
0x10FF  
0x1100  
External Memory  
0x7FFF  
0x8000  
0x7FFF  
0x90FF  
0x9100  
(Unused)  
0xFFFF  
Using all 64KB Locations of  
External Memory  
Since the External Memory is mapped after the Internal Memory as shown in Figure 12,  
only 60KB of External Memory is available by default (address space 0x0000 to 0x10FF  
is reserved for internal memory). However, it is possible to take advantage of the entire  
External Memory by masking the higher address bits to zero. This can be done by using  
the XMMn bits and control by software the most significant bits of the address. By set-  
ting Port C to output 0x00, and releasing the most significant bits for normal Port Pin  
operation, the Memory Interface will address 0x0000 - 0x1FFF. See the following code  
examples.  
31  
4250E–CAN–12/04  
 复制成功!