I am trying to output the ePWM1 sync signal to GPIO34. I have been reviewing SPRUHM8I and the xbar.c and xbar.h drivers and can't seem to figure it out. I think I have located where the ePWM sync signal goes into the mux (mux 14 bit 3 for EXTSYNCOUT), but unclear how to get that loaded int he correct register. Then also unclear how a X-Bar output channel gets routed to a GPIO. I have looked for examples but no luck.
Any help would be appreciated,
Thanks
Dave