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

SI1005 参数 Datasheet PDF下载

SI1005图片预览
型号: SI1005
PDF下载: 下载PDF文件 查看货源
内容描述: 超低功耗, 64/32 KB , 10位ADC, MCU ,集成了240-960兆赫的EZRadioPRO收发器 [Ultra Low Power, 64/32 kB, 10-Bit ADC MCU with Integrated 240-960 MHz EZRadioPRO Transceiver]
分类和应用:
文件页数/大小: 376 页 / 2369 K
品牌: SILICON [ SILICON ]
 浏览型号SI1005的Datasheet PDF文件第138页浏览型号SI1005的Datasheet PDF文件第139页浏览型号SI1005的Datasheet PDF文件第140页浏览型号SI1005的Datasheet PDF文件第141页浏览型号SI1005的Datasheet PDF文件第143页浏览型号SI1005的Datasheet PDF文件第144页浏览型号SI1005的Datasheet PDF文件第145页浏览型号SI1005的Datasheet PDF文件第146页  
Si1000/1/2/3/4/5  
13.1.2. Flash Erase Procedure  
The Flash memory is organized in 1024-byte pages. The erase operation applies to an entire page (setting  
all bytes in the page to 0xFF). To erase an entire 1024-byte page, perform the following steps:  
1. Save current interrupt state and disable interrupts.  
2. Set the PSEE bit (register PSCTL).  
3. Set the PSWE bit (register PSCTL).  
4. Write the first key code to FLKEY: 0xA5.  
5. Write the second key code to FLKEY: 0xF1.  
6. Using the MOVX instruction, write a data byte to any location within the 1024-byte page to be erased.  
7. Clear the PSWE and PSEE bits.  
8. Restore previous interrupt state.  
Steps 4–6 must be repeated for each 1024-byte page to be erased.  
Notes:  
1. Future 16 and 8 kB derivatives in this product family will use a 512-byte page size. To maintain code  
compatibility across the entire family, the erase procedure should be performed on each 512-byte section of  
memory.  
2. Flash security settings may prevent erasure of some Flash pages, such as the reserved area and the page  
containing the lock bytes. For a summary of Flash security settings and restrictions affecting Flash erase  
operations, please see Section “13.3. Security Options” on page 143.  
3. 8-bit MOVX instructions cannot be used to erase or write to Flash memory at addresses higher than 0x00FF.  
13.1.3. Flash Write Procedure  
A write to Flash memory can clear bits to logic 0 but cannot set them; only an erase operation can set bits  
to logic 1 in Flash. A byte location to be programmed should be erased before a new value is written.  
The recommended procedure for writing a single byte in Flash is as follows:  
1. Save current interrupt state and disable interrupts.  
2. Ensure that the Flash byte has been erased (has a value of 0xFF).  
3. Set the PSWE bit (register PSCTL).  
4. Clear the PSEE bit (register PSCTL).  
5. Write the first key code to FLKEY: 0xA5.  
6. Write the second key code to FLKEY: 0xF1.  
7. Using the MOVX instruction, write a single data byte to the desired location within the 1024-byte sector.  
8. Clear the PSWE bit.  
9. Restore previous interrupt state.  
Steps 5–7 must be repeated for each byte to be written.  
Notes:  
1. Future 16 and 8 kB derivatives in this product family will use a 512-byte page size. To maintain code  
compatibility across the entire family, the erase procedure should be performed on each 512-byte section of  
memory.  
2. Flash security settings may prevent writes to some areas of Flash, such as the reserved area. For a summary  
of Flash security settings and restrictions affecting Flash write operations, please see Section “13.3. Security  
Options” on page 143.  
142  
Rev. 1.0