摘要
介绍利用TMS320F2812数字信号处理器(DSP)的串行通信模块实现与外设间串行通信的原理,结合实际应用给出异步串行通信的程序设计。针对电力传动控制系统数字变量不易观察的问题,将DSP运算得到的数据通过RS232串口送至PC。采用LabVIEW开发上位机软件,无须额外增加硬件,实现了数据的采集、显示、处理和存储。该系统还可以对数据进行FFT变换、谐波分析等特定的分析和处理。给出利用DSP产生的4路波形数据在LabVIEW下的实验波形。
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.
出处
《计算机工程》
CAS
CSCD
北大核心
2009年第4期94-96,共3页
Computer Engineering