AnsweredAssumed Answered

PWM and TIMER1 problem in stm32f4

Question asked by x.tony on Feb 22, 2016
Latest reply on Feb 25, 2016 by x.tony
Hello,

I need to generate sin wave using STM32 uC. 

Now here comes the problem. 
I am able to obtain the required sin wave with the required frequency and the required amplitude however there are other (more than one) frequency components.

After spending some time, I think I have pinpointed my problem down to having something related to 'jitter' in the PWM or phase noise because of a mismatched PWM frequency and sample rate of the lookup table.

What do you think? Any help would be appreciated!

Outcomes