Hi
I am using the MCU for my digital buck converter. EPWM is running in 200KHz and ADC tigger source/ISR is linking to EPWM as well.
Is it possible to keep switching frequency of EPWM @ 200KHz but ADC tigger/ISR @100KHz.
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I am using the MCU for my digital buck converter. EPWM is running in 200KHz and ADC tigger source/ISR is linking to EPWM as well.
Is it possible to keep switching frequency of EPWM @ 200KHz but ADC tigger/ISR @100KHz.
Thanks
Hi,
You can choose to prescale the SOC signal generation from the EPWM module using the ETPS register bits. That will allow you to configure your ADC trigger for SOC at half the EPWM switching frequency.
Thanks,
Aditya