ePWM
TMS320F2837xD Microcontroller Workshop - Control Peripherals 7 - 7
ePWM Time-Base Sub-Module
ePWM Time-Base Sub-Module
16-Bit
Time-Base
Counter
Compare
Logic
Action
Qualifier
Dead
Band
PWM
Chopper
Trip
Zone
Compare
Registers
Period
Register
Clock
Prescaler
EPWMxA
EPWMxB
TZy
EPWMxSYNCI EPWMxSYNCO
TBCLK
Digital
Compare
Event Trigger
Compare
Registers
INPUT X-Bar
ePWM X-Bar
TZ1-TZ3
EPWMCLK
The time-base submodule consists of a dedicated 16-bit counter, along with built-in
synchronization logic to allow multiple ePWM modules to work together as a single system. A
clock pre-scaler divides the EPWM clock to the counter and a period register is used to control
the frequency and period of the generated waveform. The period register has a shadow register,
which acts like a buffer to allow the register updates to be synchronized with the counter, thus
avoiding corruption or spurious operation from the register being modified asynchronously by the
software.