DSP-based Development Tools

Home

IDE

Software structure

Hardware

DSP monitor

Functions description

Library

The monitor provides a basic environment to develop an application. All the DSP peripherals can be accessed through functions or environment variables in a very simple way. The user application is divided in 6 functions matching various events that will occur while the application is running. No code has to be written to acquire data on the PC. Common I/O functions are provided to display messages to the IDE output window.

The user process can be controlled. It may be started or halted from the PC. The behaviour at the startup can be set so that the board starts immediatly after the user RESET or waits for a command from the PC. The latter solution is to prefer when debugging applications.

see Software structure for a graphical overview


Functions to be defined by the user. Description
void UserInit() Provides a way to initialize variables when the DSP starts. This function is called once after RESET.
void UserStart() This function is called each time the user process is started.
void UserInterrupt() This function is called at periodic intervals. The interval is set by the user. Depending on the application (i.e. the DSP load), the interval may be as short as 20us without particular optimisation.
void UserStop() This function is called when the user wants to stop the control process. This allows external devices to be powered off before stopping the control.
void UserIdle() This function is called as a background process. Long computations are usually implemented in this routine.
void UserCommand() This function allows the PC to send commands to the application in order to trig special actions. Parameters can be passed to the application.

Library functions

Library functions are provided to handle DSP peripherals, communicate messages to the PC, and use internal functions (e.g to setup the sampling time, etc. )

Peripherals A/D converters

D/A converters

FPGA standard functions ( PWM modulator, Space vector modulation, Incremental encoder interface, ... )

...

Communication Send messages to the PC

Display messages to an LCD display

Internal Timer setup

FPGA control

FLASH memory usage

Software timers

[ Top ] Services ][ Products][ Home ][ Previous ]
Send mail to info@chs-eng.ch with questions or comments.