Supercharge Your Innovation With Domain-Expert AI Agents!

Method for realizing PCA9555 function through CPLD based on I2C interface

A PCA9555, interface technology, used in CAD circuit design, special data processing applications, instruments, etc., can solve problems such as complex structure, achieve low cost, improve flexibility and scalability, and save costs.

Active Publication Date: 2017-08-18
SHENZHEN TONGTAIYI INFORMATION TECH CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The main purpose of the present invention is to provide a method based on the I2C interface to realize the PCA9555 function through CPLD, which is used to overcome the problem that the existing backplane needs to be connected to the PCA9555 chip so that the structure is too complicated

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 for realizing PCA9555 function through CPLD based on I2C interface
  • Method for realizing PCA9555 function through CPLD based on I2C interface
  • Method for realizing PCA9555 function through CPLD based on I2C interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The invention provides a method for realizing the function of PCA9555 through CPLD based on I2C interface. The present invention will be described in detail below with reference to the accompanying drawings and embodiments.

[0037] A method for realizing the function of PCA9555 through CPLD based on I2C interface, comprising the following steps:

[0038] Step A: an initialization step, the initialization step is to configure the CPLD into an I2C Slave device;

[0039] Step B: an operation step, the operation step is to connect the I2C communication interface of the main board to the GPIO interface of the CPLD.

[0040] Further: in the step A, the CPLD is configured to be an I2C Slave through a state machine mechanism.

[0041] Further: the state machine mechanism is implemented by VHDL language.

[0042] The present invention directly connects the I2C to the GPIO interface of the CPLD. From the hardware point of view, the PCA9555 chip is directly omitted. At the sam...

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 belongs to the field of server design and particularly relates to a method for realizing a PCA9555 function through a CPLD based on an I2C interface. According to the method for realizing the PCA9555 function through the CPLD based on the I2C interface, provided by the scheme, the function realized by utilizing PCA9555 originally is integrated to the CPLD for realization; the function of the I2C interface is realized by using a GPIO interface of the CPLD; and the function of the interface is realized by utilizing a mechanism of a state machine through adopting a VHDL. Meanwhile, an expandable GPIO quantity of the CPLD is far greater than that of the PCA9555, the PCA9555 has 16 GPIO at most, and the CPLD can perform expansion at will as needed, so that the cost is greatly reduced through the scheme. Moreover, the CPLD is adopted for realizing the PCA9555 function, the great convenience is brought for hardware debugging, and the required design scheme can be easily debugged and changed only by performing modification on software and then programming CPLD firmware, so that the flexibility and expandability of hardware debugging are greatly improved.

Description

technical field [0001] The invention belongs to the field of server design, in particular to a method for realizing the function of PCA9555 through CPLD based on I2C interface. Background technique [0002] At present, the backplane of the server or storage uses the PCA9555 chip connected to the backplane through the motherboard's I2C communication to read and write the GPIO. The PCA9555 chip uses the I2C interface to communicate and can be used to expand up to 16 GPIOs. These 16 GPIOs can be Used by I2C for read and write operations. The use of PCA9555 chip can greatly reduce the number of signal pins connected between the main board and the backplane. If PCA9555 is not used, all GPIO signals need to be connected to the main board (for example, if there are 16 GPIO signals, 16 pins or lines are required. The cable is connected to the motherboard), and the solution using PCA9555 only needs two pins of the I2C interface. [0003] However, at this stage, the connection metho...

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): G06F17/50G06F13/42
CPCG06F13/4282G06F30/30G06F2117/08G06F2213/0016
Inventor 蔡享荣
Owner SHENZHEN TONGTAIYI INFORMATION TECH CO LTD
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