This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
snippets:uart_baud_rate [2013/05/14 17:46] – tg | snippets:uart_baud_rate [2017/11/07 22:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 16: | Line 16: | ||
===== Example ===== | ===== Example ===== | ||
- | The achievable baud rates can be tested with the [[http:// | + | The achievable baud rates can be tested with the [[http:// |
===== Table===== | ===== Table===== | ||
- | The following table is an example for the [[ZMC]] running at full speed (default). The peripheral speed in that case is 131,25MHz | + | The following table is an example for the [[ZMC]] running at full speed (default). The peripheral speed in that case is 131,25MHz\\ |
+ | |||
+ | |||
+ | :!: Due to a **rounding error** the divisor value might be 1 higher than expected. This causes a non significant error for lower baud rates. In order to set the correct baud rate value **for higher baud rates (divisor value < 100)** , the value from the right column (achieved baud rate) rounded towards next lower integer value should be used in the diagram. | ||
^standard baud rate ^divisor value ^achieved baud rate | | ^standard baud rate ^divisor value ^achieved baud rate | |