Supercharge Your Innovation With Domain-Expert AI Agents!

The method of realizing pca9555 function through cpld based on i2c interface

A PCA9555, interface technology, applied in CAD circuit design, instrument, calculation, etc., can solve problems such as complex structure, achieve low cost, cost saving, and high debugging flexibility

Active Publication Date: 2020-09-25
SHENZHEN TONGTAIYI INFORMATION TECH CO LTD
View PDF5 Cites 0 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
  • The method of realizing pca9555 function through cpld based on i2c interface
  • The method of realizing pca9555 function through cpld based on i2c interface
  • The method of 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 PCA9555 function through CPLD based on I2C interface. The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

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

[0038] Step A: an initialization step, wherein 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 motherboard to the GPIO interface of the CPLD.

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

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

[0042] The present invention directly connects the I2C to the GPIO interface of the CPLD, which directly saves the PCA9555 chip from a hardware point of view, and the IO quantity o...

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 PCA9555 functions through CPLD based on I2C interface. Background technique [0002] At present, the backplane of the server or memory uses the PCA9555 chip connected to the backplane through the I2C communication of the motherboard to read and write GPIO. The PCA9555 chip uses the I2C interface to communicate and can be used to expand up to 16 GPIOs. Used by I2C for read and write operations. Using the PCA9555 chip can greatly reduce the number of signal pins connected between the motherboard and the backplane. If the PCA9555 is not used, all GPIO signals need to be connected to the motherboard (for example, if there are 16 GPIO signals, 16 pins or wires are required. The cable is connected to the motherboard), and the solution using PCA9555 only needs two pins of the I2C interface to be realized. [0003] However, the connection mode of the backplane of the...

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/42G06F30/33
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