PIC18LF13K22-E/ML Microchip Technology, PIC18LF13K22-E/ML Datasheet - Page 376
![8KB Flash, 256bytes RAM, 256bytes EEPROM, 16MIPS, NanoWatt XLP 20 QFN 4x4mm TUBE](/photos/16/12/161232/qfn-20-bottom_sml.jpg)
PIC18LF13K22-E/ML
Manufacturer Part Number
PIC18LF13K22-E/ML
Description
8KB Flash, 256bytes RAM, 256bytes EEPROM, 16MIPS, NanoWatt XLP 20 QFN 4x4mm TUBE
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)
Specifications of PIC18LF13K22-E/ML
Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
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 ~ 125°C
Package / Case
20-VQFN Exposed Pad, 20-HVQFN, 20-SQFN, 20-DHVQFN
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
EUSART, I2C, SPI
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
A/d Bit Size
10 bit
A/d Channels Available
12
Height
0.88 mm
Length
4 mm
Supply Voltage (max)
3.6 V
Supply Voltage (min)
1.8 V, 2.7 V
Width
4 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC18F1XK22/LF1XK22
Capture/Compare/PWM (CCP)
CCP1CON Register .......................................................... 113
Clock Accuracy with Asynchronous Operation ................. 188
Clock Sources
CLRF................................................................................. 293
CLRWDT........................................................................... 293
CM1CON0 Register .......................................................... 227
CM2CON0 Register .......................................................... 228
CM2CON1 Register .......................................................... 231
Code Examples
Code Protection ................................................................ 261
COMF................................................................................ 294
Comparator
Comparator Module .......................................................... 221
Comparator Specifications ................................................ 358
Comparator Voltage Reference (CV
Comparator Voltage Reference (CV
Comparators
Compare (CCP Module).................................................... 116
DS41365D-page 376
Prescaler ................................................................... 115
Software Interrupt ..................................................... 115
Timer1/Timer3 Mode Selection ................................. 115
Capture Mode. See Capture.
CCP Mode and Timer Resources ............................. 114
Compare Mode. See Compare.
Associated registers.................................................... 26
External Modes
16 x 16 Signed Multiply Routine ................................. 64
16 x 16 Unsigned Multiply Routine ............................. 64
8 x 8 Signed Multiply Routine ..................................... 63
8 x 8 Unsigned Multiply Routine ................................. 63
A/D Conversion ......................................................... 212
Changing Between Capture Prescalers .................... 115
Clearing RAM Using Indirect Addressing.................... 43
Computed GOTO Using an Offset Value .................... 30
Data EEPROM Read .................................................. 61
Data EEPROM Refresh Routine ................................. 62
Data EEPROM Write .................................................. 61
Erasing a Flash Program Memory Row ...................... 55
Fast Register Stack..................................................... 30
Implementing a Timer1 Real-Time Clock.................. 106
Initializing PORTA ....................................................... 80
Initializing PORTB ....................................................... 85
Initializing PORTC....................................................... 90
Loading the SSPBUF (SSPSR) Register .................. 138
Reading a Flash Program Memory Word ................... 54
Saving Status, WREG and BSR Registers in RAM .... 77
Writing to Flash Program Memory ........................ 57–58
Associated Registers ................................................ 232
Operation .................................................................. 221
Operation During Sleep ............................................ 226
Response Time ......................................................... 224
C1 Output State Versus Input Conditions ................. 224
Associated Registers ................................................ 247
Effects of a Reset.............................................. 226, 243
Operation During Sleep ............................................ 243
Overview ................................................................... 243
Response Time ......................................................... 224
Effects of a Reset...................................................... 226
CCPRx Register........................................................ 116
Pin Configuration ...................................................... 116
Software Interrupt ..................................................... 116
HS ....................................................................... 17
LP........................................................................ 17
XT ....................................................................... 17
REF
REF
)
)
Preliminary
Computed GOTO................................................................ 30
CONFIG1H Register......................................................... 263
CONFIG2H Register......................................................... 265
CONFIG2L Register ......................................................... 264
CONFIG3H Register......................................................... 266
CONFIG4L Register ......................................................... 266
CONFIG5H Register......................................................... 267
CONFIG5L Register ......................................................... 267
CONFIG6H Register......................................................... 268
CONFIG6L Register ......................................................... 268
CONFIG7H Register......................................................... 269
CONFIG7L Register ......................................................... 269
Configuration Bits ............................................................. 262
Configuration Register Protection..................................... 276
Context Saving During Interrupts........................................ 77
CPFSEQ ........................................................................... 294
CPFSGT ........................................................................... 295
CPFSLT ............................................................................ 295
Customer Change Notification Service............................. 385
Customer Notification Service .......................................... 385
Customer Support............................................................. 385
CV
D
Data Addressing Modes ..................................................... 43
Data EEPROM
Data EEPROM Memory...................................................... 59
Data Memory ...................................................................... 33
DAW ................................................................................. 296
DC and AC Characteristics
DC Characteristics
DCFSNZ ........................................................................... 297
DECF ................................................................................ 296
DECFSZ ........................................................................... 297
Development Support ....................................................... 327
Device Differences............................................................ 373
REF
Special Event Trigger ....................................... 112, 116
Timer1/Timer3 Mode Selection................................. 116
Comparing Addressing Modes with the
Direct .......................................................................... 43
Indexed Literal Offset ................................................. 45
Indirect ........................................................................ 43
Inherent and Literal..................................................... 43
Code Protection ........................................................ 276
Associated Registers .................................................. 62
EEADR Register ......................................................... 59
EECON1 and EECON2 Registers .............................. 59
Operation During Code-Protect .................................. 62
Protection Against Spurious Write .............................. 62
Reading ...................................................................... 61
Using .......................................................................... 62
Write Verify ................................................................. 61
Writing ........................................................................ 61
Access Bank ............................................................... 37
Access RAM ............................................................... 33
and the Extended Instruction Set ............................... 45
Bank Select Register (BSR) ....................................... 33
General Purpose Registers ........................................ 37
Map for PIC18F13K50/PIC18LF13K50 ...................... 34
Map for PIC18F14K50/PIC18LF14K50 ...................... 35
Special Function Registers ......................................... 37
Graphs and Tables ................................................... 365
Extended and Industrial ............................................ 345
Industrial and Extended ............................................ 335
Voltage Reference Specifications ......................... 358
Extended Instruction Set Enabled ...................... 46
Instructions Affected ........................................... 45
2010 Microchip Technology Inc.