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.

Development for DSP using the codec engine on Code Composer Studio



Hello All

I would like to know if it is possible to do all the dsp side development with respect to using the codec engine on the code composer studio. If so could somebody direct me with the information of what packages needs to be installed and references to articles if they exists that could help me in doing this. I have searched the forum but could not find any solution. It would be of immense help if someone mentions a forum with details to dsp development on windows using the code composer studio.

Best Regards

Umair

  • Hi Umair,

    Personally, I think of forums as a Q&A type medium in which you are likely to get quick answers to specific questions rather than complete overview of a particular topic, of course there are exceptions.  For better overviews on a topic, our wiki is better in my opinion (http://wiki.davincidsp.com/index.php/Codec_Engine ).

    That said, codec engine framework (and software components underneath it such as dsplink) can play in both ARM and DSP side and CCS is not very good for development/debug on Linux side.  Therefore, I think that CCS is great for developing dsp algorithms (e.g. video and audio codecs), but probrably not that great at integrating these 100% DSP codecs into codec engine framework which may have ARM/Linux dependancies or development on ARM side.

     

  • As Juan suggests this is something that can be found in the Wiki, in addition to the overview of Codec Engine, there is a more specific article on debugging CE applications with CCS here.

  • Hello Juan

    The article you mention is the same as the "Codec Engine Application Developer User's Guide".

    What I want to do is be able to compile the video_copy codec engine example's dsp side using the code composer studio. It says in the wiki "From the application developer’s perspective, the Codec Engine is a set of APIs that you use to instantiate and run XDAIS algorithms."

    So would this mean that all I need is to make my dsp code xdais complaint and codec engine will than be able to execute it and will not require any dsp development. I have not looked into Xdais and xdm (which is also mentioned to be required for codec engine) can they be integrated and used in the code composer studio.

    Best Regards

    Umair

  • Thank you Bernie this will certainly become helpful.

    Best Regards

    Umair

  • XDAIS/XDM can certainly be integrated and used in CCS, as a matter of fact I believe all examples included with XDAIS package are CCS centric.  With regards to codec engine, as I suggested earlier the big issue with using CCS is that CCS does not understand Linux.  You could configure and build codec engine to run entirely on DSP (no ARM to DSP communication) and you can certainly use it in CCS this way.  But I assume that what you are really after is the more general case where Codec Engine expands both ARM and DSP and you have communication between these two processors, a scenerio which implies Linux is up and running on ARM side.  In this more general scenerio, you can still connect to DSP via CCS (assuming you take DSP out of reset via Codec Egine calls) and debug DSP side of equation with CCS, but keep in mind that ARM needs to be running Linux as well since codec engine partially runs on ARM; this is not your typical connect via CCS and run/debug, other factors and steps need to be taken into consideration.  So in conclusion, yes it is possible but ARM running Linux plays a role if you want Codec Engine to expand accross both processors.  Let me know if this helps clear things up.

  • Hello Juan

    Yes I require the two processor scenario and do know that the arm side will be communicating with the DSP. What I want to achieve is do all my DSP related development on the CCS, what pushed me to create the post was that I believe all DSP side development is achievable using the CCS  but I could not find any resources of installations or installastion guides to install the codec engine and related toOls on the CCS. All the guides I have read so far regarding the codec engine are linux centric (that is probably because codec engine requires arm side development in all scenarios except where only the dsp is involved).

    Best Regards

    Umair

  • Umair,

    What is more common is for DSP algorithm developer to develop their XDAIS algorithm (video codec, or anything else they may wish) entirely on DSP side using CCS w/ codec engine completely out of the picture at this point.  Once the XDAIS algorithms is completed (including debug and testing), then the integration of the DSP algorithm w/ codec engine is typically done on the Linux Host side (build tree and examples readily available).


    I was under the impression that you were at this integration stage but wanted to do the codec engine + dsp algorithm integration and debugging on the CCS DSP side.  To my knowledge we do not have any official process for doing development which includes codec engine on DSP/CCS only, probably because we do not want to encourage customers spend time doing this only to have to re-do integration phase again when they eventually move towards their final system which includes both DSP and ARM (customers may unknowingly be duplicating effort).  It can probably be done by copying over necessary directories to Windows/CCS environment, but I do not believe it is worth your effort.

     

  • Hello Juan

    This clears up a lot of things thank you for your time. We will do the XDAIS-DM complaince and than move to linux for the integration phase. I think copying all the necessary directories to windows without any guide would be a waste of effort and time.

    Best Regards

    Umair