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.

CCS/TM4C1294NCPDT: How to set 7 mbps speed in UART

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

Hi,

As in datasheet it's mentioned we can set the speed up to 7.5 Mbps for regular speed (divide by 16) and 15 Mbps for high speed (divide by 8).

I have tried by setting the baud rate more than 230400 then PC is not receiving the correct data.

for setting the baud rate I have use the below code,

c = SysCtlClockFreqSet((SYSCTL_XTAL_25MHZ | SYSCTL_OSC_MAIN | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480), 120000000);

SysCtlPeripheralEnable(SYSCTL_PERIPH_UART1);
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB);
GPIOPinConfigure(GPIO_PB0_U1RX);
GPIOPinConfigure(GPIO_PB1_U1TX);
GPIOPinTypeUART(GPIO_PORTB_BASE, GPIO_PIN_0 | GPIO_PIN_1);

UARTConfigSetExpClk(UART1_BASE, c ,460800,(UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE |
UART_CONFIG_PAR_NONE));

kindly suggest how to set the baud rate at least 2mbps

Thanks & regards,

Anamika