readme.txt
来自「ti_dsp_6000系列,开发环境ccs3.1 6000系列uart的使用」· 文本 代码 · 共 51 行
TXT
51 行
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.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?