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.
I use PWM1A in order to trigger ADC A0. The frequency of PWM is 2.5 KHz. A PI controller is connected after a feedback signal is subtracted from ADC. I need to know the PI's frequency. Is the 2.5 KHz ?
Hi Cody,
Thank you for your answer. I use Simulink and I believe such problems are more related to you and not Matlab. I use an anti-windup method in PI controller and knowing the frequency it could be helpful to better estimate a frequency dependent coefficient.
The ADC conversion is triggered every 1st event.