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.

Can't configure PORTG as normal IO on TM4C123GXL

Other Parts Discussed in Thread: TM4C1230H6PM

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.