Electronic Components Datasheet Search
  English  ▼

X  

PIC16F15213 Datasheet(PDF) 109 Page - Microchip Technology

Part # PIC16F15213
Description  PIC16F15213/14/23/24/43/44 Low Pin Count Microcontrollers
PDF  439 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) 109 Page - Microchip Technology

Back Button PIC16F15213 Datasheet HTML 105Page - Microchip Technology PIC16F15213 Datasheet HTML 106Page - Microchip Technology PIC16F15213 Datasheet HTML 107Page - Microchip Technology PIC16F15213 Datasheet HTML 108Page - Microchip Technology PIC16F15213 Datasheet HTML 109Page - Microchip Technology PIC16F15213 Datasheet HTML 110Page - Microchip Technology PIC16F15213 Datasheet HTML 111Page - Microchip Technology PIC16F15213 Datasheet HTML 112Page - Microchip Technology PIC16F15213 Datasheet HTML 113Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 109 / 439 page
background image
15.1.1.2 FSR Write
Writing/erasing the NVM through the FSR registers (e.g., the MOVWI instruction) is not supported in the PIC16F152
microcontroller family.
15.1.2
NVMREG Access
The NVMREG interface allows read/write access to all the locations accessible by FSRs, read/write access to the
User ID locations, and read-only access to the device identification, revision, and configuration data.
Writing or erasing of NVM via the NVMREG interface is prevented when the device is write-protected.
15.1.2.1 NVMREG Read Operation
To read a NVM location using the NVMREG interface, the user must:
1.
Clear the NVMREGS bit if the user intends to access program memory locations, or set NMVREGS if the user
intends to access User ID or configuration locations.
2.
Write the desired address into the NVMADRH:NVMADRL register pair.
3.
Set the RD bit to initiate the read.
Once the read control bit is set, the CPU operation is suspended during the read and resumes immediately after. The
data is available in the very next cycle, in the NVMDATH:NVMDATL register pair; therefore, it can be read as two
bytes in the following instructions.
The NVMDATH:NVMDATL register pair will hold this value until another read or until it is written to by the user.
Upon completion, the RD bit is cleared by hardware.
Figure 15-1. Program Flash Memory Read Sequence
Filename:
10-000046D.vsd
Title:
FLASH PROGRAM MEMORY READ FLOWCHART
Last Edit:
8/15/2016
First Used:
PIC16(L)F15354/55
Note:
Start
Read Operation
Select Memory:
P
rogram Memory, DIA, DCI,
Config Words, User ID (NVMREGS)
Select
Word Address
(NVMADRH:NVMADRL)
Data read now in
NVMDATH:NVMDATL
End
Read Operation
Rev. 10-000046
E
5/17/2017
Example 15-1. Program Memory Read
// This code block will read 1 word of program memory
NVMCON1bits.NVMREGS = 0;
// Point to PFM
NVMADR = PFM_ADDRESS;
// Load NVMADRH:NVMADRL with PFM address
NVMCON1bits.RD = 1;
// Initiate read cycle
PFM_DATA_LOW = NVMDATL;
// PFM data low byte
PFM_DATA_HIGH = NVMDATH;
// PFM data high byte
PIC16F15213/14/23/24/43/44
NVM - Nonvolatile Memory Control
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 109



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