A Method of Subsection Receiving with Frame Synchronization Based on DMA

Ye Weidong, Li Keyi
{"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}
引用次数: 0

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.
基于DMA的帧同步分段接收方法
本文分析了串行接收程序的一些传统设计思想。针对它们的不足,提出了一种基于DMA的分段帧同步接收(SRFS)方法。该方法的主要思想是将通信数据封装成具有指定结构的帧,然后将接收数据帧划分为几个指定的段,并使每个段的接收过程与接收算法的某个执行状态相匹配。同时,该方法利用软件队列实现数据接收与处理的分离。最后,在STM32F103RBT6硬件平台上进行了对比实验,结果表明,本文提出的方法在适用性、实时性、可靠性等方面具有突出的性能。此外,它还解决了DMA接收变长数据的问题。总之,本文的方法可以应用于对数据传输量大、通信速度快、实时性和可靠性要求高的串行通信嵌入式系统。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信