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

HDLC协议RS-485总线控制器的FPGA实现
引用本文:高振斌,陈禾,韩月秋.HDLC协议RS-485总线控制器的FPGA实现[J].河北工业大学学报,2004,33(5):28-32.
作者姓名:高振斌  陈禾  韩月秋
作者单位:北京理工大学,信息科学技术学院,北京,100081;河北工业大学,信息学院,天津,300130;北京理工大学,信息科学技术学院,北京,100081
摘    要:介绍了以HDLC协议控制为基础的RS-485总线通信控制器,采用VHDL语言在RTL级设计,并在单片FPGA上实现.该控制器具有两个独立的全双工通道,通过存储器管理单元共用片内4KB双口RAM,与CPU进行数据交换.内建中断管理模块,可以工作在查询模式或中断模式.CPU可通过内部ISA总线接口,对片内RAM地址、本站站址、收发数据长度、数据的波特率等编程控制.工作时钟为40MHz时,各通道波特率最高可达10MHz.实际应用表明,此控制器设计合理,工作可靠。

关 键 词:HDLC规程  RS-485总线  现场可编程逻辑器件(FPGA)  VHDL语言
文章编号:1007-2373(2004)05-0028-05
修稿时间:2004年6月4日

The Implement of RS-485 Bus Controller Based on HDLC Protocol by a Single FPGA Chip
GAO Zhen-bin,CHEN He,HAN Yue-qiu School of Information Engineering,Beijing Institute of Technology,Beijing ,China, School of Information Engineering,Hebei University of Technology,Tianjin ,China.The Implement of RS-485 Bus Controller Based on HDLC Protocol by a Single FPGA Chip[J].Journal of Hebei University of Technology,2004,33(5):28-32.
Authors:GAO Zhen-bin  CHEN He  HAN Yue-qiu School of Information Engineering  Beijing Institute of Technology  Beijing  China  School of Information Engineering  Hebei University of Technology  Tianjin  China
Affiliation:GAO Zhen-bin,CHEN He,HAN Yue-qiu School of Information Engineering,Beijing Institute of Technology,Beijing 100081,China, School of Information Engineering,Hebei University of Technology,Tianjin 300130,China
Abstract:An interface chip used as the RS485 bus controller based on HDLC protocol was introduced, which was written in VHDL at the RTL level and implemented by a single FPGA chip. The chip contains two full-dual transceivers independent of each other, performing the transmitting and receiving of synchronal series data. The chip exchanges data with CPU by a build-up 4K-bytes RAM, which was shared by both transceivers. An interrupt management module was also built in, it enables the interface to work on either query mode or interrupt mode. Many registers, such as the station address, the length of series data and the baud rate, etc., that controlling the chip's working status, can be set a value by CPU through an inner ISA interface. The interface chip has the characteristics of simple, flexible, and easy in use. It can be driven by 40 MHz clock signal and the transceivers can handle the series data at the maximum rate of 40M Hz. The application result shows that the interface chip is proper-designed and of high reliability.
Keywords:HDLC Protocol  RS-485 Bus  FPGA  VHDL
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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