We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi everyone,
I am using XC164CS DSP. I need to programme in such a way that duty cycle can be controlled. According to application, its a close loop current or voltage control but I didnt manage to do it in order to get the phase shift between the two legs of the converter. I need to get the phase shift by calculating duty cycle. it's a 20khz frequency of the signal
Can anyone help me on this?
Thanks,
Vivek
as I already said, that depends on the ratio between the two registers (there are many possible combinations). choose the one that gives you the desired signal properties.
How should I write in programme? It is not supposed to be structural way.
You can find an example to create a PWM using CAPCOM6 that you can modify the duty-cycle or period.
http://www.keil.com/forum/docs/thread11620.asp
hope this helps.
-Chris