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

Method, device and system for configuring IIC (Inter-Integrated Circuit) device

A device and configuration data technology, applied in the field of intelligent identification, can solve the problems of many configuration parameters, poor configuration accuracy, configuration failure, etc., and achieve the effect of high configuration accuracy, high accuracy and good versatility

Inactive Publication Date: 2016-02-24
BEIJING TECHSHINO TECH
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] First, the configuration accuracy is poor; because the configuration is completed after writing the configuration data to the IIC device, there is no step to check whether the configuration is successful, so the configuration often fails for some IIC devices, especially because there are many configuration parameters and timing requirements Stricter IIC devices;
[0008] Second, poor versatility and low efficiency; for specific IIC devices, continuous debugging is required to find the most suitable timing cycle and duty cycle for operation

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 configuring IIC (Inter-Integrated Circuit) device
  • Method, device and system for configuring IIC (Inter-Integrated Circuit) device
  • Method, device and system for configuring IIC (Inter-Integrated Circuit) device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0094] If the configuration fails, it also includes:

[0095] Judging whether the preset number of configuration times is exceeded, if not, delay for a certain period of time, and go to write corresponding configuration data to the corresponding address of the IIC device.

[0096] In this embodiment, if the preset number of configurations is not exceeded, it is considered that it can be configured again, but at this time, it needs to wait for a period of time, because some IIC devices will do corresponding processing work internally after receiving external configuration data , and if there is new configuration data sent over during this period, the IIC device will ignore it, which actually causes data loss. So, need to wait for a while. This embodiment is simple and convenient, and further improves the accuracy of configuration.

[0097] Preferably, the timing time can be 5-10ms, and the preset configuration times can be 3-5 times. After testing, the timing time of 5-10ms ...

Embodiment 2

[0099] If the configuration fails, it also includes:

[0100] Determine whether the preset configuration times are exceeded, if not, perform the following steps;

[0101] send a start signal;

[0102] Issue the device address of the IIC device;

[0103] Judging whether the response signal of the IIC device is received within the specified time, if yes, it means that the IIC device is connected reliably, then send a termination signal, and go to write the corresponding configuration data to the corresponding address of the IIC device, otherwise, it means that the IIC device is connected faulty .

[0104] In this embodiment, if the preset number of configurations is not exceeded, it is considered that it can be configured again, but at this time, it is necessary to wait for the response signal of the IIC device, because some IIC devices will do corresponding internally after receiving external configuration data. The processing work, and if there is new configuration data sen...

Embodiment 1

[0118] If the configuration fails, it also includes:

[0119] The second judging module is used for judging whether the preset configuration times have been exceeded, if not, delaying for a certain period of time, and transferring to the writing module. This embodiment is simple and convenient, and further improves the accuracy of configuration.

[0120] Preferably, the timing time can be 5-10ms, and the preset configuration times can be 3-5 times. After testing, the timing time of 5-10ms can meet the requirements without causing too much delay.

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, a device and a system for configuring an IIC (Inter-Integrated Circuit) device. The method comprises the following steps: writing corresponding configuration data into a corresponding address of the IIC device according to a specific time sequence period and duty cycle; reading the corresponding configuration data from the corresponding address of the IIC device according to the specific time sequence period and duty cycle; and comparing the read configuration data with the written configuration data, showing that configuration is successful if the read configuration data and the written configuration data are the same, and otherwise, showing that the configuration fails. Compared with the prior art, the method has the advantages of being high in configuration accuracy, favorable in universality and high in efficiency.

Description

technical field [0001] The invention relates to the field of intelligent identification, in particular to a method, device and system for configuring IIC devices. Background technique [0002] In circuit design or system design, if there is IIC (also called I2C or I 2 C and I 2 C, etc.) interface devices or modules (hereinafter collectively referred to as IIC devices), usually IIC devices are connected to the host through the IIC interface (the so-called host refers to sending a start signal when data transmission starts, sending a clock signal, and sending a termination signal when data transmission is terminated. The signal device, usually the host is a processor, etc., and the device visited by the host is called a slave, and the slave here refers to the IIC device). Such as figure 1 As shown, device A is soldered on circuit board I; device B is soldered on circuit board II and connected to circuit board I through a cable. At this time, the CPU is the host, and device ...

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/10
CPCG06F13/102G06F2213/0016
Inventor 贾天亮
Owner BEIJING TECHSHINO 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