Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62408

Forum Post: RE: Pulsing a PWM

$
0
0
>You could generate a 1 MHz SMCLK by dividing your 8 MHz DCOCLK by 8. And you could route that 1 MHz SMCLK to P1.4. Right. Then set timer for 20KHz CCR output and make simpe AND gate out of two diodes and external pull-up resistor , feed SMCLK and CCR output into it. On the output you will get modulated signal. Such way your CPU will be free for other tasks. 1MHz is not that high frequency so diode+resistor AND gate could be ok for the task. Other option indeed is to use "proper" logic IC

Viewing all articles
Browse latest Browse all 62408

Trending Articles



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