Time Base (TB) |
- Scale the time-base clock (TBCLK) relative to the ePWM clock (EPWMCLK).
- Configure the PWM time-base counter (TBCTR) frequency or period.
- Set the mode for the time-base counter:
- count-up mode: used for asymmetric PWM
- count-down mode: used for asymmetric PWM
- count-up-and-down mode: used for symmetric PWM
- Configure the time-base phase relative to another ePWM module.
- Synchronize the time-base counter between modules through hardware or software.
- Configure the direction (up or down) of the time-base counter after a synchronization event.
- Simultaneous writes to the TBPRD registers on all PWM's corresponding to the configuration on EPWMXLINK.
- Configure how the time-base counter behaves when the device is halted by an emulator.
- Specify the source for the synchronization output of the ePWM module
- Configure one shot and global load of registers in this module.
|
Counter Compare (CC) |
- Specify the PWM duty cycle for output EPWMxA and output EPWMxB
- Specify the time at which switching events occur on the EPWMxA or EPWMxB output
- Specify the programmable delay for interrupt and SOC generation with additional comparators
- Simultaneous writes to the CMPA, CMPB, CMPC, CMPD registers on all PWM's corresponding to the configuration on EPWMXLINK.
- Configure one shot and global load of registers in this module.
|
Action Qualifier (AQ) |
- Specify the type of action taken when a time-base counter-compare, trip-zone submodule, or comparator event occurs:
- No action taken
- Output EPWMxA and EPWMxB switched high
- Output EPWMxA and EPWMxB switched low
- Output EPWMxA and EPWMxB toggled
- Force the PWM output state through software control
- Configure and control the PWM dead band through software
- Configure one shot and global load of registers in this module.
|
Dead-Band Generator (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.
- Allow ePWMxB phase shifting with respect to the ePWMxA output.
- Configure one shot and global load of registers in this module.
|
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 trip action taken when a fault occurs:
- Force EPWMxA and EPWMxB high
- Force EPWMxA and EPWMxB low
- Force EPWMxA and EPWMxB to a high-impedance state
- Configure EPWMxA and EPWMxB to ignore any trip condition.
- Configure how often the ePWM reacts to each trip-zone signal:
- Enable the trip-zone to initiate an interrupt.
- Bypass the trip-zone module entirely.
- Programmable option for cycle-by-cycle trip clear
- If desired, independently configure trip actions taken when time-base counter is counting down.
|
Event Trigger (ET) |
- Enable the ePWM events that trigger an interrupt.
- Enable ePWM events that trigger an ADC start-of-conversion event.
- Specify the rate at which events cause triggers (every occurrence or every 2nd or up to 15th occurrence)
- Poll, set, or clear event flags
|
Digital Compare (DC) |
- Enables comparator (COMP) module outputs and trip zone signals which are configured using the Input X-BAR to create events and filtered events
- Specify event-filtering options to capture TBCTR counter, generate blanking window, or insert delay in PWM output or time-base counter based on captured value.
|