Microchip Technology DV164136 Data Sheet

Page of 466
PIC18F87J11 FAMILY
DS39778E-page 226
 
 2007-2012 Microchip Technology Inc.
FIGURE 19-2:
PWM OUTPUT RELATIONSHIPS (ACTIVE-HIGH STATE)
FIGURE 19-3:
PWM OUTPUT RELATIONSHIPS (ACTIVE-LOW STATE)
0
00
10
01
11
SIGNAL
PR2 + 1
CCP1CON<7:6>
P1A Modulated
P1A Modulated
P1B Modulated
P1A Active
P1B Inactive
P1C Inactive
P1D Modulated
P1A Inactive
P1B Modulated
P1C Active
P1D Inactive
Duty
Cycle
(Single Output)
(Half-Bridge)
(Full-Bridge,
Forward)
(Full-Bridge,
Reverse)
Delay
(1)
Delay
(1)
Period
0
Period
00
10
01
11
SIGNAL
PR2 + 1
CCP1CON<7:6>
Duty
Cycle
(Single Output)
(Half-Bridge)
(Full-Bridge,
Forward)
(Full-Bridge,
Reverse)
Delay
(1)
Delay
(1)
Relationships:
• Period = 4 * T
OSC
 * (PR2 + 1) * (TMR2 Prescale Value)
• Duty Cycle = T
OSC
 * (CCPR1L<7:0>:CCP1CON<5:4>) * (TMR2 Prescale Value)
• Delay = 4 * T
OSC
 * (ECCP1DEL<6:0>)
Note
1:
Dead-band delay is programmed using the ECCP1DEL register (
).
P1A Modulated
P1A Modulated
P1B Modulated
P1A Active
P1B Inactive
P1C Inactive
P1D Modulated
P1A Inactive
P1B Modulated
P1C Active
P1D Inactive