PIC18F45K20-E/MV Microchip Technology, PIC18F45K20-E/MV Datasheet - Page 444
![32KB, Flash, 1536bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 UQFN 5x5x0.5mm T](/photos/16/15/161538/qfn-40_sml.jpg)
PIC18F45K20-E/MV
Manufacturer Part Number
PIC18F45K20-E/MV
Description
32KB, Flash, 1536bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 UQFN 5x5x0.5mm T
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet
1.PIC18F25K20T-ISS.pdf
(456 pages)
Specifications of PIC18F45K20-E/MV
Processor Series
PIC18
Core
PIC18F
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
8 KB
Data Ram Size
512 B
Interface Type
I2C, SPI, SCI, USB, MSSP, RJ11
Maximum Clock Frequency
64 MHz
Number Of Programmable I/os
35
Number Of Timers
4
Operating Supply Voltage
1.8 V to 3.6 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Package / Case
UQFN-40
Development Tools By Supplier
MPLAB Integrated Development Environment
Minimum Operating Temperature
- 40 C
Operating Temperature Range
- 40 C to + 125 C
Supply Current (max)
30 uA
Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
35
Eeprom Size
256 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Lead Free Status / Rohs Status
Details
- Current page: 444 of 456
- Download datasheet (4Mb)
PIC18F2XK20/4XK20
BSF .................................................................................. 327
BTFSC ............................................................................. 328
BTFSS .............................................................................. 328
BTG .................................................................................. 329
BZ ..................................................................................... 330
C
C Compilers
CALL ................................................................................ 330
CALLW ............................................................................. 359
Capture (CCP Module) ..................................................... 145
Capture (ECCP Module) .................................................. 174
Capture/Compare/PWM (CCP) ........................................ 143
CCP1CON Register ......................................................... 173
CCP2CON Register ......................................................... 143
Clock Accuracy with Asynchronous Operation ................ 246
Clock Sources
Clock Switching .................................................................. 37
CLRF ................................................................................ 331
CLRWDT .......................................................................... 331
DS41303G-page 444
Detecting .................................................................... 54
Disabling in Sleep Mode ............................................ 54
Minimun Enable Time ................................................ 54
Software Enabled ....................................................... 54
MPLAB C18 ............................................................. 366
Associated Registers ............................................... 148
CCP Pin Configuration ............................................. 145
CCPRxH:CCPRxL Registers ................................... 145
Prescaler .................................................................. 145
Software Interrupt .................................................... 145
Timer1/Timer3 Mode Selection ................................ 145
Capture Mode. See Capture.
CCP Mode and Timer Resources ............................ 144
CCPRxH Register .................................................... 144
CCPRxL Register ..................................................... 144
Compare Mode. See Compare.
Interaction of Two CCP Modules ............................. 144
Module Configuration ............................................... 144
PWM Mode .............................................................. 149
PWM Period ............................................................. 150
Setup for PWM Operation ........................................ 152
Associated registers ................................................... 41
External Modes .......................................................... 30
Internal Modes ........................................................... 32
Selecting the 31 kHz Source ...................................... 28
Selection Using OSCCON Register ........................... 28
Duty Cycle ........................................................ 150
Effects of Reset ................................................ 152
Example PWM Frequencies & Resolutions
Operation in Sleep Mode ................................. 152
Setup for Operation .......................................... 152
System Clock Frequency Changes .................. 152
EC ...................................................................... 30
HS ...................................................................... 31
LP ....................................................................... 31
OST .................................................................... 30
RC ...................................................................... 32
XT ...................................................................... 31
Frequency Selection .......................................... 34
HFINTOSC ......................................................... 32
INTOSC ............................................................. 32
INTOSCIO .......................................................... 32
LFINTOSC ......................................................... 34
Fosc=20 MHZ .......................................... 151
Fosc=40 MHZ .......................................... 151
Fosc=8 MHZ ............................................ 151
CM1CON0 Register ......................................................... 284
CM2CON0 Register ......................................................... 285
CM2CON1 Register ......................................................... 287
Code Examples
Code Protection ............................................................... 299
COMF .............................................................................. 332
Comparator
Comparator Module ......................................................... 279
Comparator Specifications ............................................... 381
Comparator Voltage Reference (CV
Comparator Voltage Reference (CV
Comparators
Compare (CCP Module) .................................................. 147
Compare (ECCP Module) ................................................ 174
Computed GOTO ............................................................... 68
CONFIG1H Register ........................................................ 301
CONFIG2H Register ........................................................ 302
CONFIG2L Register ........................................................ 302
CONFIG3H Register ........................................................ 303
CONFIG4L Register ........................................................ 303
CONFIG5H Register ........................................................ 304
CONFIG5L Register ........................................................ 304
CONFIG6H Register ........................................................ 305
16 x 16 Signed Multiply Routine .............................. 106
16 x 16 Unsigned Multiply Routine .......................... 106
8 x 8 Signed Multiply Routine .................................. 105
8 x 8 Unsigned Multiply Routine .............................. 105
A/D Conversion ........................................................ 270
Changing Between Capture Prescalers ................... 145
Clearing RAM Using Indirect Addressing .................. 83
Computed GOTO Using an Offset Value ................... 68
Data EEPROM Read ............................................... 101
Data EEPROM Refresh Routine .............................. 102
Data EEPROM Write ............................................... 101
Erasing a Flash Program Memory Row ..................... 94
Fast Register Stack ................................................... 68
Implementing a Timer1 Real-Time Clock ................ 164
Initializing PORTA .................................................... 121
Initializing PORTB .................................................... 124
Initializing PORTC ................................................... 127
Initializing PORTD ................................................... 130
Initializing PORTE .................................................... 133
Loading the SSPBUF (SSPSR) Register ................. 196
Reading a Flash Program Memory Word .................. 93
Saving Status, WREG and BSR Registers
Writing to Flash Program Memory ....................... 96–97
Associated Registers ............................................... 288
Operation ................................................................. 279
Operation During Sleep ........................................... 283
Response Time ........................................................ 281
C1 Output State Versus Input Conditions ................ 281
Associated Registers ............................................... 292
Effects of a Reset ............................................ 283, 289
Operation During Sleep ........................................... 289
Overview .................................................................. 289
Response Time ........................................................ 281
Effects of a Reset .................................................... 283
Associated Registers ............................................... 148
CCPRx Register ...................................................... 147
Pin Configuration ..................................................... 147
Software Interrupt .................................................... 147
Special Event Trigger ...................................... 147, 172
Timer1/Timer3 Mode Selection ................................ 147
Special Event Trigger .............................................. 174
in RAM ............................................................. 119
2010 Microchip Technology Inc.
REF
REF
)
)
Related parts for PIC18F45K20-E/MV
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: