•
interrupt signal:
DCAEVT1/2.interrupt signals generate trip zone interrupts to the PIE. To enable the
interrupt, the user must set the DCAEVT1, DCAEVT2, DCBEVT1, or DCBEVT2 bits in the TZEINT register.
Once one of these events occurs, an EPWMxTZINT interrupt is triggered, and the corresponding bit in the
TZCLR register must be set in order to clear the interrupt.
•
soc signal:
The DCAEVT1.soc signal interfaces with the event-trigger submodule and can be selected as an
event which generates an ADC start-of-conversion-A (SOCA) pulse via the ETSEL[SOCASEL] bit. Likewise,
the DCBEVT1.soc signal can be selected as an event which generates an ADC start-of-conversion-B (SOCB)
pulse via the ETSEL[SOCBSEL] bit.
•
sync signal:
The DCAEVT1.sync and DCBEVT1.sync events are ORed with the EPWMxSYNCI input signal
and the TBCTL[SWFSYNC] signal to generate a synchronization pulse to the time-base counter.
show how the DCAEVT1, DCAEVT2, and DCEVTFILT signals are processed to
generate the digital compare A event force, interrupt, soc, and sync signals.
DCACTL[EVT1SYNCE]
DCAEVT1.sync
DCACTL[EVT1SOCE]
DCAEVT1.soc
Set
Latch
Clear
TZCLR[DCAEVT1]
DCAEVT1.inter
TZEINT[DCAEVT1]
TZFLG[DCAEVT1]
DCAEVT1.force
1
0
Sync
TBCLK
Async
1
0
DCACTL[EVT1SRCSEL]
DCEVTFILT
DCAEVT1
DCACTL[EVT1FRCSYNCSEL]
TZFRC[DCAEVT1]
Figure 3-46. DCAEVT1 Event Triggering
Set
Latch
Clear
TZCLR[DCAEVT2]
DCAEVT2.inter
TZEINT[DCAEVT2]
TZFLG[DCAEVT2]
DCAEVT2.force
1
0
Sync
TBCLK
Async
1
0
DCACTL[EVT2SRCSEL]
DCEVTFILT
DCAEVT2
DCACTL[EVT2FRCSYNCSEL]
TZFRC[DCAEVT2]
Figure 3-47. DCAEVT2 Event Triggering
Enhanced Pulse Width Modulator (ePWM) Module
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
299
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......