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.

Questions about OMAP-L138

Other Parts Discussed in Thread: OMAP-L138

Dear all:

I'm confused with OMAP-L138 these days and still not clear the steps about communication between ARM and DSP. I know it's a big topic to talk about this, but can anyone give answers about the questions below:


I have NAND and SPI flash on my own board and L138 can boot Linux from NAND now, the task of DSP is getting data from external ADC and do FFT. I debug the DSP using CCS but never use DSP/BIOS, I plan to store the DSP program into SPI flash. now the queations:


1. My DSP program not use DSP/BIOS, can I use DSPLink to load and start the DSP program and communicate between ARM and DSP? my program sholud be modified for DSPlink or not?


2. My DSP program is built with CCS in windows, if I use Linux to load the DSP program, should the DSP program be rebuilt in Linux? How to do this?


3. Codec engine is necessarily for the communication between ARM and DSP, am I right?


4. can DSP boot itself? i means ARM boot Linux from NAND and DSP boot from SPI flash separately?

pls help!

  • Please see:

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/p/48908/174018.aspx#174018

    Zhang Jingpo said:
    I have NAND and SPI flash on my own board and L138 can boot Linux from NAND now, the task of DSP is getting data from external ADC and do FFT. I debug the DSP using CCS but never use DSP/BIOS, I plan to store the DSP program into SPI flash. now the queations:

    Zhang Jingpo said:
    1. My DSP program not use DSP/BIOS, can I use DSPLink to load and start the DSP program and communicate between ARM and DSP? my program sholud be modified for DSPlink or not?

    For our software package that communicates between DSP and ARM, it is necessary to use DSP/BIOS in the DSP side.  I would advise you to use the example:

    http://processors.wiki.ti.com/index.php/Audio_Soc_example

    as a starting point and insert your FFT in this example. This way you already have DSP/BIOS Link working and you can only add what you need to the example.

    Zhang Jingpo said:
    2. My DSP program is built with CCS in windows, if I use Linux to load the DSP program, should the DSP program be rebuilt in Linux? How to do this?

    The probram has to be built to be compatible with the Linux side and DSPLink, so if you start from the example above, this is already done. Just add the code that you need and rebuild the example as explained in the page. If you build in the Linux side, you could still use CCS to debug it, please see page for the complete process:

    http://processors.wiki.ti.com/index.php/Debugging_the_DSP_side_of_a_DSPLink_application_on_OMAP-L138_using_CCS

    Zhang Jingpo said:
    3. Codec engine is necessarily for the communication between ARM and DSP, am I right?

     You need Codec Engine (that uses DSPLink underneath) or DSPLink directly. The example I pointed uses DSPLink directly.

    Zhang Jingpo said:
    4. can DSP boot itself? i means ARM boot Linux from NAND and DSP boot from SPI flash separately?

     No. If you are using the ARM, you need to use DSPLink to load a program to the DSP. The DSP .out file would need to be in the Linux file system as described in the Audio Soc example above.