UART (universal asynchronous receiver/transmitter) serial port communication method based on GPIO (general purpose input/output) handshake and EDMA (enhanced direct memory access)

A serial port communication and channel technology, applied in the field of serial port communication, can solve the problems of unspecified packet boundaries, low efficiency, and inability to flexibly use DSP memory locations, etc., to achieve good data storage services, avoid reading errors, and reduce size Effect

Active Publication Date: 2016-11-23
GUANGZHOU HUIRUI SITONG INFORMATION SCI & TECH CO LTD
View PDF6 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

The patent describes a method for improving serial communication using a UART serial port. It uses Enhanced Direct Memory Access (EDMA) and General Purpose Input Output (GPIO) to automate data transfer and reduce CPU intervention. This improves the efficiency of UART serial communication and reduces CPU resource consumption. The method also uses GPIO handshake signals to notify the receiving end and quickly distinguish data packet boundaries, improving communication efficiency and overall system-level efficiency.

Problems solved by technology

This patented technical problem addressed in the patents relates to improving the performance (speed or reliability) of USB devices when transmitting large amounts of digital signals over long distances without sacrificing their speed or accuracy due to limitations on bus interface bandwidth caused by slow signal transfer rates between host processor units and external storage devices.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • UART (universal asynchronous receiver/transmitter) serial port communication method based on GPIO (general purpose input/output) handshake and EDMA (enhanced direct memory access)
  • UART (universal asynchronous receiver/transmitter) serial port communication method based on GPIO (general purpose input/output) handshake and EDMA (enhanced direct memory access)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The present invention will be further described in detail below with reference to the embodiments and the accompanying drawings, but the embodiments of the present invention are not limited thereto.

[0049] UART serial port communication method based on GPIO handshake and EDMA, including the following steps:

[0050] S1. Designate a buffer for sending and receiving data;

[0051] The cache address space of the cache includes the L2 address in the DSP chip, the DDR address, and other peripheral addresses that can be accessed by EDMA;

[0052] S2. When using UART to send data, use EDMA to move the data to be sent to the sending FIFO of UART, and then send it to the opposite chip by UART;

[0053] The duration of the timer is determined by the physical delay on the sending link;

[0054] Such as figure 2 , the use of UART for data transmission, specifically:

[0055] (1) The CPU application program is used as the source of data transmission, first configure the transmis

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a UART (universal asynchronous receiver/transmitter) serial port communication method based on GPIO (general purpose input/output) handshake and EDMA (enhanced direct memory access). According to the method, data migration from transmitting and receiving FIFO of UART to an external data buffer is completed automatically on the basis of an EDMA function, and frequent intervention of CPU (central processing unit) is not needed; a receiving terminal is informed through GPIO handshake signals to receive data packets, and the boundaries of the received data packets can be rapidly distinguished and an address of a next to-be-received data packet can be automatically updated; therefore, the efficiency of communication adopting UART serial ports is greatly improved, frequent interruption to CPU processing is reduced when the UART transmits and receives the data pockets, and the utilization rate of CPU resources can be increased. Meanwhile, according to the scheme, the GPIO signals are utilized to have an appointment with opposite terminal equipment, and convenience produced when the opposite terminal equipment uses the UART for receiving is improved to a certain degree, so that the work efficiency of communication adopting the UART serial ports is improved at the level of the overall system.

Description

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Owner GUANGZHOU HUIRUI SITONG INFORMATION SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products