Hi I want to use RS485 at 10 MBPs. I have configured the UART at 10 MBPs but I'm getting framing errors on bus. When I try at 115200 baud rate, all works fine. BTW I set my system clock to 80 MHz. Kindly could yo please guide me on this. See my code snippet below. Thanks
Regards,
Moh
//
// Enable UART5 so that we can configure the clock.
//
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_UART5);
//
// Enable GPIO port E which is used for UART5 pins.
//
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE);
//
// Configure the pin muxing for UART5 functions on port E4 and E5.
//
ROM_GPIOPinConfigure(GPIO_PE4_U5RX);
ROM_GPIOPinConfigure(GPIO_PE5_U5TX);
//
// Select the alternate (UART) function for these pins.
//
ROM_GPIOPinTypeUART(GPIO_PORTE_BASE, GPIO_PIN_4);
ROM_GPIOPinTypeUART(GPIO_PORTE_BASE, GPIO_PIN_5);
//
// Initialize the UART for console I/O.
//
ROM_UARTConfigSetExpClk(UART5_BASE, ROM_SysCtlClockGet(), 10000000L,
(UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE | UART_CONFIG_PAR_NONE));
//
// Only enable RX and TX interrupts
//
ROM_UARTIntEnable(UART5_BASE, UART_INT_RX | UART_INT_RT);
ROM_UARTEnable(UART5_BASE);
ROM_UARTFIFODisable(UART5_BASE);