首页 | 本学科首页   官方微博 | 高级检索  
   检索      

基于Delphi的PC与NIOS II的串行通信
引用本文:卞小林,王瑛剑,杨智.基于Delphi的PC与NIOS II的串行通信[J].海军工程大学学报,2008,20(5).
作者姓名:卞小林  王瑛剑  杨智
作者单位:海军工程大学,电子工程学院,武汉,430033
摘    要:在比较SOPC与单片机的基础上,介绍了NIOS II串行通信接口以及Delphi下利用Spcomm控件实现串行通信的便利性.搭建了NIOS II软核处理器与上位机RS232串行通信电平转换电路,给出了下位机串行通信初始化代码.为了增强通信过程中的抗干扰能力,方案中设计定义了通信信息协议,并给出了具体上下位机信息的处理过程.实际应用表明,该方案有着很好的容错性与稳定性.

关 键 词:串行通信  Spcomm控件

Serial port communication between PC and NIOS II based on Delphi
BIAN Xiao-lin,WANG Ying-jian,YAN Zhi.Serial port communication between PC and NIOS II based on Delphi[J].Journal of Naval University of Engineering,2008,20(5).
Authors:BIAN Xiao-lin  WANG Ying-jian  YAN Zhi
Institution:College of Electronic Engineering;Naval Univ.of Engineering;Wuhan 430033;China
Abstract:The communication interface of NIOS II 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 o...
Keywords:SOPC  NIOS II
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号