Tool/software:
Hi everyone,
I’m working on a C2000-based converter where the PWM switching frequency varies dynamically during operation.
I want to synchronize my ADC conversions precisely with the PWM signal, so the ADC trigger adapts automatically as the PWM frequency changes.
Currently, I’m configuring the ADC SOC trigger source to the PWM trigger (e.g., EPWM1_SOCB) and setting up the prescaler to control the trigger frequency.
My questions are:
-
Is this approach the recommended way to keep ADC sampling synchronized with a variable PWM frequency?
-
Are there any known limitations or timing constraints I should be aware of when the PWM frequency changes?
-
How can I ensure the ADC trigger timing adjusts correctly without losing accuracy or causing missed conversions?
-
Are there examples or best practices from TI for this kind of synchronization?
Thanks in advance for your help!