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-MSPM0L2228: initializing and working with 16 ADC channels

Part Number: LP-MSPM0L2228
Other Parts Discussed in Thread: SYSCONFIG, MSPM0L2228

Tool/software:

I'm working with the MSPM0L2228 microcontroller and need to initialize 16 ADC channels. When using SysConfig, I'm encountering difficulties configuring all channels simultaneously. Could you share the approach, either through SysConfig or directly in code? to intialize ADC channels

  • Hi Chandana,

    The doable way refers to below:

    1. Configure the ADC channels as 12 inside the sysconfig tool.

    2. In application code, manually make a API to set the other 4 ADC channels [Just refer to what you get from sysconifg code for the ADC channels setting]

    3. After the ADC finish the first 12 channels conversion (do not use repeat mode), then manually switch the adc channel to the following 4 channels remained to continue

    4. When finish the remained 4 channels, switch back

    B.R.

    Sal