Font Size: a A A

Based On The Pci Bus Serial Communication Card

Posted on:2009-10-31Degree:MasterType:Thesis
Country:ChinaCandidate:Y DengFull Text:PDF
GTID:2208360245971948Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
The multi-COM data transmission technology is one of the most important branches of computer application field. It focuses on multi-COM data collection, data storage and computing. The design of PCI multi-COM card is a hot key which pursuited by market.The PCI local bus is becoming to the mainstream in the field of computer bus, because of its perfect performance of data transmission. But, because of the complexity of the PCI protocol, it is hard to design digital control hardware circuit to matching the protocol. In this paper, we use the interface chip of PCI9052 (made by PLX Company) to fit the PCI local protocol.The paper came from the project of "Intellectual card system of gas machine" which was designed by Shenyang Taikong Company and Sinopec. This paper design the interface circuit of PCI bus, made the hardware circuit successfully, and coded the driver program based on both Windows and Linux.The whole system mainly includes two parts: the hardware circuit design and the driver design. In the hardware circuit design part, we selected the PCI interface chip to be compatible to the PCI bus, used VHDL and CPLD to design the hardware logic control module, used Protel99 to design the principle graph and PCB graph of the system and finally made the circuit and debug it successfully. During this process, we solved the problem of customizing, avoided the waste of resources. We used the principle of RS-422 to ensure the anti-jamming capability of data transmiting and long distance data transmiting. We also used the method of parallel to ensure high baud rate of the COM. In the driver design part, we used Driverstudio and VC++ to design the card's driver based on Windows. Moreover, we analysis the connection between Linux kernel and device driver, and afford the design flow of the card's driver which based on Linux.After carefully debugging, the card can successfully complete data transmission, and now it is applied in several gas stations allover country.
Keywords/Search Tags:Multi-COM, PCI bus, PCI9052, WDM, DriverStudio, Linux
PDF Full Text Request
Related items