PIEERR
EPWMxINT
EPWMxSOCA
EPWMxSOCB
EPWMxSYNCO
Time-base (TB) module
Counter-compare (CC) module
Action-qualifier (AQ) module
Dead-band (DB) module
PWM-chopper (PC) module
Event-trigger (ET) module
Trip-zone (TZ) module
Peripheral bus
ePWM module
TZ1
TZ3
to
ePWMxA
ePWMxB
PIE
ADC
GPIO
MUX
COMPxOUT
GPIO
MUX
Digital Compare (DC) module
EQEPxERR
CLOCKFAIL
EMUSTOP
EPWMxTZINT
GPTRIP
TRIPIN1
TRIPIN2
TRIPIN3
TRIPIN4
TRIPIN5
TRIPIN6
TRIPIN7
TRIPIN8
TRIPIN9
TRIPIN10
TRIPIN11
TRIPIN12
ECCDBLERR
EPWMxSYNCI
Introduction
634
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced Pulse Width Modulator (ePWM) Module
Figure 7-2. Submodules and Signal Connections for an ePWM Module
shows more internal details of a single ePWM module. The main signals used by the ePWM
module are:
•
PWM output signals (EPWMxA and EPWMxB).
The PWM output signals are made available external to the device through the GPIO peripheral
described in the system control and interrupts guide for your device.
•
Trip-zone signals (TZ1 to TZ6).
These input signals alert the ePWM module of fault conditions external to the ePWM module. Each
module on a device can be configured to either use or ignore any of the trip-zone signals. The TZ1 to
TZ3 trip-zone signals can be configured as asynchronous inputs through the GPIO peripheral using the
GPTRIP logic, Refer to
. TZ4 is connected to an inverted EQEPx error signal (EQEPxERR)
which can be generated from any one of the EQEP module (for those devices with an EQEP module).
TZ5 is connected to the system clock fail logic, and TZ6 is connected to the EMUSTOP output from
the CPU. This allows you to configure a trip action when the clock fails or the CPU halts.
•
Time-base synchronization input (EPWMxSYNCI) and output (EPWMxSYNCO) signals
.
The synchronization signals daisy chain the ePWM modules together. Each module can be configured
via GPTRIP6 to either use or ignore its synchronization input. The clock synchronization input and
output signal are brought out to pins only for ePWM1 (ePWM module #1). The synchronization output
for ePWM1 (EPWM1SYNCO) is also connected to the SYNCI of the first enhanced capture module
(eCAP1). Refer to Time-Base Counter Synchronization Scheme 4 in this chapter.
•
ADC start-of-conversion signals (EPWMxSOCA and EPWMxSOCB).
Each ePWM module has two ADC start of conversion signals . Any ePWM module can trigger a start
of conversion. Whichever event triggers the start of conversion is configured in the Event-Trigger
submodule of the ePWM.