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

Outputting an exact number of PWM pulses

$
0
0

I would like to output a specific number of PWM pulses at 8MHz to clock data from an external chip into an LCD. I need to get the number of pulses right because if I am off by a pulse or two the display will be off by a pixel or two. Is there any way in hardware to shut a timer off when it reaches zero? I don't trust an interrupt to do it because it might fire when another interrupt is running. 


Viewing all articles
Browse latest Browse all 2077

Trending Articles