English
Language : 

PIC18F23K22 Datasheet, PDF (189/492 Pages) Microchip Technology – 28/40/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
PIC18(L)F2X/4XK22
TABLE 14-12: EXAMPLE PIN ASSIGNMENTS FOR VARIOUS PWM ENHANCED MODES
ECCP Mode
PxM<1:0>
CCPx/PxA
Single
00
Yes(1)
Half-Bridge
10
Yes
Full-Bridge, Forward
01
Yes
Full-Bridge, Reverse
11
Yes
Note 1: PWM Steering enables outputs in Single mode.
PxB
Yes(1)
Yes
Yes
Yes
PxC
Yes(1)
No
Yes
Yes
PxD
Yes(1)
No
Yes
Yes
FIGURE 14-6:
PxM<1:0>
EXAMPLE PWM (ENHANCED MODE) OUTPUT RELATIONSHIPS (ACTIVE-HIGH
STATE)
Signal
0
Pulse
Width
Period
PRX+1
00 (Single Output)
10 (Half-Bridge)
PxA Modulated
PxA Modulated
PxB Modulated
PxA Active
Delay(1)
Delay(1)
(Full-Bridge,
01
Forward)
PxB Inactive
PxC Inactive
PxD Modulated
PxA Inactive
(Full-Bridge,
11
Reverse)
PxB Modulated
PxC Active
PxD Inactive
Relationships:
• Period = 4 * TOSC * (PRx + 1) * (TMRx Prescale Value)
• Pulse Width = TOSC * (CCPRxL<7:0>:CCPxCON<5:4>) * (TMRx Prescale Value)
• Delay = 4 * TOSC * (PWMxCON<6:0>)
Note 1: Dead-band delay is programmed using the PWMxCON register (Section 14.4.5 “Programmable Dead-Band Delay
Mode”).
 2010 Microchip Technology Inc.
Preliminary
DS41412B-page 189