PIC18LF4520-I/PT Microchip Technology Inc., PIC18LF4520-I/PT Datasheet - Page 383
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC18LF4520-I/PT
Manufacturer Part Number
PIC18LF4520-I/PT
Description
44 Pin, 32 KB Flash, 1536 RAM, 36 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC18LF4520-IPT.pdf
(390 pages)
Specifications of PIC18LF4520-I/PT
A/d Inputs
13-Channel, 10-Bit
Comparators
2
Cpu Speed
10 MIPS
Eeprom Memory
256 Bytes
Input Output
36
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
44-pin TQFP
Programmable Memory
32K Bytes
Ram Size
1.5K Bytes
Speed
40 MHz
Timers
1-8-bit, 3-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18LF4520-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18LF4520-I/PT
Manufacturer:
MICROCHI
Quantity:
20 000
- Current page: 383 of 390
- Download datasheet (8Mb)
Program Memory
Program Verification and Code Protection ....................... 263
Programming, Device Instructions ................................... 267
PSP. See Parallel Slave Port.
Pulse-Width Modulation. See PWM (CCP Module)
PUSH ............................................................................... 296
PUSH and POP Instructions .............................................. 55
PUSHL ............................................................................. 312
PWM (CCP Module)
PWM (ECCP Module) ...................................................... 149
Q
Q Clock .................................................................... 145, 150
R
RAM. See Data Memory.
RBIF Bit ............................................................................ 108
RC Oscillator ...................................................................... 25
RC_IDLE Mode .................................................................. 39
RC_RUN Mode .................................................................. 35
RCALL ............................................................................. 297
RCON Register
Register File ....................................................................... 62
Register File Summary ................................................ 64–66
2004 Microchip Technology Inc.
and Extended Instruction Set ..................................... 72
Code Protection ....................................................... 264
Instructions ................................................................. 58
Interrupt Vector .......................................................... 53
Look-up Tables .......................................................... 56
Map and Stack (diagram) ........................................... 53
Reset Vector .............................................................. 53
Associated Registers ............................................... 263
and PWM (ECCP Module).
Associated Registers ............................................... 146
Auto-Shutdown (CCP1 only) .................................... 145
CCPR1H:CCPR1L Registers ................................... 149
Duty Cycle ........................................................ 144, 150
Example Frequencies/Resolutions .................. 145, 150
Period ............................................................... 144, 149
Setup for PWM Operation ........................................ 145
TMR2 to PR2 Match ........................................ 144, 149
Direction Change in Full-Bridge
Effects of a Reset ..................................................... 159
Enhanced PWM Auto-Shutdown ............................. 156
Full-Bridge Application Example .............................. 154
Full-Bridge Mode ...................................................... 153
Half-Bridge Mode ..................................................... 152
Half-Bridge Output Mode
Operation in Power Managed Modes ...................... 159
Operation with Fail-Safe Clock Monitor ................... 159
Output Configurations .............................................. 150
Output Relationships (Active-High) .......................... 151
Output Relationships (Active-Low) ........................... 151
Programmable Dead-Band Delay ............................ 156
Setup for PWM Operation ........................................ 159
Start-up Considerations ........................................... 158
RCIO Oscillator Mode ................................................ 25
Bit Status During Initialization .................................... 48
Two-Word .......................................................... 58
Output Mode .................................................... 154
Applications Example ...................................... 152
PIC18F2420/2520/4420/4520
Preliminary
Registers
RESET ............................................................................. 297
Reset State of Registers .................................................... 48
Resets ....................................................................... 41, 249
ADCON0 (A/D Control 0) ......................................... 223
ADCON1 (A/D Control 1) ......................................... 224
ADCON2 (A/D Control 2) ......................................... 225
BAUDCON (Baud Rate Control) .............................. 204
CCP1CON (Enhanced
CCPxCON (Standard
CMCON (Comparator Control) ................................ 233
CONFIG1H (Configuration 1 High) .......................... 250
CONFIG2H (Configuration 2 High) .......................... 252
CONFIG2L (Configuration 2 Low) ........................... 251
CONFIG3H (Configuration 3 High) .......................... 253
CONFIG4L (Configuration 4 Low) ........................... 253
CONFIG5H (Configuration 5 High) .......................... 254
CONFIG5L (Configuration 5 Low) ........................... 254
CONFIG6H (Configuration 6 High) .......................... 255
CONFIG6L (Configuration 6 Low) ........................... 255
CONFIG7H (Configuration 7 High) .......................... 256
CONFIG7L (Configuration 7 Low) ........................... 256
CVRCON (Comparator Voltage
DEVID1 (Device ID 1) .............................................. 257
DEVID2 (Device ID 2) .............................................. 257
ECCP1AS (ECCP Auto-Shutdown Control) ............ 157
EECON1 (Data EEPROM Control 1) ................... 75, 84
HLVDCON (High/Low-Voltage Detect Control) ....... 243
INTCON (Interrupt Control) ....................................... 93
INTCON2 (Interrupt Control 2) .................................. 94
INTCON3 (Interrupt Control 3) .................................. 95
IPR1 (Peripheral Interrupt Priority 1) ....................... 100
IPR2 (Peripheral Interrupt Priority 2) ....................... 101
OSCCON (Oscillator Control) .................................... 30
OSCTUNE (Oscillator Tuning) ................................... 27
PIE1 (Peripheral Interrupt Enable 1) ......................... 98
PIE2 (Peripheral Interrupt Enable 2) ......................... 99
PIR1 (Peripheral Interrupt Request (Flag) 1) ............. 96
PIR2 (Peripheral Interrupt Request (Flag) 2) ............. 97
PWM1CON (PWM Configuration) ........................... 156
RCON (Reset Control) ....................................... 42, 102
RCSTA (Receive Status and Control) ..................... 203
SSPCON1 (MSSP Control 1, I
SSPCON1 (MSSP Control 1, SPI Mode) ................ 163
SSPCON2 (MSSP Control 2, I
SSPSTAT (MSSP Status, I
SSPSTAT (MSSP Status, SPI Mode) ...................... 162
Status ........................................................................ 67
STKPTR (Stack Pointer) ............................................ 55
T0CON (Timer0 Control) ......................................... 123
T1CON (Timer1 Control) ......................................... 127
T2CON (Timer2 Control) ......................................... 133
T3CON (Timer3 Control) ......................................... 135
TRISE (PORTE/PSP Control) ................................. 118
TXSTA (Transmit Status and Control) ..................... 202
WDTCON (Watchdog Timer Control) ...................... 259
Brown-out Reset (BOR) ........................................... 249
Oscillator Start-up Timer (OST) ............................... 249
Power-on Reset (POR) ............................................ 249
Power-up Timer (PWRT) ......................................... 249
Capture/Compare/PWM Control 1) ................. 147
Capture/Compare/PWM Control) .................... 139
Reference Control) .......................................... 239
2
C Mode) ...................... 171
2
2
C Mode) ................. 172
C Mode) ................. 173
DS39631A-page 381
Related parts for PIC18LF4520-I/PT
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18LF452-I/PT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
44 PIN, 32 KB FLASH, 1536 RAM, 34 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
![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: