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

A system and method for improving i2c communication performance

A technology for communication performance and memory access, applied in the field of microelectronic communication control, can solve problems such as the inability to dynamically improve filtering performance, and achieve the effects of improving anti-interference performance, improving filtering performance, and reducing the number of interruptions

Active Publication Date: 2022-03-11
SHENZHEN BETTERLIFE ELECTRONICS SCI & TECH
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a system and method for improving I2C communication performance, so as to solve the technical problem that the filtering performance cannot be dynamically improved when the I2C frequency changes in the prior art

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
  • A system and method for improving i2c communication performance
  • A system and method for improving i2c communication performance
  • A system and method for improving i2c communication performance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] Such as figure 2 As shown, the present invention provides a system that improves I2C communication performance, including the I2C input / output port 1, filter module 2, shift register 3, access memory 4, and MCU 5 in sequential connection. Specifically, the number of filter clock cycles of the filter module 2 is n, and the calculation formula is:

[0044] n = f clk / (2 × f) scl ) -1 (1).

[0045] Among them, f clk For the sampling clock frequency, f scl For the I2C clock frequency.

[0046] It should be noted that the I2C bus of the present embodiment consists of data line SDA and clock line SCL, and the I2C bus is connected to an IC (Integrated Circuit) pin through the PCB trace. In a conventional I2C SLAVE system, the value of the filter clock cycle is fixed, that is, the filtering performance is fixed, and when the I2C frequency is changed, the filtering performance cannot be dynamically improved. Accordingly, the present invention proposes a method of dynamically adju...

Embodiment 2

[0057] Such as Figure 5-6 As shown, the present invention also provides a method of increasing the I2C communication performance, including a system of increasing the I2C communication performance of the Embodiment, and the I2C drive module connected to the MCU 5 and the access memory 4 is written to the access memory 4. The step of data;

[0058] S10, I2C initiates data transmission from the action module. Before performing this step, the MCU 5 also needs to calculate the filter clock cycle number of the filter module 2 according to the formula (1) according to the formula (1), and finally adjust the number of filter clock cycles according to the formula (1), and finally adjust the number of filter clock cycles according to Table 1, according to the formula (1). . Specifically, if the calculated filter clock cycle is more than or equal to 8, it is adjusted to 8; if it is less than 8 and is equal to 7, then it is adjusted to 7; if it is less than 7 and is equal to 6, then adjust t...

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 system and method for improving I2C communication performance, relates to the technical field of microelectronic communication control, and solves the technical problem in the prior art that the I2C communication cannot dynamically improve the filtering performance. The invention includes sequentially connected I2C input and output ports, a filter module, a shift register, an access memory and an MCU. The number of filter clock cycles of the filter module is n, and the calculation formula is: . Among them, is the sampling clock frequency, and is the I2C clock frequency. The invention also provides a method for improving I2C communication performance. The invention improves the anti-interference performance of I2C communication, reduces the number of interruptions of the MCU, improves the processing efficiency of interruptions, and further improves the performance of I2C communication.

Description

Technical field [0001] The present invention relates to the field of microelectronic communication control, and more particularly to a system and method for increasing I2C communication performance. Background technique [0002] Inter-Integrated Circuit, is an integrated circuit bus, is a simple, two-way, second-line, synchronous serial bus in PHILIPS, designated in the 80s. The I2C bus is a multi-directional control bus, and multiple devices (slave) can mile up to a bus-controlled one bus, and each connected to the bus is communicating through unique addresses and other devices. With the third industrial revolution, humans have gradually entered the new era of digitalization. On consumer electronics, telecommunications and industrial electronics, I2C is widely used in microelectronic communication control. For example, it is possible to have a small number of pins, and easy implementation by I2C bus control modulus / digital-to-digital converter (AD / Da Controllers), DIP Switch...

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/42G06F15/17
CPCG06F13/4291G06F15/17G06F2213/0016
Inventor 韩会莲张敏
Owner SHENZHEN BETTERLIFE ELECTRONICS SCI & 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