Processor 1-Wire Communication via GPIO Interrupts

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

When an electronic device interlocks with an accessory device, the use of a micro controller unit (MCU) for 1-wire communication leads to increased power consumption and component costs, and existing methods like GPIO bit banging can result in timing errors and degraded system performance.

Innovation Solution

Implementing a 1-wire communication method without adding a separate chip like an FPGA or MCU, by allocating independent clock channels for data interfaces and using processor resources to manage input/output operations, thereby reducing power consumption and maintaining system performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If an MCU chip is used for 1-wire communication, then communication functionality is achieved, but power consumption increases and component cost increases

Engineering Contradiction:
Improvecommunication functionalityVSAvoidpower consumption
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts the MCU chip from the system and replaces it with processor resources. The processor directly handles 1-wire communication through its existing GPIO pins and interrupt mechanisms, eliminating the need for a separate MCU chip and its associated power consumption.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent makes the processor multi-functional by using its existing GPIO pins and interrupt handling capabilities to perform 1-wire communication tasks. The processor's existing resources are leveraged to serve multiple purposes: general computing, 1-wire communication, and device management, thereby eliminating the need for dedicated communication hardware.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Adaptability or versatility

If an MCU chip is used for 1-wire communication, then communication functionality is achieved, but component cost increases

Engineering Contradiction:
Improvecommunication functionalityVSAvoidcomponent cost
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent removes the MCU chip from the component list and replaces it with processor resources. This extraction reduces component count and assembly complexity while maintaining full 1-wire communication functionality through the processor's existing interfaces.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent merges the 1-wire communication functionality with the processor's existing GPIO and interrupt systems. By combining these functions into a single integrated approach, the system eliminates the need for separate communication hardware and reduces overall system complexity.

Inventive Principle:
Principle #5Merging (Combining)

3Device complexity

If GPIO bit banging method is used, then no separate chip is needed, but timing errors occur and system performance degrades

Engineering Contradiction:
Improvecomponent countVSAvoidcommunication reliability
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent implements feedback mechanisms through interrupt-driven communication. The processor continuously monitors the 1-wire bus through interrupt signals, allowing real-time detection and response to communication events. This feedback loop ensures accurate timing and data transmission without the manual bit-banging approach.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent replaces the mechanical manual bit-banging process with an automated interrupt-driven communication system. Instead of manually controlling GPIO pins in a loop, the system uses hardware interrupts to automatically trigger processor actions, eliminating timing errors associated with manual control.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

4Reliability

If processor resources are locked for communication, then communication stability is improved, but other processes cannot execute and system performance degrades

Engineering Contradiction:
Improvecommunication stabilityVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements dynamic resource management where the processor can switch between communication tasks and other processes based on interrupt signals. Instead of locking resources, the system dynamically allocates processor attention to communication events only when needed, allowing other processes to execute during idle periods.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent uses periodic interrupt-driven communication instead of continuous locked processing. The processor periodically checks for communication events through interrupt signals, allowing other processes to execute between communication cycles. This periodic approach maintains communication stability while preserving system productivity.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS12314199B2Electronic device for processing data and method thereof
Publication Date: 2025.05.27 SAMSUNG ELECTRONICS CO LTD
  • US12314199B2 patent drawing
  • US12314199B2 patent drawing
  • US12314199B2 patent drawing

AI summary

An electronic device is provided. The electronic device includes a display, a first data interface circuit including a port for connecting with an external device, and configured to exchange serial data with the external device, at least one processor operatively connected with the first data interface circuit, and a memory operatively connected with the at least one processor, the memory stores instructions that cause the at least one processor to allocate a plurality of input/output ports for processing serial data received from the first data interface circuit in parallel, and receive a first signal from the external device through the first data interface circuit, in response to the first signal being received, identify a port set to be in an active state among the plurality of input/output ports, identify the first signal by using the port that is identified as being in the active state, and display information.