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

Forum Post: RE: MSP430G2432 PWM Output

$
0
0
Hello John, One change I would do is to not set the Timer into up mode until after your other settings are changed. This needs to be the last thing you do for the Timer starts counting as soon as that is set. You may also have to set Bit 7 on this device to the same bit settings found in the Pin Schematics section of the datasheet. P2.6 and P2.7 are linked here for they have to be used in tandem when using a LFXTAL. Beyond that, I would place a debug point in your main loop and double check the register settings to make sure everything is setup correctly. It could be something else you are setting up in your code is changing your pin setup.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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