Multi-device bus communication method and electronic device

A bus communication and multi-device technology, applied in the field of communication, can solve problems such as low speed, complex hardware logic, complex data processing, etc., and achieve the effect of reducing the error rate and simple operation logic
CN112667540AInactive Publication Date: 2021-04-16MOCHITEC SHANGHAI CO LTD

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Applications(China)
Current Assignee / Owner
MOCHITEC SHANGHAI CO LTD
Publication Date
2021-04-16
Estimated Expiration
Not applicable Β· inactive patent
Patent Text Reader

Abstract

The invention relates to the technical field of communication, in particular to a multi-device bus communication method and an electronic device, and the method comprises the steps: employing a data line and a clock line, employing a single device to operate the clock line, and generating a lasting rectangular wave; when the data line is used for sending dat, triggering the data line behind the upper edge of the clock line, and when the data is received, triggering the data line immediately behind the lower edge of the clock line; wherein frames for transmitting data comprise an address frame used for a standard message destination address, a data frame used for transmitting control information or data to equipment, and a verification frame used for verifying data transmission accuracy according to message organization. Only two data lines are used as communication lines, compared with SPI, the utilization rate of the data lines is high, each device only operates one data line, compared with I2C, the operation logic is simple, the number of the devices capable of being operated exceeds I2C, the number of the devices capable of being operated exceeds I2C, an extensible check frame is provided, and the error omission ratio can be reduced to a very random low level.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of communication technology, in particular to a multi-device bus communication method and electronic equipment. Background technique

[0002] At present, there are three widely used communication protocols for host devices: I2C, SPI, and UART.

[0003] UART is an asynchronous full-duplex serial communication protocol, which consists of two data lines Tx and Rx. Because there is no reference clock signal, the two sides of the communication must agree on the serial port baud rate, data bit width, parity bit, stop Configure parameters such as bits to communicate at the same rate. UART belongs to asynchronous transmission, but it has strict timing requirements. Under the same signal quality, the speed is slower.

[0004] SPI is a synchronous serial interface technology introduced by Motorola, which is a high-speed, full-duplex, synchronous communication bus. The SPI data rate can reach several Mbps. In general applicat...

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