首页 | 本学科首页   官方微博 | 高级检索  
     检索      

一种新型的FPGA实现RS422串口通信方法
引用本文:刘杰,藏炜,梁晓鹏,李军武.一种新型的FPGA实现RS422串口通信方法[J].应用声学,2017,25(3):191-194.
作者姓名:刘杰  藏炜  梁晓鹏  李军武
作者单位:贵州航天凯山石油仪器有限公司,贵阳 550000,中国石油渤海装备公司第一机械厂,河北 青县 062650,长庆油田第六采油厂,陕西 榆林 718600,长庆油田第七采油厂,甘肃 环县 745700 [HJ
摘    要:在FPGA实现RS422串口通信的常用方法中经常遇到诸多问题,如FIFO深度读取不正确、FIFO写数据端口与读数据端口时序竞争、多个模块间信号延时导致FPGA亚稳态等问题,因此设计了一种新型的RS422串口通信实现方法;该方法通过利用寄存器数组作为循环缓存代替FIFO,利用计数器代替传统的波特率产生模块,把常用方法中的多个模块整合成一个模块,只采用一个主时钟,所有寄存器的时钟输入端共享一个时钟,对FPGA逻辑与时序进行了有效约束,避免了FPGA中亚稳态产生;试验结果表明该方法实现的RS422串口通信高速、可靠、稳定,并且利用FPGA实现RS422串口通信,可使整个系统更为灵活、紧凑,减小整个电路的体积,提高系统的可靠性和稳定性。

关 键 词:RS422  FPGA  DSP  Verilog  HDL
收稿时间:2016/12/12 0:00:00
修稿时间:2017/2/6 0:00:00

A New Method of RS422 Serial Port Communication Based on FPGALiu Jie1,Zang Wei2,Liang Xiaopeng3,Li Junwu4
Liu Jie,Zang Wei,Liang Xiaopeng and Li Junwu.A New Method of RS422 Serial Port Communication Based on FPGALiu Jie1,Zang Wei2,Liang Xiaopeng3,Li Junwu4[J].Applied Acoustics,2017,25(3):191-194.
Authors:Liu Jie  Zang Wei  Liang Xiaopeng and Li Junwu
Abstract:The common method of RS422 serial port communication realized by FPGA often encounter many problems, such as FIFO depth is incorrect, the timing of writing FIFO data port and reading FIFO data port are compete, and signal delay between multiple modules leads to FPGA metastable state, so a new method of RS422 serial port communication is proposed. This method replaces the traditional FIFO by using register array as a cyclic queue, uses the counter instead of the baud rate generation module, integrate multiple modules into one module, only one master clock, all registers share one clock with the clock input, and constraints FPGA logic and timing to avoid the FPGA metastable state. The experimental results show that the method is fast, reliable and stable. It can make the whole system more flexible and compact, reduce the whole circuit volume and improve the reliability and stability of the system.
Keywords:RS422  FPGA  DSP  Verilog HDL
点击此处可从《应用声学》浏览原始摘要信息
点击此处可从《应用声学》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号