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.

LAUNCHXL2-TMS57012: GioGet

Part Number: LAUNCHXL2-TMS57012
Other Parts Discussed in Thread: HALCOGEN

I need to read an analog input signal with the TMS57012 Launchpad using CCS, what is the function that I should use to do this?

  • The device has two ADC modules: ADC1 has 24 channels, and ADC2 has 16 channels shared with ADC1. The ADC supports 10-bit mode and 12-bit mode. The ADC can support up to 5V (VCCAD, VADREFHI).

    The voltage level of analog signal connected ADC input pin should be lower than VADREFHI. To sample the ADC input, please refer to the example code in HALCOGen: example_adcDisplay.c

    The HALCoGen help topic describes the HAL configuration for using ADC step by step.

    HALCOGen-->Help-->Help Topics-->Examples-->example_adcDisplay.c