Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Bus deadlock recovery system and method

A deadlock recovery and bus technology, applied in the field of communication, can solve the problems of increasing the cost and complexity of the I2C system, unable to release, etc., to achieve the effects of improving reliability and stability, eliminating deadlocks, and reducing costs

Active Publication Date: 2019-02-12
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The length of the read and write data is in bytes. Every time the slave device receives a byte, it sends an answer signal (AK). When disturbed, the clock signal remains high and the data signal remains low. I2C The bus enters a locked state and cannot be released
Generally, the method of adding a reset line or a buffer device for detecting the reset signal in the middle of the I2C bus is used to restore the I2C bus to normal, which increases the cost and complexity of the I2C system

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
  • Bus deadlock recovery system and method
  • Bus deadlock recovery system and method
  • Bus deadlock recovery system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0020] Such as Figure 1A As shown, a bus deadlock recovery system includes an I2C bus, a master device 110 and a slave device 120, and the master device 110 and the slave device 120 are connected to the I2C bus. The I2C bus includes a data line SDA and a clock line SCL, the data line SDA is used for transmitting data signals, and the clock line SCL is used for transmitting clock signals. The master device 110 and the slave device 120 respectively include two connection lines. Among the two connection lines of each device, the connection line connected with the data line SDA in the I2C bus is calle...

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 relates to a bus deadlock recovery system and method. The recovery system comprises an I2C bus, main equipment and subsidiary equipment, the main equipment and the subsidiary equipment are connected to the I2C bus, the main equipment comprises an input output interface, a detection module and a control module, and the input output interface is grounded or connected with a clock lineof the I2C bus; the detection module is used for detecting the state of a clock signal transmitted on the I2C bus and the state of a data signal and judging whether the I2C bus is in a deadlock stateor not according to the detection result; the control module is connected with the input output interface and the detection module separately, and when the I2C bus is in a deadlock state, the controlmodule makes the clock signal become a low level signal after a preset duration by controlling the input output interface, so that the I2C bus is recovered from the deadlock state. On the condition that a recovery signal line or a buffering device is not added, deadlock of the I2C bus is removed, and the stability and the reliability of the I2C bus are improved.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a bus deadlock recovery system and method. Background technique [0002] The I2C bus is a two-wire serial bus widely used in embedded system devices to realize communication between the main controller and peripherals. The I2C bus includes a bidirectional data line (Serial Data, SDA) and a clock line (Serial ClockLine, SCL). Each I2C device connected to the I2C bus can be used as a master device to be responsible for the generation of bus clock, start signal and related initialization data, or as a slave device to be an addressed object. At least one master device and at least one slave device are connected to the I2C bus. [0003] In actual communication, the master device first sends a start signal to address the slave device on the I2C bus, and the slave device can perform corresponding read and write operations after responding. The length of the read and write data ...

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 Patents(China)
IPC IPC(8): G06F13/40G06F13/42
Inventor 刘绍斌
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products