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.

TMS320F28379D: Changing ADC resolution between samples.

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

I'm looking at using different channels of individual ADC in different resolutions.  Is there a delay required between when the resolution is changed to when I can start sampling in the new resolution?

Right now the interrupt generated from the 16Bit conversion does the following:

    ADC_setMode( ADCB_BASE, ADC_RESOLUTION_12BIT, ADC_MODE_SINGLE_ENDED );
    ADC_setMode( ADCD_BASE, ADC_RESOLUTION_12BIT, ADC_MODE_SINGLE_ENDED );
    EPWM_forceADCTrigger( EPWM1_BASE, EPWM_SOC_B );

This seems to work I just want to verify this does not violate any timing requirements.

Note: the interrupt from the 12Bit conversion changes back to 16Bit.

  • Hello Matt,

    No there is no delay required (the only timing requirements for this ADC is for sampling, other delays needed are built into driverlib functions if you're using the latest C2000Ware). The only thing is you will have a difference in precision, so you will see more noise on the 16-bit mode of the ADC depending on your setup or any processing you do.