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.

280049

Other Parts Discussed in Thread: C2000WARE

大家好,最近刚开始学习DSP280049,从TI官方例程中找到点亮LED灯的程序,但在编译与Debug不报错的情况下,并没有实验效果,即不闪烁。经过一些讨论与尝试,发现例程是针对controlCARD写的,而开发板是launchpad,只有在.h文件中删除部分if程序(if launchpad;...else...),即不让程序做判断与选择,如此程序才能出来效果,LED灯闪烁,请问此类问题应该如何解决呢,谢谢。

  • 我使用的是下面路径内的led_ex1_blinky例程,CCS10在280049 LAUNCHPAD上烧录,

    \C2000Ware_3_02_00_00\driverlib\f28004x\examples\led

    并且添加了_LAUNCHXL_F280049C

    If using a Launchpad, add a pre-defined symbol within the project properties called "_LAUNCHXL_F280049C".

    可以看到launchpad上的LED4闪烁

    controlCARD 和 launchpad在GPIO引脚定义上会有一些不同。您可以通过两者的原理图获取详细信息。

    例程使用的话,可以参考文档F28004x_FRM_EX_UG

    路径为C2000Ware_3_02_00_00\device_support\f28004x\docs