Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2009, Vol. 35 ›› Issue (4): 94-96. doi: 10.3969/j.issn.1000-3428.2009.04.033

• Networks and Communications • Previous Articles     Next Articles

Serial Communication Based on TMS320F2812 and LabVIEW

DAI Peng, LIU Jian, FU Xiao, PAN Qing-shan   

  1. (College of Information and Electronics, China University of Mining Technology, Xuzhou 221008)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-02-20 Published:2009-02-20

基于TMS320F2812与LabVIEW的串口通信

戴 鹏,刘 剑,符 晓,潘庆山   

  1. (中国矿业大学信息与电子学院,徐州 221008)

Abstract: This paper introduces the principle of communication between the serial communication module of TMS320F2812 DSP and serial peripherals, and gives the asynchronous serial communication programming combined with actual application. According to the problem that it is hard to watch variables of power driving digital control systems, computed data by DSP are sent to PC through the serial port RS232. Thanks to using LabVIEW as the PC developing platform, data storage, data processing and data display are realized without extra hardware. Specific data analysis and processing can be achieved by the system, such as the FFT transform, harmonic analysis. Four way experimental waveforms of data generated by DSP displayed in LabVIEW are given out.

Key words: DSP, virtual instrument, serial communication

摘要: 介绍利用TMS320F2812数字信号处理器(DSP)的串行通信模块实现与外设间串行通信的原理,结合实际应用给出异步串行通信的程序设计。针对电力传动控制系统数字变量不易观察的问题,将DSP运算得到的数据通过RS232串口送至PC。采用LabVIEW开发上位机软件,无须额外增加硬件,实现了数据的采集、显示、处理和存储。该系统还可以对数据进行FFT变换、谐波分析等特定的分析和处理。给出利用DSP产生的4路波形数据在LabVIEW下的实验波形。

关键词: 数字信号处理器, 虚拟仪器, 串行通信

CLC Number: