Title :
A Method of Subsection Receiving with Frame Synchronization Based on DMA
Author :
Ye Weidong ; Li Keyi
Author_Institution :
Sch. of Autom. Sci. & Electr. Eng., Beijing Univ. of Aeronaut. & Astronaut., Beijing, China
Abstract :
This paper analyzes some traditional design ideas about serial receiving program. For their shortcomings, a method of subsection receiving with frame synchronization(SRFS) based on DMA is proposed. The main idea of this method is to encapsulate the communication data into a frame with the specified structure, then divide a data frame receiving into several specified segments and make receiving process of every segment to match a certain execution state of receiving algorithm. Meanwhile, this method utilizes the software queue to separate data receiving from data processing. Finally, this paper conducts a compared experiment on a hardware platform of STM32F103RBT6, and the result indicates that the proposed method has prominent performance on suitability, real-time, reliability and so on. Besides, it solves the problem faced by receiving variable-length data with DMA. In a word, the method in this paper can be applied to embedded system with serial communication which demands large amounts of data transmission volume, high-speed communication, strong real-time and reliability.
Keywords :
data communication; data encapsulation; embedded systems; DMA; SRFS; STM32F103RBT6; communication data encapsulation; embedded system; receiving algorithm; serial communication; software queue; subsection receiving with frame synchronization; Data processing; Embedded systems; Hardware; Real-time systems; Reliability; Synchronization; DMA; SRFS; high-speed; real-time; reliability; variable-length data;
Conference_Titel :
Instrumentation, Measurement, Computer, Communication and Control (IMCCC), 2013 Third International Conference on
Conference_Location :
Shenyang
DOI :
10.1109/IMCCC.2013.57