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.

Creating CMSIS dsplib for use with stellaris launchpad

Hi,

I've run into a problem creating the CMSIS dsplib library. I am using the stellaris launchpad. I have successfully run programs on the launchpad and want to use the floating point dsp functions in the CMSIS library.

I followed the instructions in document SPMA041B "Using the CMSIS DSP Library in Code Composer Studio for Stellaris"  but when it came to section 3.4 Editing the dsplib project settings, I don't see any reference in my properties to a TMS470 compiler. I see an ARM compiler. All of the compiler/linker property options mentioned in the document could be set for the ARM compiler and so I pressed on. but when it came to building the project I got a "can't open cmsis_ccs.h" error. I can't see a cmsis_ccs.h file anywhere. What am I doing wrong?

Regards,

Donald

  • Hi,

    You need to download the package spma041.zip and after unzipping you will find the file in the /include folder.

    Petrei 

  • Thanks for the fast reply. I have downloaded  and installed the file you mention and then replaced the include folder (C:\CMSIS\include). Now I am getting lots of errors when trying to build , e.g. "declaration is incompatible with previous "arm_radix2_butterfly_f32" (declared at line 162)" in arm_cfft_radix2_f32.c.

    I am concerned that, as I mentioned, I see no TMS470 compiler in the properties of my dsplib-cm4f project.

    Regards,

    Donald

  • Hi,

    You must add yourself this section, if i remember well, it has some words about that in spma041B.pdf. I will check also this a little bit later.

    Petrei

  • Thanks again for your help. I'm not quite sure what "section" you're referring to.

    Donald

  • Hi,

    It seems I had a previous version of this software - it was as described in paragraph 3.1 - so I had to modify myself those files. Now they already OK, so spma041 is a little bit outdated (I was referring to those containing __TMS470__) . Now a second question - what CMSIS version do you use? I'm using v2, and i cannot find any file " arm_cfft_radix2_f32.c", all *radix* files are *radix4* in my folders.

    Petrei

  • Hi,

    I am not sure what version of CMSIS I am using. I realise that's not a very useful answer and I will try to find out. Certainly in C:\CMSIS\dsplib\source\TransformFunctions I have both radix2 and radix4 .c source files. I will try downloading CMSIS again and see if I can get a different version.

    In the mean time, I found the dsp library already compiled for the stellaris launchpad http://euphonistihack.blogspot.co.uk/ and I have been able to use this successfully and the pressure to compile the library myself is therefore less.

    Regards,

     

    Donald 

  • I'm having the same problem. Where can I find the spma041.zip package?

    Thanks.

  • Hi,

    Try this link - if it is not working then from application note, first paragraph it is the link there. The original link seems not to be available.

    Petrei