I want to use the MSP430G2231 (preferably) as a chip to drive a 40 amp H-bridge. I thought that instead of discrete logic a microcontroller would be nice. I picked up the launchpad because it's so cheap and I see where TI is going with it. Seems like a good Idea to use the msp430.
Inputs:
There is a PWM signal at 333.333Hz so 1 3ms period. it is "null" at 1.5ms full CW at 2ms and full CCW at 1ms. So I need an input for this.
Now for the outputs:
There need to be two outputs. Both can NEVER be high at the same time. Both are PWMs and need to go from 0-100% duty cycle. Output A is "activated when the input is greater than 1.5ms. Output B is "activated" when input is less than 1.5ms.
An extra feature: (which is easy but I should mention anyway)
I need to use an ADC channel to measure the voltage drop across a 1ohm resistor (to measure current).
It seems to be that there can only be one PWM output on this chip. Can I just "bit-bang" the PWM outputs and read the input with the actual timer.
