Check patentability & draft patents in minutes with Patsnap Eureka AI!

Data transceiving control method and system for I2C bus

A technology of data sending and receiving and control method, which is applied in the network field, can solve the problems of poor portability and achieve the effect of improving portability

Active Publication Date: 2021-03-09
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and system for data transmission and reception control of I2C bus, aiming at solving the problem of writing I2C protocol according to the manual sequence diagram of specific selected devices in the prior art The control method and the written program have poor portability to devices on the I2C bus

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
  • Data transceiving control method and system for I2C bus
  • Data transceiving control method and system for I2C bus
  • Data transceiving control method and system for I2C bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0066] The main technical problems of the embodiments of the present invention are as follows:

[0067] In the existing I2C bus data sending and receiving control scheme, most of the corresponding programs are written according to the timing diagram of the specific device manual. However, because the address length of each device chip on the I2C bus is different, the timing of some devices will have a single-byte write. Timing, multi-byte write timing, single-byte read timing and multi-byte read timing and other forms. This causes the problem that the I2C protocol control method compiled by selecting the manual sequence diagram of a specific device has poor portability to each device on the I2C bus.

[0068] To solve the above problems, see figure 2 , figure 2 It is a state transition control sequence diagram pro...

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 provides a data transceiving control method and system for an I2C bus, and the method comprises the steps: obtaining the real-time state of the I2C bus and a state switching instruction;generating a state switching logic of the I2C bus by using a state machine according to the real-time state and the state switching instruction; using the state machine for sending data read-write control information to the linear sequence machine according to the state switching logic; and controlling the I2C bus to receive and transmit data according to the data read-write control information by using a linear sequence machine. According to the technical scheme, the problem that in the prior art, a data receiving and sending control method of the I2C bus is poor in transportability for alldevices on the I2C bus can be solved.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a data sending and receiving control method and system of an I2C bus. Background technique [0002] The I2C bus is a bidirectional two-wire serial bus used to provide lines for communication between integrated circuits. As a serial expansion technology, the I2C bus is defined as "a specification or protocol for completing information exchange between integrated circuits or functional units", which is widely used in electronic devices such as televisions, video recorders, and audio equipment. [0003] The physical topology of the I2C bus is as follows figure 1 As shown, the I2C bus uses a serial data line (SDA) and a serial clock line (SCL) in physical connection to complete data transmission and expansion of peripheral devices. On the I2C bus, each device can act as an I2C master (ie figure 1 The main controller 1) or the I2C slave device 2 in the device, and each device will...

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
IPC IPC(8): G06F13/42
CPCG06F13/4282
Inventor 周加洋吴常顺孔维宾
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More