| 数据搜索系统,热门电子元器件搜索 |
|
L9963E 数据表(PDF) 64 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
L9963E 数据表(HTML) 64 Page - STMicroelectronics |
|
64 / 184 page ![]() • NVM Read: this operation downloads the NVM content into RAM. This function populates NVM_RD_x and NVM_CNTR registers with the NVM content. Also trimming and calibration data will be re-downloaded. • NVM Write: this operation pushes the RAM content into NVM. This function writes the NVM internal sub-sectors fetching the data from NVM_WR_x and NVM_CNTR registers. Such a procedure does not involve trimming and calibration data sectors. Since write operation is only capable of writing ‘ones’ and it cannot write ‘zeroes’, before executing a Write operation, the NVM must be erased first. A maximum of NNVM_MAX_WRITE write cycles is allowed. • NVM Erase: this operation erases the NVM content, resetting all sub-sectors corresponding to NVM_RD_x and NVM_CNTR registers to ‘0x0’. Such a procedure does not involve trimming and calibration data sectors. After an Erase operation, only the Write operation is allowed. The NVM must be operated in the following way: first Erase, then Write, then Read. 4.10.1 NVM read To read the updated NVM content, simply re-trigger the NVM download performing the following procedure: 1. Set trimming_retrigger = ‘1’ 2. Wait for TNVM_OP 3. Set trimming_retrigger = ‘0’ NVM_RD_x and NVM_CNTR registers are now populated with the updated data downloaded from NVM. The whole NVM content, including user data, is checked against CRC upon download. In case of errors in the user sectors, the EEPROM_CRC_ERR_CAL_RAM flag will be set. Note: NVM_WR_BUSY flag is not set during read operation. Do not perform Read operation after Erase (refer to NVM Erase). 4.10.2 NVM erase To erase the NVM content corresponding to NVM_RD_x registers, follow this procedure: 1. Program NVM_OPER = 10 and NVM_PROGRAM = 1 to set Erase mode 2. Write first unlock key NVM_UNLOCK_START = 0x1572F 3. Write second unlock key NVM_UNLOCK_START = 0x1602F 4. Wait TNVM_OP (during wait time, the flag NVM_WR_BUSY = 1) 5. Check NVM_WR_BUSY = 0, indicating the operation has been successfully accomplished 6. Set NVM_PROGRAM = 0 After an erase, it is mandatory to perform NVM Write operation in order to bring the internal NVM registers to a defined state. Note: Read operation after an Erase is strictly forbidden. It will result in populating the RAM with randomic values, including the NVM_CNTR. In case NVM_CNTR results greater than NNVM_MAX_WRITE, the memory will be locked and no further erase/write will be possible. 4.10.3 NVM write To update the NVM content corresponding to NVM_RD_x registers with new data, follow this procedure: 1. Write the desired data into NVM_WR_x registers (all registers have to be populated; it is not possible to write just a selected bunch of registers). Make sure the NVM_WR_x registers are populated with the desired data by reading back the answers incoming from L9963E 2. Program NVM_OPER = 11 and NVM_PROGRAM = 1 to set Write mode 3. Write first unlock key NVM_UNLOCK_START = 0x1572F 4. Write second unlock key NVM_UNLOCK_START = 0x1602F 5. Wait TNVM_OP (during wait time, the flag NVM_WR_BUSY = 1) 6. Check NVM_WR_BUSY = 0, indicating the operation has been successfully accomplished 7. Set NVM_PROGRAM = 0 Note: Remember to perform NVM Erase before executing a Write operation. The Write operation actually writes only ‘ones’ and is not capable of writing ‘zeroes’. To see the effects of Write, the NVM_RD_x and NVM_CNTR registers have to be refreshed by re-downloading the NVM content via NVM Read procedure. L9963E Internal Non Volatile Memory (NVM) DS13636 - Rev 12 page 64/184 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |