Serial port communication control method, processor, serial port communication system and storage medium
A technology of serial communication and control method, applied in the field of serial communication, can solve the problems of high replacement cost of the processor, huge system design, insufficient processor resources, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] In order to solve the above-mentioned technical problems existing in the prior art, an embodiment of the present invention provides a serial communication control method.
[0042] figure 1 It is the flow chart of the control method embodiment of the serial communication of the present invention, as figure 1 As shown, the control method of the serial port communication in this embodiment may specifically include the following steps:
[0043] 100. If it is detected that the sending end of the processor in the sending state outputs a preset level signal, obtain monitoring information corresponding to the preset level signal;
[0044] In a specific implementation process, during the communication process between any two processors used for serial communication, each processor switches between the sending state and the receiving state, and after the state is switched, the processor in the sending state generates After the communication data is preset, the sending end of th...
Embodiment 2
[0063] In order to solve the above-mentioned technical problems existing in the prior art, an embodiment of the present invention provides a processor for serial communication.
[0064] The processor used for serial communication in this embodiment may include a storage module and a processing module;
[0065] A computer program is stored in the storage module, and when the computer program is executed by the processing module, the steps of the serial communication control method of the above-mentioned embodiment are realized.
[0066] The processor used for serial communication in the above-mentioned embodiment is used to realize the corresponding method in the above-mentioned embodiment, and its specific implementation scheme can refer to the relevant description in the method and method embodiment recorded in the above-mentioned embodiment, and has the corresponding method embodiment Beneficial effects are not repeated here.
Embodiment 3
[0068] In order to solve the above-mentioned technical problems existing in the prior art, an embodiment of the present invention provides a serial port communication system.
[0069] figure 2 It is a schematic structural diagram of an embodiment of the serial communication system of the present invention. The serial communication system of this embodiment has at least two processors for serial communication. Among any two communication processors, each processor is in the sending state and receiving Switch between states. Such as figure 2 As shown, this embodiment takes two processors for serial communication as an example to illustrate the technical solution of the present invention. Among them, one processor is the master processor 20 and the other processor is the slave processor 21 . After the two processors switch states, after the processor in the sending state generates preset communication data, control the sending end of the processor in the sending state to out...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


