PIC18F13K22-I/P Microchip Technology, PIC18F13K22-I/P Datasheet - Page 369
![IC MCU 8BIT 8KB FLASH 20DIP](/photos/12/13/121303/150-20-dip_sml.jpg)
PIC18F13K22-I/P
Manufacturer Part Number
PIC18F13K22-I/P
Description
IC MCU 8BIT 8KB FLASH 20DIP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheets
1.PIC18LF13K22-ISS.pdf
(388 pages)
2.PIC18LF13K22-ISS.pdf
(12 pages)
3.PIC18F13K22-ISS.pdf
(382 pages)
Specifications of PIC18F13K22-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
64MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
I2C, MSSP, SPI, USART
Maximum Clock Frequency
64 MHz
Number Of Programmable I/os
17
Number Of Timers
4
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 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
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 12 Channel
Package
20PDIP
Device Core
PIC
Family Name
PIC18
Maximum Speed
64 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
INDEX
A
A/D
Absolute Maximum Ratings ............................................. 323
AC Characteristics
Access Bank
ACKSTAT ........................................................................ 163
ACKSTAT Status Flag ..................................................... 163
ADC ................................................................................. 201
ADCON0 Register ............................................................ 207
ADCON1 Register .................................................... 208, 209
ADDFSR .......................................................................... 312
ADDLW ............................................................................ 275
ADDULNK ........................................................................ 312
ADDWF ............................................................................ 275
ADDWFC ......................................................................... 276
ADRESH Register (ADFM = 0) ........................................ 210
ADRESH Register (ADFM = 1) ........................................ 210
ADRESL Register (ADFM = 0) ......................................... 210
ADRESL Register (ADFM = 1) ......................................... 210
Analog Input Connection Considerations ......................... 223
Analog-to-Digital Converter. See ADC
ANDLW ............................................................................ 276
ANDWF ............................................................................ 277
ANSEL Register ................................................................. 92
ANSELH Register .............................................................. 93
Assembler
B
Bank Select Register (BSR) ............................................... 31
Baud Rate Generator ....................................................... 159
BAUDCON Register ......................................................... 184
BC .................................................................................... 277
BCF .................................................................................. 278
BF .................................................................................... 163
BF Status Flag ................................................................. 163
© 2009 Microchip Technology Inc.
Analog Port Pins, Configuring .................................. 213
Associated Registers ............................................... 213
Conversions ............................................................. 204
Discharge ................................................................. 205
Selecting and Configuring Acquisition Time ............ 202
Specifications ........................................................... 347
Industrial and Extended ........................................... 341
Load Conditions ....................................................... 340
Mapping with Indexed Literal Offset Mode ................. 45
Acquisition Requirements ........................................ 211
Block Diagram .......................................................... 201
Calculating Acquisition Time .................................... 211
Channel Selection .................................................... 202
Configuration ............................................................ 202
Conversion Clock ..................................................... 202
Conversion Procedure ............................................. 206
Internal Sampling Switch (R
Interrupts .................................................................. 203
Operation ................................................................. 204
Operation During Sleep ........................................... 205
Port Configuration .................................................... 202
Power Management ................................................. 205
Reference Voltage (V
Result Formatting ..................................................... 203
Source Impedance ................................................... 211
Special Event Trigger ............................................... 205
Starting an A/D Conversion ..................................... 203
MPASM Assembler .................................................. 320
REF
) ........................................ 202
SS
) I
MPEDANCE
............. 211
Preliminary
PIC18F1XK22/LF1XK22
Block Diagrams
BN .................................................................................... 278
BNC ................................................................................. 279
BNN ................................................................................. 279
BNOV .............................................................................. 280
BNZ ................................................................................. 280
BOR. See Brown-out Reset.
BOV ................................................................................. 283
BRA ................................................................................. 281
Break Character (12-bit) Transmit and Receive .............. 192
BRG. See Baud Rate Generator.
Brown-out Reset (BOR) ................................................... 244
BSF .................................................................................. 281
BTFSC ............................................................................. 282
BTFSS ............................................................................. 282
BTG ................................................................................. 283
BZ .................................................................................... 284
C
C Compilers
ADC ......................................................................... 201
ADC Transfer Function ............................................ 212
Analog Input Model .......................................... 212, 223
Baud Rate Generator .............................................. 159
Capture Mode Operation ......................................... 113
Clock Source ............................................................. 14
Comparator 1 ........................................................... 216
Comparator 2 ........................................................... 217
Crystal Operation ....................................................... 15
EUSART Receive .................................................... 174
EUSART Transmit ................................................... 173
External POR Circuit (Slow V
External RC Mode ..................................................... 16
Fail-Safe Clock Monitor (FSCM) ................................ 23
Generic I/O Port ......................................................... 77
Interrupt Logic ............................................................ 64
MSSP (I
MSSP (I
MSSP (SPI Mode) ................................................... 131
On-Chip Reset Circuit .............................................. 241
PIC18F1XK50/PIC18LF1XK50 .................................. 10
PWM (Enhanced) .................................................... 115
Reads from Flash Program Memory ......................... 51
Resonator Operation ................................................. 16
Table Read Operation ............................................... 47
Table Write Operation ............................................... 48
Table Writes to Flash Program Memory .................... 53
Timer0 in 16-Bit Mode ............................................... 97
Timer0 in 8-Bit Mode ................................................. 96
Timer1 ..................................................................... 100
Timer1 (16-Bit Read/Write Mode) ............................ 101
Timer2 ..................................................................... 106
Timer3 ..................................................................... 108
Timer3 (16-Bit Read/Write Mode) ............................ 109
Voltage Reference ................................................... 238
Voltage Reference Output Buffer Example ............. 238
Watchdog Timer ...................................................... 263
Detecting ................................................................. 244
Disabling in Sleep Mode .......................................... 244
Software Enabled .................................................... 244
Specifications .......................................................... 345
Timing and Characteristics ...................................... 344
MPLAB C18 ............................................................. 320
MPLAB C30 ............................................................. 320
2
2
C Master Mode) ........................................ 157
C Mode) .................................................... 140
DD
Power-up) ............ 243
DS41365B-page 367