PIC18LF13K22-I/SS Microchip Technology, PIC18LF13K22-I/SS Datasheet - Page 374
![IC PIC MCU FLASH 256KX8 20-SSOP](/photos/6/58/65895/150-20-ssop_sml.jpg)
PIC18LF13K22-I/SS
Manufacturer Part Number
PIC18LF13K22-I/SS
Description
IC PIC MCU FLASH 256KX8 20-SSOP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheets
1.PIC18LF13K22-ISS.pdf
(388 pages)
2.PIC18LF13K22-ISS.pdf
(12 pages)
3.PIC18LF13K22-ISS.pdf
(36 pages)
4.PIC18LF14K22-IP.pdf
(382 pages)
Specifications of PIC18LF13K22-I/SS
Program Memory Type
FLASH
Program Memory Size
8KB (4K x 16)
Package / Case
20-SSOP
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 ~ 3.6 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
I2C, MSSP, SPI, USART
Maximum Clock Frequency
32 KHz
Number Of Programmable I/os
18
Number Of Timers
4
Operating Supply Voltage
1.8 V to 3.6 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
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
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF13K22-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC18F1XK22/LF1XK22
Power-on Reset (POR) ..................................................... 245
Power-up Timer (PWRT)
Precision Internal Oscillator Parameters........................... 346
Prescaler, Timer0................................................................ 99
PRI_IDLE Mode ................................................................ 232
PRI_RUN Mode ................................................................ 230
Program Counter................................................................. 28
Program Memory
Program Verification and Code Protection........................ 266
Programming, Device Instructions .................................... 271
PSTRCON Register .......................................................... 129
Pulse Steering................................................................... 129
PUSH ................................................................................ 300
PUSH and POP Instructions ............................................... 29
PUSHL .............................................................................. 316
PWM (ECCP Module)
PWM Mode. See Enhanced Capture/Compare/PWM ...... 117
PWM1CON Register ......................................................... 128
R
RAM. See Data Memory.
RC_IDLE Mode ................................................................. 233
RC_RUN Mode ................................................................. 230
RCALL............................................................................... 301
RCON Register ........................................................... 76, 244
RCREG ............................................................................. 182
RCSTA Register................................................................ 185
Reader Response ............................................................... 12
Register
Register File ........................................................................ 37
Register File Summary........................................................ 39
Registers
DS41365C-page 374
Selecting ................................................................... 229
Sleep Mode ............................................................... 231
Summary (table) ....................................................... 229
Power-up Timer (PWRT) .......................................... 247
Time-out Sequence................................................... 247
Specifications ............................................................ 348
PCL, PCH and PCU Registers.................................... 28
PCLATH and PCLATU Registers ............................... 28
and Extended Instruction Set ...................................... 47
Code Protection ........................................................ 268
Instructions.................................................................. 32
Interrupt Vector ........................................................... 27
Look-up Tables ........................................................... 30
Map and Stack (diagram)............................................ 27
Reset Vector ............................................................... 27
Associated Registers ................................................ 268
Effects of a Reset...................................................... 132
Operation in Power Managed Modes ....................... 132
Operation with Fail-Safe Clock Monitor .................... 132
Pulse Steering........................................................... 129
Steering Synchronization .......................................... 131
Bit Status During Initialization ................................... 250
RCREG Register....................................................... 191
ADCON0 (ADC Control 0) ........................................ 209
ADCON1 (ADC Control 1) ................................ 210, 211
ADRESH (ADC Result High) with ADFM = 0)........... 212
ADRESH (ADC Result High) with ADFM = 1)........... 212
ADRESL (ADC Result Low) with ADFM = 0) ............ 212
ADRESL (ADC Result Low) with ADFM = 1) ............ 212
ANSEL (Analog Select)............................................... 94
PRI_RUN .......................................................... 230
RC_RUN ........................................................... 230
SEC_RUN......................................................... 230
Two-Word ........................................................... 32
Preliminary
ANSELH (Analog Select High) ................................... 95
BAUDCON (EUSART Baud Rate Control) ............... 186
CCP1CON (Enhanced Capture/Compare/PWM
CM1CON0 (C1 Control)............................................ 223
CM2CON0 (C2 Control)............................................ 224
CM2CON1 (C2 Control)............................................ 227
CONFIG1H (Configuration 1 High) ........................... 257
CONFIG2H (Configuration 2 High) ........................... 259
CONFIG2L (Configuration 2 Low) ............................ 258
CONFIG3H (Configuration 3 High) ........................... 260
CONFIG4L (Configuration 4 Low) ............................ 260
CONFIG5H (Configuration 5 High) ........................... 261
CONFIG5L (Configuration 5 Low) ............................ 261
CONFIG6H (Configuration 6 High) ........................... 262
CONFIG6L (Configuration 6 Low) ............................ 262
CONFIG7H (Configuration 7 High) ........................... 263
CONFIG7L (Configuration 7 Low) ............................ 263
DEVID1 (Device ID 1)............................................... 264
DEVID2 (Device ID 2)............................................... 264
ECCPAS (Enhanced CCP Auto-shutdown Control) . 125
EECON1 (Data EEPROM Control 1).................... 51, 60
INTCON (Interrupt Control)......................................... 67
INTCON2 (Interrupt Control 2).................................... 68
INTCON3 (Interrupt Control 3).................................... 69
IOCA (Interrupt-on-Change PORTA).......................... 82
IOCB (Interrupt-on-Change PORTB).......................... 87
IPR1 (Peripheral Interrupt Priority 1) .......................... 74
IPR2 (Peripheral Interrupt Priority 2) .......................... 75
LATA (PORTA Data Latch)......................................... 82
LATB (PORTB Data Latch)......................................... 86
LATC (PORTC Data Latch) ........................................ 91
OSCCON (Oscillator Control) ............................... 20, 21
OSCTUNE (Oscillator Tuning).................................... 22
PIE1 (Peripheral Interrupt Enable 1)........................... 72
PIE2 (Peripheral Interrupt Enable 2)........................... 73
PIR1 (Peripheral Interrupt Request 1) ........................ 70
PIR2 (Peripheral Interrupt Request 2) ........................ 71
PORTA ....................................................................... 81
PORTB ................................................................. 86, 90
PSTRCON (Pulse Steering Control)......................... 129
PWM1CON (Enhanced PWM Control) ..................... 128
RCON (Reset Control)........................................ 76, 244
RCSTA (Receive Status and Control) ...................... 185
SLRCON (PORT Slew Rate Control) ......................... 96
SRCON0 (SR Latch Control 0) ................................. 236
SRCON1 (SR Latch Control 1) ................................. 237
SSPADD (MSSP Address and Baud Rate,
SSPCON1 (MSSP Control 1, I
SSPCON1 (MSSP Control 1, SPI Mode).................. 135
SSPCON2 (MSSP Control 2, I
SSPMSK (SSP Mask)............................................... 152
SSPSTAT (MSSP Status, SPI Mode)............... 134, 143
STATUS ..................................................................... 42
STKPTR (Stack Pointer)............................................. 29
T0CON (Timer0 Control) ............................................ 97
T1CON (Timer1 Control) .......................................... 101
T2CON (Timer2 Control) .......................................... 107
T3CON (Timer3 Control) .......................................... 109
TRISA (Tri-State PORTA)........................................... 81
TRISB (Tri-State PORTB)..................................... 86, 90
TXSTA (Transmit Status and Control) ...................... 184
VREFCON0 .............................................................. 241
VREFCON1 .............................................................. 241
Control)............................................................. 113
SPI Mode)......................................................... 153
© 2009 Microchip Technology Inc.
2
2
C Mode) .................. 144
C Mode) .................. 145