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

Method, device and system for automatically releasing dead lock of a hot-plug I2C bus

An automatic recovery, hot-swappable technology, applied in the direction of bus network, data exchange through path configuration, etc., can solve the problems of I2C bus deadlock state, I2C bus deadlock, etc., to solve the problem of bus competition and ensure bus competition arbitration Effect

Inactive Publication Date: 2014-06-11
SUZHOU IND PRAK NEW HONGBO COMM TECH
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Similarly, when I2C performs a read operation, the I2C slave device outputs data after responding. If the I2C master device resets abnormally at this time and the data bit output by the I2C slave device is exactly 0, it will also cause the I2C bus to enter a deadlock state.
[0005] Similarly, when I2C performs a read operation, the I2C slave device outputs data after responding. If the I2C device resets abnormally at this time and the data bit of the I2C slave device is exactly 0, it will also cause the I2C bus to enter a deadlock state.

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
  • Method, device and system for automatically releasing dead lock of a hot-plug I2C bus
  • Method, device and system for automatically releasing dead lock of a hot-plug I2C bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] figure 1 Show the block diagram of the structure of the auto-recovery hot-swappable I2C bus locking device of the present invention, including a reset detector 10 for detecting the busy state of the I2C bus; the reset detector 10 is connected with the reset I2C controller 20, The detected I2C bus status signal is sent to the reset I2C controller 20 , the I2C controller 20 is effectively connected to the I2C bus, and the I2C bus is reset according to the I2C bus status signal detected by the reset detector 10 .

[0018] figure 2 It is a structural block diagram of the automatic recovery hot-swap I2C bus locking system of the present invention, the system includes an I2C master device 30 and at least one I2C slave device 40 connected to the I2C master device through the I2C bus, and also includes an automatic A device for recovering hot-swappable I2C bus locking; the I2C master device 30 is used to receive a reset signal sent from the outside, and the device includes: a...

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

This invention discloses a method, a device and a system for automatically releasing dead lock of a hot-plug I2C bus. The device comprises a reset detector and a reset I2C controller. The reset detector is connected to an I2C master device for detecting the busy state of the I2C bus, and the reset I2C controller is effectively connected to the I2C bus for resetting the I2C bus. The bus contention arbitration is guaranteed through using a hardware I2C bus interface to connect the I2C master device and an I2C slave device on hardware, and the bus contention is solved. A flow of resetting the I2C bus is added in the software control flow, and once the dead lock of the I2C bus is detected, the I2C controller is reset, the I2C bus is activated, SDA and SCL signals are restored and the I2C bus can exit the dead lock state. This invention can effectively solve the problem of the dead lock of the I2C local bus under the hot-plug mechanism.

Description

technical field [0001] The invention relates to the field of serial communication bus, in particular to the technical field of automatic recovery of bus lock. Background technique [0002] The I2C bus is a simple two-way two-wire serial communication bus developed by Philips, including a serial data line SDA and a serial clock line SCL. This bus is called Inter-IC or I2C bus. At present, the I2C bus has become the standard solution for embedded applications in the industry, and is widely used in various microcontroller-based professional, consumer and telecommunication products as a control, diagnostic and communication bus. Multiple I2C-bus-compliant devices can communicate over the same I2C-bus without additional address decoders. [0003] However, there is a congenital defect in the design of the I2C bus. Under certain specified abnormal working conditions, the I2C bus will enter a deadlock state. As a result, the bus is paralyzed, and all devices on the bus cannot work ...

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): H04L12/40
Inventor 阮海波
Owner SUZHOU IND PRAK NEW HONGBO COMM TECH
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