Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for DMA data transmission

A technology of a data transmission system and a data transmission method, applied in the field of data processing, can solve the problems of increasing the CPU burden, reducing the data transmission speed, affecting the overall performance of the system, and achieving the effects of reducing the CPU burden, increasing the speed, and improving the overall performance.

Active Publication Date: 2013-06-26
SPREADTRUM COMM (SHANGHAI) CO LTD
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] In this data transmission method of the prior art, the CPU needs to complete multiple tasks. In addition to writing data to BUFFER, it also needs to complete configuration, start DMA, perform DMA interrupt processing, and maintain the read and write pointers of BUFFER, etc. Work, a large number of tasks seriously increase the burden on the CPU and reduce the speed of data transmission, thus affecting the overall performance of the system

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
  • Method and system for DMA data transmission
  • Method and system for DMA data transmission
  • Method and system for DMA data transmission

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] Embodiments of the present invention provide a DMA data transmission method and system, which can reduce CPU load, increase data transmission speed, and thereby improve overall system performance.

[0061] see figure 1 , an embodiment of the DMA data transmission method of the present invention includes:

[0062] 101. The CPU writes the transmission data to be transmitted into the transmission data BUFFER for caching;

[0063] In this embodiment, the CPU is responsible for responding to the write request of the transmission data, writing the transmission data into the BUFFER, and updating the write pointer in the data transmission control module.

[0064] The CPU usually reads the read pointer first, and judges whether the remaining space in the BUFFER satisfies the output of the transmitted data, and triggers the corresponding error handling mechanism if it is not satisfied. The maintenance of the write pointer includes loopback processing, that is, when its value re...

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 method and a system for DMA data transmission. The burden of a central processing unit (CPU) can be lowered, speed of data transmission can be improved, and accordingly system whole performance can be improved. The method comprises the steps that the CPU writes transmission data which need to be transmitted in a transmission data butter for caching; after transmission data writing is completed, a writing indicator of the buffer in a data transmission control module is renewed; and the data transmission control module transmits the transmission data in the buffer in a DMA mode. The invention further provides the system for DMA data transmission. The burden of the CUP can be effectively lowered, data transmission speed can be improved, and accordingly system whole performance is improved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a DMA data transmission method and system. Background technique [0002] During the working process of the chip (especially the baseband chip), it is usually necessary to send the workflow and various status information, important data, etc. positioning. [0003] In general, the output of transmitted data usually includes the following two steps: [0004] The first step: store the transmission data in a buffer (BUFFER) opened in the memory (memory); [0005] Step 2: Output the information in BUFFER through the data transmission interface. [0006] BUFFER is usually implemented by loopback BUFFER, that is, this BUFFER includes a start address and an end address. When writing data to this BUFFER, when the data is written to the end address of BUFFER, the next data will be written to the start In the memory starting from the address, address loopback is implemented, and similar lo...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/32
Inventor 唐新东
Owner SPREADTRUM COMM (SHANGHAI) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More