基于Delphi的PC与NIOS II的串行通信  被引量:1

Serial port communication between PC and NIOS II based on Delphi

在线阅读下载全文

作  者:卞小林[1] 王瑛剑[1] 杨智[1] 

机构地区:[1]海军工程大学电子工程学院,武汉430033

出  处:《海军工程大学学报》2008年第5期75-78,83,共5页Journal of Naval University of Engineering

摘  要:在比较SOPC与单片机的基础上,介绍了NIOS II串行通信接口以及Delphi下利用Spcomm控件实现串行通信的便利性。搭建了NIOS II软核处理器与上位机RS232串行通信电平转换电路,给出了下位机串行通信初始化代码。为了增强通信过程中的抗干扰能力,方案中设计定义了通信信息协议,并给出了具体上下位机信息的处理过程。实际应用表明,该方案有着很好的容错性与稳定性。The communication interface of NIOS Ⅱ and the advantage of Spcomm under Delphi were introduced by comparing SOPC with MCU. The level conversion circuit was built for host computer RS232 serial communication, and the initialization code of serial communication of slave computer was offered. In order to enhance the ability of anti-interference in communication, the communication message protocol was designed and defined in the scheme. The concrete data processing for messages on both sides was given. The results of practical operation show that the strategy is excellent in error tolerance and stability.

关 键 词:SOPC NIOS  串行通信 SPCOMM控件 

分 类 号:TP368[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象