I am using the Tiva launchpad and am trying to read serial data at 4 Mbps from an external device.
According to the microprocessor datasheet the TM4C supports up to 5 Mbps.
I set the UART clock to the system clock of 80MHz and the internal oscillator at 16MHz
No matter what I try, I cannot get data without errors, usually overrun or framing.
I am using the driver library supplied by Tivaware to configure the UART. Does it have some limitations for baud rates ouside of the 'normal' e.g. up to 921600? Should I be setting each register manually?