Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
Hi Team,
Some result is abnormal even if disable Automatic HRMSTEP Scaling:

Some result is abnormal after Enable Automatic HRMSTEP Scaling:


--
Thanks & Regards
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 Team,
Some result is abnormal even if disable Automatic HRMSTEP Scaling:

Some result is abnormal after Enable Automatic HRMSTEP Scaling:


--
Thanks & Regards
Hi Yale,
What C2000Ware version are you using? Could you send the .syscfg file for both cases? I am trying to recreate this issue on my side but am unable to do so with my current setup.
Thank you,
Luke
Hi Luke,

We used C2000Ware_5_01_00_00\driverlib\f280015x\examples\hrpwm\CCS\hrpwm_ex1_duty_sfo.
--
Thanks & Regards
Hi Yale,
Thank you, I am able to recreate the issue on my side now. This seems to be a bug in SysConfig. I will look into this issue further to determine what's causing this error and get back to you by tomorrow to see if you can implement a fix on your side.
Thank you,
Luke
Hi Yale,
My apologies, I don't think this is actually a bug in SysConfig. If you refer to the CMPAHR and TBPRDHR register descriptions in the TRM, you'll notice that only the upper 8 bits of these bitfields are used in the HR calculations. The values you are seeing in the SysConfig GUI reflect the desired value of TBPRDHR and CMPAHR multiplied by 256, since the calculated values should be bit shifted by 8 bits to the left before being written to these bitfields.
Let me know if you have any questions about this.
Thank you,
Luke