我用一个Io口采集外部传感器的电压,但是不知道要怎么设置
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.
The ADCBuf driver allows you to sample and convert analog signals at a specified frequency. The resulting samples are placed in a buffer provided by the application. The driver can either take N
samples once or continuously sample by double-buffering and providing a callback to process each finished buffer.
ADCbuf支持更高的采样率,adcbufcontinuous是持续采样
adcsinglechannel是单通道采样
我用一个Io口采集外部传感器的电压,但是不知道要怎么设置
直接使用adcsinglechannel就可以了
在问一下具体的采集口在哪里设置,比如说ADC_open(Board_ADC0, ¶ms),这个Board_ADC0对应的是哪一个DIO口
readme.html文件中说明,ADC0对应的DIO23
程序的話在CC1310_LAUNCHXL.c的ADCBufCC26XX_adcChannelLut/adcCC26xxHWAttrs去做采集口设置