Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC16F15213 Datasheet(PDF) 104 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) 104 Page - Microchip Technology

Back Button 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 PIC16F15213 Datasheet HTML 107Page - Microchip Technology PIC16F15213 Datasheet HTML 108Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 104 / 408 page
background image
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 at the memory address:
PROG_ADDR_HI : PROG_ADDR_LO
*
data will be returned in the variables:
*
PROG_DATA_HI, PROG_DATA_LO
BANKSEL
NVMADRL
; Select Bank for NVMCON registers
MOVLW
PROG_ADDR_LO
MOVWF
NVMADRL
; Store LSB of address
MOVLW
PROG_ADDR_HI
MOVWF
NVMADRH
; Store MSB of address
BCF
NVMCON1,NVMREGS
; Do not select Configuration Space
BSF
NVMCON1,RD
; Initiate read
MOVF
NVMDATL,W
; Get LSB of word
MOVWF
PROG_DATA_LO
; Store in user location
MOVF
NVMDATH,W
; Get MSB of word
MOVWF
PROG_DATA_HI
; Store in user location
15.3.2
NVM Unlock Sequence
The unlock sequence is a mechanism that protects the NVM from unintended self-write programming or erasing. The
sequence must be executed and completed without interruption to successfully complete any of the following
operations:
• PFM Row Erase
• Write of PFM write latches to PFM memory
• Write of PFM write latches to User IDs
• Write to Configuration Words
The unlock sequence consists of the following steps and must be completed in order:
PIC16F15225/45
NVM - Nonvolatile Memory Control
© 2020 Microchip Technology Inc.
Preliminary Datasheet
DS20006389B-page 104



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