DSP32C SOFTWARE

A complete software package comes free with each of our DSP32C digital signal processing boards. This package includes diagnostic programs, examples, an assembler, a monitor/debugger, low level libraries and source code. Plus, the latest updates are always available at no charge from our downloads page.

The DSP32C software is described below. With this software, you can start using your board right away and then easily customize the source code for your application. Or, check our list of third-party software programs to see if any fit your needs.

Product Disk Directories

  include Include files for library functions
  bin Executable files - DSPASM, DSPMON
  lib Libraries - DSPTOOLS, DSPMATH
  dspasm DSP32C Assembler
  dsptools System utility functions and DSPMON source
  dspmath Math library functions
  diags Diagnostic program
  examples Example programs
  32bit 32 bit versions

Software Summaries

SAMPLE SCREENS: DSPMON Monitor/Debugger

DSPASM.EXE
The DSPASM assembler is designed to process source files with Agere mnemonics and high level control constructs to produce located object files that can be directly downloaded and executed on the coprocessor board. It is ideal for code development requiring fast edit and execute cycles. Some of the features of DSPASM are: free format source code, symbolic register names, nops emitted for CAU but not DAU instructions, forward references, and C like conditional syntax including if, while, and for loops.

DSPMON.EXE
The DSPMON program is a software tool for monitoring and controlling the DSP32C coprocessor boards by hand. Its commands are quite similar to those of debug or symdeb for the 80x86 on the PC, and users familiar with those programs should find DSPMON easy to use. Using DSPMON is a good way to get familiar with the coprocessor board. No damage can occur from anything done within DSPMON. See DSPMON for a screen image.

DSPTOOLS SYSTEM UTILITIES LIBRARY
The DSPTOOLS system utilities library is a collection of functions for controlling the execution of the DSP32C coprocessor boards from C programs running on the PC. With it, you can upload and download the DSP32C boards from programs you write. In fact, the DSPMON monitor is an example of a program that makes use of these functions, where each operation allowed in the monitor corresponds to a function call in the DSPTOOLS library. See DSPTOOLS functions below for a list of functions.

DSPMATH MATH LIBRARY
The DSPMATH library is a collection of math functions for the DSP32C coprocessor boards. With this library, functions can be called from high level languages without having to program the board directly. It is one of the easiest ways to begin getting results from the DSP32C boards. See DSPMATH functions below for a list of functions.

DSPTOOLS Functions

  DSP32C_Init Initializes the DSP32C
  DSP32C_Pcr Reads from the DSP32C PCR register
  DSP32C_Pir Reads from the DSP32C PIR register
  DSP32C_Esr Reads from the DSP32C ESR register
  DSP32C_Emr Reads from the DSP32C EMR register
  DSP32C_SetPir Writes to the DSP32C PIR register
  DSP32C_SetEni Writes to the DSP32C ENI register
  DSP32C_Go Begins DSP32C execution
  DSP32C_Halt Ends DSP32C execution
  DSP32C_Get Copies data from the DSP32C to the PC
  DSP32C_Put Copies data from the PC to the DSP32C
  DSP32C_PutLong Copies a long integer of data from the PC to the DSP32C
  DSP32C_SrHexLoad Copies program data from the PC to the DSP32C
  DSP32C_GetBaseIo Returns the DSP32C board base I/O address
  DSP32C_SetBaseIo Sets the DSP32C board base I/O address
  DSP32C_GetBaseSel Returns the DSPMUL board CPU selection address
  DSP32C_SetBaseSel Sets the DSPMUL board CPU selection address
  DSP32C_SelectCpu Selects the active DSPMUL board CPU

DSPMATH Functions

  DSPMATH_Init Initializes the DSP32C math library functions
  DSPMATH_SetWaits Sets the DSP32C wait states
  DSPMATH_Add Adds two arrays
  DSPMATH_Sub Subtracts two arrays
  DSPMATH_Xpcy Computes X + c * Y for two arrays
  DSPMATH_Scale Computes c * X for an array
  DSPMATH_Iscale Computes int(c * X) for an array
  DSPMATH_Inner Computes the inner product of two arrays
  DSPMATH_Vmult Computes X * Y for two arrays
  DSPMATH_Mmult Computes matrix multiplication
  DSPMATH_AtranA Computes A transpose A
  DSPMATH_Gauss Performs gaussian elimination
  DSPMATH_Tridiag Computes a tri-digonal matrix
  DSPMATH_Fourier Computes an FFT
  DSPMATH_Rfourier Computes an FFT of a real array
  DSPMATH_Spectrum Computes a spectrum
  DSPMATH_Convolve Performs a convolution
  DSPMATH_FIR Computes a two term FIR filter
  DSPMATH_PolyArray Computes a polynomial
  DSPMATH_InvArray Computes the 1/x for an array
  DSPMATH_SinArray Computes the sin(x) for an array
  DSPMATH_CosArray Computes the cos(x) for an array
  DSPMATH_SqrtArray Computes the square root of x for an array
  DSPMATH_Log10Array Computes the base 10 log of x for an array
  DSPMATH_Vinv Computes 1/x
  DSPMATH_Vsin Computes sin(x)
  DSPMATH_Vcos Computes cos(x)
  DSPMATH_Vsqrt Computes square root of x
  DSPMATH_Vlog10 Computes base 10 log of x
  DSPMATH_PolarToXy Transforms polar to xy coordinates
  DSPMATH_Interpolate Interpolates an array
  DSPMATH_Spline Computes a spline

Go to DSP Board Price, Description, Manual, Photo Index


http://www.symres.com/software/softdsp.htm