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: Simple question on ADC Sequencers, it's channels and FIFOs

Part Number: TM4C123GH6PM

Hi!

I've been trying to create a module to work with the sample sequencers and I couldn't find anywhere what would happend if I tried to read more than the sequencer's FIFO max size. 

TM4C123GH6PM supports 12 analog channels, but SEQ0 has a FIFO of size 8. For me this means I can configure the priority of channels from 0 to 7 and declare the end of the sequence using ADCSequenceStepConfigure(). Does this means that SEQ0 can only read 8 channels max? For the other 4 channels I'd need to use another sequencer like SEQ1 that has a FIFO of size 4?

Sorry if this is answered on the datasheet, I read it thoroughly but could't find anything on this matter.

  • HI,

    TM4C123GH6PM supports 12 analog channels, but SEQ0 has a FIFO of size 8. For me this means I can configure the priority of channels from 0 to 7 and declare the end of the sequence using ADCSequenceStepConfigure(). Does this means that SEQ0 can only read 8 channels max? For the other 4 channels I'd need to use another sequencer like SEQ1 that has a FIFO of size 4?

    Your understanding is correct. You can assign the first 8 channels to SEQ0 and the other 4 channels to SEQ1. 

      You can also configure the priority between the sequencers. Please see below. 

    13.3.2.3 Prioritization
    When sampling events (triggers) happen concurrently, they are prioritized for processing by the
    values in the ADC Sample Sequencer Priority (ADCSSPRI) register. Valid priority values are in
    the range of 0-3, with 0 being the highest priority and 3 being the lowest. Multiple active sample
    sequencer units with the same priority do not provide consistent results, so software must ensure
    that all active sample sequencer units have a unique priority value.