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: How to Configure Multiple ADC Channels in SysConfig?

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

Tool/software:

Hi,

I am currently using the 'adc_to_uart_LP_MSPM0L2228_nortos_ticlang' example on the LP-MSPM0L2228. I noticed that only one ADC channel can be configured in SysConfig, even though it theoretically supports up to 26 external channels. Are there any additional settings that need to be configured? Thank you.

MSPM0L2228

https://www.ti.com/product/MSPM0L2228


Best regards,

Eason Tsai

  • Hi Eason,

    Please use below picture to configurate differenct channel.

    Regards,

    Zoey

  • Hi Zoey,

    I found that setting Input Channel 6 / PB19 results in an error, while setting other Input Channels, such as Input Channel 14 / PA16, does not cause any issues. Could this be due to usage limitations, or is there another reason?

    [9]Generating Code (adc_to_uart.syscfg)...
    [10]subdir_rules.mk:14: recipe for target 'build-1906488417' failed
    [11]0 error(s), 1 warning(s)
    [12]TypeError: Cannot read properties of undefined (reading '$solution')
    [13]    at printDefine (/home/eason/ti/mspm0_sdk_2_02_00_05/source/ti/driverlib/.meta/adc12/ADC12.Board.h.xdt:168:55)
    [14]    at subTemplateFunction (/home/eason/ti/mspm0_sdk_2_02_00_05/source/ti/driverlib/.meta/adc12/ADC12.Board.h.xdt:54:13)
    [15]    at /home/eason/ti/sysconfig_1.21.0/dist/webpack:/sysconfig/src/pinmux/services/resources/runtime.ts:116:11
    [16]    at templateFunc (/home/eason/ti/mspm0_sdk_2_02_00_05/source/ti/driverlib/.meta/templates/Board.h.xdt:52:10)
    [17]    at func (/home/eason/ti/sysconfig_1.21.0/dist/webpack:/sysconfig/src/pinmux/services/codeGeneration/templateRunner.ts:29:39)
    [18]    at allowPathVisibility (/home/eason/ti/sysconfig_1.21.0/dist/webpack:/sysconfig/src/pinmux/services/pathsVisibility.ts:11:10)
    [19]    at runTemplate (/home/eason/ti/sysconfig_1.21.0/dist/webpack:/sysconfig/src/pinmux/services/codeGeneration/templateRunner.ts:29:13)
    [20]    at t.CodeGenerator.generate (/home/eason/ti/sysconfig_1.21.0/dist/webpack:/sysconfig/src/pinmux/services/codeGeneration/codeGenerator.ts:136:10)
    [21]    at iteratee (/home/eason/ti/sysconfig_1.21.0/dist/webpack:/sysconfig/src/pinmux/services/codeGeneration/codeGenerator.ts:141:26)
    [22]    at Rt (/home/eason/ti/sysconfig_1.21.0/dist/webpack:/sysconfig/node_modules/lodash/lodash.js:653:23)
    [23]gmake: *** [build-1906488417] Error 1
    [24]gmake: Target 'all' not remade because of errors.
    [25]**** Build Finished 

    Best regards,

    Eason Tsai

  • Hi Eason,

    This is the bug of Sysconfig, I will report this issue to our software team.

    For using, if you want to use this channel, please write code by yourself. You can copy the init code for other channel and then pates, modify some...

    Regards,

    Zoey

**Attention** This is a public forum