Does anyone have any example code that uses Timer_B for say a pwm or a fixed say 0.1ms pulse? I'm looking to use Timer_B for two purposes (either or): 1. Generate say 10 fixed 0.1ms pulses. I assume to be counted via IRQ. 2. Generate a 50% duty cycle pulse with a varying frequency.
I've read over the docs in the MSP430 manual about 500 times and it's still eluding me how to use the Compare mode. I have the capture mode working perfectly (for Timer_A). I have read through Mark Buccinni's examples available on TI.com but they are so very basic as to not really help at all (basically 5 examples of the exact same thing). Any help would be greatly appreciated. Thanks -Mark
