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.

MSPM0L1306: SYSCONFIG can't seem to read certain pins

Part Number: MSPM0L1306
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Can't figure out why DL_GPIO_readPins() doesn't work on my specific, largish project where we have set up inputs in sysconfig and try to read them in main(), thus:

int main(void)
{
// Initialize device clock and peripherals.
SYSCFG_DL_init();
{ uint32_t value;

value=DL_GPIO_readPins(GPIO_IN_PORT,GPIO_IN_GRID_LOST_PIN);
value = value>>1;
value=DL_GPIO_readPins(GPIO_IN_PORT,GPIO_IN_GS1_SNS_PIN);
value = value>>1;

...

Now this works fine for a small project, and fine for the first pin, but not for the GS1_SNS pin, and fine if the GS1_SNS pin points to a different pin besides PA5 or PA17 in sysconfig.  It's set up as an input, with or without interrupt help.  

I'm missing something simple, but the second call to GPIO_readPins always reads 0.

Thanks!  eric