摘要
为了保证双处理器间数据通信的稳定可靠,兼顾实现方式的低成本和易移植,本文提出了在串口通信中引入TCP/IP协议栈来实现处理器间的通信。在该方式的实现过程中解决了上层协议栈和串口驱动之间的数据交换问题和物理串口传输以太网数据问题。文章具体分析了该通信方式的实现原理,并讨论了上层协议栈接口、串口驱动、串口分帧的设计以及具体实现过程。
In order to improve the stability of dual processors communication, reduce cost and ensure the portability, the paper applied TCP/IP to serial port to process the communication among processors by solving the issue of data exchange between upper layers protocol stack and serial port driver, and the issue of ethernet data transmission via physical serial port. The paper emphasized to analyze the implementation principle of the communication mode, introduced upper layer protocol stack interface, serial port driver, serial port framing and the detailed implementation process of the communication.
出处
《电信科学》
北大核心
2010年第5期105-109,共5页
Telecommunications Science