Software Design of RS485 Serial/Ethernet Converter Based on Double-buffer Queue
MA Ling-jua
Abstract
MA Ling-jua
Abstract
In order to connect the serial devices that scattered in industrial field to the Ethernet,this article designed an embedded 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.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
In order to connect the serial devices that scattered in industrial field to the Ethernet,this article designed an embedded 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.
Key concepts: Computer science, Synchronous Ethernet, ATA over Ethernet, Embedded system, Ethernet Powerlink, Serial port, Carrier Ethernet, Computer network