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: GPIO setting

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

Tool/software:

Hi TI Team,

I am currently working on a project that involves migrating from the MSPM0G3507 (60-pin) to the MSPM0G1507 (48-pin) device. I have a question regarding GPIO interrupt configuration and pin mapping during this process.

In my current code (developed for the G3507), I use the following definitions for ADC pin configuration:

#define CONFIG_GPIO_ADC_0_AIN (26)
#define CONFIG_GPIO_ADC_0_AIN_PINCM (IOMUX_PINCM59)
#define CONFIG_GPIO_ADC_0_AIN_PINMUX (IOMUX_PINCM59_PF_GPIOA_DIO26)

I’ve checked the device-specific header files (mspm0g350x.h and mspm0g150x.h) and noticed that these definitions are identical in both. However, since the G1507 has fewer pins (48 pins), I’m unsure whether these mappings remain valid, especially regarding GPIO interrupt capabilities.

My questions are:

  1. Do the same DIO numbers and IOMUX definitions (e.g., DIO26, IOMUX_PINCM59) remain applicable and functional when switching to the 48-pin G1507 device?

  2. If not, what is the recommended way to remap or reconfigure these definitions for the G1507?

  3. More generally, how should I adjust my GPIO and interrupt configurations when migrating to a device with a reduced pin count?

Any guidance or reference examples would be greatly appreciated.

Thank you in advance!

Best regards,
Pakho

  • Hi Pakho,

    Just need to confirm, have you also done the pin switch as shown below and re-build the project again?

    Best Regards,
    Peter Jiang

  • Hi Peter,

    Yes, I did switch to the MSPM0G1507 (48-pin), then build the project.

    Best regards,
    Pakho

  • Hi Pakho,

    If you check the datasheet of G1507 and G3507, you can find that the definition of PA26 ADC pin of the PINCMx number is the same, so I believe sysconfig configuration results are correct, don't worry about it. 

    That is to say, If want to do the migration, just easily follow your previous approach, change the device and package in the Sysconfig, it will automatically match, if there is a conflict will also report an error message.

    Best Regards,
    Peter

**Attention** This is a public forum