Hi Mr.Frank Bormann,
As you suggested, I've tried to modify the sine-wave example for F20827 for my F28035 controller, and it worked (I think). Thank you.
I have two questions now,
1. Am I supposed to have the result as shown in the document and as shown below? Because I didn't get one like this. What I got was a PWM signal with time-varying duty-cycle, and I think that makes sense. So, at any time, the duty cycle within each PWM period is different, and the waveform is changing from moment to moment. But I don't know what the screen-shot below is about ?
2. Second question: It seems like I have to keep TBPRD equals to 60, as it was set up in the example, otherwise I would not get the result I described above.
a. If I assigned a smaller value to TBPRD, say 50, I wouldn't get anything.
b. If I assigned a bigger value to TBPRD, say 600, I would get PWM with time-varying duty-cycle, but duty-cycle of every period is changing at the same rate. So, if I press
'RUN/STOP' button on the oscilloscope, I will always get the same waveform. And I don't think that is correct.
With TBPRD=60, the Sine-wave frequency is 976 Hz, but I need a 60 Hz sine-wave signal.
Thank you