Example application for DSP+ARM development
on OMAP-L13x C6-Integra devices
Example DSPLIB/DSPLink Application on OMAP-L1x
The call_dsplib application demonstrates a simple way to call C674x DSPLIB functions from an ARM Linux application.
The call_dsplib example consists of an ARM Linux application (call_dsplib) and a DSP “server” application (dsplib_server.out). The user runs the ARM application from a Linux shell, and the ARM app in turn loads and runs the DSP executable using DSPLINK. The two applications converse via the MSGQ API (also part of DSPLINK), with shared data buffers managed by the CMEM Linux module. Depending on command line arguments supplied by the user, the DSP application will call a single DSPLIB function and return appropriate output data and a cycle count for benchmarking purposes.
The ARM application will then report the total processing time from its perspective (including DSP execution and MSGQ communication) and shut down the DSP before terminating.