PIC18F6680-I/L Microchip Technology, PIC18F6680-I/L Datasheet - Page 171

Microcontrollers (MCU) 64KB 3328 RAM 52 I/O

PIC18F6680-I/L

Manufacturer Part Number
PIC18F6680-I/L
Description
Microcontrollers (MCU) 64KB 3328 RAM 52 I/O
Manufacturer
Microchip Technology
Datasheet

Specifications of PIC18F6680-I/L

Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3.25 KB
Interface Type
I2C/SPI/AUSART/CAN
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
53
Number Of Timers
5
Operating Supply Voltage
4.2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
12-ch x 10-bit
Program Memory Type
Flash
Program Memory Size
64 KB
Package / Case
PLCC-68
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F6680-I/L
Manufacturer:
RUBYCON
Quantity:
46 000
Part Number:
PIC18F6680-I/L
Manufacturer:
MICROCH
Quantity:
20 000
15.1
Both CCP1 and CCP2 are comprised of two 8-bit
registers: CCPRxL (low byte) and CCPRxH (high byte),
1
operation of CCPx. All are readable and writable.
Table 15-1 shows the timer resources of the CCP
module modes.
TABLE 15-1:
15.2
In Capture mode, CCPRxH:CCPRxL captures the
16-bit value of the TMR1 or TMR3 register when an
event occurs on pin CCPn. An event is defined as:
• every falling edge
• every rising edge
• every 4th rising edge
• every 16th rising edge
TABLE 15-2:
 2004 Microchip Technology Inc.
Capture
Capture
Compare
PWM
PWM
PWM
x
CCP1
Mode
2. The CCPxCON register controls the
CCP Mode
Compare
CCP Module
Capture Mode
Capture
PWM
Capture
Compare
Compare
PWM
Capture
Compare
CCP MODE – TIMER
RESOURCE
INTERACTION OF CCP MODULES
Mode
CCP2
TMR1 or TMR3 time base. Time base can be different for each CCP.
The compare could be configured for the special event trigger which clears either TMR1
or TMR3 depending upon which time base is used.
The compare(s) could be configured for the special event trigger which clears TMR1 or
TMR3 depending upon which time base is used.
The PWMs will have the same frequency and update rate (TMR2 interrupt).
None.
None.
Timer Resource
Timer1 or Timer3
Timer1 or Timer3
Timer2
PIC18F6585/8585/6680/8680
An event is selected by control bits CCPxM3:CCPxM0
(CCPxCON<3:0>). When a capture is made, the inter-
rupt request flag bit, CCPxIF (PIR registers), is set. It
must be cleared in software. If another capture occurs
before the value in register CCPRx is read, the old
captured value will be lost.
15.2.1
In Capture mode, the CCPx pin should be configured
as an input by setting the appropriate TRIS bit.
15.2.2
The timer used with each CCP module is selected in
the T3CCP2:T3CCP1 bits of the T3CON register. The
timers used with the capture feature (either Timer1 or
Timer3) must be running in Timer mode or Synchro-
nized Counter mode. In Asynchronous Counter mode,
the capture operation may not work.
Note:
Interaction
CCP PIN CONFIGURATION
If the CCPx is configured as an output, a
write to the port can cause a capture
condition.
TIMER1/TIMER3 MODE SELECTION
DS30491C-page 169

Related parts for PIC18F6680-I/L