ePWM Submodules
2001
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Enhanced Pulse Width Modulator (ePWM) Module
Table 35-2. Submodule Configuration Parameters (continued)
Submodule
Configuration Parameter or Option
Dead-band (DB)
• Control of traditional complementary dead-band relationship between upper and lower switches
• Specify the output rising-edge-delay value
• Specify the output falling-edge delay value
• Bypass the dead-band module entirely. In this case the PWM waveform is passed through
without modification.
• Option to enable half-cycle clocking for double resolution.
PWM-chopper (PC)
• Create a chopping (carrier) frequency.
• Pulse width of the first pulse in the chopped pulse train.
• Duty cycle of the second and subsequent pulses.
• Bypass the PWM-chopper module entirely. In this case the PWM waveform is passed through
without modification.
Trip-zone (TZ)
• Configure the ePWM module to react to one, all, or none of the trip-zone signals or digital
compare events.
• Specify the tripping action taken when a fault occurs:
–
Force EPWMxA and/or EPWMxB high
–
Force EPWMxA and/or EPWMxB low
–
Force EPWMxA and/or EPWMxB to a high-impedance state
–
Configure EPWMxA and/or EPWMxB to ignore any trip condition.
• Configure how often the ePWM will react to each trip-zone signal:
–
One-shot
–
Cycle-by-cycle
• Enable the trip-zone to initiate an interrupt.
• Bypass the trip-zone module entirely.
Event-trigger (ET)
• Enable the ePWM events that will trigger an interrupt.
• Enable ePWM events that will trigger an ADC start-of-conversion event.
• Specify the rate at which events cause triggers (every occurrence or every second or third
occurrence)
• Poll, set, or clear event flags
Digital-compare (DC)
• Enables trip zone signals to create events and filtered events
• Specify event-filtering options to capture TBCTR counter or generate blanking window
Code examples are provided in this chapter that show how to implement various ePWM module
configurations. These examples use the constant definitions in the device
EPwm_defines.h
file in the
device-specific header file and peripheral examples software package.