Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/TMS320F28379D: Action Qualifier Continuous S/W Force (AQCSFRC) Register and PWM first pulse

$
0
0

Part Number:TMS320F28379D

Tool/software: Code Composer Studio

Hello everyone, 

I am making a Program in which I use commands:

EPwm1Regs.AQCSFRC.bit.CSFA = 0; 

EPwm1Regs.AQCSFRC.bit.CSFB = 0;

EPwm1Regs.AQCSFRC.bit.CSFA = 2; 

EPwm1Regs.AQCSFRC.bit.CSFB = 2;

to control PWM output. The problem, that I have encountered is the first PWM pulse after the switching PWM on with:

EPwm1Regs.AQCSFRC.bit.CSFA = 0; 

EPwm1Regs.AQCSFRC.bit.CSFB = 0;

By default I use the duty cycle of 20% but the first pulse after start seems to be ~50% +-10%.

I want to ask, could I somehow solve this problem? Or this is hardware default so? May be there is some another way to turn quickly PWM on and off?

Thank you in advance!


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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