Here input is to DSP & Output is from DSP.
So we want to control PWM Duty cycle.
How can we do this is issue?
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.
Here input is to DSP & Output is from DSP.
So we want to control PWM Duty cycle.
How can we do this is issue?
Interesting... Do you have the knowledge of the frequency of the incoming waveform before hand? Can we assume only duty cycle is varying and frequency stays the same?
Hi Subrahmanya sir,
We have constant frequency & want to vary duty cycle as well as clip duty if it is more than 90%.
Thank You.
Rasesh Dave said:How to monitor Input signal's Duty and Blocking it if above 90%?
You can do the same in combination of eCAP and ePWM peripherals. eCAP can capture the incoming signal and calculate the duty for you which you can later pass it to ePWM peripheral to generate the same waveform. Delay should be very minimal.
Regards,
Gautam
If all you want is clamping, a non-CPU intensive approach might be to:
I have not specifically tried this, but it should be possible.
===
If you want to edit or scale the duty cycle between the input and output, you'd likely instead need to do something like Gautam has mentioned.
At any rate, the above may give you some ideas on less CPU intensive possibilities.
Thank you,
Brett