Part Number: TMS320F28379D
Hello,
I have an existing hardware design. Lower-numbered EPWM channels are used and cannot be changed. I would like to use a higher-numbered EPWM channel to generate a sync event.
My first idea is to
- Configure EXTSYNCOUT to use EPWM7SYNCOUT
- Configure Output XBAR to route EXTSYNCOUT to an unused GPIO
- Connect the unused GPIO to a second unused GPIO
- Configure Input XBAR to set the second unused GPIO to XBAR INPUT5
- Use XBAR INPUT5 for EXTSYNCIN1 to EPWM1,2,3,4,5,6
Does this seem reasonable?
Is there a better method to do this?
I see that EXTSYNCOUT can be set as an input to the ePWM XBAR Mux 14.
It seems like it may be possible to route EXTSYNCOUT to the ePWM DC to trigger a sync by using TBCTL[SWFSYNC], per TRM section 15.11.4.1, but I haven't worked out how to do this yet. Are there any example projects available to that do this?
Thanks!










