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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com