Unlock instant, AI-driven research and patent intelligence for your innovation.

Bidirectional single-wire serial communication protocol based on equity between MCUs

A serial communication protocol, single-wire technology, applied in the field of data communication, can solve problems such as limited application, and achieve the effect of stable and reliable communication

Active Publication Date: 2016-12-14
JSTI GRP CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The I2C protocol needs to occupy two IO ports of the MCU. At the same time, the I2C protocol communication is divided into a master and a slave, that is, the relationship between the two MCUs is not equal, which limits the application of using the I2C communication protocol for communication in some occasions.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Bidirectional single-wire serial communication protocol based on equity between MCUs
  • Bidirectional single-wire serial communication protocol based on equity between MCUs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail:

[0035] like 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, then 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 communi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a bidirectional single-wire serial communication protocol based on equity between MCUs. According to the invention, half-duplex serial communication between two MCUs is realized by minimum occupation of MCU hardware resource; the response pulse of a receiving part is used as a starting point for sending 1 digit data by a sending part, wherein the communication is stable and reliable; byte is used as basic communication unit; the communication protocol has small influence on other programs of MCU comprising interrupt service routine. According to the communication protocol, MCUs participate in communication in a peer to peer relation so that after the communication bus arbitration mechanism is introduced, communication between multiple MCUs is realized. According to the communication protocol, an IO interface of each MCU is connected with that of the other MCU, and a resistor is connected to the connecting point, and the other end of the resistor is connected with an anode of a power supply.

Description

technical field [0001] The invention belongs to the field of data communication, in particular to a peer-to-peer two-way single-line serial communication protocol between MCUs. Background technique [0002] To realize communication between two MCUs in a dual-MCU system, the options available are: [0003] Use the communication interface that comes with the MCU. The scheme is simple, the technology is mature, and the communication is reliable. But MCU usually has only one communication interface, this solution will make the dual MCU system lose the ability to communicate with other systems or external devices. If the purpose of forming a dual-MCU system is to increase the number of communication interfaces of the system, obviously this solution cannot be used. [0004] Using two-port RAM (chip), this scheme does not occupy the communication interface of the MCU, but this scheme needs to occupy more IO ports of the MCU (here, the IO port refers to a pin (line) shared by an ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/42
CPCG06F13/4282
Inventor 赵玉成郭俊黄月华徐一超欧阳歆泓
Owner JSTI GRP CO LTD