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.

ADC : TM4C123G

Hey,

I am having difficulty in understanding the concept of channels. there are 24 channels to choose from in ADCSequenceStepConfigure().

If I am using sample sequencer 0 whose depth is 8. Then, when I am configuring sample sequencer, Will it be same for all or I can individualy configure all the entries of the FIFO?

Is there a option to configure each from a different pin?

What is the difference b/w ADCSequenceStepConfigure(). and ADCSequenceConfigure(), not in terms of parameter but in principle.

regards,

Vikram

  • Hello Vikram,

    The ADC Sample Sequencer works by scheduling samples from individual channels as programmed in ADCSSMUXn register. Now these individual channels can be the same channel or different channels.

    To answer your specific questions: It is perfectly valid combination to configure each entry of sequencer to an independent channel.

    ADCSequenceConfigure: Configure the Sequencer's parameters like trigger source and priority

    ADCSequenceStepConfigure: Configures the Sequencer's channel selection properties and number

    Regards

    Amit