PIC18LF13K22-I/SO Microchip Technology, PIC18LF13K22-I/SO Datasheet - Page 381
![IC PIC MCU FLASH 256KX8 20-SOIC](/photos/6/64/66480/150-20-soic_sml.jpg)
PIC18LF13K22-I/SO
Manufacturer Part Number
PIC18LF13K22-I/SO
Description
IC PIC MCU FLASH 256KX8 20-SOIC
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/SO
Program Memory Type
FLASH
Program Memory Size
8KB (4K x 16)
Package / Case
20-SOIC (7.5mm Width)
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
RESET .............................................................................. 307
Reset State of Registers ................................................... 256
Resets ....................................................................... 249, 261
RETFIE ............................................................................. 308
RETLW ............................................................................. 308
RETURN ........................................................................... 309
Return Address Stack ......................................................... 28
Return Stack Pointer (STKPTR) ......................................... 29
Revision History ................................................................ 373
RLCF................................................................................. 309
RLNCF .............................................................................. 310
RRCF ................................................................................ 310
RRNCF ............................................................................. 311
S
SCK................................................................................... 135
SDI .................................................................................... 135
SDO .................................................................................. 135
SEC_IDLE Mode............................................................... 236
SEC_RUN Mode ............................................................... 234
Serial Clock, SCK ............................................................. 135
Serial Data In (SDI) ........................................................... 135
Serial Data Out (SDO) ...................................................... 135
Serial Peripheral Interface. See SPI Mode.
SETF ................................................................................. 311
Shoot-through Current ...................................................... 128
Single-Supply ICSP Programming.
Slave Select (SS) .............................................................. 135
Slave Select Synchronization ........................................... 141
SLEEP .............................................................................. 312
Sleep Mode ....................................................................... 235
SLRCON Register............................................................... 96
Software Simulator (MPLAB SIM)..................................... 329
SPBRG ............................................................................. 191
SPBRGH ........................................................................... 191
Special Event Trigger........................................................ 211
Special Event Trigger. See Compare (ECCP Mode).
Special Features of the CPU ............................................ 261
Special Function Registers ................................................. 37
SPI Mode
SPI Mode (MSSP)
2010 Microchip Technology Inc.
VREFCON2 .............................................................. 246
WDTCON (Watchdog Timer Control) ....................... 272
WPUA (Weak Pull-up PORTA) ................................... 82
WPUB (Weak Pull-up PORTB) ................................... 87
Brown-out Reset (BOR) ............................................ 261
Oscillator Start-up Timer (OST) ................................ 261
Power-on Reset (POR) ............................................. 261
Power-up Timer (PWRT) .......................................... 261
Map ............................................................................. 38
Typical Master/Slave Connection ............................. 139
Associated Registers ................................................ 143
Bus Mode Compatibility ............................................ 143
Effects of a Reset...................................................... 143
Enabling SPI I/O ....................................................... 139
Master Mode ............................................................. 140
Operation .................................................................. 138
Operation in Power Managed Modes ....................... 143
Serial Clock............................................................... 135
Serial Data In ............................................................ 135
Serial Data Out ......................................................... 135
Slave Mode ............................................................... 141
Slave Select .............................................................. 135
Slave Select Synchronization ................................... 141
SPI Clock .................................................................. 140
Typical Connection ................................................... 139
Preliminary
PIC18F1XK22/LF1XK22
SR Latch ........................................................................... 239
SRCON0 Register ............................................................ 240
SRCON1 Register ............................................................ 241
SS ..................................................................................... 135
SSP
SSPADD Register............................................................. 155
SSPCON1 Register .................................................. 137, 146
SSPCON2 Register .......................................................... 147
SSPMSK Register ............................................................ 154
SSPOV ............................................................................. 167
SSPOV Status Flag .......................................................... 167
SSPSTAT Register ................................................... 136, 145
Stack Full/Underflow Resets............................................... 30
Standard Instructions........................................................ 277
STATUS Register ............................................................... 42
STKPTR Register ............................................................... 29
SUBFSR ........................................................................... 323
SUBFWB .......................................................................... 312
SUBLW ............................................................................. 313
SUBULNK......................................................................... 323
SUBWF............................................................................. 313
SUBWFB .......................................................................... 314
SWAPF ............................................................................. 314
T
T0CON Register ................................................................. 97
T1CON Register ............................................................... 101
T2CON Register ............................................................... 107
T3CON Register ............................................................... 109
Table Pointer Operations (table)......................................... 52
Table Reads/Table Writes .................................................. 30
TBLRD .............................................................................. 315
TBLWT ............................................................................. 316
Thermal Considerations.................................................... 347
Time-out in Various Situations (table)............................... 253
Timer0 ................................................................................ 97
Timer1 .............................................................................. 101
Timer2 .............................................................................. 107
Associated Registers................................................ 241
Typical SPI Master/Slave Connection ...................... 139
R/W Bit ............................................................. 148, 149
Associated Registers.................................................. 99
Operation.................................................................... 98
Overflow Interrupt ....................................................... 99
Prescaler .................................................................... 99
Prescaler Assignment (PSA Bit)................................. 99
Prescaler Select (T0PS2:T0PS0 Bits) ........................ 99
Prescaler. See Prescaler, Timer0.
Reads and Writes in 16-Bit Mode............................... 98
Source Edge Select (T0SE Bit) .................................. 98
Source Select (T0CS Bit) ........................................... 98
Specifications ........................................................... 355
Switching Prescaler Assignment ................................ 99
16-Bit Read/Write Mode ........................................... 104
Associated Registers................................................ 106
Interrupt .................................................................... 105
Modes of Operation .................................................. 104
Operation.................................................................. 102
Oscillator........................................................... 101, 104
Overflow Interrupt ..................................................... 101
Resetting, Using the CCP Special Event Trigger ..... 105
Specifications ........................................................... 355
TMR1H Register....................................................... 101
TMR1L Register ....................................................... 101
Use as a Real-Time Clock ........................................ 105
Associated Registers................................................ 108
DS41365D-page 381