CCS6.0 creates a DSPc2000 series project operation steps
[Copy link]
The following are the steps to build a project based on the TMS320F28035 of the DSPc2000 series using CSS6.0. These are relatively standardized project construction steps. If you need to use DSP to build a project in the future, you can refer to the following steps:
1. Open CCS6.0 and create a new project. Configure as shown below
PS. CCS generally has two CMD files. One is for register storage mapping, which is consistent for the same series of chips, and the other is for storage allocation of FLASH and Ram. Different chips in the same series have different storage, so their CMDs are also different. The storage of C2000 is divided into data space and program space, which are accessed by data bus and program bus respectively. Registers belong to data space, so they are placed in PAGE1
2. Create a project directory:
First, a project directory includes three folders:
(1) The bsp contains the dsp official library. PS. For the official routines and documentation of dsp, you can search controlSUITE on the official website.
(2) kernel stores the module folders used in the project, such as uart, can, ADC. Each module is divided into two sub-directories: header file and source file. For example, under the adc sub-directory, there are two sub-directories: src and inc.
Submodule directories:
(3) WorkSpace: the actual project workspace directory, which is the path to the new project directory created in step 1 above.
3. Link header file:
In the project, you need to add the path of each module header file. Note that relative paths are used for easy porting. ../ represents the parent directory.
Add the header file paths of each submodule and the official library header file path: right-click the project properties, find Include Options, and press the green add button to add the path
|