Home > other >  A serial port baud rate option
A serial port baud rate option

Time:09-23

Baud rate of serial port choice, generally is determined by what, though they have been using a 115200 baud rate, but the 9600 line, in addition to speed, we choose the baud rate of serial port need from what respect to consider?

CodePudding user response:

Mainly consider speed and communication object to the requirement of baud rate,

CodePudding user response:

Power consumption, the serial interface baud rate of SoC to achieve low-power baud rate will have a size limit

CodePudding user response:

Baud rate is intended to speed, on the other hand, want to consider the communication reliability, while meet the speed to ensure the quality of communication, namely the waveform is not deformation, or ber to ~ within acceptable range

CodePudding user response:

Baud rate to meet and receive basic can speed between the two sides agree,
As for the influence on power consumption, is expected to be seeing you is what level of consumption level, I feel generally large equipment don't have to consider such a small power consumption, personal feel ha

CodePudding user response:

Data throughput, and response time

CodePudding user response:

Stability, is an asynchronous serial port communication, generally don't recommend more than 115200 baud rate,

CodePudding user response:

To sum up, the data quantity, response time, and the stability of a balance, if you need a fast response time when large amount of data, that can be set to the appropriate high baud rate, but too much will not be stable

CodePudding user response:

Baud rate option to consider several factors

1, the main frequency, the higher the frequency the greater the range of optional
Number 2, asynchronous communication each data sampling, the sampling frequency is higher, the baud rate will be lower;
3, baud rate and calculate the error of baud rate, to ensure that this error cannot too big, some specific frequency of the main shock, for instance, the sampling number 16, 22118400 jobs in 115200 baud rate, the error is 0, but 25 m instead of crystals have bigger error
4, the hardware communication environment, the longer the distance, the lower the baud rate

  • Related