Hi team,
Here's an issue from the customer may need your help:
CCS version:10.3.1.00003/Kit used: V21.12.0.STS.
Use the sinf function in the CLA, and use RAMPGEN_run to generate the sin waveform. When verifying the waveform, the sin appears to be wrong. Place sin in the duty of pwm and observe it. The following figure shows the sin waveform with DAC and the duty updated to PWM, which drops one piece of the waveform suddenly, as shown in the figure, and the same behavior is observed with the duty of PWM:
The following figure shows the angle information, the angle is normal, but PWM still has an abnormal duty:
So it was determined that there was an sinf-related issue, the customer would like to know what should be noticed or taken into account when using the sinf function?
Could you help check this case? Thanks.
Best Regards,
Cherry