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.
Hi,
在ADC中初始化中调用AdcOffsetSelfCal()函数陷入死循环,请问是什么原因呢?
初始化完ADC后,调用void AdcOffsetSelfCal()进行偏置校准
AdcOffsetSelfCal()就是偏置校准的方法,也可以周期性校准,只要你把这个函数放在一个周期性函数中即可。
看到一个类似的问题,你可以看下:
https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/826572/ccs-tms320f28069-the-adcoffsetselfcal-function-runs-abnormally-during-the-debug-process-and-cannot-be-quit
大概是明白了,可能是我使用了不同的库版本的问题。现在还有一个问题就是,F2802x最新版本v230的库文件我要引用那些头文件和源文件了?有点看不懂了,感觉跟之前版本(V125)差别有点大。
感谢您的回答!
你好,你现在用的是controlSUITE吗?
现在TI官方已经停止更新controlSUITE了,现在C2000主要使用C2000WARE,对应的路径在这里:C:\ti\c2000\C2000Ware_3_04_00_00\device_support\f2802x