SWRZ131B September   2022  – June 2024 CC1354R10

 

  1.   1
  2.   Trademarks
  3. 1Advisories Matrix
  4. 2Nomenclature, Package Symbolization, and Revision Identification
    1. 2.1 Device and Development Support-Tool Nomenclature
    2. 2.2 Devices Supported
    3. 2.3 Package Symbolization and Revision Identification
  5. 3Advisories
    1.     Radio_01
    2. 3.1 Radio_05
    3.     Power_03
    4.     PKA_01
    5.     PKA_02
    6.     I2C_01
    7.     I2S_01
    8.     CPU_Sys_01
    9. 3.2 CPU_04
    10.     Sys_01
    11.     SYSCTRL_01
    12.     IOC_01
    13.     ADC_02
    14.     Flash_02
  6. 4Revision History

ADC_02

ADC samples can be delayed by two or 14 clock cycles (24 MHz) when XOSC_HF is turned on or off, resulting in sample jitter.

Revisions Affected:

Revision C

Details:

There is no dedicated clock source selection for the ADC clock. The clock is derived from either XOSC_HF or RCOSC_HF but defaults to an XOSC_HF-derived clock whenever this is turned on.

When the ADC clock source is switched from RCOSC_HF to XOSC_HF-derived clock, the clock will stop for 2 cycles (24MHz).

When the ADC clock source is switched from the XOSC_HF-derived clock to the RCOSC_HF-derived clock, the clock will stop for an additional 12 clock cycles, as the RCOSC_HF-derived clock is not ready when the switch is done.

SCLK_HF switches from RCOSC_HF to XOSC_HF at different times, compared to the ADC clock. This leads to a sample jitter.

Workaround 1:

Use asynchronous sampling

  • This will reduce the delay of 14 clock cycles down to two clock cycles.
  • Using asynchronous sampling and an external trigger source (GPIO input pin) will eliminate the delay completely

To use the ADC in asynchronous mode from the Sensor Controller:

Call adcEnableAsync()to enable the ADC, instead of adcEnableSync()

Example:

adcEnableAsync(ADC_REF_FIXED, ADC_TRIGGER_AUX_TIMER0);

To use the ADC in asynchronous mode from the System CPU, by using the ADCBuf driver:

ADCBuf_Params params;
ADCBufCC26X2_ParamsExtension paramsExtension;

ADCBuf_Params_init(&params);
ADCBufCC26X2_ParamsExtension_init(&paramsExtension);

paramsExtension.samplingMode = ADCBufCC26X2_SAMPING_MODE_ASYNCHRONOUS;
params.custom = &paramsExtension;

To use the ADC in asynchronous mode from the System CPU, 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:

  • In asynchronous mode, the ADC trigger ends the sampling period (which started immediately after the previous conversion) and starts the conversion.
  • In synchronous mode, the ADC trigger starts the sampling period (with configurable duration), followed by conversion

Workaround 2:

Ensure that XOSC_HF is not turned on or off while the ADC is used.