115200 is a much more sane "default" than 38400. Instead of a mix of 38400 and 115200, just use 115200 in all places. There's no reason for modern 32bit cpus to be using such old slow baudrates. Tested on f1, f4, l1. Replaced some old f1 code that predated some library support code for this.
README
This example program sends some characters on USART3 on the ST STM32-based Olimex STM32-H103 eval board.
The terminal settings for the receiving device/PC are 115200 8n1.
The sending is done in a blocking way in the code, see the usart_irq example for a more elaborate USART example.