DV164136 Microchip Technology, DV164136 Datasheet - Page 198

DEVELOPMENT KIT FOR PIC18

DV164136

Manufacturer Part Number
DV164136
Description
DEVELOPMENT KIT FOR PIC18
Manufacturer
Microchip Technology
Series
PIC®r
Type
MCUr
Datasheets

Specifications of DV164136

Contents
Board, Cables, CDs, PICkit™ 3 Programmer, Power Supply
Processor To Be Evaluated
PIC18F8722, PIC18F87J11
Interface Type
RS-232, USB
Operating Supply Voltage
3.3 V, 5 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC18
Silicon Core Number
PIC18F
Silicon Family Name
PIC18F8xxx
Kit Contents
PIC18 Exp Brd PICkit 3 Cable CD PSU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC18F8722, PIC18F87J11
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DV164136
Manufacturer:
MICROCHIP
Quantity:
12 000
PIC18F87J11 FAMILY
17.1
Each Capture/Compare/PWM module is associated
with a control register (generically, CCPxCON) and a
data register (CCPRx). The data register, in turn, is
comprised of two 8-bit registers: CCPRxL (low byte)
and CCPRxH (high byte). All registers are both
readable and writable.
17.1.1
The ECCP/CCP modules utilize Timers 1, 2, 3 or 4,
depending on the mode selected. Timer1 and Timer3
are available to modules in Capture or Compare
modes, while Timer2 and Timer4 are available for
modules in PWM mode.
TABLE 17-1:
FIGURE 17-1:
DS39778D-page 198
Timer1 is used for all Capture
and Compare operations for
all CCP modules. Timer2 is
used for PWM operations for
all CCP modules. Modules
may
resource as a common time
base.
Timer3 and Timer4 are not
available.
ECCP1
ECCP2
ECCP3
TMR1
CCP4
CCP5
TMR2
T3CCP<2:1> = 00
CCP Mode
Compare
share
Capture
CCP Module Configuration
PWM
CCP MODULES AND TIMER
RESOURCES
either
CCP MODE – TIMER
RESOURCE
TMR3
TMR4
ECCPx/CCPx AND TIMER INTERCONNECT CONFIGURATIONS
timer
Timer1 and Timer2 are used
for Capture and Compare or
PWM operations for ECCP1
only (depending on selected
mode).
All other modules use either
Timer3 or Timer4. Modules
may
resource as a common time
base
Capture/Compare or PWM
modes.
Timer1 or Timer3
Timer1 or Timer3
Timer2 or Timer4
Timer Resource
ECCP1
TMR1
TMR2
T3CCP<2:1> = 01
share
if
they
either
ECCP2
ECCP3
TMR3
TMR4
CCP4
CCP5
are
timer
in
Timer1 and Timer2 are used
for Capture and Compare or
PWM operations for ECCP1
and ECCP2 only (depending
on the mode selected for each
module). Both modules may
use a timer as a common time
base if they are both in
Capture/Compare or PWM
modes.
The other modules use either
Timer3 or Timer4. Modules
may
resource as a common time
base
Capture/Compare or PWM
modes.
The assignment of a particular timer to a module is
determined by the timer to CCP enable bits in the
T3CON register (Register 15-1, page 191). Depending
on the configuration selected, up to four timers may be
active at once, with modules in the same configuration
(Capture/Compare or PWM) sharing timer resources.
The possible configurations are shown in Figure 17-1.
17.1.2
When operating in Output mode (i.e., in Compare or
PWM modes), the drivers for the CCP pins can be
optionally configured as open-drain outputs. This feature
allows the voltage level on the pin to be pulled to a higher
level through an external pull-up resistor, and allows the
output to communicate with external circuits without the
need for additional level shifters. For more information,
see Section 10.1.4 “Open-Drain Outputs”.
The open-drain output option is controlled by the bits in
the ODCON1 register. Setting the appropriate bit con-
figures the pin for the corresponding module for
open-drain operation. The ODCON1 memory shares
the same address space as TMR1H. The ODCON1
register can be accessed by setting the ADSHR bit in
the WDTCON register (WDTCON<4>).
ECCP1
ECCP2
TMR1
TMR2
T3CCP<2:1> = 10
share
if
they
either
OPEN-DRAIN OUTPUT OPTION
ECCP3
TMR3
TMR4
CCP4
CCP5
are
timer
in
© 2009 Microchip Technology Inc.
Timer3 is used for all Capture
and Compare operations for
all CCP modules. Timer4 is
used for PWM operations for
all CCP modules. Modules
may
resource as a common time
base.
Timer1 and Timer2 are not
available.
TMR1
TMR2
T3CCP<2:1> = 11
share
either
ECCP1
ECCP2
ECCP3
TMR3
TMR4
CCP4
CCP5
timer

Related parts for DV164136