Hi @oeliks
You can set baud rate different than 9600 in STM32CubeMX.
How to reproduce:
- Install PuTTY: PuTTY is a free and open-source terminal emulator, serial console and network file transfer application

- Open CubeMX
- Activate USART or UART or LPUART or I2C or SPI (IPs communication)
- Change the value of the baud rate

- Generate your code
- Download and debug
- Go to Device Manager

- Open PuTTY => Putty configuration : put the same configuration of CubeMX: Speed, data bits, stop bits, parity and flow control.

- Go to session => Connection type: Serial

- Click Open=> a black window starts

Best regards,
Nesrine.