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.

现在的28035CLA能用C语言写了吗

Other Parts Discussed in Thread: CONTROLSUITE

还有就是,我想ADC采样完,触发中断,让CLA执行读取采样数据,PI运算等功能,怎么实现,像这样,在main下面写一个中断程序,再在ADC配置了配置一下,就可以了吗

main()
interrupt void  CLA_isr(void)
  • CLA不是就是用C语言写的吗?你有什么特殊要求吗?
    CLA可以读取ADC寄存器的值,而且可以用ADC中断来触发CLA。可以参考TI官方例程:C:\ti\controlSUITE\device_support\f2803x\v130\DSP2803x_examples_ccsv5\cla_adc
  • 最初CLA只支持用汇编编写,不过只要CGT版本大于6.4.x(具体版本号不太确定了,反正从CCS5开始就已经支持),CLA部分的代码也可以使用C语言进行编写。

    具体可以看看这个链接