2016-03-16 03:40 PM
Hi.
I would like to implement auto baud rate detection for UART in STM32F303 uC. There are 4 different detection modes. I understand how each of them works (what is being measured), but don't know, if any of that modes is better for a particular case? Is any of these modes particularly better than others?Thanks2016-03-22 09:25 AM
Hi obid.matic,
As it is mention in the STM32F3 reference manuals, Auto baud rate detection paragraph:In the mode 1 the measurement is done falling edge to falling edge, ensuring better accuracy in the case of slow signal slopes.Modes 2 and 3 are more precise than modes 0 and 1 are they are providing less baud rate errorAlso note that in 7-bit data length mode, Auto baud rate (0x7F and 0x55 frames detection) are not supported.-Syrine-