Purpose of the Digital Compare
Sub-Module
Generates ‘compare’ events that can:
Trip the ePWM
Generate a Trip interrupt
Sync the ePWM
Generate an ADC start of conversion
The inputs to the digital compare module are:
Analog comparator outputs (COMP1, COMP2, COMP3)
Trip-zone input pins (TZ1, TZ2, TZ3)
A compare event is generated when one or more
of its selected inputs are either high or low
(shown
on later slide)
Optional ‘Blanking’ can be used to temporarily
disable the compare action in alignment with
PWM switching to eliminate noise effects