PIC18F46K22-I/MV Microchip Technology, PIC18F46K22-I/MV Datasheet - Page 484

64KB, Flash, 3968bytes-RAM,8-bit Family,nanoWatt XLP 40 UQFN 5x5x0.5mm TUBE

PIC18F46K22-I/MV

Manufacturer Part Number
PIC18F46K22-I/MV
Description
64KB, Flash, 3968bytes-RAM,8-bit Family,nanoWatt XLP 40 UQFN 5x5x0.5mm TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F46K22-I/MV

Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
35
Program Memory Size
64KB (32K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 30x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
40-UFQFN Exposed Pad
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
4 KB
Number Of Programmable I/os
36
Number Of Timers
3 x 8-bit. 4 x 16-bit
Operating Supply Voltage
1.8 V to 5.5 V
Mounting Style
SMD/SMT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC18(L)F2X/4XK22
CALL ................................................................................ 382
CALLW ............................................................................. 411
Capture Module. See Enhanced Capture/Compare/PWM(EC-
Capture/Compare/PWM ................................................... 177
Capture/Compare/PWM (CCP)
CCPTMRS0 Register ....................................................... 204
CCPTMRS1 Register ....................................................... 204
CCPxCON (ECCPx) Register .......................................... 201
Clock Accuracy with Asynchronous Operation ................ 272
Clock Sources
Clock Switching .................................................................. 41
CLRF ................................................................................ 383
CLRWDT .......................................................................... 383
CM1CON0 Register ......................................................... 310
CM2CON0 Register ......................................................... 311
CM2CON1 Register ......................................................... 314
Code Examples
DS41412D-page 484
MPLAB C18 ............................................................. 418
CP)
Associated Registers w/ Capture .... 179, 180, 183, 187,
Associated Registers w/ Compare ........................... 182
Associated Registers w/ PWM ......................... 187, 200
Capture Mode .......................................................... 178
CCPx Pin Configuration ........................................... 178
Compare Mode ........................................................ 181
Prescaler .................................................................. 179
PWM Mode
PWM Operation ....................................................... 184
PWM Overview ........................................................ 184
PWM Period ............................................................. 185
PWM Setup .............................................................. 184
External Modes .......................................................... 34
Internal Modes ........................................................... 36
Selecting the 31 kHz Source ...................................... 29
Selection Using OSCCON Register ........................... 29
16 x 16 Signed Multiply Routine .............................. 112
16 x 16 Unsigned Multiply Routine .......................... 112
8 x 8 Signed Multiply Routine .................................. 111
8 x 8 Unsigned Multiply Routine .............................. 111
201
CCPx Pin Configuration ................................... 181
Software Interrupt Mode .......................... 178, 181
Special Event Trigger ....................................... 182
Timer1 Mode Resource ........................... 178, 181
Duty Cycle ........................................................ 185
Effects of Reset ................................................ 186
Example PWM Frequencies and Resolutions, 20
Example PWM Frequencies and Resolutions, 32
Example PWM Frequencies and Resolutions, 8
Operation in Sleep Mode ................................. 186
Resolution ........................................................ 186
System Clock Frequency Changes .................. 186
EC ...................................................................... 34
HS ...................................................................... 35
LP ....................................................................... 35
OST .................................................................... 34
RC ...................................................................... 36
XT ...................................................................... 35
Frequency Selection .......................................... 38
INTOSC ............................................................. 36
INTOSCIO .......................................................... 36
LFINTOSC ......................................................... 38
MHZ ......................................................... 186
MHZ ......................................................... 186
MHz ......................................................... 186
Preliminary
Code Protection ............................................................... 349
COMF .............................................................................. 384
Comparator
Comparator Module
Comparator Specifications ............................................... 439
Comparator Voltage Reference (CV
Comparator Voltage Reference (CV
Comparators
Compare Module. See Enhanced Capture/Compare/PWM
Computed GOTO ............................................................... 73
CONFIG1H Register ........................................................ 351
CONFIG2H Register ........................................................ 353
CONFIG2L Register ........................................................ 352
CONFIG3H Register ........................................................ 354
CONFIG4L Register ........................................................ 355
CONFIG5H Register ........................................................ 356
CONFIG5L Register ........................................................ 355
CONFIG6H Register ........................................................ 357
CONFIG6L Register ........................................................ 356
CONFIG7H Register ........................................................ 358
CONFIG7L Register ........................................................ 357
Configuration Bits ............................................................ 349
Configuration Register Protection .................................... 365
Context Saving During Interrupts ..................................... 131
CPFSEQ .......................................................................... 384
CPFSGT .......................................................................... 385
CPFSLT ........................................................................... 385
CTMU
A/D Conversion ........................................................ 297
Capacitance Calibration Routine ............................. 324
Capacitive Touch Switch Routine ............................ 326
Changing Between Capture Prescalers ................... 179
Clearing RAM Using Indirect Addressing .................. 90
Computed GOTO Using an Offset Value ................... 73
Current Calibration Routine ..................................... 322
Data EEPROM Read ............................................... 107
Data EEPROM Refresh Routine .............................. 108
Data EEPROM Write ............................................... 107
Erasing a Flash Program Memory Row ................... 100
Fast Register Stack ................................................... 73
Initializing PORTA .................................................... 133
Initializing PORTB .................................................... 138
Initializing PORTC ................................................... 142
Initializing PORTD ................................................... 146
Initializing PORTE .................................................... 149
Reading a Flash Program Memory Word .................. 99
Saving Status, WREG and BSR Registers in RAM . 131
Setup for CTMU Calibration Routines ..................... 321
Writing to Flash Program Memory ................... 102–103
Associated Registers ............................................... 315
Operation ................................................................. 305
Operation During Sleep ........................................... 309
Response Time ........................................................ 307
C1 Output State Versus Input Conditions ................ 307
Effects of a Reset .................................................... 309
Response Time ........................................................ 307
C2OUT as T1 Gate .................................................. 164
Effects of a Reset .................................................... 309
(ECCP)
Associated Registers ............................................... 331
Calibrating ............................................................... 320
Creating a Delay with ............................................... 328
Effects of a Reset .................................................... 329
Initialization .............................................................. 319
Measuring Capacitance with .................................... 325
 2010 Microchip Technology Inc.
REF
REF
)
)

Related parts for PIC18F46K22-I/MV