Part Number: TMS320C28346
Other Parts Discussed in Thread: ADS7953
In my application, the 32 bit timer which controls the ePWM is programmed as an up-down counter. Presently, the timer is programmed to generate an interrupt on the down count to zero. This interrupt initiates a call to a routine which starts an external A to D conversion process through the SPI port (connected to an ADS7953). Can a second interrupt be generated by the same 32 bit timer upon reaching the up count value? I wish to over-sample some of the A to D data used for PWM control so I need to generate two interrupts from the same PWM timer so that I can obtain two evenly spaced A to D samples each PWM period.