DV164136 Microchip Technology, DV164136 Datasheet - Page 220

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
18.4.9
The following steps should be taken when configuring
the ECCP module for PWM operation:
1.
2.
3.
4.
5.
6.
7.
DS39778D-page 220
Configure the PWM pins PxA and PxB (and PxC
and PxD, if used) as inputs by setting the
corresponding TRIS bits.
Set the PWM period by loading the PR2 (PR4)
register.
Configure the ECCP module for the desired
PWM mode and configuration by loading the
CCPxCON register with the appropriate values:
• Select one of the available output
• Select the polarities of the PWM output
Set the PWM duty cycle by loading the CCPRxL
register and the CCPxCON<5:4> bits.
For auto-shutdown:
• Disable auto-shutdown; ECCPxASE = 0
• Configure auto-shutdown source
• Wait for Run condition
For
dead-band delay by loading ECCPxDEL<6:0>
with the appropriate value.
If auto-shutdown operation is required, load the
ECCPxAS register:
• Select the auto-shutdown sources using the
• Select the shutdown states of the PWM
• Set the ECCPxASE bit (ECCPxAS<7>).
configurations and direction with the
PxM1:PxM0 bits.
signals with the CCPxM3:CCPxM0 bits.
ECCPxAS2:ECCPxAS0 bits.
output pins using the PSSxAC1:PSSxAC0
and PSSxBD1:PSSxBD0 bits.
Half-Bridge
SETUP FOR PWM OPERATION
Output
mode,
set
the
8.
9.
10. Enable PWM outputs after a new PWM cycle
18.4.10
Both Power-on Reset and subsequent Resets will force
all ports to Input mode and the ECCP registers to their
Reset states.
This forces the Enhanced CCP module to reset to a
state compatible with the standard CCP module.
If auto-restart operation is required, set the
PxRSEN bit (ECCPxDEL<7>).
Configure and start TMRn (TMR2 or TMR4):
• Clear the TMRn interrupt flag bit by clearing
• Set the TMRn prescale value by loading the
• Enable Timer2 (or Timer4) by setting the
has started:
• Wait until TMRn overflows (TMRnIF bit is set).
• Enable the ECCPx/PxA, PxB, PxC and/or
• Clear the ECCPxASE bit (ECCPxAS<7>).
the TMRnIF bit (PIR1<1> for Timer2 or
PIR3<3> for Timer4).
TnCKPS bits (TnCON<1:0>).
TMRnON bit (TnCON<2>).
PxD pin outputs by clearing the respective
TRIS bits.
EFFECTS OF A RESET
© 2009 Microchip Technology Inc.

Related parts for DV164136