Is there any API to change the UART baud rate? I have tried to search it in the datasheet of UART, but I counldn't find it. So how to change UART baud rate in software?
You can provide an external clock to the SCB UART. Together with the oversampling factor this determines the baud rate. And then you can change the external clock to qhatever you need.