www.ti.com
Introduction
1.1Introduction
An effective PWM peripheral must be able to generate complex pulse width waveforms with minimal CPU overhead or intervention. It needs to be highly programmable and very flexible while being easy to understand and use. The ePWM unit described here addresses these requirements by allocating all needed timing and control resources on a per PWM channel basis. Cross coupling or sharing of resources has been avoided; instead, the ePWM is built up from smaller single channel modules with separate resources and that can operate together as required to form a system. This modular approach results in an orthogonal architecture and provides a more transparent view of the peripheral structure, helping users to understand its operation quickly.
In this document the letter x within a signal or module name is used to indicate a generic ePWM instance on a device. For example output signals EPWMxA and EPWMxB refer to the output signals from the ePWMx instance. Thus, EPWM1A and EPWM1B belong to ePWM1 and likewise EPWM4A and EPWM4B belong to ePWM4.
1.2Submodule Overview
The ePWM module represents one complete PWM channel composed of two PWM outputs: EPWMxA and EPWMxB. Multiple ePWM modules are instanced within a device as shown in Figure
(HRPWM) Reference Guide (SPRU924). See the
The ePWM modules are chained together via a clock synchronization scheme that allows them to operate as a single system when required. Additionally, this synchronization scheme can be extended to the capture peripheral modules (eCAP). The number of modules is
Each ePWM module supports the following features:
∙Dedicated
∙Two PWM outputs (EPWMxA and EPWMxB) that can be used in the following configurations::
–Two independent PWM outputs with
–Two independent PWM outputs with
–One independent PWM output with
∙Asynchronous override control of PWM signals through software.
∙Programmable
∙
∙
∙Programmable trip zone allocation of both
∙A trip condition can force either high, low, or
∙All events can trigger both CPU interrupts and ADC start of conversion (SOC)
∙Programmable event prescaling minimizes CPU overhead on interrupts.
∙PWM chopping by
Each ePWM module is connected to the input/output signals shown in Figure
14 | Introduction |