Home > other >  Single chip microcomputer
Single chip microcomputer

Time:01-14

Why burning program MCU, don't have to match the baud rate, but that will match the same serial communication baud rate

CodePudding user response:

Adaptive, is probably a few characters for synchronous code, such as "AT",
1. If the sender is adaptive, baud rate, so the sender has been changed to send "AT", only to match the baud rate, receive not correctly received "AT", when the receiver right after receiving the "AT" reply sender, baud rate is fixed, so
2. If the receiver is adaptive, skip below

CodePudding user response:

The
refer to the original poster DullBoy123 response:
why burning program MCU, don't have to match the baud rate, but that will match the same serial communication baud rate

Because of the burning software has good matching

CodePudding user response:

RS232 serial port communication, the CPU can pass the test serial signal pulse width, calculate the baud rate value, use baud rate, this method can automatically adapt to,
In some protocol communication, the sender can send some fixed character, at the receiving end receives the repeated modifications with incorrect baud rate, until after receiving the right character, the current baud rate is the correct baud rate,
Microcontroller through serial port burning program, MCU internal manufacturer good curing a serial port upgrade code, the code if do baud rate adaptive algorithm automatically, can automatically match the baud rate,
You burn in applications, it is written by you or your colleague, not written baud rate of automatic matching of code, you must manually baud rate to normal communication,

CodePudding user response:

reference 1st floor forget345 response:
, adaptive provisions is probably a few characters for synchronous code, such as "AT",
1. If the sender is adaptive, baud rate, so the sender has been changed to send "AT", only to match the baud rate, receive not correctly received "AT", when the receiver right after receiving the "AT" reply sender, baud rate is fixed, so
2. If the receiver is adaptive, skip below

Understand the thank you big brother

CodePudding user response:

reference 4 floor DullBoy123 response:
Quote: reference 1st floor forget345 response:
, adaptive provisions is probably a few characters for synchronous code, such as "AT",
1. If the sender is adaptive, baud rate, so the sender has been changed to send "AT", only to match the baud rate, receive not correctly received "AT", when the receiver right after receiving the "AT" reply sender, baud rate is fixed, so
2. If the receiver is adaptive, skip below

Understand thanks brother

Understand the knot to stick to
  • Related