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 TMS320F28069 DSP in product development. I want to use high resolution on both edge of PWM. So I used HRPWM. But I getting some problem.
When I applied fraction part of duty to CMPAHR, then pulse width of channel B is also change (reduced). And pulse width of channel A is reduced instead of increasing.
Find attachment for more detail.
Regards,
HimanshuHRPWM in piccolo.pdf
Hi Himanshu,
Can you try the following?
- Start operation in certain mode of your choice
- Enable AUTOCONV
- Perform calibration using SFO
- Change the values of CMPA, CMPAHR and observe the duty cycle changes.
Let me know your observation.
You could also refer to the controlSuite examples.
Hi Himanshu,
Tried replicating the issue with the configuration you provided - and did not observe any issue.
There is no effect of CMPAHR on PWMB duty cycle.
Are you able to consistently observe this or once in a while? Did you check on different parts and observe similar behavior?
One more thing I suggest is can you check for this by disabling deadband?
-Bharathi.
hrpwm_mult_ch_prdupdown_sfo_v6.rarHi,
As you suggested me to check with the example code. I checked with the “hrpwm_mult_ch_prdupdown_sfo_v6” of control suite. I attached the project for your reference. I made some changed as per my requirement. In this project also I observed the change in PWMB output. Please verified the attached project.
Regards,
Himanshu