Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
HI, I'm doing PWM operations with F28379D now I want to route the pwm signal to any GPIO pin, does your processor have such a feature?
regards
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.
HI, I'm doing PWM operations with F28379D now I want to route the pwm signal to any GPIO pin, does your processor have such a feature?
regards
Hi Enes,
EPWM signals are typically routed out to a certain GPIO by default due to the GPIO muxing listed in the device TRM section 8.7 GPIO and Peripheral Muxing. If you are using EPWM1A, for example, you can see from the TRM table that EPWM1A (by default mux settings) is routed out to GPIO0.
If you need examples of how to set up the GPIOs for EPWM, I'd recommend referencing our existing software examples from C2000Ware:
I will also add that if you are using the SysConfig GUI in CCS, you can select the GPIO that the EPWM signal is routed to by using the drop-downs from the PinMux tool:
And if you want to see the live auto-generated SysConfig code you can do so by clicking on the <> arrows in the upper right hand corner of SysConfig and clicking on the 'board.c' file.
Let me know if this helps or if you have further questions here!
Best Regards,
Allison