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