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

基亏NIOSII的多串口数据通信的实现
引用本文:向乐乐,卢艳娥.基亏NIOSII的多串口数据通信的实现[J].国外电子元器件,2011(2):24-26.
作者姓名:向乐乐  卢艳娥
作者单位:空军工程大学电讯工程学院,陕西西安710077
摘    要:串口传输常用于基于FPGA和DSP结构的信号处理板和外部设备之间的数据交换。以GPSRTK定位应用为基础.针对单个串口全双工传输不足以应对多种数据类型同时输入输出的情形,设计并实现了一种面向多串口不同类型数据的传输方案。该方案通过增加串口控制寄存器实现单个中断信号即可控制所有串口,采用乒乓交替读写实现数据持续高速输入。测试表明该方案可独立对各串口进行配置,可同时实现GPS定位结果、差分GPS修正数据与外界的交换以及用户控制命令的输入,并且可减少硬件调试时间,节约硬件资源。

关 键 词:串口通信  通用异步接收/发送装置  现场可编程门阵列  可编程片上系统  实时动态差分

Achievement of multi-serial port data communication based on NIOS II
XIANG Le-le,LU Yan-e.Achievement of multi-serial port data communication based on NIOS II[J].International Electronic Elements,2011(2):24-26.
Authors:XIANG Le-le  LU Yan-e
Affiliation:( Telecommunication Engineering College, Air Force Engineering University, Xi 'an 710077, China)
Abstract:Serial communication is usually applied to data transformation between peripherals and signal processing board based on FPGA&DSP structure. It is insufficient to send and receive various kinds of data simultaneously via a single fullduplex serial port. A scheme to transfer different types of data by means of multi-serial ports was designed and achieved on FPGA for GPS RTK position application in this article. The scheme has the ability to configure all serial ports from only one interrupt request since the adopting of serial port control register. Data was transmitted simultaneously at a high speed due to PING-PONG reading and writing. The testing shows exchanges of GPS position data, differential GPS corrections and inputs of user control instructions can be achieved meanwhile. Debug time is shorted and hardware resource is saved.
Keywords:serial communication  universal asynchronous receiver/transmitter  field programmable gate array  system on programmable chip  real-time kinematic
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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