pokmo 0 Posted July 9, 2016 Share Posted July 9, 2016 Hi I'm hoping to increase the PWM frequency to an inaudible level. Could the value reach as high as 600KHz? If so, will there be disadvantages in using such high frequencies? Thanks Quote Link to post Share on other sites
L.R.A 78 Posted July 9, 2016 Share Posted July 9, 2016 What microcontroller and with Energia libraries or low level programming?Most MCUs can reach pretty high frequencies, the problem is that you lose resolution on the duty. If I am not mistaken the PWM frequency in Energia is about 500Hz with 256 different values - you could pretty much increase the PWM frequency to 62,5Khz in all launchpads (considering the timers are going at 16Mhz) and still have the 256 different dutie values Quote Link to post Share on other sites
spirilis 1,265 Posted July 9, 2016 Share Posted July 9, 2016 It's not supported by Energia but there is an MSP430 (F5172) that can pull off a 256MHz timer which can give you awesome resolution at fairly high PWM periods. Quote Link to post Share on other sites
spirilis 1,265 Posted July 9, 2016 Share Posted July 9, 2016 Then there's the C2000, a niche-y MCU though, but it has an HRPWM peripheral that can subdivide its 80MHz (or 60, can't recall) PWM clock by 32 for resolution sake. Quote Link to post Share on other sites
L.R.A 78 Posted July 10, 2016 Share Posted July 10, 2016 It's not supported by Energia but there is an MSP430 (F5172) that can pull off a 256MHz timer which can give you awesome resolution at fairly high PWM periods. Holy... 256Mhz? That's higher than I ever saw. Quote Link to post Share on other sites
spirilis 1,265 Posted July 10, 2016 Share Posted July 10, 2016 Holy... 256Mhz? That's higher than I ever saw. Yeah it uses an FLL I think to 16x a 16MHz DCO. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.