Electronic Components Datasheet Search
  English  ▼

X  

PIC18F23K22 Datasheet(PDF) 12 Page - Microchip Technology

Part # PIC18F23K22
Description  Flash Memory Programming Specification
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F23K22 Datasheet(HTML) 12 Page - Microchip Technology

Back Button PIC18F23K22 Datasheet HTML 8Page - Microchip Technology PIC18F23K22 Datasheet HTML 9Page - Microchip Technology PIC18F23K22 Datasheet HTML 10Page - Microchip Technology PIC18F23K22 Datasheet HTML 11Page - Microchip Technology PIC18F23K22 Datasheet HTML 12Page - Microchip Technology PIC18F23K22 Datasheet HTML 13Page - Microchip Technology PIC18F23K22 Datasheet HTML 14Page - Microchip Technology PIC18F23K22 Datasheet HTML 15Page - Microchip Technology PIC18F23K22 Datasheet HTML 16Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 42 page
background image
PIC18(L)F2XK22/4XK22
DS41398B-page 12
Advance Information
 2010 Microchip Technology Inc.
2.7
Serial Program/Verify Operation
The PGC pin is used as a clock input pin and the PGD
pin is used for entering command bits and data input/
output during serial operation. Commands and data are
transmitted on the rising edge of PGC, latched on the
falling edge of PGC and are Least Significant bit (LSb)
first.
2.7.1
4-BIT COMMANDS
All instructions are 20 bits, consisting of a leading 4-bit
command followed by a 16-bit operand, which depends
on the type of command being executed. To input a
command, PGC is cycled four times. The commands
needed for programming and verification are shown in
Table 2-6.
Depending on the 4-bit command, the 16-bit operand
represents 16 bits of input data or 8 bits of input data
and 8 bits of output data.
Throughout this specification, commands and data are
presented as illustrated in Table 2-7. The 4-bit
command is shown Most Significant bit (MSb) first. The
command operand, or “Data Payload”, is shown
<MSB><LSB>. Figure 2-16 demonstrates how to
serially present a 20-bit command/operand to the
device.
2.7.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-6:
COMMANDS FOR
PROGRAMMING
TABLE 2-7:
SAMPLE COMMAND
SEQUENCE
FIGURE 2-16:
TABLE WRITE, POST-INCREMENT TIMING DIAGRAM (1101)
Description
4-Bit
Command
Core Instruction
(Shift in16-bit instruction)
0000
Shift out TABLAT register
0010
Table Read
1000
Table Read, post-increment
1001
Table Read, post-decrement
1010
Table Read, pre-increment
1011
Table Write
1100
Table Write, post-increment by 2
1101
Table Write, start programming,
post-increment by 2
1110
Table Write, start programming
1111
4-Bit
Command
Data
Payload
Core Instruction
1101
3C 40
Table Write,
post-increment by 2
12
3
4
PGC
P5
PGD
PGD = Input
56
7
8
1
234
P5A
9
10 11
13
15
16
14
12
Fetch Next 4-bit Command
10
1
1
12
3
4
nn
n
n
P3
P2
P2A
00
0
0
0
0
0
10
0
0
1
1
1
1
0
04
C
3
P4
4-bit Command
16-bit Data Payload
P2B



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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