SPI接口内嵌CRC校验的设计实现  被引量:2

Design and Implementation of Embedded CRC Check in SPI Interface

在线阅读下载全文

作  者:韩旭东 HAN Xudong(The 47th Institute of China Electronics Technology Group Corporation,Shenyang 110000,China)

机构地区:[1]中国电子科技集团公司第四十七研究所,沈阳110000

出  处:《微处理机》2023年第3期46-49,共4页Microprocessors

摘  要:为进一步满足芯片间高品质通讯的需求,克服SPI接口缺少应答机制的缺点,保证SPI数据传输的正确性,设计为其添加CRC校验功能。针对不同的数据格式及工程实际应用场合中所使用函数的不同,设计出相应的三种冗余校验计算方式。通过仿真实验证明,在CPU处理能力足够高的情况下,传输速度最高可达系统时钟频率的一半,轻松达到每秒十几兆比特的传输速率,CRC计算结果正确,明显改善数据传输品质。In order to further meet the requirements of high-quality communication between chips,overcome the shortcomings of SPI interface lacking response mechanism,and ensure the correctness of SPI data transmission,a CRC check function is designed for it.According to different data formats and different functions used in practical engineering applications,three corresponding redundancy check calculation methods are designed.The simulation results show that the transmission speed can be up to half of the system clock frequency when the processing power of CPU is high enough,and it can easily reach the transmission speed of more than ten megabits per second.The CRC calculation result is correct and the data transmission quality is obviously improved.

关 键 词:SPI接口 冗余校验 计算方法 

分 类 号:TN402[电子电信—微电子学与固体电子学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象