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.

CC1310: ADC对RF休眠影响的问题

Part Number: CC1310

为什么执行了ADC初始化之后,执行RF_yield函数会卡死?如下为ADC初始化代码,只要执行了这段代码,在后面射频发送完数据后执行RF_yield,程序就会卡死,请问是什么原因呢?

void Hal_Adc_Init(void)
{
    //打开adc时钟
    AUXWUCClockEnable(AUX_WUC_ANAIF_CLOCK);
    AUXWUCClockEnable(AUX_WUC_ADI_CLOCK);
    AUXWUCClockEnable(AUX_WUC_ADC_CLOCK);

   //选择adc通道和引脚
   AUXADCDisable();
   IOCPortConfigureSet(IOID_9, IOC_PORT_AUX_IO, IOC_STD_INPUT);
   AUXADCSelectInput(ADC_COMPB_IN_AUXIO3);

   //开启adc
   AUXADCEnableSync(AUXADC_REF_VDDS_REL, AUXADC_SAMPLE_TIME_10P6_US, AUXADC_TRIGGER_MANUAL);
}