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.

MSPM0G3507: Regarding Pin Configuration

Part Number: MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG,

Hello,
I am trying to configure:

1.GPIO Pin: In that, I want to configure PA0/1 pin & PA1/2 pin as standard-wake pin. If I select standard with wake IO structure then there are no those pins which are I required.




2.ADC Pin: There is only ADC12_0 & ADC12_1, I want to add 4 ADC. Is it possible or not?



Kindly refer attached pictures.


Regards,
Pratik Shinde

  • Hi Pratik,

    This is the bug of Sysconfig.

    If you want to configurate the PA0 as wake up pin, just set IO structure to ANY and choose PA0.

    Then, add below code to configurate PA0 to wake up pin. (GPIO_SWITCH_USER_SWITCH_1_IOMUX change to what you self name the pin).

     

    Fullscreen
    1
    2
    3
    DL_GPIO_initDigitalInputFeatures(GPIO_SWITCH_USER_SWITCH_1_IOMUX,
    DL_GPIO_INVERSION_DISABLE, DL_GPIO_RESISTOR_NONE,
    DL_GPIO_HYSTERESIS_DISABLE, DL_GPIO_WAKEUP_ON_1);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Regards,

    Zoey

  • Hi,
    Thanks for response....
    What's about ADC Pin?

    Regards,
    Pratik

  • Hi,

    G only support two ADCs. But I think you might mean the ADC channel? if you want to sample like 4 channel, you can just configurate one ADC and then add four memory . Every memory will related one channel.

    For detailed, you can refer to our SDK:..:\ti\mspm0_sdk_2_00_00_03\examples\nortos\LP_MSPM0G3507\driverlib\adc12_sequence_conversion

    Regards,

    Zoey