I2C (inter-integrated circuit) equipment management method and complex programmable logic device (CPLD)

A technology of programming logic and equipment, applied in the field of data communication, can solve the problem of limited number of C equipment and achieve effective management

Active Publication Date: 2013-01-09
紫光恒越技术有限公司
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Taking 7 bits as an example, theoretically an I 2 C bus can connect up to I 2 C equipment can reach 128 (=2 7 ) pieces, but in fact due to the limitation that the total capacitance of the bus cannot exceed 400PF (picofarads), and most of the I 2 C devices are of the same type as these sa

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
  • I2C (inter-integrated circuit) equipment management method and complex programmable logic device (CPLD)
  • I2C (inter-integrated circuit) equipment management method and complex programmable logic device (CPLD)
  • I2C (inter-integrated circuit) equipment management method and complex programmable logic device (CPLD)

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0023] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be described in detail below through specific embodiments and with reference to the accompanying drawings.

[0024] In this application, all I in advance for the host 2 The C device assigns a unique device ID, configure the device ID with the I 2 The corresponding relationship between the SCL group and the SDA analog switch group where the C device is located, configure the corresponding relationship between each SCL group and the SCL gating control register value, and configure the corresponding relationship between each SDA analog switch group and the SDA gating control register value.

[0025] when I 2 C controller (or with I 2 C controller devices, such as microcontroller CPU, etc.) access control either I 2 C device, I 2 The C controller puts the I 2 The device ID of the C device is sent to the CPLD, and the CPLD parses the SCL group...

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 an I2C (inter-integrated circuit) equipment management method. The method comprises the following steps of: distributing a sole equipment ID (identity) to I2C equipment of a host machine in a CPLD (complex programmable logic device) and configuring the corresponding relation between an SCL (serial clock line) group and an SDA (serial data line) analog switch group, where the equipment ID and the I2C equipment are located respectively; configuring the corresponding relation between every SCL group and a value of an SCL gate control register, and configuring the corresponding relation between every SDA analog switch group and the value of an SDA gate control register; and using the CPLD to receive the ID which is sent by an I2C controller and needs to access the I2C equipment through any bus and look up the SCL group and the SDA analog switch group, which correspond to the equipment ID, and gating an corresponding SCL and an SDA analog switch according to the configured corresponding relation. The invention further discloses the CPLD. According to the I2C equipment management method disclosed by invention, the multiple I2C equipment on one host machine equipment can be effectively managed.

Description

technical field [0001] The application relates to the field of data communication, in particular to a kind of I 2 C equipment management method and complex programmable logic device CPLD. Background technique [0002] I 2 The C (Inter-Integrated Circuit) bus is a simple bidirectional two-wire bus developed by PHILIPS for limited control between ICs (Integrated Circuit integrated circuit boards), including I 2 The serial clock line (SCL) of C and the I 2 C's serial data line (SDA) has two wires. [0003] With the development of communication technology, network devices such as routers and switches use I 2 There are more and more C-interface devices and devices, such as: memory sticks, optical modules, real-time clock chips (RTC), temperature sensors, 2 Various self-developed plug-in cards and sub-cards of C interface. [0004] I 2 There are two address formats of the C bus, 7-bit and 10-bit. Taking 7 bits as an example, theoretically an I 2 C bus can connect up to I ...

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): G06F13/10
Inventor 王健阎博
Owner 紫光恒越技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products