SWRZ118A February 2022 – October 2026 CC1311P3
Periodic ADC trigger at 200 kHz rate can be ignored when XOSC_HF is turned on or off
When the ADC clock source is switched from RCOSC_HF to XOSC_HF-derived clock, the clock will stop for 2 cycles (24 MHz).
When the ADC clock source is switched from XOSC_HF-derived clock to RCOSC_HF-derived clock, the clock will stop for additionally 12 clock cycles, as the RCOSC_HF-derived clock is not ready when switch is done.
The fact that the clock is stopped, together with the difference in frequency between XOSC_HF and RCOSC_HF, may cause the ADC sampling and conversion to finish too late to catch the next trigger.
The sampling period after the issue occurs can be reduced by up to 20% (12 + 1 clock cycles at 24 MHz)
To use the ADC in asynchronous mode, by using the ADCBuf driver:
ADCBuf_Params params;
ADCBufCC26X2_ParamsExtension paramsExtension;
ADCBuf_Params_init(¶ms);
ADCBufCC26X2_ParamsExtension_init(¶msExtension);
paramsExtension.samplingMode = ADCBufCC26X2_SAMPING_MODE_ASYNCHRONOUS;
params.custom = ¶msExtension;To use the ADC in asynchronous mode, by using DriverLib API:
Call
AUXADCEnableAsync()to enable the ADC,
instead of AUXADCEnableSync()
Example:
AUXADCEnableAsync(AUXADC_REF_FIXED, AUXADC_TRIGGER_GPT0A);Please note the difference between the asynchronous and synchronous ADC modes: