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.

Is the Tiva-C Launchapad capable of sampling from 4 different analog inputs at 80+ kHz each?

Other Parts Discussed in Thread: ENERGIA

I am new to microcontrollers in general and I am trying to read and understand as much of the TM4C datasheet as I can in regards to the ADCs, interrupts, GPIO registers and what not, but before I go too deep into all of that and try to figure out the code to get it done, does anyone know if the TM4C is capable of that? 

I have a general idea of how it would be done in Energia but I am trying to use CCS for greater control and speed.

  • Hello Samuel,

    Yes it can sample from 4 inputs at 80KHz each. What is to be noted is that the maximum sample rate is 1MSPS. So how you divide it between the channels decides the distribution.

    May suggest using the TivaWare example on ADC first, before moving to Energia. If the question is still specific to energia then I would suggest the Energia Discussion Forum.

    Regards
    Amit
  • Thank you for the response. I definetly want to stay away from Energia because I will eventually need to use the DSP library from CMSIS.
    Which TivaWare example are you refering to? I have been looking around and found the Workshop for the Tiva and haven't been able to get the lab for the ADC to work.
  • Hello Samuel.

    When you download the latest TivaWare and install it the example would be in examples/peripheral/adc directory of the place where TivaWare is installed.

    Regards
    Amit