循环冗余校验CRC作为一种高效可靠的差错控制方法,在通信系统中有着广泛的应用。本文以CRC-32为实例,基于STM32H743I系列的一款微控制器设计实验对比了软件实现方法和硬件实现方法的性能差异。对实验结果的分析与总结可以为MCU或SoC的架构师、嵌入式系统软件设计师在评估CRC算法的实现方案时提供参考。
Abstract
CRC(Cyclic Redundancy Check) as a kind of high-efficiency and reliable error control method,it has been widely applied in communication systems.In this paper,CRC-32 is taken as an example,an experiment based on SMT32H743I series microcontrollers has been done,which demonstrate the performance difference between software implementation and hardware implementation.The analysis and conclusion of the result are able to provide intuitional reference for architectures of MCU or SoC and embedded system software designers when they evaluate the CRC algorithm implementation plans.
关键词
CRC /
STM32H7 /
软件实现 /
硬件实现
{{custom_keyword}} /
Key words
CRC /
STM32H7 /
software implementation /
hardware implementation
{{custom_keyword}} /
中图分类号:
TP311.1
{{custom_clc.code}}
({{custom_clc.text}})
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] Peterson W W,Brown D T.Cyclic Codes for Error Detection[J].Proceedings of the IRE,1961,49(1):228-235.
[2] 睿星,李鑫,陈坚波.循环冗余校验码CRC在家电通信中的应用[J].日用电器,2016(8):38-40.
[3] Christensen K J, Reviriego P,Nordman B,et al.IEEE 802.3az[J].IEEE Communications Magazine,2010(4).
[4] 宥谋,房鼎益.CRC编码算法研究与实现[J].西北大学学报(自然科学版),2006(6):895-898.
[5] ST.STM32H743xI/G datasheet,2021.
[6] Embed Fire.STM32 HAL开发实战指南[M].北京:机械工业出版社,2021.
{{custom_fnGroup.title_cn}}
脚注
{{custom_fn.content}}