công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

PIC16F15213T-I/ST bảng dữ liệu(PDF) 110 Page - Microchip Technology

tên linh kiện PIC16F15213T-I/ST
Giải thích chi tiết về linh kiện  PIC16F15213/14/23/24/43/44 Low Pin Count Microcontrollers
PDF  439 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F15213T-I/ST bảng dữ liệu(HTML) 110 Page - Microchip Technology

Back Button PIC16F15213T-I/ST Datasheet HTML 106Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 107Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 108Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 109Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 110Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 111Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 112Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 113Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 114Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 110 / 439 page
background image
15.1.2.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:
• Write 55h to NVMCON2
• Write AAh to NMVCON2
• Set the WR bit
Once the WR bit is set, the processor will stall internal operations until the operation is complete and then resume
with the next instruction.
Since the unlock sequence must not be interrupted, global interrupts must be disabled prior to the unlock sequence
and re-enabled after the unlock sequence is completed.
Figure 15-2. NVM Unlock Sequence
Filename:
10-000047B.vsd
Title:
FLASH PROGRAM MEMORY UNLOCK SEQUENCE FLOWCHART
Last Edit:
8/24/2015
First Used:
PIC15F1508/9
Note:
Start
Unlock Sequence
End
Unlock Sequence
Write
0x55 to
NVMCON2
Write
0xAA to
NVMCON2
Initiate
Write or Erase operation
(WR = 1)
Rev. 10-000047B
8/24/2015
Example 15-2. NVM Unlock Sequence
NVMCON1bits.WREN = 1;
// Enable write/erase
INTCONbits.GIE = 0;
// Disable global interrupts
// The next three steps are the required unlock sequence
NVMCON2 = 0x55;
// First unlock code
NVMCON2 = 0xAA;
// Second unlock code
NVMCON1bits.WR = 1;
// Initiate write/erase cycle
INTCONbits.GIE = 1;
// Enable global interrupts
NVMCON1bits.WREN = 0;
// Disable further write/erase cycles
PIC16F15213/14/23/24/43/44
NVM - Nonvolatile Memory Control
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 110



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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