PIC18LF4685-I/P Microchip Technology, PIC18LF4685-I/P Datasheet - Page 475
![IC PIC MCU FLASH 48KX16 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC18LF4685-I/P
Manufacturer Part Number
PIC18LF4685-I/P
Description
IC PIC MCU FLASH 48KX16 40DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PCM18XT0.pdf
(484 pages)
3.PIC18F2221-ISO.pdf
(46 pages)
4.PIC18F2682-ISP.pdf
(6 pages)
5.PIC18F2682-ISP.pdf
(4 pages)
Specifications of PIC18LF4685-I/P
Core Size
8-Bit
Program Memory Size
96KB (48K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.25K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Controller Family/series
PIC18
No. Of I/o's
36
Eeprom Memory Size
1024Byte
Ram Memory Size
3.25KB
Cpu Speed
40MHz
No. Of Timers
4
Package
40PDIP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Operating Supply Voltage
2.5|3.3|5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
44
Interface Type
CAN/I2C/SPI/USART
On-chip Adc
11-chx10-bit
Number Of Timers
4
Core
PIC
Processor Series
PIC18LF
Maximum Clock Frequency
40 MHz
Data Ram Size
3.25 KB
Mounting Style
Through Hole
A/d Bit Size
10 bit
A/d Channels Available
11
Height
4.95 mm
Length
53.21 mm
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2 V
Width
14.73 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18LF4685-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18LF4685-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
- PIC16F616T-ISL PDF datasheet
- PCM18XT0 PDF datasheet #2
- PIC18F2221-ISO PDF datasheet #3
- PIC18F2682-ISP PDF datasheet #4
- PIC18F2682-ISP PDF datasheet #5
- Current page: 475 of 484
- Download datasheet (9Mb)
Pinout I/O Descriptions
PIR Registers ................................................................... 120
PLL Frequency Multiplier ................................................... 27
PLL Lock Time-out ............................................................. 47
POP ................................................................................. 394
POR. See Power-on Reset.
PORTA
PORTB
PORTC
PORTD
PORTE
Postscaler, WDT
© 2009 Microchip Technology Inc.
RD0/PSP0/C1IN+ ...................................................... 22
RD1/PSP1/C1IN- ....................................................... 22
RD2/PSP2/C2IN+ ...................................................... 22
RD3/PSP3/C2IN- ....................................................... 22
RD4/PSP4/ECCP1/P1A ............................................. 22
RD5/PSP5/P1B .......................................................... 22
RD6/PSP6/P1C .......................................................... 22
RD7/PSP7/P1D .......................................................... 22
RE0/RD/AN5 .............................................................. 23
RE1/WR/AN6/C1OUT ................................................ 23
RE2/CS/AN7/C2OUT ................................................. 23
V
V
PIC18F2682/2685 ...................................................... 14
PIC18F4682/4685 ...................................................... 18
HSPLL Oscillator Mode .............................................. 27
INTOSC Modes .......................................................... 28
Use with INTOSC ....................................................... 27
Associated Registers ............................................... 133
I/O Summary ............................................................ 132
LATA Register .......................................................... 131
PORTA Register ...................................................... 131
TRISA Register ........................................................ 131
Associated Registers ............................................... 136
I/O Summary ............................................................ 135
LATB Register .......................................................... 134
PORTB Register ...................................................... 134
RB7:RB4 Interrupt-on-Change Flag (RBIF Bit) ........ 134
TRISB Register ........................................................ 134
Associated Registers ............................................... 139
I/O Summary ............................................................ 138
LATC Register ......................................................... 137
PORTC Register ...................................................... 137
RC3/SCK/SCL Pin ................................................... 203
TRISC Register ........................................................ 137
Associated Registers ............................................... 142
I/O Summary ............................................................ 141
LATD Register ......................................................... 140
Parallel Slave Port (PSP) Function .......................... 140
PORTD Register ...................................................... 140
TRISD Register ........................................................ 140
Associated Registers ............................................... 145
I/O Summary ............................................................ 145
LATE Register .......................................................... 143
PORTE Register ...................................................... 143
PSP Mode Select (PSPMODE Bit) .......................... 140
TRISE Register ........................................................ 143
Assignment (PSA Bit) .............................................. 151
Rate Select (T0PS2:T0PS0 Bits) ............................. 151
Switching Between Timer0 and WDT ...................... 151
DD
SS
....................................................................... 17, 23
...................................................................... 17, 23
PIC18F2682/2685/4682/4685
Power-Managed Modes ..................................................... 35
Power-on Reset (POR) ...................................................... 45
Power-up Delays ............................................................... 33
Power-up Timer (PWRT) ............................................. 33, 47
Prescaler
Prescaler, Timer0 ............................................................ 151
Prescaler, Timer2 ............................................................ 172
PRI_IDLE Mode ................................................................. 40
PRI_RUN Mode ................................................................. 36
Program Counter ............................................................... 64
Program Memory
Program Verification and Code Protection ...................... 360
Programming, Device Instructions ................................... 365
PSP. See Parallel Slave Port.
Pulse-Width Modulation. See PWM (CCP1/ECCP1 Modules).
PUSH ............................................................................... 394
PUSH and POP Instructions .............................................. 65
PUSHL ............................................................................. 410
PWM (CCP1 Module)
Clock Sources ........................................................... 35
Clock Transitions and Status Indicators .................... 36
Entering ..................................................................... 35
Exiting Idle and Sleep Modes .................................... 41
Idle Modes ................................................................. 39
Multiple Sleep Commands ......................................... 36
Run Modes ................................................................ 36
Selecting .................................................................... 35
Sleep Mode ............................................................... 39
Summary (table) ........................................................ 35
Power-up Timer (PWRT) ........................................... 47
Time-out Sequence ................................................... 47
Timer2 ..................................................................... 178
Assignment (PSA Bit) .............................................. 151
Rate Select (T0PS2:T0PS0 Bits) ............................. 151
Switching Between Timer0 and WDT ...................... 151
PCL, PCH and PCU Registers .................................. 64
PCLATH and PCLATU Registers .............................. 64
Code Protection ....................................................... 361
Extended Instruction Set ........................................... 93
Instructions ................................................................ 68
Interrupt Vector .......................................................... 63
Look-up Tables .......................................................... 66
Map and Stack (diagram) .......................................... 63
Reset Vector .............................................................. 63
Associated Registers ............................................... 361
Associated Registers ............................................... 173
CCPR1H:CCPR1L Registers .................................. 171
Duty Cycle ............................................................... 171
Example Frequencies/Resolutions .......................... 172
Period ...................................................................... 171
Setup for PWM Operation ....................................... 172
TMR2 to PR2 Match ................................................ 171
By Interrupt ........................................................ 41
By Reset ............................................................ 41
By WDT Time-out .............................................. 41
Without an Oscillator Start-up Delay ................. 42
PRI_IDLE .......................................................... 40
RC_IDLE ........................................................... 41
SEC_IDLE ......................................................... 40
PRI_RUN ........................................................... 36
RC_RUN ............................................................ 37
SEC_RUN ......................................................... 36
Two-Word .......................................................... 68
DS39761C-page 475
Related parts for PIC18LF4685-I/P
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: