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.

TM4C123GH6PM: Sample sequencer flow

Part Number: TM4C123GH6PM

Hi,

In my application I need to sample 10 channels simultaneously at 10KHz. I need clarity on using sequencers. After reading datasheet, I would be sampling 5 Channels with ADC0 and the other 5 with ADC1.

As there are 4 Sequencers per ADC, how should I sample my data for 5 channels efficiently??

Is it like:

CH1=SS0

CH2=SS1

CH3=SS2

CH4=SS3

CH5=SS4 2nd FIFO data?

  • Hi,

      Your understanding is probably mistaken. Please see below table. As you can see, SS0 is a sequencer that can support up to 8 samples. This means you will assign CH1/CH2/CH3/CH4/CH5 all to SS0. When a trigger is received for SS0, it will sample the 5 channels in sequence. It is also possible for you to only use 1 ADC instead of 2 ADC. For example, you can assign 8 channels to SS0 and 2 channels to SS1 of the first ADC. You can split the 10 channels between the two ADC and that is your decision. Of course, with two ADC you can have some parallelism. 

  • Thanks for the reply Charles, 

    One more thing, the 1MSps rate of ADC is for one channel? and how would it drop for 10 channels?

    If I use two ADC can this sampling rate somehow be divided 1Msps for 5 channels and 1 Msps for 5?

    How to go about it.

  • Hi,

    One more thing, the 1MSps rate of ADC is for one channel?

      1MSPS is for one ADC, not one channel. If you have only on channel, you can take 1 mega-samples per second for that channel. But If you have 10 channels, then at maximum you can take 100k samples per channel in one second but for 10 channels you still get 1MSPS. 

      If you use two ADC modules then you can get up to 2MSPS.