{"title":"基于DMA的帧同步分段接收方法","authors":"Ye Weidong, Li Keyi","doi":"10.1109/IMCCC.2013.57","DOIUrl":null,"url":null,"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.","PeriodicalId":360796,"journal":{"name":"2013 Third International Conference on Instrumentation, Measurement, Computer, Communication and Control","volume":"33 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Method of Subsection Receiving with Frame Synchronization Based on DMA\",\"authors\":\"Ye Weidong, Li Keyi\",\"doi\":\"10.1109/IMCCC.2013.57\",\"DOIUrl\":null,\"url\":null,\"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.\",\"PeriodicalId\":360796,\"journal\":{\"name\":\"2013 Third International Conference on Instrumentation, Measurement, Computer, Communication and Control\",\"volume\":\"33 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-09-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2013 Third International Conference on Instrumentation, Measurement, Computer, Communication and Control\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IMCCC.2013.57\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 Third International Conference on Instrumentation, Measurement, Computer, Communication and Control","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IMCCC.2013.57","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A Method of Subsection Receiving with Frame Synchronization Based on DMA
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.