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: Differential ADC

Part Number: TMS320F28379D


Hi,

I was a bit confused about the functionality of the differential ADC operation on the 28379D.  The technical reference manual defines the differential pairs as IN0-IN1, IN2-IN3 and so on for differential adc operation .  However I was not sure how they map to the ADC channels in the examples.

ie: Is it possible to use either of (ADCA0,ADCA1) or (ADCD2,ADCD3) as a pair ( even channel , (even+1)channel  ) as a pair for all the ADC registers (ADCA, ADCB, ADCC, ADCD)

Thank you,

Aditya 

  • Hi Aditya,

    Yes, for ADC-A if you set the channel select to 0 (or 1) then the ADC will use A0&A1 as the input channel.  This will produce one result.

    e.g. ADCB.SOC4.CHSEL = 2 will sample B2&B3 and store the result in ADCB.RESULT4

    e.g. ADCC.SOC2.CHSEL = 0 will sample C0&C1 and store the result in ADCC.RESULT2

    e.g. ADCC.SOC2.CHSEL = 1 will also sample C0&C1 and store the result in ADCC.RESULT2

    You can never use anything other than even & (even+1) on the same ADC to form a differential pair (e.g. you can't use A0&A3 and you can't use A0&B0)

  • Thank you for the help