Part Number: TMS320F28377D
Tool/software: Code Composer Studio
I have ePwms 1 and 2 routed out through GPIOs as control signals and ePwms 5, 6, and 9 to provide interrupt triggers.
I tried to add ePwms 3 and 4 as additional GPIOs. The program compiled and starts but now all of the TBPRDs have reset to 0 and thus none of the PWMs are functioning. I have stepped through the code line-by-line and confirmed that each ePwm has the correct TBPRD loaded initially but it is during the while(1) loop in main that they get reset to 0 and I am unable to track the issue further.
I am able to comment out the ePwms 1 and 2 setup to get ePwms 3, 4, 5, 6, and 9 to work correctly, but I am unable to get all 7 functioning simultaneously. I have played around with optimization options with no luck. Any thoughts?
Thanks,
Eric