Ti_6000_McBsp_RS232_test

所属分类:DSP编程
开发工具:C/C++
文件大小:197KB
下载次数:15
上传日期:2010-09-23 21:47:53
上 传 者wzy_w
说明:  用McBSP实现RS232接口的通信,我在TMS320C6713上经过测试验证,完全可用。
(RS232 interface with the McBSP communications to achieve, I tested and verified on the TMS320C6713, fully available.)

文件列表:
Ti 6000 McBsp 实现串口\link.cmd (4708, 2001-08-02)
Ti 6000 McBsp 实现串口\spra633b.pdf (428489, 2008-07-01)
Ti 6000 McBsp 实现串口\uart.c (28962, 2004-05-13)
Ti 6000 McBsp 实现串口\vecs.asm (5955, 2001-08-02)
Ti 6000 McBsp 实现串口 (0, 2010-09-23)

How to use these files with Code Composer Studio: ------------------------------------------------- 1) First Setup the Code Composer Studio with the appropriate Target Board type/name, I/O port, CPU type and GEL file. 2) Start the Code Composer Studio and create a new project by selecting Project-New from the menu and then select the location and name of the project on the computer. 3) From the menu, select Project-Build Options-Target and then on the Compiler Tab choose the appropriate device from the Basic-Target Version. 4) From the menu choose Project-Add Files to Project and add the following files * vecs.asm * uart.c Also include the appropriate link command file (*.cmd) and library files (*.lib) from C:\ti according to the target C6000 device used. 5) In the uart.c file change the #define CHIP_6xxx 1 to the appropriate number according to the TMS320C6000 DSP used. For instance if the TMS320C6711 is used, change the above line to #define CHIP_6711 1. 6) Build the project by selecting Project-Build from the menu. 7) Load the program by selecting File-Load Program from the menu. 8) Make appropriate wire connection for McBSP. See the following picture: This diagram shows that DX, DR, FSX, and FSR of McBSP1 are all connected together. ___________________ |2 1| | | | | | | | | | | |CLK0 FSX0| |DX0 | |DR0 FSR0| | | +----|DX1 36 35 FSX1| | | | +----|DR1 42 41 FSR1|----+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |_________________| | | | +---------------------------+ 8) Run the program.

近期下载者

相关文件


收藏者