I am running the uart_echo example on a TM4C1231D5PM microcontroller. The baud rate is set for 115,200 bps,
// // Configure the UART for 115,200, 8-N-1 operation. // MAP_UARTConfigSetExpClk(UART0_BASE, MAP_SysCtlClockGet(), 115200, (UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE | UART_CONFIG_PAR_NONE));
but I only receive correct data at 38,400 bps.
Does any one have an idea on how to increase the baud rate to 115,200? When I set it to 115,200 on my computer the data is scrambled.
I should note I changed the oscillator from an external crystal to the internal oscillator,
// // Set the clocking to run directly from the crystal. // MAP_SysCtlClockSet(SYSCTL_OSC_INT);
Thanks,
Allan