Hello,
Customer use TM4C1230H6PM, find can't configure PORTG as IO.
the source code is as below:
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOG); //enable GPIOG
GPIODirModeSet(GPIO_PORTG_BASE, GPIO_PIN_1, GPIO_DIR_MODE_OUT);
GPIOPadConfigSet(GPIO_PORTG_BASE, GPIO_PIN_1 , GPIO_STRENGTH_2MA, GPIO_PIN_TYPE_STD);
GPIOPinTypeGPIOOutput(GPIO_PORTG_BASE, GPIO_PIN_1);
I have tested the same source code on our TM4C123GXL, find the same problem. when call GPIODirModeSet api, will enter into FaultISR. it seems PORTG can't use, but other PORT are OK.