Other Parts Discussed in Thread: TIDM-02002
In the design TIDM-02002:
- ECAP1 is used to trigger ISR2 at 100kHz.
- EPWM5 is used to trigger the SOCs at 100kHz for use by ISR2.
Although they both run at 100kHz, the problem with this is that the relationship between EOC time and reading of the ADCs by ISR2 is arbitrary.
My question please is why is ECAP used at all? Why not trigger SOC AND ISR2 from EPWM5 alone? At least then the ADC conversions for ISR2 have a fixed and possibly controllable relationship with ISR2 execution.
Thank you.