Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: How do you get PWM signals to be 180 or 120 degrees apart?

$
0
0

This is how you can use phase register:

eg. 

EPwm2Regs.TBPRD = 450;                                 // Period = 900 TBCLK counts
EPwm2Regs.TBPHS.half.TBPHS = 300;          // Phase = 300/900 * 360 = 120 deg

Regards,

Gautam


Viewing all articles
Browse latest Browse all 91752

Trending Articles



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