Other Parts Discussed in Thread: TMDSHSECDOCK
Tool/software:
I wanted to know if there is anyway these GPIO pins could also be used for PWM Output?
Thanks!
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:
I wanted to know if there is anyway these GPIO pins could also be used for PWM Output?
Thanks!
This information can be found in the pin attributes table of the datasheet.
https://www.ti.com/lit/gpn/tms320f280049
GPIO 18 can be used as EPWM6_A
Any pin with an output XBar can provide an "APWM" output. This comes from the eCAP module, and has less features than the normal ePWM, but can still work well.
Finally, if this is just a pin access issue please look at the controlCARD and possibly a TMDSHSECDOCK for pin breakout.
https://www.ti.com/tool/TMDSCNCD280049C
https://www.ti.com/tool/TMDSHSECDOCK
Regards,
Cody
Okay that makes sense, but just to clarify GPIO58, 30, and 25 can NOT be used for PWM input or output correct?
reason I'm asking is because I'm designing a BLDC EVM that connects to the launch pad and currently have all 6 of our PWM input signals routed to the following
would this even work? or would the following be better?
Thanks!
I feel its important for you to understand the difference between an APWM and the ePWM. Please see the TRM for a description here: https://www.ti.com/lit/pdf/sprui33
GPIO 58 and 30 can be used as APWM.
I recommend the second layout more than the first as it provides access to ePWM modules. Please note that on the device you have chosen the PWM synchronization scheme is fixed. Due to the structure PWM 3 cannot be a sync source for PWM 5 or 6. This will require you to utilize PWM 1 as the sync source and PWMs 3,5, and 6 as the sync receivers. This is details in the Time-base control module section of the PWM chapter in the TRM previously linked.
If you find this restrictive you may switch to F280039C, it also has a launch pad, provides more clock frequency and similar capability.
Regards,
Cody