MSPM0G3519: MSPM0G3519 Reading GPIO through API

Part Number: MSPM0G3519

Tool/software:

Hi,

We are reading a gpio as input, through the API 

DL_GPIO_initDigitalInputFeatures(config->pinPortIdx,config->gpioInversion, DL_GPIO_RESISTOR_PULL_UP, config->gpioHysteresis,config->gpioWakeup);

            }

there is a voltage divider before the GPIO, when initialised the gpio doesn’t read a high input. When uninitialised the gpio reads high as expected. 

Also, when initialized the gpio has a current draw of 70 mA which is much higher than expected.

Is there any thing wrong we are doing? As this Is highly unexpected behaviour.

  • Hi,

    I am not exactly getting your point. 

    But for a current draw of 70mA on a single pin. It could damage that pin with this high current. The maximum current on a SDIO is only 6mA. That GPIO could be damagedunder such high current. 

    Best regards,

    Cash Hao