| Electronic Components Datasheet Search |
|
PIC16F15213 Datasheet(PDF) 115 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F15213 Datasheet(HTML) 115 Page - Microchip Technology |
|
115 / 439 page ![]() Figure 15-5. Program Flash Memory Write Sequence Filename: PFM Write Flowchart.vsdx Title: Last Edit: 11/13/2019 First Used: Notes: Start Write Operation Determine number of words to be written into PFM or Configuration Memory. The number of words cannot exceed the number of words per row (word_cnt) Select PFM or Config. Memory (NVMREGS) Select Row Address (NVMADRH:NVMADRL) Select Write Operation (FREE = 0) Load Write Latches Only (LWLO = 1) Disable interrupts (GIE = 0) Enable Write/Erase Operation (WREN = 1) Load the value to write (NVMDATH:NVMDATL) Update the word counter (word_cnt--) Last word to write? Unlock Sequence (1) No delay when writing to PFM Latches Re-enable interrupts (GIE = 1) Write Latches to PFM (LWLO = 0) Disable interrupts (GIE = 0) CPU stalls while Write operation completes (2 ms typical) Disable Write/Erase Operation (WREN = 0) End Write Operation Increment Address (NVMADRH:NVMADRL++) Unlock Sequence (1) Re-enable interrupts (GIE = 1) Yes No PIC16F15213/14/23/24/43/44 NVM - Nonvolatile Memory Control © 2020-2022 Microchip Technology Inc. and its subsidiaries Data Sheet DS40002195E-page 115 |
|
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 |