针对课题中基于CPCI总线的运动控制板卡上的CPCI总线与DSP通讯的实时性问题,提出了一种上下位机高速通讯速度的交互机制.利用PCI桥芯片、双口RAM与DSP芯片实现上下位机的连接与通讯,同时分析了数据通讯中的关键问题.采用乒乓操作和中断访问的方式,取代传统的轮询方式,实现上位机和DSP在双口RAM的交互.理论分析表明,新的机制充分利用了现有硬件资源,避免了对上下位机CPU的过多占用,提高了通讯效率.%Based on practical application, a new method is discussed in the thesis, which promotes the efficiency in the communication of upper computer and DSP. It also analyzes the current mechanism of communication and researches on the key issue of data transfer, with regards of PCI9052, DSP and DPRAM. The new method is based on ping-pang operation,which is used to speed up the communication and make full use of DPRAM.
展开▼