期刊文献+

基于双缓冲队列的RS485串口/以太网转换器软件设计 被引量:5

Software Design of RS485 Serial/Ethernet Converter Based on Double-buffer Queue
在线阅读 下载PDF
导出
摘要 为了将分散于工业现场的串口设备接入以太网,本文设计一种基于STM32F107VC微处理器的嵌入式RS485串口/以太网的数据转换器。移植嵌入式TCP/IP协议栈LwIP到ARM平台,构造双缓冲队列,保证串行通信的效率,通过软件编程实现串行通信协议和以太网的TCP/IP协议的相互映射,使得串口数据和以太网数据相互转换。实验表明,串口/以太网数据转换器能够正常工作,数据转换稳定、可靠。 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 STM32F107VC 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 communication. 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.
出处 《计算机与现代化》 2013年第11期95-99,共5页 Computer and Modernization
关键词 STM32F107VC LWIP RS485串口 以太网 双缓冲队列 转换器 STM32F107VC LwIP RS485 serial port Ethernet double-buffer queue converter
  • 相关文献

参考文献10

二级参考文献19

  • 1王亚军,李建文,吉方.基于环形缓冲区的实时系统负载平衡技术[J].计算机应用与软件,2005,22(4):38-39. 被引量:12
  • 2罗军宏,谢余强,舒辉,张有为.LwIP在uC/0S II操作系统中的实现[J].微计算机信息,2005,21(07Z):46-47. 被引量:9
  • 3罗朝霞,张高记.基于TMS320F2407A DSP的MODBUS通信协议的实现[J].微计算机信息,2005,21(07Z):138-139. 被引量:17
  • 4ChrisCant.WindowsWDM设备驱动程序开发指南[M].北京:机械工业出版社,2005.
  • 5MicrosoftCorporation.Windows2000驱动程序开发大全[M].北京:机械工业出版社,2001.
  • 6殷人昆.数据结构[M].北京:清华大学出版社,2007.
  • 7广州周立功单片机发展有限公司.LPC2101/02/03使用指南[DB/OL],2006(2006-9—7).http://www.zlgmcu.com.
  • 8姜云鹏,张昊.基于ModbUSRTU协议的电动机测温系统在京唐原料场中的实现[C]//中国计量协会冶金分会2010年会.2010.
  • 9汪建 孙开放 等.MCS-96系列单片机原理及应用技术[M].武汉:华中理工大学出版社,2000..
  • 10AT89S52 Datasheet ATMEL

共引文献113

同被引文献28

引证文献5

二级引证文献10

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部