This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All -
Im very new to DSP and using DSPs. I am trying to use the CSL for the TMS320C5535 (EzDSP) and simply cannot figure out what #include I have to have.
In the documentation, it is stated that CSL_init() is a defined function. However I dont know in which .h or .c it is defined. And the documentation does not tell me.
right now my entire function is simply:
#include <stdio.h>
#include <stdlib.h>
#include <csl_sar.h>
#include <csl_general.h>
#include <csl_intc.h>
void main( void )
{
CSL_init();
}
Nowhere in the documentation can I find which #include files to have to get that to compile correctly - I get the error "Function declared implicity" which basically means its not getting declared beforehand - which is because I am not including the correct .h or .c files and THAT is because I dont know which ones to include!
All help is appreciated -
Thanks,
Nate
Hello Nate,
Which specific version of the C55x CSL are you using and can you please point out the specific document that you reference below? I am unable to find that specific reference.
nathan zorndorf1 said:In the documentation, it is stated that CSL_init() is a defined function.
Hi Michael,
Thanks so much for the response. I thought I uploaded the PDF, but I guess it didnt work. Let me try again now.
The version I am using is :
C55XCSL-LOWPOWER-3.01.00.05
Attached should be the documentation for this version of the CSL.
0245.C55XCSL-LOWPOWER-3.01.00.05_Release_Notes.pdf
That is the release notes for hte most up to date version of the CSL for C5535 that can be downloaded here:
http://www.ti.com/tool/sprc133
and
http://software-dl.ti.com/dsps/dsps_public_sw/dsps_swops_houston/C55X/latest/index_FDS.html
(I am using the C55XCSL-LOWPOWER , because in the WIKI it says for 5535 we are supposed to use that CSL)
the CCS version I am using is 4.2.4.00033, by the way (it came with the EzDSP disk from Spectrum Digital, who makes the EzDSP boards).
Thanks again Michael,
Nate
Nathan,
v03.01.00.05 is the correct CSL to use with the ezdsp, but I am not finding any reference to a CSL_init () function, either in the release notes or the doxygen documents.
7043.TMS320C55x_Chip_Support_Library_API_Reference_Guide.pdf
The attached CSL API Reference Guide ( released in 2004) refers to many functions (such as CSL_init() ). It seems the ref guide says that csl.h is the appropriate header file to include for CSL_init(). I guess I was a little confused because the release notes for the 2012 CSL dont mention CSL_init() but the original CSL reference guide does.
Thanks for the help Mike!!! Greatly appreciated.
- Nate
Nate,
Ok, I see what it is now. CSL 3.x and newer will contain the API reference documentation within the installation. When using those CSLs, make sure to use the included API documentation as it is generated directly from the source material using Doxygen. From what I can see in the examples and the library source, there is no CSL_init() anymore.
http://processors.wiki.ti.com/index.php/C5000_Chip_Support_Library#Documentation
Thanks for the all the help Michael,
I guess I was just confused because you the proper documentation (currently) to use the CSL is the revision notes (2012) and the help/guide application that comes in the CSL folder - NOT the original TMS320C55x Chip Support Library API Reference Guide (2004) . The help/guide application includes all the relevant functions to use as well as descriptions of the example projects - hopefully this post helps other complete amateurs to DSP programming.
Thanks again,
Nathan
I Believe that going to Project > Properties, and then C/C++ Build, and then Include Options and making the first directory
"C:\c55xx_csl_3.01\inc"
and the second
"C:\Program Files\Texas Instruments\ccsv4\tools\compiler\c5500\include"
will work. Remember to just change the csl_general.h file as appropriate for your specific chip as outlined in the 2012 release notes for the CSL v3.01.
-Nate
sir iam doing program om transfer of data from memory to memory on c6678 using dma in my ccs csl.h,csl_edma,csl_dat cannot found how can i get these files pls