Calculates the baud rate when the serial channel is used in the UART mode.
Displays the baud rate value according to the system clock setting and the serial channel setting.
The baud rate will become 1/16 of the frequency calculated in the serial channel setting.
Unlike in synchronous communication, UART has no clocks to determine the data. Instead, the transmit side and the receive side determine the transmission speed, called the baud rate, and the bit configuration in advance, and determine the data position according to the start bit.
For example, in the case of 9600 bauds, each bit interval ("a" in the figure) is about 104 μs. The data output timing of the transmit side is indicated by a green arrow in the figure. On the receive side, the data is fetched in the part indicated by a red arrow in the figure. To realize this, the clock supplied to the UART receive part uses one with 16 times as many as the baud rate. The data are confirmed in 7th clock, 8th clock, and 9th clock, and judged 0 or 1 by majority.