English
Language : 

PIC18LF2X Datasheet, PDF (18/44 Pages) Microchip Technology – 28/40/44-Pin, Low-Power, High-Performance Microcontrollers with XLP Technology
PIC18(L)F2X/4XK50
FIGURE 3-4:
PROGRAM CODE MEMORY FLOW
Start
N=1
LoopCount = 0
Configure
Device for
Writes
N=N+1
Load 2 Bytes
to Write
Buffer at <Addr>
N=1
LoopCount =
LoopCount + 1
No
All
bytes
written?
Yes
Start Write Sequence
and Hold PGC
High until Done
and Wait P9
Hold PGC Low
for Time P10
No
All
locations
done?
Yes
Done
FIGURE 3-5:
TABLE WRITE AND START PROGRAMMING INSTRUCTION
TIMING DIAGRAM (1111)
12 34
1 2 34 56
15 16
123
PGC
P5
P9(1)
P5A
P10
4
123
PGD
1111
4-bit Command
nn nn nn
nn
0000
16-bit Data Payload
PGD = Input
4-bit Command Programming Time
Note 1: Use P9A for User ID and Configuration Word programming.
000
16-bit
Data Payload
DS41630B-page 18
 2012 Microchip Technology Inc.