Introduction - If you have any usage issues, please Google them yourself
STM32 simultaneously receive and send three serial, serial port 1 to use printf (), 2 serial ports use u2_printf (), 3 serial ports use u3_printf (). Accepting timer interruption timeout, 5ms does not receive data that the receiving end of this, set the appropriate flag, the main program to detect and process the received data.