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.

LP-MSPM0G3507: ADC

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi Team,

I am currently working with the adcsinglechannel example and encountered an issue while experimenting with the ADC pins.

According to the README, when I connected 3V3 to the correct pins (PA22 and PA17), the ADC read the expected values: 3300000 uV and 4095 raw data. However, when I accidentally connected 3V3 to PA27, the ADC still returned values: 3456560 uV and 3917 raw data.

Could you help clarify why the ADC still gives a reading even when an incorrect pin (PA27) is used? Is PA27 also multiplexed as an ADC channel by default, or could this be due to some other configuration?

Additionally, I would like to expand the ADC channels to 10. I noticed that in the RTOS environment, there is no syscfg GUI tool available for pin configuration. What is the recommended way to quickly configure multiple ADC channel pins in this case? Are there examples or utilities available to simplify this process?

Thank you in advance for your support!

Best regards,
Pakho

System Details:

  • SDK Version: 2.05.01.00

  • Development Environment: CCS 20.2.0.12__1.8.0

  • Hi Pakho,

    PA27 is still a ADC input pin using ADC0 channel 0. I believe that is the reason why you are still getting some output.

    Regarding to your second question, I would recommend use the nortos version of the adcsinglechannel example that has the sysconfig feature. Configure the desire ADC channel then copy the configuration from the ti_msp_dl_config_h file to your rtos configuration.

     

    Best regards,

    Bill

**Attention** This is a public forum