PIC18F13K50-I/P Microchip Technology, PIC18F13K50-I/P Datasheet - Page 11
![IC PIC MCU FLASH 4KX16 20-PDIP](/photos/12/13/121303/150-20-dip_sml.jpg)
PIC18F13K50-I/P
Manufacturer Part Number
PIC18F13K50-I/P
Description
IC PIC MCU FLASH 4KX16 20-PDIP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheets
1.PIC18F13K50-ISS.pdf
(420 pages)
2.PIC18F13K50-ISS.pdf
(40 pages)
3.PIC18F13K50-ISS.pdf
(10 pages)
4.PIC18F13K50-ISS.pdf
(2 pages)
5.PIC18F14K50-IP.pdf
(422 pages)
Specifications of PIC18F13K50-I/P
Program Memory Type
FLASH
Program Memory Size
8KB (4K x 16)
Package / Case
20-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
14
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
EUSART/I2C/MSSP/SPI/USB
Maximum Clock Frequency
48 MHz
Number Of Programmable I/os
15
Number Of Timers
4
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, DM164127, DV164126
Minimum Operating Temperature
- 40 C
On-chip Adc
11-ch x 10-bit
Package
20PDIP
Device Core
PIC
Family Name
PIC18
Maximum Speed
48 MHz
Operating Supply Voltage
3.3|5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DV164126 - KIT DEVELOPMENT USB W/PICKIT 2DM164127 - KIT DEVELOPMENT USB 18F14/13K50AC164112 - VOLTAGE LIMITER MPLAB ICD2 VPP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18F13K50-I/P
Manufacturer:
MICROCHIP
Quantity:
201
Part Number:
PIC18F13K50-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
3.5
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.
3.5.1
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 3-2.
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 3-3. The 4-bit
command, Most Signification bit (MSb), is shown first.
The command operand, or “Data Payload”, is shown
<MSB><LSB>. Figure 3-10 demonstrates how to
serially present a 20-bit command/operand to the
device.
FIGURE 3-10:
2010 Microchip Technology Inc.
PGC
PGD
Serial Program/Verify Operation
4-BIT COMMANDS
P3
4-bit Command
1
P2
1
2
P4
0
TABLE WRITE, POST-INCREMENT TIMING DIAGRAM (1101)
3
1
4
1
P2A
P5
P2B
1
0
2
0
PIC18F1XK50/PIC18LF1XK50
0
3
0
Advance Information
4
0
5
0
6
PGD = Input
0
16-bit Data Payload
4
7
1
8
0
3.5.2
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 3-2:
TABLE 3-3:
Core Instruction
(Shift in16-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
9
Command
0
1101
10
4-Bit
0
C
11
1
12
CORE INSTRUCTION
1
Description
Payload
13
3C 40
1
Data
14
COMMANDS FOR
PROGRAMMING
SAMPLE COMMAND
SEQUENCE
1
3
15
0
Table Write,
post-increment by 2
16
0
P5A
Fetch Next 4-bit Command
Core Instruction
1
n
DS41342E-page 11
2
n
3
n
Command
4
0000
0010
1000
1001
1010
1011
1100
1101
1110
1111
4-Bit
n