主题中讨论的其他器件:HALCOGEN、
工具/软件:Code Composer Studio
尊敬的先生:
我多次尝试根据您网站上提供的 Vedio 执行板载 LED 闪烁程序。
但它仍然无法正常工作。 指示灯不闪烁。 我将 PWM 0用于该示例。
请在这方面帮助我。
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.
工具/软件:Code Composer Studio
尊敬的先生:
我多次尝试根据您网站上提供的 Vedio 执行板载 LED 闪烁程序。
但它仍然无法正常工作。 指示灯不闪烁。 我将 PWM 0用于该示例。
请在这方面帮助我。
您好、Wang、
非常感谢您的快速响应。
您使用的是哪种电路板?
是的、TMS570LS1224电路板 AM 正在使用。
在中尝试使用引脚8与 PWM0切换。 我参考了此示例 https://training.ti.com/hercules-how-tutorial-pwm-generation-using-hercules-launchpad
您能否共享 rtiblinky 示例的链接
您好!
正如我说过的、用户 LED 连接到 GIOB[1]和 GIOB[2]。 NHET[8]引脚上的 PWM 信号无法切换这些 LED。
在 HALCoGen 中:
1.启用 GIO 模块
2.将 GIOB[1]和 GIOB[2]配置为输出
在 main()中:
1.调用 GIO init: gioInit()
调用 GIO API: gioToggleBit (gioPORTB、0x2);这将打开或关闭连接到 GIOB[1]的其中一个 LED。
如果要在 RTI 定时器中断例程中切换 GIO、请参阅 https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/910234
您好!
我尝试了此示例 http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/910234