[HELP] STM32F4 generate PWM 3 channel shift phase 120 degree!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-04-05 9:30 PM
Hi all!
I want to control 3 phase motor (I get HDD motor from old HDD), and now I can generate 3 PWM signal on 3 channels but they are same, notshift phase
120 degree! Please help me! I use STM32F4 discovery board and Keil! Thanks all- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-17 12:13 PM
how we can perform logic AND operation of PWM Channel 1 of TIM1 and pwm Channel 1 of TIM3 internally (using programming)?
Does a reading of the manual even suggest that's possible?Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-18 4:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-18 7:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-18 7:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-19 7:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-19 10:38 AM
The pin parameter here is not numeric. GPIO_ReadOutputDataBit()
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-01-27 9:49 AM
One of the easiest, simple and functional code samples for timer functionality that I have seen. I changed from toggle mode to PWM1 and it works great. clive1 = Sir Brilliant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-03-07 7:34 AM
hye , clive sir
i am changing the frequency using variable resistor through adc.but when i vary freq. the output of channel 2 and channel 3 toggles. how can i get rid of this toggling???- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-03-07 12:29 PM
I think you'd probably want to change all the settings at the Update, and avoid the preload/immediate functionality.
If you pull in the period any when else, you run the risk of triggering the compares, and causing it to toggle.Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-07-21 5:47 AM
Hi Mr clive1
I have worked through this example code but when I measure phase shifts on oscilloscope I get 60º shift instead of 120º shift?