摘要
为了实现数据高速采集,开发了PC与DSP的串行通讯系统。采用RS232标准进行串行通讯,是由于它具稳定的性能和有广泛的应用。DSP的速度快,这有助于提高数据采集的速度;并且DSP内部集成了大量的外设,例如异步串行口,这使DSP与PC之间添加简单的接口就能实现异步串行通讯。Linux操作系统有许多优点,在工业领域前景广阔。本文介绍了:RS232串行通讯的特点:DSP与PC的接口的实现;DSP中异步串行口的设置及程序流程;在Linux操作系统中串口编程。
ln order to realize high speed data samping ,developing serial communication between PC and DSP.Using the standards of RS232 because of its steady performance and widely application.DSP has high speed,,it is useful for high speed data samping; there are many peripherals in DSP chips,such as asynchronous serial port,it is easy to add simply interface between PC and DSP for asynchronous serial communication. Linux operating system has many merits so that it has wide prospect in industry.This paper refer to:the character istics of RS232 serial communication; realizing interface between PC and DSP ;seting asynchronous serial port in DSP and promgram flow of DSP; programing for serial port in Linux operating system.
出处
《仪器仪表用户》
2005年第1期53-55,共3页
Instrumentation