| Electronic Components Datasheet Search |
|
ST25DV04K Datasheet(PDF) 29 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST25DV04K Datasheet(HTML) 29 Page - STMicroelectronics |
|
29 / 220 page ![]() DocID027603 Rev 4 29/220 ST25DV04K ST25DV16K ST25DV64K Memory management 219 When programming an ENDAi register, the following rule must be respected: • ENDAi-1 < ENDAi ≤ ENDAi+1 = End of memory. This means that prior to programming any ENDAi register, its successor (ENDAi+1) must first be programmed to the last Block/Byte of memory: • Successful ENDA3 programming condition: ENDA2 < ENDA3 ≤ End of user memory • Successful ENDA2 programming condition: ENDA1 < ENDA2 ≤ ENDA3 = End of user memory • Successful ENDA1 programming condition: ENDA1 ≤ ENDA2 = ENDA 3 = End of user memory If this rule is not respected, an error 0Fh is returned in RF, NoAck is returned in I2C, and programming is not done. In order to respect this rule, the following procedure is recommended when programming Areas size (even for changing only one Area size): 1. Ends of Areas 3 and 2 must first be set to the end of memory while respecting the following order: a) If ENDA3 ≠ end of user memory, then set ENDA3 = end of memory; else, do not write ENDA3. b) If ENDA2 ≠ end of user memory, then set ENDA2 = end of memory; else, do not write ENDA2. 2. Then, desired area limits can be set respecting the following order: a) Set new ENDA1 value. b) Set new ENDA2 value, with ENDA2 > ENDA1 c) Set new ENDA3 value, with ENDA3 > ENDA2 Example of successive user memory area setting (for a ST25DV64K-xx): 1. Initial state, 2 Areas are defined: a) ENDA1 = 10h (Last block of Area 1: (10h x 8) + 7 = 0087h) b) ENDA2 = FFh (Last block of Area 2: (FFh x 8) + 7 = 07FFh) c) ENDA3 = FFh (No Area 3) – Area 1 from Block 0000h to 0087h (136 Blocks) – Area 2 from Block 0088h to 07FFh (1912 Blocks) – There is no Area 3. – There is no Area 4. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |