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

Method and system for converting i2c device address

An address and device technology, which is applied in the field of changing I2C device addresses, can solve problems such as address conflicts, and achieve the effects of fast response speed, simple and convenient use, and convenient management

Active Publication Date: 2020-09-01
GUANGZHOU INST OF MEASURING & TESTING TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The I2C bus is a two-wire serial bus developed by PHILIPS, which is mainly used to connect microcontrollers and their peripheral devices. The I2C bus includes a serial data line SDA and a serial clock line SCL, and a serial data line SDA And the serial clock line SCL transmits information between the I2C devices connected to the bus. Each I2C device has a unique address identification, which is generally a 7-bit binary address identification code. The slave connected to the I2C bus passes the identification The host sends the address code and responds, but there can be multiple I2C devices hanging on the I2C bus at the same time, and the address codes of multiple I2C devices are limited, which leads to the same address among I2C devices, but how to solve the I2C bus problem? The address conflict problem of the device on the device becomes an important bottleneck of I2C bus application

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 system for converting i2c device address
  • Method and system for converting i2c device address
  • Method and system for converting i2c device address

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Embodiments of the present invention will be described in detail below.

[0034] This embodiment discloses a method and system for changing the address of an I2C device, wherein the system for changing the address of an I2C device includes an I2C master, an I2C slave, and an address conversion circuit. The I2C master and the I2C slave are connected through an I2C bus, and the I2C bus includes a serial The data line SDA and the serial clock line SCL, the address conversion circuit is located between the serial data line SDA1 end of the I2C slave and the serial data line SDA2 end of the I2C master, and the address conversion circuit is connected to the serial clock line SCL of the I2C bus connected, the address conversion circuit is provided with an analog switch Kc, the analog switch Kc controls the connection and disconnection of the address conversion circuit with the I2C master and the I2C slave, the analog switch Kc of this embodiment is a low-resistance single-pole d...

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 discloses a method and a system for converting the address of an I2C device. The method for converting the address of the I2C device comprises the following steps: a, setting a bit address conversion value Ki of each address code in the address by an address conversion setting switch on an address conversion circuit; b, connecting the address conversion circuit between the serial data line SDA1 terminal of an I2C slave and the serial data line SDA2 terminal of an I2C master; c, converting an addressing command D into a new addressing command Dn by the address conversion circuit;d, outputting the addressing command Dn to the serial data line SDA2 terminal of the I2C slave by the address conversion circuit, and receiving the addressing command Dn and responding to the same bythe I2C slave, wherein the address conversion circuit is connected to a serial clock line SCL of an I2C bus. The address conversion method of the I2C device of the invention can reset the address of the I2C device and solve the problem of address conflict of the I2C device.

Description

technical field [0001] The invention relates to the technical field of electronic circuits, more specifically, a method and system for converting addresses of I2C devices. Background technique [0002] The I2C bus is a two-wire serial bus developed by PHILIPS, which is mainly used to connect microcontrollers and their peripheral devices. The I2C bus includes a serial data line SDA and a serial clock line SCL, and a serial data line SDA And the serial clock line SCL transmits information between the I2C devices connected to the bus. Each I2C device has a unique address identification, which is generally a 7-bit binary address identification code. The slave connected to the I2C bus passes the identification The host sends the address code and responds, but there can be multiple I2C devices hanging on the I2C bus at the same time, and the address codes of multiple I2C devices are limited, which leads to the same address among I2C devices, but how to solve the I2C bus problem? ...

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/42
CPCG06F13/4291
Inventor 黄锋杨叶花
Owner GUANGZHOU INST OF MEASURING & TESTING TECH
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