摘要
利用PC(PersonalComputer)机实现对DSP(DigitalSignalProcessing)的实时检测与控制,保证了PC机与DSP间的稳定、迅速的通讯。通过一个可变幅值和频率的正弦波生成程序的例子,详细阐述了如何实现DSP与PC机间的串行通讯。使用面向对象语言VC++6 0作为开发工具,以及利用DSP中的SCI(SerialCommunicationInterface)模块,来实现DSP与微机间的指令和数据传递。程序软件已在PC机和TMS320F240评估板上调试通过,其结果令人满意。
Using PC (Personal Computer) to examinate and control DSP (Digital Signal Processing) in real time,insure the stability and rapidity of communication between PC and DSP.It is presented how to achieve the serial communication between DSP and PC through a program,in which we produce a sine wave which range and frequency can be changed according to user's order.We can obtain transferation of the data and order between DSP and PC by using the Object Oriented development tool (VC++6.0) and SCI (Serial Communication Interface) of DSP.The software has already been uesd in PC and DSP( TMS320F240 ) successfully.
出处
《控制工程》
CSCD
2003年第2期131-133,共3页
Control Engineering of China