Download presentation
Presentation is loading. Please wait.
Published byWilfried Holzmann Modified over 6 years ago
1
Lab 1 Instructions By Yeong Choo and Sam Kanawati
The University of Texas at Austin, January 22, 2018
2
General Guide on Lab Reports
Laboratory Webpage : Each lab is worth 40 points. Lap report grading consists of 30 points for the reported contents and accuracy. The remaining 10 points are for attendance and participation of lab recitation. Lab recitation will be held at the beginning 35 to 40 minutes of each lab and attendance and participation is compulsory. Report must be in typed and printed form. Hand-drawn diagrams should be clear and scanned. Report must brief and concise and should be less than 10 pages. Try to minimize white space created due to inserting screenshots. Please ask for clarity if more pages are needed. Empty front pages are not preferred! Screenshots of oscilloscope waveform and computer screenshots must be clear and cannot be obtained through phones camera. We recommend using “Save” function on the oscilloscope through USB drive. For partial credit, please submit all work even if they are incomplete or incorrect.
3
Talk-through using WinDSK
Connect your DSP board with the PC through the USB-UART port. Switch on SW1-2, SW1-3, SW1-4, and SW1-8, keep all the others off. Reset the board. Run winDSK8 on the PC. Choose LCDK (OMAP) in the “DSP Board Configuration”: Rescan COM Ports, select the COM port for your board. Connect the line-in port on the board with the signal generator, the line-out port with the oscilloscope Follow pages in the real-time DSP book. We use stereo codecs, signal generator and oscilloscope. Measure and verify the frequency of the input signal by using Time-domain cursors (ii) FFT function on the oscilloscope, the FFT function can be activated with “Math” function. Provide two screenshots with measurement in lab report.
4
DSK Implementation in C -- Project Setup
Please create a folder on the C:\ drive, i.e. C:\myfolder, and use it as your default workspace. Note that the workspace of CCS can only be in the C: drive. Follow the instruction in “ for the detailed steps to create a talk-through project. You will likely refer to this pdf throughout all future labs. Special notes on section “A.3 Needed Files”: Use CCS starter codes from Special notes on section “A.4 Creating a New Project”: Leave compiler version as default, i.e. “TI v8.1.x”. Leave output format as default, i.e. “eabi (ELF)”. The linker command file may have slightly different name, “link6748e.cmd”. Please refer to pg in the textbook for the explanation of the codes.
5
DSK Implementation in C -- Project Compilation
Connect your DSP board with the PC through the Serial XDS100 Emulator. The board need be powered using wall plug. In case of compile issues due to older version of CCS starter codes, you may change compiler version to older version, “TI v7.1.x” or output format to “legacy COFF”. Once you’ve finished the last step and have clicked “run”, you will be able to see the result of this talk-through project. Connect the line-in port on the board with the signal generator, the line-out port with the oscilloscope, you will find the signal displayed correctly. Measure and verify the frequency of the input signal by using (i) time-domain cursors and (ii) FFT function on the oscilloscope. The FFT function can be activated with “Math” function. Provide two screenshots with measurement in lab report.
6
Provide your code and figure in lab report.
DSP in MATLAB Creating continuous-time sinusoidal signal Create continuous-time vector, “t” with range of 1-sec and time-spacing of sec. Create a sinusoidal signal, “xt” with frequency of 5 Hz and same size of “t” Plot “xt” on a figure. Hint: use “plot” function. Label the plot with “x-axis”, “y-axis”, and “title” Use “t” and “xt” vectors to obtain the values of “xt” at time instant, t = 0.32-sec, t = 0.64-sec. Provide your code and figure in lab report. Sampling continuous-time sinusoidal signal Sample the above continuous-time vector, “xt” at every sec and name it “xn”. Overlay “xn” on the same figure containing “xt”. Hint: use “stem” function.
7
Assignment Questions Please complete the following assignment questions and submit as Lab 1 report.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.