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.

dsp to arm communication

Other Parts Discussed in Thread: OMAPL138

Hi

I am using omapl138 logic pd evaluation board.I need to develop a simple arm application which send a data to dsp and receive a data from dsp.

Is there any sample application ?

  • Karthika,

    There are couple of software packages that provide simple arm application which send a data to dsp and receive data from DSP.

    If you plan to use an OS on the ARM then you should look inside the DSPLINK software package.Look inside $(DSPLINK_INSTALL_DIR)/dsplink/gpp/src/samples

    http://processors.wiki.ti.com/index.php/Category:DSPLink

    There also some demos that use DSP capability on OMAPL138 that is part of TI linux DVSDK which integrates all software packages for ARM linux users.

    http://www.ti.com/tool/linuxsdk-omapl138

    If you wish to work in non-OS environment, we provide a Starterware package on OMAPL138 that contains a package called IPC lite. The examples on IPC lite can be found $(STARTERWARE_INSTALL_DIR)/examples/evmOMAPL138/

    http://processors.wiki.ti.com/index.php/StarterWare_01.10.01.01_User_Guide

    Hope this helps

    Regards,

    Rahul

  • Hi Rahul,

    Thanks for the reply.I have the dvsdk for omapl138 linux and the dsplink applications are working fine.

    I have ported android froyo on omapl138 and ported the dsplink driver to android.I have created dsplink.ko and loaded the module.The dsplink applications are working in serial terminal of the board running android.

    I need a simple arm to dsp communication from android apk.I have downloaded android ndk and tried to build dsplink shared library using ndk so that I can do a arm to dsp communication from apk.Including the dsplink library in Android.mk I get the following error,

    jni/dsplink.a(_sync_usr.o): In function `_SYNC_USR_init':
    _sync_usr.c:(.text+0x94): undefined reference to `semget'

    And from android-ndk-r8\docs\system\libc\SYSV-IPC.html it is said that ndk does not support facilities provided by posix headers like sys/sem.h, which clearly states that I cannot use dsplink library in ndk.

    Is there any way to write a simple arm to dsp data transfer application without using dsplink library?