>> TI Home > DSP Village > DSP University > DSP Educators' Information Exchange >

Resources  DSP University Educators Information ExchangeGray Rule

> Type of Materials
> Application Area
   > Audio
   > Communications
   > Control
   > General Signal Processing
   > Instrumentation
   > Medical
   > Multimedia
   > Speech
   > Other
> DSP Family
> Type/Level of Lab
> Major Emphasis of Course
  
Instrumentation

Name/Title of Material: C542-DSKPlus LabView interface
Author: Bruno Paillard
University: Universite de Sherbrooke
Email: bruno.paillard@videotron.ca
DSP Platform on which Material is Based: TMS320C5000
DSP Device on which Material is Based: TMS320C54x
DSP Development Tools Used in Material: TMS320C54x DSK Plus
Type of Material: Development tools
Application Area: Instrumentation, Control, Communications
Type/Level of Lab: N/A
Is the Lab a Primary Focus of the Course?: N/A
Major Emphasis of Course for which Material was Developed: Research project – digital control
Language in which Material is Written: English
Developed/Last Updated Date: March 26, 2001
File Types: Code Composer Studio project, LabView, Adobe Acrobat PDF, Dynamic Link Libraries (dll), executable files
File: c542_installer.zip (14Mb)
Computer Language in which Material is Written: LabView, C5000 C, C5000 assembly
Description/Value to Others: This LabView interface consists in software which can be used to interface the TMS320C542 DSKPlus board to a PC running a LabView application. The interface consists of a library of LabView VIs to access the DSP board through the PC's parallel port, as well as a DSP-resident communication and interface kernel, enabling those accesses.

The interface allows a user to:

  • Download DSP code onto the 'C542 DSKPlus board.
    • Launch the execution of simple functions or complete programs on the 'C542 DSKPlus board.
    • Read data from the 'C542 DSKPlus board, in real time into the LabView application. This function can be used to upload data being processed by the DSP, for display or further analysis in LabView.
    • Write data to the 'C542 DSKPlus board, in real time, from the LabView application. This function can be used to send input data vectors to the algorithm being executed on the DSP, or control and modify DSP process parameters in real time.

The LabView interface allows symbolic access for memory reads and writes, as well as DSP function launch. For such accesses, the symbolic names of DSP variables, or labels of

DSP functions to be accessed can be used in the LabView application, instead of their absolute adresses. For this, the interface relies on the symbolic information present in the COFF file of the DSP executable code.

Altogether, the interface allows the user to leverage the 'C542 DSKPlus board real time processing and analog I/O capabilities, with the ease of use, high-level processing power and graphical user interface of LabView.


Name/Title of Material: C5402-DSK LabView Interface Version 2.0
Author: Bruno Paillard, Alex Boudreau
University: Universite de Sherbrooke
Email: bruno.paillard@videotron.ca
DSP Platform on which Material is Based: TMS320C5000
DSP Device on which Material is Based: TMS320C54x
DSP Development Tools Used in Material: TMS320C5402 DSK
Type of Material: Development tools
Application Area: Instrumentation, Control, Communications
Type/Level of Lab: N/A
Is the Lab a Primary Focus of the Course? (Yes/No): N/A
Major Emphasis of Course for which Material was Developed: Research project – digital control
Language in which Material is Written: English
Developed/Last Updated Date: January 6, 2003
File Types: Code Composer Studio project, LabView, Adobe Acrobat PDF, Dynamic Link Libraries (dll), executable files
File: c5402_installer_v200.zip (18.4Mb)
Computer Language in which Material is Written: LabView, C5000 C, C5000 assembly
Description/Value to Others:This is version 2.0 of the LabVIEW interface for the C5402 DSK board. This LabVIEW interface consists in software that can be used to allow a LabVIEW application to download and control DSP code running on the C5402 DSK in real time. The interface consists of a library of LabVIEW VIs to access the DSP board through the PC's parallel port, as well as a DSP-resident communication and interface kernel, enabling those accesses. Version 2.0 includes features that were previously only available as part of the commercial package for the Signal Ranger DSP board. Among these features the Mini-Debugger is a stand-alone tool that allows the developer to interactively load code on the DSP, run it, and read/write memory, IOs and CPU registers in real time while the code is running. It allows symbolic access to labels and variables, and can display data as graphs. Since it is a stand-alone tool it can be used without LabVIEW. It is a very useful tool in the classroom where it provides a user-friendly interface to interactively test and probe code running on the DSP.

The LabVIEW interface allows a user to:

The LabVIEW interface allows symbolic access for memory reads and writes, as well as DSP function launch. This means that the LabVIEW side does not have to be updated if the DSP code is modified and rebuilt.

Altogether, the interface allows the user to leverage the C5402 DSK board real time processing and analog I/O capabilities, with the ease of use, high-level processing power and graphical user interface of LabVIEW.