I2C Master Module Error Code Generation and Reset Logic

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional I2C communication systems experience errors due to interference on the bus, leading to unreliable data transmission between the master and slave modules.

Innovation Solution

A method and expander device that include a master module capable of generating a communication error code for failed data transmissions, determining retransmission needs, resetting when retransmission attempts reach a predetermined number, and recording error events to enhance data transmission reliability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data transmission is performed on the I2C bus, then communication between master and slave modules is enabled, but communication errors occur due to bus interference

Engineering Contradiction:
Improvedata transmission reliabilityVSAvoidbus interference
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The master module monitors communication status on the I2C bus and generates communication error codes when errors are detected. This feedback mechanism allows the system to identify and respond to bus interference, improving reliability by enabling error detection and retransmission decisions based on actual communication conditions.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The master module determines in advance whether retransmission is needed by evaluating communication error codes before attempting data retransmission. This preliminary assessment prevents unnecessary retransmissions and prepares the system to handle potential communication failures proactively, thereby improving data transmission reliability.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If unlimited retransmission attempts are made, then data transmission reliability improves, but system complexity and processing time increase

Engineering Contradiction:
Improvedata transmission reliabilityVSAvoidretransmission control complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The master module determines in advance whether retransmission is needed by evaluating communication error codes before attempting data retransmission. This preliminary assessment prevents unnecessary retransmissions and prepares the system to handle potential communication failures proactively.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system performs retransmission only when communication errors are detected and retransmission is determined to be beneficial, rather than attempting unlimited or excessive retransmissions. This partial action approach improves reliability while avoiding the complexity and time overhead of unnecessary retransmission attempts.

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If retransmission is performed for every communication error, then data accuracy improves, but communication efficiency decreases

Engineering Contradiction:
Improvedata transmission accuracyVSAvoidcommunication efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The master module determines in advance whether retransmission is needed by evaluating communication error codes before attempting data retransmission. This selective approach ensures retransmission only when necessary, maintaining data accuracy while preserving communication efficiency.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system performs retransmission only when communication errors are detected and retransmission is determined to be beneficial, rather than attempting unlimited or excessive retransmissions. This partial action approach improves reliability while avoiding the complexity and time overhead of unnecessary retransmission attempts.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10120761B2Expander device and method for data communication within inter-integrated (I<sup>2</sup>C) system
Publication Date: 2018.11.06 MITAC COMPUTING TECH
  • US10120761B2 patent drawing
  • US10120761B2 patent drawing
  • US10120761B2 patent drawing

AI summary

A method for data communication within an I2C system is provided. The method includes the steps of: a) generating a communication error code indicative of error status when data transmission from a master module to a slave module via an I2C bus fails; b) determining whether to retransmit the data to the slave module according to the communication error code; c) when the determination made in step c) is affirmative, determining whether a number of times of data retransmission(s) associated with the data reaches a predetermined number; d) when the determination made in step c) is affirmative, resetting the master module; and e) recording a communication error event according to the communication error code after step a).