DOC PREVIEW
MSU ECE 480 - Lab I: Introduction to the TI DSK6711 DSP

This preview shows page 1-2-3 out of 9 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 9 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 9 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 9 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 9 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Lab I: Introduction to the TI DSK6711 DSP By Kyle Thomson Revised 1/4/2010 blw This is a partner project, the ONLY partner project of ECE 480. MAXIMUM 2 PER GROUP! NO EXCEPTIONS You and your lab partner must turn in separate lab reports. You and your lab partner must be present to demonstrate all parts of the lab. NO EXCEPTIONS! A. Getting started A-1. Plug in the TI TM320C6711 DSP Board (further, DSP) into the parallel port of the computer. Plug in the power brick to the DSP. A-2. Attach the Mini Stereo-Mini Stereo Cable from the green headphone port on the computer to J7 IN on the DSP. Connect the headphones to J8 OUT on the DSP. A-3. We will now start LabView. WARNING! If the DSP board becomes unplugged during any point while LabView is running, the parallel port will hang. You will NOT be able to reconnect to the DSP. Make sure you always exit LabView before disconnecting the DSP. WARNING! A-4. Start LabView 8.6. It is located in Start > All Programs > National Instruments > LabView 8.6 > LabView A-5. LabView will start. Under Targets in the lower left corner make sure it is set for DSP Project and select Go. A-6. In the Create New DSP Project window select “New DSP Project, blank VI” select Next.A-7. Set Target type to DSK6711 and make sure all I/O lines are checked. Select Finish. A-7.1. Three new windows will appear. Select the window titled Block Diagram A-8. The first step is to create an infinite while loop. This means that the code INSIDE the box will continuously run forever. The DSP needs code to be running, otherwise it will execute once and stop. In the Function window, Select Structures. Select While Loop, like the image on the right. A-9. Your cursor will now draw a While Loop box. Maximize the Block Diagram Window, and draw a while Loop box that takes up the entire screen. Everything you want to execute must be contained inside this box. A-10. Go back to the Function window. Minimize the Structures by clicking on it. Locate the Elemental I/O box. A-11. Click the Analog Input icon. The cursor will then let you place an Analog Input. Put it inside your While Loop Box. Do the same for the Analog Output. A-13. We now need to connect the Analog Input to the Analog Output. Click the black arrow on the Analog Input, and drag the wire to the Analog Output Arrow. This will connect the input to the output. It should look like the image on the right. We now need to test to make sure our DSP is working properly. A-14. Next, is to adjust the computer volume. Click on the Speaker Icon on the bottom right. Adjust the sound so it is just above muted. If it is all the way down, no sound will come from the computer. A-15.On your computer, load a music file. If you do not have your own music choice or preference available, you can use Q106FM alternative, available here: http://www.wrif.com select Listen Live A-16. Return to the LabView Block Diagram Window. Go to Operate, and select Run. The window to the right should appear, and you should be able to hear music coming from the DSP.A-17. Press the Stop button on the control panel. Return to the Block Diagram Window. We will now implement a Low-Pass Filter. (Note: The DSP must be stopped before you can make modifications to your program.) A-18. Right click the wire between the Analog Input and the Analog Output. Select Delete Wire Branch. A-19. In the Function window, select Signal Processing > Filters > Filter. Drop this into the Window. Right click the Filter. Select Properties. Set the Cut-off Frequency to 500 Hz. It should look like the window on the left. A-20. Select the Front Panel Window. In the controls window, select Graph. Select Waveform Graph. A-21. Place two waveform graphs in the Front Panel window. Right Click each, and select Properties. Change the first label to Analog Input. Change the second label to Low Pass Filtered Output A-22. Connect the wires as shown on the right. Once again, run the program. You should see the output, and the low pass filtered result. Go to the Front Panel, and select File > Print Window. A-23 Have your TA sign off that your program is working properly.B. High-Pass Filter B-1. We will now add a High Pass Filter. Return to the Block Diagram window. In the Function window, select Signal Processing > Filters > Filter. Drop this into the Window. Right click the Filter. Select Properties. Set the Cut-off Frequency to 1000 Hz. Change the filtering type to high pass. It should look like the window on the right. B-2. Return to the Front Panel Window. Add a new Waveform Graph, and label it High-Pass Filter. Additionally, we need to add a selector. In the Controls Window, select Boolean > Slider Switch, and place one in the Front Panel Window. Label it Low/High. B-3. Return to the Block Diagram Window. In the Function window, select Comparison > Select. Place it in the While Box. B-4. Wire the new components as shown on the right. B-5. Run the program. You now can select between the High and Low pass filter. B-6. Print the Waveform Window, and attach it to your lab report. B-7. Have your TA sign off that your program is working properly.C. Building an Amplifier C-1. Return to the Block Diagram Window. First, delete the Analog Input, Analog Output, and the Select Triangle, and the Boolean Switch. Select Edit > Remove Broken Wire. This will clean up the window. C-2. In the Function window, go to Programming > Embedded Signal Generation > EMB Sine Waveform. Add two of these where the Analog Input was. C-3. The Frequencies must be set to constant values. In the Function window, go to Numeric > Numeric Constant. Add two of these. The value can be set by double-clicking the blue box. Set the first one to 200. Set the second one to 3000. C-4 Connect one wire from each of the constants to the frequency input of each Sine Waveform. There are many inputs to the Sine Waveform, so make sure you have the correct input selected. Holding the mouse cursor over an input will tell you which input it is, as shown on the right. C-5. Return to the Front Panel window. Add another Waveform Graph. Label it Output. C-6. Return to the Block Diagram window. In the Function window, select Mathematics > Numeric > Add.


View Full Document

MSU ECE 480 - Lab I: Introduction to the TI DSK6711 DSP

Documents in this Course
ganttv1

ganttv1

6 pages

sd97

sd97

17 pages

ap_EO

ap_EO

14 pages

Load more
Download Lab I: Introduction to the TI DSK6711 DSP
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lab I: Introduction to the TI DSK6711 DSP and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lab I: Introduction to the TI DSK6711 DSP 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?