PWM and TIMER1 problem in stm32f4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-21 3:13 PM
Posted on February 22, 2016 at 00:13
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!
This discussion is locked. Please start a new topic to ask your question.
11 REPLIES 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-24 10:23 PM
Posted on February 25, 2016 at 07:23
I tried the code but I didn't see any output from both pins (1 & 1N). I think it is still in high impedance mode. Can you send me the source code please and tell me what you tried to change?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-25 1:25 PM
Posted on February 25, 2016 at 22:25
@clive1, any clue of how i should proceed?
Your help is much appreciated. Thank you.
- « Previous
-
- 1
- 2
- Next »