A kind of MCU-based serial communication method and system
A serial port communication and signal technology, applied in the field of data communication, can solve problems such as unfavorable function subroutine operation, affecting the operation of other function subroutines, reducing the operating efficiency of the main function, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0053] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
[0054] As mentioned above, in the prior art, after the MCU sends the command for requesting data, it will wait for a fixed time delay and then obtain the response data returned by the external device from the receiving buffer. But in the actual situation, the time it takes for the external device to process different data varies. Therefore, the response data returned arrives at the MCU earlier or later. If the MCU acquires data after waiting for a fixed time delay every time, it will cause unnecessary time consumption in program operation. In particular, when the data interaction between the MCU and the external device is performed more than once, the accumulated time consumption is greater, which greatly reduces the communication efficiency.
[0055] In view of this, an MCU-based serial communication met...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


