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?
Is this your question:
1. Application initializes the uart with default baudrate.
2. After receiving specific event, uart baudrate will be updated to a new value.
If so, please use wiced_uart_init() from your platform files to initialize the uart with updated baudrate.
Hope it helps,