A peer-to-peer two-way single-wire serial communication method based on MCUs
A serial communication and single-line technology, applied in the field of data communication, can solve problems such as limited applications, and achieve stable and reliable communication
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0034] Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail:
[0035] Such as figure 1 As shown, the present invention requires that the circuit connection between the two MCUs be: connect one IO port of the two MCUs respectively, connect a resistor at the connection point, and connect the other end of the resistor to the positive pole of the power supply. The requirements for the two MCUs are: on the execution time and delay time of communication-related instructions, they can reach an agreement through technical processing, or they must be MCUs of the same model and parameters. The requirement for the IO ports used to connect the two MCUs is that the IO ports have a "high impedance state" or a "weak pull-up" state when outputting a high level and when inputting.
[0036] The invention realizes the half-duplex serial communication between two MCUs, and takes byte as the basic communication unit. A communica...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

