PIC12F1516 MICROCHIP [Microchip Technology], PIC12F1516 Datasheet - Page 105

no-image

PIC12F1516

Manufacturer Part Number
PIC12F1516
Description
28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
FIGURE 11-6:
 2011 Microchip Technology Inc.
The number of words cannot
to be written into Program or
exceed the number of words
Determine number of words
Program or Config. Memory
Select WRITE Operation
Load Write Latches Only
Configuration Memory.
(PMADRH:PMADRL)
Select Row Address
WRITE Operation
Disable Interrupts
(LWLO = 1)
(FREE = 0)
(word_cnt)
(GIE = 0)
per row.
(CFGS)
Select
Start
FLASH PROGRAM MEMORY WRITE FLOWCHART
Preliminary
Program Memory Latches
Update the word counter
No delay when writing to
(PMADRH:PMADRL++)
Operation (WREN = 1)
Load the value to write
(PMDATH:PMDATL)
Enable Write/Erase
Increment Address
Unlock Sequence
Figure 11-3
(word_cnt--)
Last word to
(Figure x-x)
write ?
No
PIC16(L)F1516/7/8/9
Yes
CPU stalls while WRITE
Write Latches to Flash
Write/Erase Operation
Re-enable Interrupts
operation completes
ERASE Operation
Unlock Sequence
(2ms typical)
Figure 11-3
(WREN = 0)
(LWLO = 0)
(Figure x-x)
(GIE = 1)
Disable
End
DS41452B-page 105

Related parts for PIC12F1516