计算机与现代化Issue(11):95-99,5.DOI:10.3969/j.issn.1006-2475.2013.11.023
基于双缓冲队列的RS485串口/以太网转换器软件设计
Software Design of RS485 Serial/Ethernet Converter Based on Double-buffer Queue
马灵娟 1李长青 1刘晖2
作者信息
- 1. 华北电力大学自动化系,河北 保定 071003
- 2. 北京华电天仁电力控制技术有限公司,北京 100039
- 折叠
摘要
Abstract
In order to connect the serial devices that scattered in industrial field to the Ethernet , this article designed an embed-ded RS485 serial/Ethernet data converter which based on STM 32F107VC microprocessor.The embedded TCP/IP protocol stack LwIP is transplanted to the ARM platform , and double-buffering queue is constructed to ensure the efficiency of serial communica -tion.Serial communication protocol and Ethernet TCP /IP protocol are mapped to each other by software programming , so that the data can be converted between serial port and Ethernet .The experiments show that the serial/Ethernet data converter can work normally, data conversion is stable and reliable .关键词
STM32F107VC/LwIP/RS485串口/以太网/双缓冲队列/转换器Key words
STM32F107VC/LwIP/RS485 serial port/Ethernet/double-buffer queue/converter分类
信息技术与安全科学引用本文复制引用
马灵娟,李长青,刘晖..基于双缓冲队列的RS485串口/以太网转换器软件设计[J].计算机与现代化,2013,(11):95-99,5.