The baud rate only affects the host’s serial API throttling; actual USB transfer is fixed at 12 Mbps.

When the STM32 device connects:

: Exchanging sensor data or commands between a PC and an embedded system without needing a physical USB-to-UART bridge chip.