论文标题:基于DSP的多协议串行通信卡的设计与实现 The Design and Realization of Multi-Protocol Serial Communication Card Based on DSP 论文作者 论文导师 胡鹏飞,论文学位 硕士,论文专业 系统工程 论文单位 西南交通大学,点击次数 91,论文页数 76页File Size3259k 2006-05-01论文网 http://www.lw23.com/lunwen_469611387/ Serial Communication;HDLC;FTI;Harvard Bi-phase;DSP;CCS;LabWindow/CVI 串行通信在当代民航客机和军用飞机中有着广泛的应用。在串行通信中,常用的链路层协议主要包括HDLC协议、FTI协议和双相哈佛码协议等。因此,具有针对性和专用性的多接口、多协议的串行通信具有非常重要的意义和应用前景。本文就是根据这方面的应用需求,设计并实现了一种专用的基于DSP的串行通信卡。 CPU采用高性能的DSP芯片TMS320C6711,通过DSP/BIOS操作系统软件平台,结合串行通信卡测试软件开发平台LabWindow/CVI,实现了多协议的串行通信卡。 在设计架构上采用两级控制。DSP作为底层的控制单元,直接控制外围器件,完成对数据的发送、接收、处理、存储整个过程的控制。上层测试软件作为控制中心,通过直接控制DSP,间接地控制整个底层硬件。 本文主要涉及以下几方面:在认真阅读、理解消化各类芯片资料如Tl的DSP芯片、串行控制芯片及相关的串行通信协议的基础上,给出了设计的可行性方案。在CCS开发环境下,充分利用DSP/BIOS,调用API,设计了底层DSP的驱动软件。借助软件开发环境LabWindow/CVI,设计了支持VXI即插即用功能的通信卡驱动程序,完成对硬件设备功能控制的封装,并为用户针对设备的二次开发提供了通用接口。根据实际的应用需要,在LabWindow/CVI环境下,设计了上位机软面板,完成整个设备同用户的交互功能,实现用户对设备控制的友好人机界面。 Serial communication is widely used in civil airplane and warplane recently, including HDLC protocol, FTI protocol, Harvard Bi-phase protocol, etc. Serial communication, with multi-interface and multi-protocol for special use, is very important and will find an increasingly wide utilization in all fields. To meet application needs, serial communication card, based on DSP for special use, is designed in this paper.This plan is based on high-performance DSP chip TMS320C6711 as CPU. Combining DSP/BIOS operating system and LabWindows/CVI for test platform, serial communication, in view of the multi-protocol, is brought about.Two-level control is applied in structure. DSP is used for base level control unit, managing peripheral instruments and dealing with data in sending, receiving, storing, etc. Uppering application test software is used for control centre, governing the whole base level hardware indirectly through donimating DSP.Several aspects, involved in this thesis, are as follows. Feasible plan is designed after reading and comprehending related serial communication protocols and datasheets, such as DSP, USC. Driver program, based on CCS, is realized for DSP, which adopts DSP/BIOS and API. Plug&Play deriver program for VXI is achieved based on LabWindows/CVI. Packing for controlling hardware instrument function is completed and universal interface is supplied for the user"s second development. According to the application needs, soft panel for PC is designed with the aid of LabWindos/CVI. It provides friendly man-machine interaction for users to control the instrument.
|