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.

[参考译文] CC2640R2F:传感器控制器中的 ADC 需要延迟?

Guru**** 2616675 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1171722/cc2640r2f-need-delay-for-adc-in-sensor-controller

器件型号:CC2640R2F

您好!

我将在传感器控制器项目中使用如下所示的 ADC 代码。

我是否需要在 adcGenManualTrigger 和 adcReadFifo 之间添加超过采样时间10.6us 的延迟?

adcEnableSync(ADC_REF_FIXED, ADC_SAMPLE_TIME_10P6_US, ADC_TRIGGER_MANUAL);
adcSelectGpioInput(cfg.pAuxioASensorOutput[0]);
for (U16 n = 0; n < ADC_COUNT; n++) {
    adcGenManualTrigger();
    adcReadFifo(output.pAdcValueBAT[n]);
}
adcSelectGpioInput(cfg.pAuxioASensorOutput[1]);
for (U16 n = 0; n < ADC_COUNT; n++) {
    adcGenManualTrigger();
    adcReadFifo(output.pAdcValueTemp[n]);
}

谢谢、

Calvin