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.

GPIO not toggling CC2538+zStack

Other Parts Discussed in Thread: CC2538

I tried to toggle the GPIO in CC2538 + zStack  with the following code

IOCPadConfigSet( GPIO_A_BASE, GPIO_PIN_6, IOC_OVERRIDE_PUE);

    GPIODirModeSet( GPIO_A_BASE, GPIO_PIN_6, GPIO_DIR_MODE_OUT),

    GPIOPinTypeGPIOOutput(GPIO_A_BASE,GPIO_PIN_6);

    GPIOPinWrite(GPIO_A_BASE,GPIO_PIN_6,0);

    GPIOPinWrite(GPIO_A_BASE,GPIO_PIN_6,1);

GPIOPinWrite(GPIO_A_BASE,GPIO_PIN_6,0);

But after once I made the GPIO to low I can't see that the GPIO beacomes high again after calling the function GPIOPinWrite(GPIO_A_BASE,GPIO_PIN_6,1);

Is there something extra do I need to do When I'm trying to use gpio while using zStack