Font Size: a A A

Design And Implementation Of Software Based On Serial Communication Protocol

Posted on:2012-06-04Degree:MasterType:Thesis
Country:ChinaCandidate:H WangFull Text:PDF
GTID:2218330362457758Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
Communication functionality is emphasized with the advances of computer networking and parallelizing. Parallel communication is one of the most important ways in data communication. For a series system, it could be implemented through series ports with few cable connections. It is also suitable for long-distance communication between computers and external devices. Thus, it is with significant meaning to implement a PXI based series communication protocol, which is the main purpose of this work.This work is company-funded and entitled as"Network Protocol Testing and Analyzing Platform". A protocol test platform is designed based on FPGA and PXI from a top-to-bottom view, and validated by the application software based on various protocols, i.e., RS232, V.24, V.35, and X.21. Specifically, main work includes three aspects as follows.Firstly, based on the protocol specification of RS232, V.24, V.35, X.21, this work designs the communication between driver and application software, and implemented the driver interface function. Communication between application software and driver is mainly based on IRP and dispatch function. IRP is the bridge that helps to exchange information among operating system, application software and driver. Dispatch function is specially used to handle IRP function. Thus, cooperation between these two functions enables the communication between application and driver software. Moreover, Multi-thread is enabled to response to low layer interruption on time.Secondly, this work also designs application software communicating with RS232, V.24, V.35, X.21 protocol based on PXI board. It includes three main modules, i.e., configuration module, data transceiver and error bit test module. Two types of data packet with 32 bits information are used to configure and test the data transceiver module.At last, the work tests the whole protocol board, and validates its functionality, including conformance testing, performance and robust testing. Test reports validates that the design goal has been fully achieved.
Keywords/Search Tags:RS232, V.24, V.35, X.21, Protocol testing
PDF Full Text Request
Related items