
结合实际工程应用重点介绍了TMS320VC5416与单片机89c51之间串行通信的实现方法。通过DSP的输入接口对89c51的输出串口进行高速采样和判决达到单片机对DSP的数据传输,而通过将DSP所发送的数据进行数据变换达到89c51串口接收的标准来实现DSP对单片机的串行通信。串行接口与并行接口相比,最大的优点就是减少了使用DSP的引脚数目,降低了接口电路设计的复杂性。同时, 充分利用DSP多功能串行接口和DMA搬移数据的能力,使DSP在处理串口通信时不会占用太多的处理时间,节约了DSP的资源。
英文摘要:This paper gives a detailed introduction to the implementation of serial communication between TMS320VC5416 and 89C51(SCM) in engineering application. Data can be transported into DSP from SCM by sampling and judging the output port of 895C51 at the input port of DSP and into SCM from DSP by transferring the output of DSP into the standard of serial port of 895C51. Serial communication has the advantage over parallel communication that the number of pins of DSP used is reduced, and thus the designing complexity of the interface circuit can be lowered greatly. In addition, full use of the DSP multifunction serial interfaces and the capability of DMA to transport data can reduce the time needed for DSP to process serial communication and therefore save the resource of DSP.