Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC16F15213 Datasheet(PDF) 102 Page - Microchip Technology

Part # PIC16F15213
Description  PIC16F15225/45 Full-Featured 14/20-Pin Microcontrollers
PDF  408 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F15213 Datasheet(HTML) 102 Page - Microchip Technology

Back Button PIC16F15213 Datasheet HTML 98Page - Microchip Technology PIC16F15213 Datasheet HTML 99Page - Microchip Technology PIC16F15213 Datasheet HTML 100Page - Microchip Technology PIC16F15213 Datasheet HTML 101Page - Microchip Technology PIC16F15213 Datasheet HTML 102Page - Microchip Technology PIC16F15213 Datasheet HTML 103Page - Microchip Technology PIC16F15213 Datasheet HTML 104Page - Microchip Technology PIC16F15213 Datasheet HTML 105Page - Microchip Technology PIC16F15213 Datasheet HTML 106Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 102 / 408 page
background image
15.
NVM - Nonvolatile Memory Control
Nonvolatile Memory (NVM) consists of the Program Flash Memory (PFM).
NVM is accessible by using both the FSR and INDF registers, or through the NVMREG register interface.
The write time is controlled by an on-chip timer. The write/erase voltages are generated by an on-chip charge pump
rated to operate over the operating voltage range of the device.
NVM can be protected in two ways, by either code protection or write protection.
Code protection (CP bit in the Configuration Words) disables access, both reading and writing, to the PFM via
external device programmers. Code protection does not affect the self-write and erase functionality. Code protection
can only be reset by a device programmer performing a Bulk Erase to the device, clearing all nonvolatile memory,
Configuration bits and User IDs.
Write protection prohibits self-write and erase to a portion or all of the NVM, as defined by the WRTSAF, WRTC,
WRTB and WRTAPP bits of the Configuration Words. Write protection does not affect a device programmer’s ability
to read, write or erase the device.
15.1
Program Flash Memory
Program Flash memory consists of an array of 14-bit words as user memory, with additional words for User ID
information, Configuration words and interrupt vectors. Program memory provides storage locations for:
• User program instructions
• User defined data
Program memory data can be read and/or written to through:
• CPU instruction fetch (read-only)
• FSR/INDF indirect access (read-only)
• NVMREG access
• In-Circuit Serial Programming
™ (ICSP™)
Read operations return a single word of memory. When write and erase operations are done on a row basis, the row
size is defined. Program memory will erase to a logic ‘1’ and program to a logic ‘0’.
It is important to understand the program memory structure for erase and programming operations. Program memory
is arranged in rows. A row consists of 32 14-bit program memory words. A row is the minimum size that can be
erased by user software.
All or a portion of a row can be programmed. Data to be written into the program memory row is written to 14-bit wide
data write latches. These latches are not directly accessible, but may be loaded via sequential writes to the
NVMDATH:NVMDATL register pair.
Important:  To modify only a portion of a previously programmed row, the contents of the entire row must
be read. Then, the new data and retained data can be written into the write latches to reprogram the row of
program memory. However, any unprogrammed locations can be written without first erasing the row. In
this case, it is not necessary to save and rewrite the other previously programmed locations.
15.1.1
Program Memory Voltages
The program memory is readable and writable during normal operation over the full VDD range.
15.1.1.1 Programming Externally
The program memory cell and control logic support write and Bulk Erase operations down to the minimum device
operating voltage. Special BOR operation is enabled during Bulk Erase.
PIC16F15225/45
NVM - Nonvolatile Memory Control
© 2020 Microchip Technology Inc.
Preliminary Datasheet
DS20006389B-page 102



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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