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.

About ADC conversion in TM4

Hi.  I am new to controller environment. Now  i study about ADC. Can you suggest me what are the functions needed to get analog input through port pins???

  • Hi Mary,

         Since you are new here, read some sticky post in this forum to get some guidance.

         First of all, what Tiva kit are your using to learn ADC? There are workshops for specific Tiva Kits that may help you.

         If you have already installed Tivaware, there are relevant docs there that will help you, such as the Tivaware Peripheral User's Guide. At the examples folder there are also example codes for ADC. Lastly, this forum has many ADC posts that you can learn from, so do a search in this forum for "ADC'.

    - kel

  • Additionally, I suggest to download the datasheet of the MCU you deal with, and carefully study the ADC section. That should give you an idea of the configuration and operation on register level, and what the driver software ("TivaWare" in this case) is "hiding" from you. The ADC peripherals of most competitor's MCUs are working in a very similiar way, so that's in no way lost time. Basic knowledge of the workings of SA-ADCs is assumed ...

  • Hello All,

    Good suggestion especially on first reading the data sheet (thanks f.m.)

    Also download the TivaWare from ti web site and after installation go to examples/peripherals/adc to get a grasp on ADC programming to make co-relation between data sheet, libraries and actual code

    Regards

    Amit