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.

TM4C123 UART5 doesn't do anything

I've tried to make use of UART five of TM4C123GXL UART5. Having used UART0 and UART1 in the same code I copied initialising code and edited it accordingly:

void UART5Init(void){
    SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE);                    /* Enable PORT E which is used UART5 */
    SysCtlPeripheralEnable(SYSCTL_PERIPH_UART5);                    /* Enabling UART5 peripheral */
    
    while(!SysCtlPeripheralReady(SYSCTL_PERIPH_UART5)){        /* If peripheral is not configured, wait a bit */
    }
    
    GPIOPinConfigure(GPIO_PE4_U5RX);                                          
  GPIOPinConfigure(GPIO_PE5_U5TX);                        
    
  GPIOPinTypeUART(GPIO_PORTE_BASE, GPIO_PIN_4 | GPIO_PIN_5);

    UARTClockSourceSet(UART5_BASE, UART_CLOCK_SYSTEM);        
    UARTStdioConfig(5, 115200, 50000000);                                
}

For testing such system I tried a loopback test and it doesn't work. Other UARTS don't seem to send anything either. I tried to check if there's some bits that need unlocking and PE1 and PE5 aren't configured as some particular peripheral part. What could be wrong?