Datasheet
2011-2012 Microchip Technology Inc. Preliminary DS41579D-page 223
PIC16(L)F1782/3
24.3.11 VARIABLE FREQUENCY - FIXED
DUTY CYCLE PWM WITH
COMPLEMENTARY OUTPUTS
This mode is the same as the single output Fixed Duty
Cycle mode except a complementary output with
dead-band control is generated.
The rising edge and falling edge events are unused in
this mode. Therefore, a different triggering mechanism
is required for the dead-band counters.
A period events that generate a rising edge on
PSMCxA use the rising edge dead-band counters.
A period events that generate a falling edge on
PSMCxA use the falling edge dead-band counters.
24.3.11.1 Mode Features
• Dead-band control is available
• No steering control available
• Fractional Frequency Adjust
- Fine period adjustments are made with the
PSMC Fractional Frequency Adjust
(PSMCxFFA) register (Register 24-27)
• Primary PWM is output to the following pin:
- PSMCxA
• Complementary PWM is output to the following
pin:
- PSMCxB
24.3.11.2 Waveform Generation
Period Event
When output is going inactive to active:
• Complementary output is set inactive
• FFA counter is incremented by the 4-bit value in
PSMCFFA register.
• Dead-band rising is activated (if enabled)
• Primary output is set active
When output is going active to inactive:
• Primary output is set inactive
• FFA counter is incremented by the 4-bit value in
PSMCFFA register
• Dead-band falling is activated (if enabled)
• Complementary output is set active
FIGURE 24-14: VARIABLE FREQUENCY – FIXED DUTY CYCLE PWM WITH COMPLEMENTARY
OUTPUTS WAVEFORM
1 2 3 4 5 6 7 8 9 10
Unused in this mode
Unused in this mode
Falling Edge Dead Band
Rising Edge Dead Band
PWM Period Number
period_event
Rising Edge Event
Falling Edge Event
PSMCxA
PSMCxB