欢迎访问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文件第15页浏览型号MEGA128CAN的Datasheet PDF文件第16页浏览型号MEGA128CAN的Datasheet PDF文件第17页浏览型号MEGA128CAN的Datasheet PDF文件第18页浏览型号MEGA128CAN的Datasheet PDF文件第20页浏览型号MEGA128CAN的Datasheet PDF文件第21页浏览型号MEGA128CAN的Datasheet PDF文件第22页浏览型号MEGA128CAN的Datasheet PDF文件第23页  
AT90CAN128  
EEPROM Data Memory  
The AT90CAN128 contains 4-Kbytes of data EEPROM memory. It is organized as a  
separate data space, in which single bytes can be read and written. The EEPROM has  
an endurance of at least 100,000 write/erase cycles. The access between the EEPROM  
and the CPU is described in the following, specifying the EEPROM Address Registers,  
the EEPROM Data Register, and the EEPROM Control Register.  
For a detailed description of SPI, JTAG and Parallel data downloading to the EEPROM,  
see “SPI Serial Programming Overview” on page 337, “JTAG Programming Overview”  
on page 342, and “Parallel Programming Overview” on page 329 respectively.  
EEPROM Read/Write Access  
The EEPROM Access Registers are accessible in the I/O space.  
The write access time for the EEPROM is given in Table 1. A self-timing function, how-  
ever, lets the user software detect when the next byte can be written. If the user code  
contains instructions that write the EEPROM, some precautions must be taken. In  
heavily filtered power supplies, VCC is likely to rise or fall slowly on power-up/down. This  
causes the device for some period of time to run at a voltage lower than specified as  
minimum for the clock frequency used. See “Preventing EEPROM Corruption” on page  
23 for details on how to avoid problems in these situations.  
In order to prevent unintentional EEPROM writes, a specific write procedure must be fol-  
lowed. Refer to the description of the EEPROM Control Register for details on this.  
When the EEPROM is read, the CPU is halted for four clock cycles before the next  
instruction is executed. When the EEPROM is written, the CPU is halted for two clock  
cycles before the next instruction is executed.  
The EEPROM Address  
Registers – EEARH and  
EEARL  
Bit  
15  
14  
13  
12  
11  
EEAR11  
EEAR3  
3
10  
EEAR10  
EEAR2  
2
9
EEAR9  
EEAR1  
1
8
EEAR8  
EEAR0  
0
EEARH  
EEAR7  
EEAR6  
EEAR5  
EEAR4  
EEARL  
7
R
6
R
5
R
4
R
Read/Write  
Initial Value  
R/W  
R/W  
X
R/W  
R/W  
X
R/W  
R/W  
X
R/W  
R/W  
X
R/W  
0
R/W  
0
R/W  
0
R/W  
0
X
X
X
X
X
X
X
X
• Bits 15..12 – Reserved Bits  
These bits are reserved bits in the AT90CAN128 and will always read as zero.  
• Bits 11..0 – EEAR11..0: EEPROM Address  
The EEPROM Address Registers – EEARH and EEARL specify the EEPROM address  
in the 4-Kbytes EEPROM space. The EEPROM data bytes are addressed linearly  
between 0 and 4,095. The initial value of EEAR is undefined. A proper value must be  
written before the EEPROM may be accessed.  
The EEPROM Data Register –  
EEDR  
Bit  
7
EEDR7  
R/W  
0
6
EEDR6  
R/W  
0
5
EEDR5  
R/W  
0
4
EEDR4  
R/W  
0
3
EEDR3  
R/W  
0
2
EEDR2  
R/W  
0
1
EEDR1  
R/W  
0
0
EEDR0  
R/W  
0
EEDR  
Read/Write  
Initial Value  
19  
4250E–CAN–12/04  
 复制成功!