Tool/software: Code Composer Studio
Can anyone tell me where to get the ???? to make ePWM4 syn. with ePWM1? What should I put here for ????. ?
????.SYNCSELECT.bit.EPWM4SYNCIN=0; //000: EPWM1SYNCOUT selected
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Can anyone tell me where to get the ???? to make ePWM4 syn. with ePWM1? What should I put here for ????. ?
????.SYNCSELECT.bit.EPWM4SYNCIN=0; //000: EPWM1SYNCOUT selected
Hey Hongmei,
Each ePWM has can use the sync signal coming into it and can pass out a sync signal from multiple sources:
Note that an ePWM module can pass the signal through as well, so if you wanted to sync ePWM1 and ePMW3, you'd do something like:
Thank you very much, Devin.
You need to configure the SYNCSELEOWM4SYNCIN mux to pass ePWM1 sync signal to ePWM4 sync input.
How to write this code to pass ePWM1 sync signal to ePWM4 sync input in 28377D?
SyncSocRegs.SYNCSELECT.bit.EPWM4SYNCIN=0; I am not sure because of Soc in it.
Thanks!