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

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 reducing hardware costs

Active Publication Date: 2008-02-06
ZTE CORP
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0018] The technical problem to be solved by the present invention is that the current I2C master device does not necessarily have a control register to solve the I2C bus lock state, and simultaneously all slave devices on the I2C bus cannot all have the shortcoming of automatically exiting the lock state function and according to the I2C bus It has the characteristics of controlling and detecting its slave devices, provides a recovery method after the I2C bus is locked by the slave device, and provides a recovery device after the I2C bus is locked by the slave device based on the method

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 and apparatus for recovering I2C bus locked by slave device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Below in conjunction with accompanying drawing, the implementation of technical scheme is described in further detail:

[0031] Figure 1 shows the flow chart of the method of the present invention. After the system is powered on, when the I2C master device detects that the I2C bus is locked by the slave device, it will automatically disconnect the working power of the I2C slave device, and then resume after waiting for a set time. Power supply, at this time, the I2C slave device returns to the initial state, thus solving the lock of the slave device to the bus. The length of the above setting time depends on the load of the I2C bus and the performance of the I2C master device, and its value range is 0.2 seconds ~5 seconds.

[0032]FIG. 2 is a functional block diagram of the recovery device after the I2C bus is locked by the slave device according to the present invention. What is marked as 201 is the master device on the I2C bus, which is the CPU processor in this embo...

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 present invention relates to a resume device and a resume method when the I2C bus is locked by slave I2C components. The resume method when the I2C bus is locked by the I2C slave components is that using main I2C components to control the work power source of all the slave I2C components, when the main I2C components detects that the bus is locked, then the main I2C components cut off the work power source of the slave I2C components, and resume the power supply after a set time, and then the slave I2C components resume the initial state. The resume device includes main I2C components, slave I2C components and system power source, and a power source switch is also added, one end of the power source connects with the system power source, and the other end of the power source connects with the slave I2C components power sources which are connected together, and the main I2C components control the on-off of the poser source switch. With the participation of the main CPU, the resume problem of the bus after the slave I2C components lock the bus is solved, and the stability and the reliability of the system are improved.

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/38
Inventor 于克泳汤宁峰邵国翟红健
Owner ZTE CORP
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