5.0

5.0 | 1 rating Rate this file 6 Downloads (last 30 days) File Size: 1.69 MB File ID: #13044
image thumbnail

DSP Code Verification using UDP

by Kerry Schutz

 

18 Nov 2006 (Updated 20 Nov 2006)

How to verify the functionality of your DSP code via processor in-the-loop co-simulation using Simul

| Watch this File

File Information
Description

In this document I show how to verify the functionality of your DSP code via processor in-the-loop (PIL) co-simulation using Simulink?s UDP (user datagram protocol) blocks. These blocks are a new addition to the R2006b release of Simulink. This example is an extension of a previous example which was based on using Texas Instrument?s RTDX (real-time data exchange) instead of UDP. Conceptually you can replace the acronym ?RTDX? in that document with the acronym ?UDP? and you would have this document. In practical terms however there is more to it than just replacing RTDX blocks with UDP blocks and pressing build or play. Those differences are the motivation behind this document.

In this document I show how to use Simulink?s Target/Host UDP blocks to verify a simple fixed point design that uses frame-based processing. The target hardware is a C6416 DSK by Spectrum Digital with a DSK-91C111 D.SignT daughter card plugged into the External Peripheral Interface.

If you are not familiar with the concept of PIL and MBD (Model-based design) I suggest you read the document rtdx_intro.doc. It introduces MBD and PIL in the context of RTDX but the document is general enough that any communications protocol would apply.

Required Products Real-Time Workshop
Embedded Coder
DSP System Toolbox
Signal Processing Toolbox
Simulink
Simulink Fixed Point
MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
22 Dec 2006 Jon Dunsdon

I'm confused as R2006b Simulink does not contain UDP blocks, so the models in this package produce the following error: Warning: Unable to open model file 'etargetslib.mdl'.

31 Jan 2009 Rajkumar Dayalan  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
hardware targets Kerry Schutz 22 Oct 2008 08:49:36
udp ethernet dsp code verification embedded rtdx ti Kerry Schutz 22 Oct 2008 08:49:36

Contact us at files@mathworks.com