Datasheet
PIC18F47J13 FAMILY
DS39974A-page 276 Preliminary 2010 Microchip Technology Inc.
TABLE 19-3: EXAMPLE PIN ASSIGNMENTS FOR VARIOUS PWM ENHANCED MODES
FIGURE 19-4: PWM (ENHANCED MODE) OUTPUT RELATIONSHIPS
(ACTIVE-HIGH STATE) EXAMPLE
ECCP Mode PxM<1:0> PxA PxB PxC PxD
Single 00 Yes
(1)
Yes
(1)
Yes
(1)
Yes
(1)
Half-Bridge 10 Yes Yes No No
Full-Bridge, Forward 01 Yes Yes Yes Ye s
Full-Bridge, Reverse 11 Yes Yes Yes Yes
Note 1: Outputs are enabled by pulse steering in Single mode (see Register 19-5).
0
Period
00
10
01
11
Signal
PR2 + 1
PxM<1:0>
PxA Modulated
PxA Modulated
PxB Modulated
PxA Active
PxB Inactive
PxC Inactive
PxD Modulated
PxA Inactive
PxB Modulated
PxC Active
PxD Inactive
Pulse Width
(Single Output)
(Half-Bridge)
(Full-Bridge,
Forward)
(Full-Bridge,
Reverse)
Delay
(1)
Delay
(1)
Relationships:
• Period = 4 * T
OSC * (PR2 + 1) * (TMR2 Prescale Value)
• Pulse Width = T
OSC * (CCPRxL<7:0>:CCPxCON<5:4>) * (TMR2 Prescale Value)
• Delay = 4 * T
OSC * (ECCPxDEL<6:0>)
Note 1: Dead-band delay is programmed using the ECCPxDEL register (see Section 19.4.6 “Programmable
Dead-Band Delay Mode”).