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.

Getting started with CCS, external memory etc

Hi all,

Just got my new eZdsp stick and very keen to get started.

The plan is to develop an audio processing framework and playing with audio effects to learn the C5505 architecture.  I can see that FFT accelerator being used for pitch shifting and time stretching for example. 

I have a bit of signal processing experience and a fairly sound theoretical DSP base.  I've implemented some filters and modulators on a Microchip dsPIC, but I'm ready for a full blown DSP now.

I thought a good place to start would be to get a ping pong buffer running on DMA to read in and write out blocks of audio data, that way I can just add block processing effect algorithms on as needed.

I have to say from a first time user experience with CCS I found it to have quite a few quirks, if not down right buggy.

Initially I couldn't get the XDS100 emulator running, since it didn't like my name...  seriously, the install path included my name, André and it was not too impressed with that é at the end.  Got that resolved by re-installing the whole thing in a directory in the root.

After that I got the three demo programs running and played a bit with the code just to find my feet.

I then found the filter example on Google code, but again CCS is letting me down.  I tried to import the project into my workspace as per the instructions for the starter programs, but I'm having problems.  

CCS sees the project, imports the files, but when you try to open them it gives an error that it could not find the file.  I notice that the project path for the files is still the original path as in the demo ZIP file, I thought the import wizard would take care of it.  I tried to change it manually in the project file, but the error persists.

Can anyone point me in the right direction to get the filter demo running?  Perfect place to learn about batch processing on the C5505  I would think.

 

One more question please:  Is it possible to add external memory via the expansion connector?  Thought this might be useful for long delay lines for effects processing.  Pity that the USB pins are not on the expansion connector, but hey, the price was right and I think this is an excellent tool for the price.

If the project gets some momentum I might start a blog to share my experiences with other guys getting started with DSP and Texas Instruments.

Thanks!

 

  • Hi everybody,

     

    I am also running into the difficulties André mentioned. I do not have any prior knowledge with CCS though, so I am not quite sure if it's me or CCS or the project which is causing the problems. But it's awesome that you TI guys opened up this forum - I am sure it will turn out to be very useful.

     

    Regards,

    Michael

  • Hi Andre, Michael,

    I have posted an updated version of the software example on the code.google.com site.  Here is its direct link, can you please try this and see if it helps.  Please let me know if you have any follow up questions:

    http://c5505-ezdsp.googlecode.com/files/USB_Stick_AudioFilter1.zip

    Best regards, Vishal

  • Dear Vishal,

     

    now it's working: I can compile the project and load the program. However, the project did not compile right after importing the CCS-project, since a couple of include files were unknown (e.g. data_types.h and lpva200.inc). I copied manually the inc-folder from your zip-archive to my workspace and specified the user macro EXT_ROOT__EZDSP_Sample as the directory in which my project resides (the linker options showed that  "${EXT_ROOT__EZDSP_Sample}/inc" would be included, and that's where the missing files are now located). Don't know if there is a more elegant way of including the missing files to the project (let me know if that's the case).

     

    Anyway, thanks for the quick help!

    Michael

  • Michael,

    It is strange. We have tested importing the project before the release..... If you want to specify include file path:

    1) Go to the "Project" menu

    2) Select "Properties..."

    3) Choose "Include Options" under C5000 Compiler.

    4) You will see small button on the right top. You can add/edit/delete include file paths by clicking one of the buttons.

    Regards,

    Peter Chung

     

  • Thank you for the feedback and fix Peter, the project is compiling fine now.

    Just as a learning opportunity for a newbie to CCS, could you please tell us what you changed in the original project?

    Thanks again,

    Cheers,

    André