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: Simultaneous sampling of ADC

Part Number: TMS320F28379D

refernce manual screenshot

I am using simultaneous sampling of ADC for my application but in f28379d reference manual has given all four channel results store in ADCRESULT0 register.how its possible and how i will identify four signal from same register. 

  • Hi,

    Simply change the ADCSOC'x'CTL register for getting the converted values in to different Result registers.

    Regards,
    Gautam
  • thanks Gautam for reply, i have checked same register.it is working fine.
  • You mean you're able to filter out respective values from result0 register itself?
  • Hi Sonak,

    Note that there are different register sets for each of the 4 ADCs:

    e.g. AdcaRegs...    AdcbRegs...

    So when you go to read the result registers there are 4 copies of result 0, one for each ADC. 

  • Hi Gautam,

    This controller has four different register sets.

    Please refer the below instruction:

    AdcaRegs.ADCSOC0CTL.bit.CHSEL = 0;
    AdcaRegs.ADCSOC0CTL.bit.ACQPS = 14;
    AdcaRegs.ADCSOC0CTL.bit.TRIGSEL = 21;

    AdcbRegs.ADCSOC0CTL.bit.CHSEL = 0;
    AdcbRegs.ADCSOC0CTL.bit.ACQPS = 14;
    AdcbRegs.ADCSOC0CTL.bit.TRIGSEL = 21;

    AdccRegs.ADCSOC0CTL.bit.CHSEL = 2;
    AdccRegs.ADCSOC0CTL.bit.ACQPS = 14;
    AdccRegs.ADCSOC0CTL.bit.TRIGSEL = 21;

    AdcdRegs.ADCSOC0CTL.bit.CHSEL = 0;
    AdcdRegs.ADCSOC0CTL.bit.ACQPS = 14;
    AdcdRegs.ADCSOC0CTL.bit.TRIGSEL = 21;

    X = AdcaResultRegs.ADCRESULT0;
    Y = AdcbResultRegs.ADCRESULT0;
    Z = AdccResultRegs.ADCRESULT0;
    U = AdcdResultRegs.ADCRESULT0;

    four adc groups having different result registers.