基于FPGA高速Serdes接口的收发模块握手协议设计  

Handshake Protocol Design of Transceiver Module Based on FPGA High-Speed Serdes Interface

作  者:刘正强 洪徐健 孙卫红 LIU Zhengqiang;HONG Xujian;SUN Weihong(Electronic and Electrical Research Institute,Shanghai Sansi Electronic Engineering Co.,Ltd.,Shanghai 201100,China;College of Mechanical and Electrical Engineering,China Jiliang University,Hangzhou 310018,China)

机构地区:[1]上海三思电子工程有限公司电子电气研究所,上海201100 [2]中国计量大学机电工程学院,浙江杭州310018

出  处:《电子科技》2025年第3期82-87,共6页Electronic Science and Technology

基  金:国家重点研发计划(2017YFB0403500)。

摘  要:为提升FPGA(Field Programmable Gate Array)高速Serdes通讯稳定性,实时监控其通讯状态,文中设计了一种基于K码控制字符的通讯协议。创建标志用户数据帧起始的动态SOF(Start of Frame)和标志结束的静态EOF(End of Frame)两种K码控制字符,有利于通讯的连续性检测。创建TLINK(Transmit Link)、BLINK(Back Link)的K码控制字符,其中TLINK控制字符在Serdes的发送端进行定期发送,接收端收到TLINK控制字符后,控制本方的Serdes发送端优先输出BLINK控制字符进行应答,以建立通讯双方之间的握手关系,有利于通讯的超时和状态检测。校验独立于SOF、EOF之间的用户数据,进行CRC32(Cyclic Redundancy Check32)计算,有利于通讯的误码检测。实验结果表明,该协议可实现对Serdes链路的丢帧数量、误码数量、超时数量及通讯断开时长进行准确监控,最小时间精度为10μs。In order to improve the stability of FPGA(Field Programmable Gate Array)high-speed Serdes communication and monitor its communication status in real time,a communication protocol based on K-code control characters is designed.Two K-code control characters,dynamic SOF(Start of Frame)that marks the start of user data frames and static EOF(End of Frame)that marks the end,are created to facilitate the continuity detection of communication.K-code control characters TLINK(Transmit Link)and BLINK(Back Link)are created,where the TLINK control character is sent regularly at the Serdes sender.After the Serdes receives the TLINK control character,it controls the sender of its own side to output the BLINK control character for feedback,establishing a handshake relationship between the two communicating parties,which is beneficial for communication timeout and status detection.Verifying user data independent of SOF and EOF for CRC32(Cyclic Redundancy Check32)calculation is beneficial for communication error detection.The experimental results show that the protocol can accurately monitor the number of frame losses,error codes,timeouts,and communication disconnection duration of the Serdes link,with a minimum time accuracy of 10μs.

关 键 词:FPGA SERDES 收发模块 K码 握手协议 通讯监控SOF EOF 

分 类 号:TN913[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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