MSPM33-SDK: ADC management and assigned pin

Part Number: MSPM33-SDK
Other Parts Discussed in Thread: SYSCONFIG

Hello,

 

I am working on eval board MSPM33C31A, and I try to add an ADC pin management.

I configured some items, but I do not find how/where I can assign the pin which will be the ADC input.

 

 

 

 

In PinMux, there is no pin choice.

 

Is it possible to do in this interface, or the assignation will be done in the code (if yes, which function used ?)

 

Thanks by advance

  • Hi Sebastien.

    if you update the SOC channel number this will change which pin can be used. The table below can check the datasheet for the corresponding pinout of each ADC channel. The naming convention is Ax_y refers to an ADC instance x and channel y. For example A0_1 would be adc instance 0 and adc channel 1.

  • Hello Erik,

     

    I changed the "SOC0 Channel" in "SOC Configurations", but nothing changed.

     

    Have a nice day

  • Hi Sebastien,

    Sorry for the delays. The can you please try changing the ADCIN value? this should change which pin you can select. 

  • Hello Erik,

    thanks for the answer but I already did this without effect.

    But I think there is a bug in CCS, let me explain you why:

    I have a project where I have integrated some modules (SPI, CAN, TIMER, ...) and after I wanted to integrate the ADC module, so I took an ADC example proposed. I configured exactly .syscfg file from example to mine, but impossible to have the pin assigned. I tested lot of things, but nothing.

    So I have no other choose to integrate mine .syscfg configuration in the .syscfg of example. After configurate everything, I see in my example syscfg file, the assigned pins have disapeared. So I decided to remove one by one the modules I have integrated, and I see, the MCAN module seens the issue.

    So I decide to come back on my project, to remove MCAN module to see if the assigned pins for HADC will be present, but without remove MCAN module, the assigned pins appears.

    I do not know if my comment will help you, just to know

  • Hi Sebastien,

    This is unfortunate to hear I can give this feedback to our software team to see if we can fix this in a future release.

    Are you copying certain text from the .syscfg file it's self when migrating over or just adding the settings directly? Also what's the version of sysconfig, CCS, and the SDK are you using?

    We recently released version 1.04 of the SDK to ti.com :https://www.ti.com/tool/MSPM33-SDK#downloads. this might help with your issue.


  • Hello Erik,

    no I do not write directly on the syscfg file, I use only the interface.

    about versions :

    CCS V20.5.0.28_1.11.0

    SDK V1.3.0.01

    Hope help you