Other Parts Discussed in Thread: C2000WARE
Hi,
The project I'm currently working on uses the f28069.
I'm using a dummy signal to verify the generated PWM.
However, when I use the sine function, the signal it generates deviates from the sine range.
Below is the function I tested.
test = sin((2 * PI * 416) / 1666);
In theory, its value should be 0.999998, but the actual value I obtained is as shown in the figure below.
I would like to ask if there is any error in my settings?
Best regards.
Dillon