What is the appropiate way to configure the speed of the serial port dinamically? In the application the serial port needs to be reconfigure every time that establish the communication with the Host MCU, since the communication started at certain speed and after needs to be changed. We tried open and close the serial port on the STM3 MCU but the system stop operating correctly, no more information sent.
they only way to make it work, was overwritting the configuration of the port. Is this the correct procedure?