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.

TM4C129EXL NMI PIN (PD7) use as GPIO in TI RTOS

Hello,

I would like to use PD7 as a GPO pin, more precisely as an SPI CS pin in TI RTOS environment. First I tried in:

GPIO_PinConfig gpioPinConfigs[] = {

...

// ADC1_CS
GPIOTiva_PD_7 | GPIO_CFG_OUT_STD | GPIO_CFG_OUT_STR_MED | GPIO_CFG_OUT_HIGH,

...
}

but does have any effect even if I disabled the USB module to work. ( I mean during the main function I do not call any usb module initialization methods.). On the LP user manual, the pin has NMI function:

B1 7 Analog PD7 128 AIN4 U2CTS - T4CCP1 USB0PFLT - - NMI - - - SSI2XDAT2

Do you think that I need to unlock NMI to use PD7 as a GPO? Do you have any sample code or snippet for my problem?

Thank you in advance,