Use an oscilloscope to measure the serial port baud rate

Baud rate and bit time calculation relationship

basic concept

  • In short, the baud rate of serial port transmission is the number of binary bits transmitted per second.
  • Instead of boring text descriptions, let's use waveforms and numbers to see what the baud rate is.
  • Description: The system clock is 50M (the clock frequency that provides the clock for the serial port), and the baud rate is 115200.

Basic knowledge:

insert image description here

If the baud rate to be measured is 9600, the time for each bit is: 1/9600 ≈ 104 μs

measurement result

  • 9600

insert image description here

  • 921600

insert image description here

  • 3000000

insert image description here

Guess you like

Origin blog.csdn.net/qq_37596943/article/details/125441793