Configurable UART State Machine Automates Protocol Handling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional UART interfaces provide limited control over higher-level protocol aspects such as START and STOP bit placement, Checksum, and parity, which can be resource-intensive for smaller microcontrollers, necessitating a solution that automates these processes to support multiple communication protocols like DMX, DALI, and LIN.

Innovation Solution

A universal asynchronous receiver/transmitter (UART) interface with a configurable state machine that automatically handles protocol-specific details such as baud rates, break characters, frame widths, and checksums, allowing software to focus solely on data transmission and reception across various protocols like DMX, DALI, and LIN.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If conventional UART interfaces are used with manual protocol handling, then software has full control over protocol details, but software overhead increases and performance decreases on smaller microcontrollers

Engineering Contradiction:
Improvesoftware control over protocol detailsVSAvoiddata transfer efficiency
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The UART interface is designed to automatically handle protocol-specific tasks including START and STOP bit insertion, checksum calculation, parity bit generation, and frame synchronization. The hardware state machine self-manages these functions without requiring software intervention, allowing the processor to focus solely on higher-level data application logic while maintaining full protocol compliance

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces software-based protocol handling with a hardware state machine that automatically manages communication protocols. This substitution eliminates the need for software to manually place control characters, calculate checksums, or manage timing, thereby reducing CPU overhead and improving data transfer efficiency on resource-constrained microcontrollers

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

2Adaptability or versatility

If manual protocol handling is implemented in software, then flexibility in protocol customization is maintained, but device complexity increases due to additional software overhead

Engineering Contradiction:
Improveprotocol customization flexibilityVSAvoidsoftware overhead
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The UART interface incorporates a configurable state machine that can automatically support multiple communication protocols including DMX512, DALI, and LIN. By making the state machine configurable through control registers, the hardware can adapt to different protocol requirements without requiring separate hardware implementations, thereby reducing device complexity while maintaining versatility

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

Solution Approach 2:

The hardware state machine automatically handles protocol-specific tasks such as frame synchronization, bit timing, checksum calculation, and parity generation. This self-service capability eliminates the need for complex software protocol stacks, reducing device complexity while maintaining protocol flexibility through hardware configuration

Inventive Principle:
Principle #25Self-service

3Productivity

If automated protocol support is implemented in hardware, then software overhead is reduced and performance improves, but device complexity increases due to additional hardware components

Engineering Contradiction:
Improvedata transfer efficiencyVSAvoidhardware structure
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent merges the protocol handling functionality directly into the existing UART hardware structure. The state machine is integrated with the transmitter and receiver units, allowing automated protocol support to be achieved without adding separate dedicated hardware components. This integration reduces device complexity while maintaining the performance benefits of hardware-based automation

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The configurable state machine serves multiple protocol functions within a single hardware component. By designing the state machine to be reconfigurable through control registers, the hardware can support multiple communication protocols (DMX512, DALI, LIN) without requiring separate hardware implementations for each protocol, thereby reducing overall device complexity

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

4Reliability

If multiple communication protocols are supported through separate hardware implementations, then protocol-specific optimization is achieved, but adaptability decreases and device complexity increases

Engineering Contradiction:
Improveprotocol-specific performanceVSAvoidmulti-protocol support
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The UART interface incorporates a configurable state machine that can automatically support multiple communication protocols including DMX512, DALI, and LIN. By making the state machine configurable through control registers, the hardware can adapt to different protocol requirements without requiring separate hardware implementations, thereby reducing device complexity while maintaining versatility

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

Solution Approach 2:

The patent implements protocol-specific optimization through configurable parameters in control registers rather than separate hardware implementations. By changing parameters such as baud rate, frame format, checksum length, and parity settings, the same hardware can be optimized for different protocols, maintaining reliability while improving adaptability

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentEP3311296B1UART with automated protocols
Publication Date: 2020.12.23 MICROCHIP TECHNOLOGY INC
  • EP3311296B1 patent drawingFigure 1
  • EP3311296B1 patent drawingFigure 2A
  • EP3311296B1 patent drawingFigure 2B

AI summary

A universal asynchronous receiver/transmitter (UART) interface is disclosed. The UART interface may include a configurable asynchronous receiver and transmitter unit; and a configurable state machine, wherein the state machine allows configuration of the receiver and transmitter unit to support various baud rates and provide for start bit and stop bit configuration, wherein the state machine is further configurable to automatically support a plurality of communication protocols.