DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16LF1906-E/SO View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16LF1906-E/SO Datasheet PDF : 288 Pages
First Prev 91 92 93 94 95 96 97 98 99 100 Next Last
PIC16LF1904/6/7
FIGURE 10-6:
FLASH PROGRAM MEMORY WRITE FLOWCHART
Start
Write Operation
Determine number of words
to be written into Program or
Configuration Memory.
The number of words cannot
exceed the number of words
per row.
(word_cnt)
Enable Write/Erase
Operation (WREN = 1)
Load the value to write
(PMDATH:PMDATL)
Disable Interrupts
(GIE = 0)
Select
Program or Config. Memory
(CFGS)
Select Row Address
(PMADRH:PMADRL)
Select Write Operation
(FREE = 0)
Load Write Latches Only
(LWLO = 1)
Update the word counter
(word_cnt--)
Last word to Yes
write ?
No
Unlock Sequence
F(Figiguurere1x0-x3)
No delay when writing to
Program Memory Latches
Increment Address
(PMADRH:PMADRL++)
Write Latches to Flash
(LWLO = 0)
Unlock Sequence
F(Figiguurere1x0-x3)
CPU stalls while Write
operation completes
(2 ms typical)
Disable
Write/Erase Operation
(WREN = 0)
Re-enable Interrupts
(GIE = 1)
End
Write Operation
2011 Microchip Technology Inc.
Preliminary
DS41569A-page 93

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]