节点文献

TMS320DM642中利用McBSP与EDMA实现UART

Implementing UART on the TMS320DM642 with the McBSP and EDMA

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 王晓剑; 潘顺良; 沈为群; 宋子善;

【Author】 Wang Xiaojian1,2 Pan Shunliang1 Shen Weiqun1 Song Zishan1(1.Beijing University of Aeronautics and Astronautics,Beijing 100083 ;2.The Second Artillery Equipment Academy,Beijing 100085)

【机构】 北京航空航天大学; 北京航空航天大学 北京100083第二炮兵装备研究院北京100085; 北京100083;

【摘要】 TMS320DM642(DM642)作为一款高性能的多媒体DSP有着广泛的应用。由于不具备通用异步串行收发接口(UART),使得与其他UART设备之间的通信存在困难。本文分析了异步串行通信的特点和其数据帧结构,利用片上同步多通道缓冲串行口(McBSP)和增强型直接存储器存取(EDMA)实现了UART功能。重点论述了McBSP与EDMA相关寄存器的初始化设置,发送接收数据的编解码软件处理等。该方法无需其他外部器件,硬件实现简单,程序流程简洁,丰富了DM642的接口功能,提高了其使用的灵活性。

【Abstract】 TMS320DM642(DM642)has been widely used as a high performance DSP for digital media applications.As with no universal asynchronous receiver and transmitter(UART)provided,it is difficult to communicate with other UART devices.In this paper,a method using the on-chip multichannel buffered serial port(McBSP)and enhanced direct memory access(EDMA)to emulate software UART is provided.The initialization of the McBSP and EDMA and the data coding/decoding in process of transmitting/receiving are discussed in detail.This method can be implemented with easy program flow and no other device.It enriches the DM642’s interface function and extends its application as well.

【关键词】 DM642; McBSP; EDMA; UART;
【Key words】 DM642; McBSP; EDMA; UART;
  • 【文献出处】 电子测量技术 ,Electronic Measurement Technology , 编辑部邮箱 ,2008年02期
  • 【分类号】TP368.1
  • 【被引频次】19
  • 【下载频次】437
节点文献中: