PIC18F2680-H/SP Microchip Technology, PIC18F2680-H/SP Datasheet - Page 176
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC18F2680-H/SP
Manufacturer Part Number
PIC18F2680-H/SP
Description
IC MCU 8BIT 48KB FLASH 28SPDIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheet
1.PIC18F4585-IPT.pdf
(482 pages)
Specifications of PIC18F2680-H/SP
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
Program Memory Size
64KB (32K 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 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 150°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
- Current page: 176 of 482
- Download datasheet (9Mb)
PIC18F2585/2680/4585/4680
In addition to the expanded range of modes available
through the CCP1CON register, the ECCP1 module
has two additional registers associated with Enhanced
PWM operation and auto-shutdown features. They are:
• ECCP1DEL (Dead-band delay)
• ECCP1AS (Auto-shutdown configuration)
16.1
The Enhanced CCP1 module may have up to four
PWM outputs, depending on the selected operating
mode. These outputs, designated P1A through P1D,
are multiplexed with I/O pins on PORTC and PORTD.
The outputs that are active depend on the CCP1
operating mode selected. The pin assignments are
summarized in Table 16-1.
To configure the I/O pins as PWM outputs, the proper
PWM mode must be selected by setting the
EPWM1M1:EPWM1M0 and CCP1M3:CCP1M0 bits.
The appropriate TRISC and TRISD direction bits for the
port pins must also be set as outputs.
16.1.1
Like the standard CCP1 modules, the ECCP1 module
can utilize Timers 1, 2 or 3, depending on the mode
selected. Timer1 and Timer3 are available for modules
in Capture or Compare modes, while Timer2 is
available for modules in PWM mode. Interactions
between the standard and Enhanced CCP1 modules
are identical to those described for standard CCP1
modules. Additional details on timer resources are
provided in Section 15.1.1 “CCP1 Modules and
Timer Resources”.
TABLE 16-1:
DS39625C-page 174
Compatible CCP1
Dual PWM
Quad PWM
Legend: x = Don’t care. Shaded cells indicate pin assignments not used by ECCP1 in a given mode.
ECCP1 Mode
ECCP1 Outputs and Configuration
ECCP1 MODULES AND TIMER
RESOURCES
PIN ASSIGNMENTS FOR VARIOUS ECCP1 MODES
Configuration
00xx 11xx
10xx 11xx
x1xx 11xx
CCP1CON
All PIC18F4585/4680 devices:
Preliminary
CCP1
RD4
P1A
P1A
discussed below, the Capture and Compare modes of
16.2
Except for the operation of the special event trigger
the ECCP1 module are identical in operation to that of
CCP1. These are discussed in detail in Section 15.2
“Capture Mode” and Section 15.3 “Compare Mode”.
16.2.1
The special event trigger output of ECCP1 resets the
TMR1 or TMR3 register pair, depending on which timer
resource is currently selected. This allows the ECCP1
register to effectively be a 16-bit programmable period
register for Timer1 or Timer3. The special event trigger
for ECCP1 can also start an A/D conversion. In order to
start the conversion, the A/D converter must be
previously enabled.
16.3
When configured in Single Output mode, the ECCP1
module functions identically to the standard CCP1
module in PWM mode, as described in Section 15.4
“PWM Mode”. This is also sometimes referred to as
“Compatible CCP1” mode, as in Table 16-1.
Note: When
RD5/PSP5
RD5
P1B
P1B
Capture and Compare Modes
Standard PWM Mode
operations, users are free to use either of the
processes
“Setup
Section 16.4.9 “Setup for PWM Operation”.
The latter is more generic but will work for
either single or multi-output PWM.
SPECIAL EVENT TRIGGER
setting
for
described
RD6/PSP6
RD6/PSP6
© 2007 Microchip Technology Inc.
RD6
P1C
up
PWM
single
in
Operation”
Section 15.4.4
output
RD7/PSP7
RD7/PSP7
RD7
P1D
PWM
or
Related parts for PIC18F2680-H/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18F-LF1XK50](/images/no-image3.png)
Part Number:
Description:
20-Pin USB Flash Microcontrollers
Manufacturer:
MICROCHIP [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:
![PIC18F65K90-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 TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90-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 TRAY
Manufacturer:
Microchip Technology
![PIC18F87K90-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 TR
Manufacturer:
Microchip Technology