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.

CCS/TM4C123GH6PM: Sample Sequence

Part Number: TM4C123GH6PM

Tool/software: Code Composer Studio

I am trying to understand the Sample Sequencer and the ADCSequenceStepConfigure().

1)  SS0 has 8 step sequences and in our case, those 8 steps just address one channel. Each step sequence requires an ADCSequenceStepConfigure(), but if those 8 steps are the same do we need 8 ADCSequenceStepConfigure() lines of code in CCS?

2) The third parameter of the ADCSequenceStepConfigure() is the ui32 step. From the data sheet, “The ui32Step parameter determines the order in which the samples are captured by the ADC when the trigger occurs. It can range from zero to seven for the first sample sequencer”. Is the 0 – 7 referring to which of the 8 steps you are starting on? (i.e if step = 4 you are starting on step 4 of 8 and goes 5-7, then 0-3). I am unclear of the meaning of “order in which samples are captured”.

3) Is the order of ADC conversion, ADC input channel -> Sample Sequencer -> FIFO or Input channel -> FIFO -> Sample Sequencer? The block diagram of the data sheet on page 801 shows the input channel connected to the FIFO then the Sample Sequencers. There is no explanation of the block diagram which is confusing.

Thank you,

Alexander Ha