Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

PWM on MSp430fr5969

$
0
0

I am looking to run two motors via motor controllers that require pwm signals.

 

I have learned how hardware and software pwm work. I also have learned what would be required to create a software pwm with a chip timer and clock in CCS. I am still however confused on whether this is required in energia and how I can tell what pins i am able to use. 

 

Using a MSP430fr5969:

 

Can i simply use the analogwrite() function on a pin that allows for it to be used according to the pin map http://energia.nu/wordpress/wp-content/uploads/2014/10/LaunchPad-with-MSP430FR5969.jpg ?

 

Does the analogwrite function only work on the pins that have hardware pwm capability or is it a software pwm function? 

 

Could I for example use pins P1_4 and P1_3 to send a pwm to signal to the motor controllers? Does the same apply when reading pwm signals? 

 

-Nolan 


Viewing all articles
Browse latest Browse all 2077

Trending Articles