DSP - LinuxDspTools


hede

Member
Joined
Oct 3, 2008
Messages
361
Just for fun I want to try to learn how to use the dsp.
I've searched the net and found Texas Instruments DaVinci™ and OMAP™ Technology Developers Wiki (wiki.davincidsp.com)
There I can read that "each board normally has its own software distribution". But I cannot find anything at http://www.openpandora.org/developers.php.

Then I found some link to some DSP Developer Toolkit (link in this Forum by AireTamStorm). I registered at my-ti.com (btw: you can do this w/o a valid Email, just click "my.TI Login" when it says "email was sent" right before clicking "next". Nevertheless I registered with my real Emailadress but downloaded the tools before the confirmation email arrived ;-)).

I've downloaded LinuxDspTools v1.00.00.06 and the corresponding Getting Started Guide. But this one is for the OMAP5912, not the one the Pandora uses. So I downloaded the C6x Code Generation Tools v6.1.5 Linux Hosted. This is just a plain compiler it seems. No examples, nothing else!? Is the LinuxDspTools+Starterguide a general one and the newer compiler replaces only the included one?

I will dig further into it, but if someone has some more hints, I would be much obliged.
Am I on the right way? Means programming the DSP programming from scratch or are there any libraries which can be used inside the DSP?

For me it seems the DSP is not only some media processor, it's a general purpose CPU with full ALU and anything you want just w/o a floating point unit!?
 
The DSP is a pretty high performance general purpose processor. The processor can execute up to 8 instructions per cycle. Though many general purpose programs do not have a high degree of parallelism, you can certainly expect an average more than 1 instructions per cycle, even on the most random code.
 
I've downloaded LinuxDspTools v1.00.00.06 and the corresponding Getting Started Guide.

This is for the earlier C55 processors (like that in the Nokia N8x0).

So I downloaded the C6x Code Generation Tools v6.1.5 Linux Hosted. This is just a plain compiler it seems. No examples, nothing else!? Is the LinuxDspTools+Starterguide a general one and the newer compiler replaces only the included one?

Try here: https://omapzoom.org/gf/

Namely this: https://omapzoom.org/gf/project/omapbridge/wiki/

This: https://omapzoom.org/gf/project/omapbri ... DSP+Bridge
gives links to the DSP kernel binaries, arm-side code and example applications.

Means programming the DSP programming from scratch or are there any libraries which can be used inside the DSP?

Yes there are libraries, though perhaps not what you're thinking off. E.g. there's the image and video processing library (IMGLIB: http://focus.ti.com/docs/apps/catalog/r ... e=spruf30a) which provides ASM optimised (but C-callable) fns for image and video processing. There's the Chip support library (CSL: http://focus.ti.com/docs/apps/catalog/r ... e=spru401j) which provides a variety of fns (timers, threading, pipes, buffers, etc.)

I've not seen an audio processing helper library mind you, nor an equivalent of the C55's DSPLIB (though that may be built into IMGLIB now, I've not had much of a look yet).

HTH
 
Thanks for the help, that much information :) I will need some time to go through it.
 
Back
Top