Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 216510

Forum Post: motor control and pwm MSP430F2012

$
0
0

Hi Friends,
I have a small question and the case is as below.

I have MSP430F2012 with EZ430-T2012 Board

I have 2 motors connected through a motor driver which accepts pwm/dir input.

I have a joystick with 2 analog outputs.

and my progress so far.

- I am using grace to config
-I can read the ADC for the joystick values and processed them for pwm values and direction for gpio.
-TimerA has 2 channels I have selected P1.5(TA0), P1.6(TA1) for outputs
- in grace i have set both block 0 and 1 in PWM mode.

what I need to know

In the grace i see duty cycle for only block 1 and not for block 0

how do I Config the PWM for the motors from these 2 channels ?


Viewing all articles
Browse latest Browse all 216510

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>