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.

F28377D Delfino Experimenter Kit: ADC demo project adc_soc_epwm_cpu01

Hello all,

I am new with C2000 and learning about ADC module using a TMDXDOCK28377D. I am running the demo project  "adc_soc_epwm_cpu01".

In the file adc_soc_epwm_cpu01.c,  line 26 is: void SetupADCEpwm(Uint16 channel).

Q1) Do you know what "Uinit 16 channel" is?

Following on line 31: 

Uint16 AdcaResults[RESULTS_BUFFER_SIZE];

"Uinit16" is used again.

Q2) What if i want configure also Adcb ? Can I add the line "Uint16 AdcbResults[RESULTS_BUFFER_SIZE];" and what will this do?

Thanks a lot for your support.

  • Hi Leo,

    Leonardo Callegaro said:
    Q1) Do you know what "Uinit 16 channel" is?

    Uint16 -> Unsigned Integer 16-bit

    Leonardo Callegaro said:
    Q2) What if i want configure also Adcb ? Can I add the line "Uint16 AdcbResults[RESULTS_BUFFER_SIZE];" and what will this do?

    Nope! You need to configure ADC B channel like A channel has been done in the code


    Regards,

    Gautam