English
Language : 

PIC18FXXK80 Datasheet, PDF (14/52 Pages) Microchip Technology – Flash Microcontroller Programming Specification
PIC18FXXK80 FAMILY
2.8.2 CORE INSTRUCTION
The core instruction passes a 16-bit instruction to the
CPU core for execution. This is needed to set up
registers, as appropriate, for use with other commands.
TABLE 2-3: COMMANDS FOR
PROGRAMMING
Description
4-Bit
Command
Core Instruction (shift in 16-bit
instruction)
Shift out TABLAT Register
Table Read
Table Read, Post-Increment
Table Read, Post-Decrement
Table Read, Pre-Increment
Table Write
Table Write, Post-Increment by 2
Table Write, Start Programming,
Post-Increment by 2
Table Write, Start Programming
0000
0010
1000
1001
1010
1011
1100
1101
1110
1111
TABLE 2-4: SAMPLE COMMAND
SEQUENCE
4-Bit
Data
Command Payload
Core Instruction
1101
3C 40 Table Write,
post-increment by 2
FIGURE 2-14:
TABLE WRITE, POST-INCREMENT TIMING (‘1101’)
PGC
P2
P2A
P2B
1234
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
1234
P5
P4
P3
LSB
P5A
MSB
PGD
1011
LSb
MSb
4-Bit Command
000 000 10 001 11100
nnnn
LSb 0
4
C
16-Bit Data Payload
3 MSb
Fetch Next 4-Bit Command
PGD = Input
DS39972B-page 14
 2011 Microchip Technology Inc.