Method and apparatus for recovering I2C bus locked by slave device

A recovery method and device technology are applied in the field of computer communication to achieve the effects of improving stability and reliability and low hardware cost
CN100504831CActive Publication Date: 2009-06-24ZTE CORP

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZTE CORP
Publication Date
2009-06-24

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The present invention relates to a recovery method and device after the I2C bus is locked by the I2C slave device. The recovery method after the I2C bus is locked by the slave device is as follows: use the I2C master device to control the working power of all I2C slave devices, and when the I2C master device detects When the bus is locked, disconnect the working power of the I2C slave device, wait for the set time and then restore the power supply, so that the I2C slave device returns to the initial state; the recovery device includes the I2C master device, the I2C slave device and the system power supply, and also adds A power switch, one end of the power switch is connected to the system power supply, and the other end is connected to the power supply of the connected I2C slave device, and its on-off is controlled by the I2C master device. Through the participation of the main CPU, the invention solves the problem of recovering the bus when the I2C slave device causes the bus to be locked, and improves the stability and reliability of the system.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a recovery method and device after an I2C bus is locked by an I2C slave device, belonging to the field of computer communication. Background technique

[0002] The I2C bus (Inter-IC BUS or IIC BUS, inter-integrated circuit interconnection bus) is a set of serial buses developed by Philips (PHILIPS) for connecting microcontrollers and their peripherals. The I2C bus has two signal lines: a clock line SCL and a bidirectional data line SDA. The clock lines SCL of all devices connected to the I2C bus are connected to the SCL of the bus, and their data lines SDA are connected to the bidirectional data line SDA of the bus. The bus uses software addressing to identify each device (such as microcontrollers, memories, LCD drivers, clock chips, and other I2C bus devices), completely eliminating the need for chip select lines for each device, thus making system wiring very simple. At present, I2C has become an important global industry s...

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