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.

TM4C129DNCPDT: not getting the desired output

Part Number: TM4C129DNCPDT

#include <stdint.h>
#include <stdbool.h>

#include "inc/hw_memmap.h"
#include "driverlib/sysctl.h"
#include "driverlib/gpio.h"
#include "driverlib/uart.h"
#include "driverlib/pin_map.h"

int main(void)
{
    uint32_t sysClock;

    // Set system clock to 120 MHz
    sysClock = SysCtlClockFreqSet(
        SYSCTL_XTAL_25MHZ |
        SYSCTL_OSC_MAIN |
        SYSCTL_USE_PLL |
        SYSCTL_CFG_VCO_480,
        120000000
    );

    // Enable GPIOA
    SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA);
    while(!SysCtlPeripheralReady(SYSCTL_PERIPH_GPIOA));

    // Enable UART0
    SysCtlPeripheralEnable(SYSCTL_PERIPH_UART0);
    while(!SysCtlPeripheralReady(SYSCTL_PERIPH_UART0));

    // Configure PA0 (RX) and PA1 (TX) for UART0
    GPIOPinConfigure(GPIO_PA0_U0RX);
    GPIOPinConfigure(GPIO_PA1_U0TX);
    GPIOPinTypeUART(GPIO_PORTA_BASE, GPIO_PIN_0 | GPIO_PIN_1);

    // Configure UART0: 9600 baud, 8 data bits, no parity, 1 stop bit
    UARTConfigSetExpClk(
        UART0_BASE,
        sysClock,
        9600,
        UART_CONFIG_WLEN_8 |
        UART_CONFIG_STOP_ONE |
        UART_CONFIG_PAR_NONE
    );

    // Enable UART0
    UARTEnable(UART0_BASE);

    // Main loop
    while(1)
    {
        UARTCharPut(UART0_BASE, 'H');
        UARTCharPut(UART0_BASE, 'i');
        UARTCharPut(UART0_BASE, '\r');
        UARTCharPut(UART0_BASE, '\n');

        SysCtlDelay(sysClock / 3); // ~1 second delay
    }
}

this is the code  i am using for uart communication, i am using ttl to usb converter and putty for terminal , i have used the other uart ports also the receiver part is working completely fine but transmitter part is not working so guide me to get the desired utput when i debug the code i see blank screen in putty