uart_demo070212
所属分类:处理器开发
开发工具:Others
文件大小:72KB
下载次数:217
上传日期:2007-02-13 15:28:53
上 传 者:
morningsword
说明: 基于McBSP 和EDMA的DM642软UART实现,参考了SPRA633B,修正了其中发送处理的Bug
(McBSP on the DM642 and EDMA soft UART, SPRA633B reference, which sent the amendment to the Bug)
文件列表:
249521\uart_demo070212\uart0.c (21903, 1997-01-01)
249521\uart_demo070212\uart1.c (28986, 1997-01-01)
249521\uart_demo070212\vecs.asm (5960, 1997-01-01)
249521\uart_demo070212\link.cmd (4709, 1997-01-01)
249521\uart_demo070212\note.txt (1426, 1997-01-03)
249521\uart_demo070212\Debug.lkf (332, 1997-01-01)
249521\uart_demo070212\Debug.lkv (332, 1997-01-01)
249521\uart_demo070212\cc_build_Debug.log (417, 1997-01-01)
249521\uart_demo070212\uart_demo.paf (3500, 1997-01-01)
249521\uart_demo070212\uart_demo.pjt (917, 1997-01-03)
249521\uart_demo070212\Debug (0, 2007-02-13)
249521\uart_demo070212 (0, 2011-02-18)
249521 (0, 2011-02-18)
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.
近期下载者:
相关文件:
收藏者: