Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 231914

Forum Post: RE: MSPM0C1104: specific pwm output pins are not output.

$
0
0
Hello Robin, Firstly, check whether you "start the timer" in your code because I found that you didn't start timer in your Sysconfig. Secondly, check whether you set the duty cycle in your code because I found that the duty cycle in your Sysconfig is 0. You use the Center-aligned, in this mode, set 500 will let your duty cycle become 0. About the different aligned method, please refer to the technical reference manual which can be downloaded from ti.com. And because the initial value is low, at the same time, the duty cycle is 0, so the output will always be zero. I think you know that the duty cycle stands for the proportion of high level (logic1) width throughout the entire cycle. I have tried on my side using below configuration, PA24 and PA25 can output PWM normally. More details about PWM generation, please learn about the TRM. Best Regards, Janz Bai

Viewing all articles
Browse latest Browse all 231914

Trending Articles



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