Skip to content

Oscar Software Framework Manual Runtime DSP Library Module

scs edited this page Jul 13, 2012 · 2 revisions

Go to Table of Contents.

Table of Contents

Runtime DSP Library Module (dspl)

Description

This module wraps the Blackfin DSP Runtime library from AnalogDevices. Its methods use exactly the same parameters and return values as the functions from the library. The target implementation therefore simply reroutes the call to the actual DSP library, i.e. the target code simply consists of defines renaming the functions. On the host, all the supported functions need to be written manually, since most of the content exists only as assembler code. Not all of the DSP runtime library functions are supported this way. Nonetheless on the target all functions can be accessed directly with their original name. See this page for a full list of functions.

Target Hardware Resource

None.

Dependencies

None.

Usage

 a = OscRtlCAbsFr16(c); /* (1) */
  1. Use a function from the DSP library, but with the name from the framework to make it work on the host as well.
For compilation on the target, make sure the DSP runtime library is linked into your program by instructing the linker to use libbfdsp with the argumen -lbfdsp.
 TARGET_LDFLAGS = -Wl,-elf2flt="-s 1048576" -lbfdsp -lm

Since the library is already part of the cross-compilation toolchain, no additional library path has to be declared.

Clone this wiki locally