lab4_manual_w2010

lab4_manual_w2010 - CARLETON UNIVERSITY Department of...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
lab4, w08 page 1 of 18 CARLETON UNIVERSITY Department of Systems and Computer Engineering SYSC 4405 Lab #4: DTMF Decoding – Part II: S IMULINK and c6713 DSK Implementations Important/ Read first The folder for lab4 contains a simulink subfolder. To get you started faster on this lab, the following steps should help: 1) Copy the contents of the simulink subfolder to your working directory on the M: drive 2) Start Matlab 7.01 3) Create the necessary work space variables by running the matlab file lab4_variables. Here is an example what the matlab command window would look like: 4) Your work space should now contain your filter coefficients in addition to a dtmf signal corre- sponding to your choice of parameters. 5) Open the first complete simulink model (dtmf_test_set) and verify that the settings for its indi- vidual blocks are consistent with what you understood from the lab write-up. Or, which is even better, start building your own model (as shown in Fig 2) using the building blocks in the simulink model “lab4_building_blocks” which is now in your working directory. Run your simulation to see if it works. If you get any error messages try to trace their sources. 6) Repeat step 5 above, but now use the second model “dtmf_test_set2” 7) Finally open the last model “dtmf_test_dsk” 8) Compile the model above to run on the DSP board (Tools/real Time Workshop/build model) 9) If all goes well, you will have an executable loaded and running on the DSP board. 10) Set the switch on top of the DSP board to the “line in” position. 11) Output your dtmf signal to the PC’s “line out” port (which is connected to the “line-in” port of the DSP). You should be able to hear the tones you generated, and see that the LED readings change according to the numbers dialed. >> lab4_variables # of coefficients for each filter===> 51 Specify filter bandwidth in Hz===> 20 number to dial===> [1 2 3 4 5 6 7 8 9] sampling frequency in Hz===> 8000 tone duration in seconds===> 1 silence duration in secs===> .5 Changed default Simulink settings for DSP systems (dspstartup.m).
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
lab4, w08 page 2 of 18 CARLETON UNIVERSITY Department of Systems and Computer Engineering SYSC 4405 Lab #4: DTMF Decoding – Part II: S IMULINK and c6713 DSK Implementations Note: Be sure to use Matlab 7.0.1 for this lab. Only that version will properly work with the c6713 DSK. 1 Introduction In this lab you will implement a dual tone multi-frequency (DTMF) decoder in S IMULINK and on the c6713DSK based on your bandpass filter designs from Part I in the previous lab. 2 Lab Background Two main tasks should have been completed during your previous lab: 1. Generate DTMF signals for a standard Touch Tone™ keypad. 2. Design a set of bandpass filters for filtering of the eight DTMF tones.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 04/14/2010.

Page1 / 18

lab4_manual_w2010 - CARLETON UNIVERSITY Department of...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online