如题:1、按照例程“adcbufcontinuous”配置ADC,不配置定时器时,ADC能正常采样。
2、当同时配置了定时器和ADC,则定时器正常,ADCBuf_open(adcChan, &adcBufParams)打开失败。
请问,如何配置ADC,能正常使用?哪里有参考例程?
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.
如题:1、按照例程“adcbufcontinuous”配置ADC,不配置定时器时,ADC能正常采样。
2、当同时配置了定时器和ADC,则定时器正常,ADCBuf_open(adcChan, &adcBufParams)打开失败。
请问,如何配置ADC,能正常使用?哪里有参考例程?
ADC例程在SDK安装目录:C:\ti\simplelink_cc13x0_sdk_4_20_01_03\examples\rtos\CC1310_LAUNCHXL\drivers下
adcbufcontinuous和adcsinglechannel
还可参考此处关于ADC的说明:https://dev.ti.com/tirex/explore/node?node=AOng5xFsavzvQ16.KytQHg__eCfARaV__LATEST
我参考的是“C:\ti\simplelink_cc13x0_sdk_4_20_01_03\examples\rtos\CC1310_LAUNCHXL\drivers\adcbufcontinuous”,现在遇到的问题是,不用定时器时,ADC采样正常,用了定时器,ADC采样就不行了,还没找到原因