PIC18F4585-E/P Microchip Technology, PIC18F4585-E/P Datasheet - Page 471
![IC MCU FLASH 24KX16 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC18F4585-E/P
Manufacturer Part Number
PIC18F4585-E/P
Description
IC MCU FLASH 24KX16 40DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC18F2221-ISO.pdf
(46 pages)
3.PIC18F4585-IPT.pdf
(482 pages)
4.PIC18F4585-IPT.pdf
(14 pages)
5.PIC18F4585-IPT.pdf
(8 pages)
6.PIC18F4585-IPT.pdf
(12 pages)
7.PIC18F4585-IPT.pdf
(4 pages)
Specifications of PIC18F4585-E/P
Core Processor
PIC
Core Size
8-Bit
Speed
25MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
48KB (24K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.25K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
40-DIP (0.600", 15.24mm)
For Use With
I3-DB18F4680 - BOARD DAUGHTER ICEPIC3DVA18XP400 - DEVICE ADAPTER 18F4220 PDIP 40LDACICE0206 - ADAPTER MPLABICE 40P 600 MIL
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18F4585-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
- PIC16F616T-ISL PDF datasheet
- PIC18F2221-ISO PDF datasheet #2
- PIC18F4585-IPT PDF datasheet #3
- PIC18F4585-IPT PDF datasheet #4
- PIC18F4585-IPT PDF datasheet #5
- PIC18F4585-IPT PDF datasheet #6
- PIC18F4585-IPT PDF datasheet #7
- Current page: 471 of 482
- Download datasheet (9Mb)
ID Locations ............................................................. 343, 360
INCF ................................................................................. 382
INCFSZ ............................................................................ 383
In-Circuit Debugger .......................................................... 360
In-Circuit Serial Programming (ICSP) ...................... 343, 360
Indexed Literal Offset Addressing Mode .......................... 408
Indexed Literal Offset Mode ......................................... 91, 93
Indirect Addressing ............................................................ 89
INFSNZ ............................................................................ 383
Initialization Conditions for all Registers ...................... 49–60
Instruction Cycle ................................................................ 65
Instruction Flow/Pipelining ................................................. 65
Instruction Set .................................................................. 361
© 2007 Microchip Technology Inc.
Sleep Operation ....................................................... 221
Stop Condition Timing .............................................. 220
and Standard PIC18 Instructions ............................. 408
Clocking Scheme ....................................................... 65
ADDLW .................................................................... 367
ADDWF .................................................................... 367
ADDWF (Indexed Literal Offset mode) .................... 409
ADDWFC ................................................................. 368
ANDLW .................................................................... 368
ANDWF .................................................................... 369
BC ............................................................................ 369
BCF .......................................................................... 370
BN ............................................................................ 370
BNC ......................................................................... 371
BNN ......................................................................... 371
BNOV ....................................................................... 372
BNZ .......................................................................... 372
BOV ......................................................................... 375
BRA .......................................................................... 373
BSF .......................................................................... 373
BSF (Indexed Literal Offset mode) .......................... 409
BTFSC ..................................................................... 374
BTFSS ..................................................................... 374
BTG .......................................................................... 375
BZ ............................................................................ 376
CALL ........................................................................ 376
CLRF ........................................................................ 377
CLRWDT .................................................................. 377
COMF ...................................................................... 378
CPFSEQ .................................................................. 378
CPFSGT .................................................................. 379
CPFSLT ................................................................... 379
DAW ......................................................................... 380
DCFSNZ .................................................................. 381
DECF ....................................................................... 380
DECFSZ ................................................................... 381
Extended Instructions .............................................. 403
General Format ........................................................ 363
GOTO ...................................................................... 382
INCF ......................................................................... 382
INCFSZ .................................................................... 383
INFSNZ .................................................................... 383
IORLW ..................................................................... 384
IORWF ..................................................................... 384
LFSR ........................................................................ 385
MOVF ....................................................................... 385
MOVFF .................................................................... 386
MOVLB .................................................................... 386
MOVLW ................................................................... 387
and Using MPLAB Tools .................................. 410
Considerations when Enabling ........................ 408
Syntax .............................................................. 403
PIC18F2585/2680/4585/4680
Preliminary
INTCON Register
INTCON Registers ........................................................... 115
Inter-Integrated Circuit. See I
Internal Oscillator Block ..................................................... 26
Internal RC Oscillator
Internet Address .............................................................. 476
Interrupt Sources ............................................................. 343
Interrupts ......................................................................... 113
Interrupts, Flag Bits
INTOSC Frequency Drift .................................................... 26
INTOSC, INTRC. See Internal Oscillator Block.
IORLW ............................................................................. 384
IORWF ............................................................................. 384
IPR Registers ................................................................... 124
MOVWF ................................................................... 387
MULLW .................................................................... 388
MULWF ................................................................... 388
NEGF ....................................................................... 389
NOP ......................................................................... 389
POP ......................................................................... 390
PUSH ....................................................................... 390
RCALL ..................................................................... 391
RESET ..................................................................... 391
RETFIE .................................................................... 392
RETLW .................................................................... 392
RETURN .................................................................. 393
RLCF ....................................................................... 393
RLNCF ..................................................................... 394
RRCF ....................................................................... 394
RRNCF .................................................................... 395
SETF ....................................................................... 395
SETF (Indexed Literal Offset mode) ........................ 409
SLEEP ..................................................................... 396
Standard Instructions ............................................... 361
SUBFWB ................................................................. 396
SUBLW .................................................................... 397
SUBWF .................................................................... 397
SUBWFB ................................................................. 398
SWAPF .................................................................... 398
TBLRD ..................................................................... 399
TBLWT .................................................................... 400
TSTFSZ ................................................................... 401
XORLW ................................................................... 401
XORWF ................................................................... 402
Summary Table ....................................................... 364
RBIF Bit ................................................................... 132
Adjustment ................................................................. 26
INTIO Modes ............................................................. 26
INTOSC Output Frequency ....................................... 26
OSCTUNE Register ................................................... 26
Use with WDT .......................................................... 352
A/D Conversion Complete ....................................... 251
Capture Complete (CCP1) ...................................... 165
Compare Complete (CCP1) .................................... 167
ECAN Module .......................................................... 339
Interrupt-on-Change (RB7:RB4) .............................. 132
INTn Pin ................................................................... 128
PORTB, Interrupt-on-Change .................................. 128
TMR0 ....................................................................... 128
TMR0 Overflow ........................................................ 149
TMR2 to PR2 Match (PWM) ............................ 169, 175
TMR3 Overflow ........................................ 151, 159, 161
Logic (diagram) ........................................................ 114
Interrupt-on-Change (RB7:RB4) Flag
(RBIF Bit) ......................................................... 132
2
C.
DS39625C-page 469
Related parts for PIC18F4585-E/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18F458-I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU CAN FLSH 16K 40MHZ 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F458-I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 16KX16 CAN 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F458-I/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 16KX16 CAN 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F458-I/PTG](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 16KX16 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F458-E/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 16KX16 W/CAN 40 DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F458-E/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 16KX16 W/CAN 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F458-E/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,TQFP,44PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F458](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
(PIC18Fxx8) 28/40-Pin High-Performance / Enhanced Flash Microcontrollers with CAN Module
Manufacturer:
Microchip Technology
![PIC18F6393T-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6493T-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F8393T-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F8493T-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6585-I/L](/photos/16/12/161282/68-plcc-large-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) 48KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6680-I/L](/photos/16/12/161282/68-plcc-large-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) 64KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90T-I/MR](/photos/16/3/160368/qfn64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm T/R
Manufacturer:
Microchip Technology
Datasheet: