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.

[参考译文] CCS/TMS320F28379D:我们在 TMS320F28379D 中遇到了问题。 我们希望使用 GPIO36,生成 PWM​ μ A、但 GPIO36不包含 PWM 功能、也不包含 OUTPUTXBAR

Guru**** 2022660 points
Other Parts Discussed in Thread: TMS320F28379D, C2000WARE
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/883462/ccs-tms320f28379d-we-have-a-problem-in-tms320f28379d-we-want-to-generate-pwm-with-gpio36-but-gpio36-doesn-t-have-pwm-function-nor-is-it-included-the-outputxbar

器件型号:TMS320F28379D
主题中讨论的其他器件: C2000WARE

工具/软件:Code Composer Studio

尊敬的,先生
我来自中国 领先的机器人 制造商 SIASUN 。 去年您在中国时、我们在 TI CLB 培训中相互会面。  
 
现在 、我们在 TMS320F28379D 中遇到了一个问题。 我们希望  ​使用 GPIO36,生成 PWM、但 GPIO36没有 PWM 功能、 它也不包含 OUTPUTXBAR。
是否可以使用 CLB 使其成为 PWM 引脚?
 
期待您的重播,谢谢。 ​
 
谢谢、此致
李长仪

 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    由于 GPIO36上没有 PWM 输出或输出 XBAR -因此不能使用 CLB 在该引脚上输出 PWM 输出。
    您可以使用 CLB 生成 PWM (示例位于 C2000ware 中的 C:\ti\c2000Ware_2_01_00_00\driverlib\f2837xd\examples\cpu1\clb)。
    但问题在于 GPIO36和 CLB 输出无法在该引脚上提供。