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.

AWR1843AOPEVM: AWR1843AOPEVM GPIO Reassignment

Part Number: AWR1843AOPEVM
Other Parts Discussed in Thread: AWR1843

Tool/software:

I have been trynng to reassign some of the pins on the 1843AOPEVM to be GPIO but they dont appear to change.

I have tried reassigning the I2C_SCL to GPIO15 which is Pin V16 on this chip and JTAG_TCK to GPIO_17 which is Pin T3 .  I used the following code to reassign.

/**********************************************************************
* Setup the PINMUX:
* - GPIO Output: Configure pin PINN4_PADBD (PINV16_PADBD on AOP) as GPIO_15 output
**********************************************************************/
Pinmux_Set_OverrideCtrl(SOC_XWR18XX_PINN4_PADBD, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);    
Pinmux_Set_FuncSel(SOC_XWR18XX_PINN4_PADBD, SOC_XWR18XX_PINN4_PADBD_GPIO_15);
/**********************************************************************
* Setup the PINMUX:
* - GPIO Output: Configure pin P10/T3 as GPIO_17 output
**********************************************************************/
Pinmux_Set_OverrideCtrl(SOC_XWR18XX_PINP10_PADAU, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);
Pinmux_Set_FuncSel(SOC_XWR18XX_PINP10_PADAU, SOC_XWR18XX_PINP10_PADAU_GPIO_17);
/**********************************************************************
* Setup the GPIO:
* - GPIO Output: Configure pin N4/V16 as GPIO_15 output
**********************************************************************/
config->SensorStatusGPIO    = SOC_XWR18XX_GPIO_15; //or SOC_XWR18XX_GPIO_17
config->triggerGPIO         = SOC_XWR18XX_GPIO_15; //or SOC_XWR18XX_GPIO_17 used later for toggling pin

/**********************************************************************
* Setup GPIO_15
**********************************************************************/
GPIO_init();
GPIO_setConfig(config->SensorStatusGPIO, GPIO_CFG_OUTPUT);
GPIO_write(config->SensorStatusGPIO, 0);

When I build and deploy I expect the output to be low on GPIO15 with the above code but on the oscope it is always high, conversely I can set GPIO_17 to be high but it is always low on the oscope.

I have also tried toggling the output pin with the following code that works on GPIO_2 but not for GPIO_15 or GPIO_17.

 static void gpioInterruptTask(UArg arg0, UArg arg1)
{
    while(1)
    {
        Task_sleep(100);
        GPIO_toggle(gArmMCB.cfg.platformCfg.triggerGPIO);
    }
}

I have read the codumentation and looked at the GPIO test in the toolbox and it looks like I am doing everything correctly however GPIOs 15 & 17 are not repsonding to the code.

Any help would be appreciated.