TMS320DM642中利用McBSP与EDMA实现UART  被引量:7

Implementing UART on the TMS320DM642 with the McBSP and EDMA

在线阅读下载全文

作  者:王晓剑[1] 潘顺良[1] 沈为群[1] 宋子善[1] 

机构地区:[1]北京航空航天大学

出  处:《电子测量技术》2008年第2期103-105,136,共4页Electronic Measurement Technology

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

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象