I2C Slave Device Byte End Flag Transmission Control

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In traditional I2C designs, slave devices continue to transmit data after the last byte has been sent, leading to potential underflows or overflows, requiring complex interrupt management or dummy data writing, which can cause errors and complicate data transmission.

Innovation Solution

A slave device connected to a master device via an I2C bus uses a byte end flag (BND) to detect when all data has been transmitted, allowing it to clear the flag and stop data transmission without switching modes or using dummy data, ensuring reliable communication.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the slave device continues to transmit data after the last byte has been sent, then the data register remains active and ready for new data, but this causes potential underflows or overflows and requires complex interrupt management

Engineering Contradiction:
Improvedata transmission reliabilityVSAvoidinterrupt management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the byte end flag (BND) as a separate control mechanism from the traditional interrupt management system. This flag is specifically used to indicate when all data has been transmitted, allowing the slave device to stop transmission without requiring complex interrupt logic to prevent underflows or overflows.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The byte end flag acts as an intermediary between the data transmission process and the interrupt management system. Instead of directly managing complex interrupts to prevent underflows/overflows, the BND flag provides a simple intermediate signal that indicates when transmission is complete, simplifying the overall control logic.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If the slave device uses dummy data writing to stop transmission, then the transmission can be halted, but this can cause data errors and complicate data transmission

Engineering Contradiction:
Improvetransmission stopping controlVSAvoiddata transmission accuracy
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent extracts the byte end flag as a dedicated control mechanism specifically for indicating when all data has been transmitted. This separate flag allows the slave device to stop transmission cleanly without resorting to dummy data writing, which could cause data errors.

Inventive Principle:
Principle #2Taking out (Extraction)

3Ease of operation

If the slave device switches modes to stop transmission, then data transmission can be halted, but this increases response time and complicates configuration

Engineering Contradiction:
Improvetransmission control simplicityVSAvoidresponse time
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent extracts the byte end flag as a simple control mechanism that allows the slave device to stop transmission without switching modes. This direct control approach eliminates the time loss and configuration complexity associated with mode switching while maintaining ease of operation.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS10482047B2Slave device connected to master device via I2C bus and communication method thereof
Publication Date: 2019.11.19 AUTOCHIPS
  • US10482047B2 patent drawing
  • US10482047B2 patent drawing
  • US10482047B2 patent drawing

AI summary

The present disclosure discloses a communication method for a slave device connected to a master device via an I2C bus. The method includes detecting the condition of a byte end flag when the slave device is in a transmission mode, and clearing the byte end flag to stop transmitting data to the master device as the slave device is in the transmission mode when the byte end flag is detected to be in a first condition. The first condition indicates all data requested by the master device has been transmitted by the slave device. The present disclosure further discloses a slave device using the above-mentioned communication method. When the slave device is in the transmission mode, it is unnecessary to switch the operation mode of the slave device to stop the slave device from continuing transmitting data when the last byte of data has been transmitted.