PIC18F2580-E/SP Microchip Technology, PIC18F2580-E/SP Datasheet - Page 476
![IC PIC MCU FLASH 16KX16 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC18F2580-E/SP
Manufacturer Part Number
PIC18F2580-E/SP
Description
IC PIC MCU FLASH 16KX16 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC18F2221-ISO.pdf
(46 pages)
2.PIC18F4480-IPT.pdf
(490 pages)
3.PIC18F4480-IPT.pdf
(8 pages)
4.PIC18F4480-IPT.pdf
(6 pages)
5.PIC18F4480-IPT.pdf
(6 pages)
6.PIC18F2580-ESO.pdf
(483 pages)
Specifications of PIC18F2580-E/SP
Program Memory Type
FLASH
Program Memory Size
32KB (16K x 16)
Package / Case
28-DIP (0.300", 7.62mm)
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
25
Eeprom Size
256 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1.5 KB
Interface Type
SPI/I2C/MSSP/EUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
25
Number Of Timers
4
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DM163011, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA18XP280 - DEVICE ADAPTER 18F2220 PDIP 28LD
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18F2580-E/SP
Manufacturer:
Microchip Technology
Quantity:
135
- PIC18F2221-ISO PDF datasheet
- PIC18F4480-IPT PDF datasheet #2
- PIC18F4480-IPT PDF datasheet #3
- PIC18F4480-IPT PDF datasheet #4
- PIC18F4480-IPT PDF datasheet #5
- PIC18F2580-ESO PDF datasheet #6
- Current page: 476 of 490
- Download datasheet (9Mb)
PIC18F2480/2580/4480/4580
BSF .................................................................................. 379
BTFSC ............................................................................. 380
BTFSS .............................................................................. 380
BTG .................................................................................. 381
BZ ..................................................................................... 382
C
C Compilers
CALL ................................................................................ 382
CALLW ............................................................................. 411
CAN Module
Capture (CCP Module) ..................................................... 169
Capture (ECCP Module) .................................................. 178
Capture/Compare/PWM (CCP) ........................................ 167
Clock Sources .................................................................... 34
Clocking Scheme/Instruction Cycle .................................... 71
CLRF ................................................................................ 383
CLRWDT .......................................................................... 383
Code Examples
DS39637D-page 476
MPLAB C18 ............................................................. 418
External-Internal Clock in HS-PLL
Associated Registers ............................................... 172
CCP1/ECCP1 Pin Configuration .............................. 169
CCPR1H:CCPR1L Registers ................................... 169
Software Interrupt .................................................... 169
Timer1/Timer3 Mode Selection ................................ 169
Capture Mode. See Capture.
CCP Mode and Timer Resources ............................ 168
CCPRxH Register .................................................... 168
CCPRxL Register ..................................................... 168
Compare Mode. See Compare.
Interaction Between CCP1 and ECCP1
Module Configuration ............................................... 168
PWM Mode. See PWM.
Selecting the 31 kHz Source ...................................... 35
Selection Using OSCCON Register ........................... 35
16 x 16 Signed Multiply Routine .............................. 118
16 x 16 Unsigned Multiply Routine .......................... 118
8 x 8 Signed Multiply Routine .................................. 117
8 x 8 Unsigned Multiply Routine .............................. 117
Changing Between Capture Prescalers ................... 169
Changing to Configuration Mode ............................. 284
Computed GOTO Using an Offset Value ................... 70
Data EEPROM Read ............................................... 113
Data EEPROM Refresh Routine .............................. 114
Data EEPROM Write ............................................... 113
Erasing a Flash Program Memory Row ................... 106
Fast Register Stack .................................................... 70
How to Clear RAM (Bank 1) Using
Implementing a Real-Time Clock Using
Initializing PORTA .................................................... 135
Initializing PORTB .................................................... 138
Initializing PORTC .................................................... 141
Initializing PORTD .................................................... 143
Initializing PORTE .................................................... 146
Loading the SSPBUF (SSPSR) Register ................. 194
Reading a CAN Message ........................................ 299
Reading a Flash Program Memory Word ................ 105
Saving STATUS, WREG and BSR
Transmitting a CAN Message Using
Based Oscillators ............................................. 339
for Timer Resources ........................................ 168
Indirect Addressing ............................................ 95
a Timer1 Interrupt Service ............................... 159
Registers in RAM ............................................. 134
Banked Method ................................................ 292
Code Protection ............................................................... 349
COMF .............................................................................. 384
Comparator ...................................................................... 263
Comparator Specifications ............................................... 436
Comparator Voltage Reference ....................................... 269
Compare (CCP Module) .................................................. 171
Compare (ECCP Module) ................................................ 178
Configuration Bits ............................................................ 349
Configuration Mode ......................................................... 330
Configuration Register Protection .................................... 366
Context Saving During Interrupts ..................................... 134
Conversion Considerations .............................................. 472
CPFSEQ .......................................................................... 384
CPFSGT .......................................................................... 385
CPFSLT ........................................................................... 385
Crystal Oscillator/Ceramic Resonator ................................ 29
Customer Change Notification Service ............................ 486
Customer Notification Service ......................................... 486
Customer Support ............................................................ 486
D
Data Addressing Modes .................................................... 95
Data EEPROM Code Protection ...................................... 366
Data EEPROM Memory ................................................... 111
Transmitting a CAN Message Using WIN Bits ......... 292
WIN and ICODE Bits Usage in Interrupt Service
Writing to Flash Program Memory ................... 108–109
Analog Input Connection Considerations ................ 267
Associated Registers ............................................... 267
Configuration ........................................................... 264
Effects of a Reset .................................................... 266
Interrupts ................................................................. 266
Operation ................................................................. 265
Operation During Sleep ........................................... 266
Outputs .................................................................... 265
Reference ................................................................ 265
Response Time ........................................................ 265
Accuracy and Error .................................................. 270
Associated Registers ............................................... 271
Configuring .............................................................. 269
Connection Considerations ...................................... 270
Effects of a Reset .................................................... 270
Operation During Sleep ........................................... 270
Associated Registers ............................................... 172
CCP Pin Configuration ............................................. 171
CCPR1 Register ...................................................... 171
Software Interrupt .................................................... 171
Special Event Trigger .............................. 165, 171, 262
Timer1/Timer3 Mode Selection ................................ 171
Special Event Trigger .............................................. 178
Comparing Addressing Modes with the
Direct ......................................................................... 95
Indexed Literal Offset ................................................ 98
Indirect ....................................................................... 95
Inherent and Literal .................................................... 95
Associated Registers ............................................... 115
EEADR Register ...................................................... 111
EECON1 and EECON2 Registers ........................... 111
Operation During Code-Protect ............................... 114
Protection Against Spurious Write ........................... 114
Reading ................................................................... 113
Using ....................................................................... 114
Routine to Access TX/RX Buffers .................... 284
External Signal ................................................ 265
Internal Signal .................................................. 265
Extended Instruction Set Enabled ..................... 99
© 2009 Microchip Technology Inc.
Related parts for PIC18F2580-E/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18F258-I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 16KX16 CAN 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F258-I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 16KX16 CAN 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F258](/images/no-image3.png)
Part Number:
Description:
High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC18F258-I/SOG](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 16KX16 28SOIC
Manufacturer:
Microchip Technology
![PIC18F258-E/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 16KX16 W/CAN 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F258-E/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 16KX16 CAN 28-SOIC
Manufacturer:
Microchip Technology
Datasheet:
![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:
![PIC18F65K90T-I/PT](/photos/16/3/160367/tqfp-64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F87K90T-I/PT](/photos/40/31/403173/tqfp-80_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm T/
Manufacturer:
Microchip Technology
Datasheet: