Lab 2 Part II Instructions

Slides:



Advertisements
Similar presentations
Computer Architecture
Advertisements

DE2-115 Control Panel - Part I
Chapter 10 Input/Output Organization. Connections between a CPU and an I/O device Types of bus (Figure 10.1) –Address bus –Data bus –Control bus.
CSE466 Autumn ‘00- 1 System Functional Requirements  Children’s toy…comes with PC software. Child plays notes on the screen and the device makes corresponding.
Term Project Overview Yong Wang. Introduction Goal –familiarize with the design and implementation of a simple pipelined RISC processor What to do –Build.
DSP online algorithms for the ATLAS TileCal Read Out Drivers Cristobal Cuenca Almenar IFIC (University of Valencia-CSIC)
Real Time DSP and the Motorola DSP Chip R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
ECE Department: University of Massachusetts, Amherst Lab 1: Introduction to NIOS II Hardware Development.
UBI >> Contents Chapter 12 Hardware Multiplier MSP430 Teaching Materials Texas Instruments Incorporated University of Beira Interior (PT) Pedro Dinis Gaspar,
The 8051 Microcontroller and Embedded Systems
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
SAM 2010 v1.5 Student Walkthrough. Initial Set Up 1.Ensure that you are connected to the Internet. 2.Launch your web browser (Internet Explorer 7 or 8.
EE 446 Project Assignment Top Design Sensor Components Pin Assignment and Configuration Completed Physical Setup Project Tasks.
DAT2343 Accessing Services Through Interrupts © Alan T. Pinck / Algonquin College; 2003.
High Speed Data Converter University
ELEC4601 Microprocessor systems Lab 3 Tutorial
CS 122 Engineering Computation Lab Lab 2 Dan De Sousa and Tim Cheeseman Department of Computer Science Drexel University April 2009 ©By the author. All.
EE 445S Real-Time Digital Signal Processing Lab Fall 2013 Lab #2 Generating a Sine Wave Using the Hardware & Software Tools for the TI TMS320C6748 DSP.
Siemens Microelectronics, Inc. December 98 Slide 1 HOT50x-5 Version 1.0 HOT50x-5 An Add-On to the HOT50x_1 Hands-On Training Materials for the 8bit Family.
ELEC4601 Microprocessors Lab 2 Tutorial Signal Waveforms and Parallel port programming.
Lab 2 Parallel processing using NIOS II processors
Introduction to the C6713 Laurier Boulianne
– BlackAn – The Blackfin Analyzer by Jacob Zurasky and Paul Deffenbaugh.
Learning to use the Interactive Online Classroom Classroom Activities.
Computer Organization Instruction Set Architecture (ISA) Instruction Set Architecture (ISA), or simply Architecture, of a computer is the.
1 Project 2: Using Variables and Expressions. 222 Project 2 Overview For this project you will work with three programs Circle Paint Ideal_Weight What.
Teaching Digital Logic courses with Altera Technology
Lecture 3 CSE 341 – Microprocessors Lecture 3 Md. Omar Faruqe UB 1228
1 Project 5: Leap Years. 222 Leap Years Write a program that reads an integer value from the user representing a year and determines if the year is a.
1 Project 4: Computing Distance. 222 Computing Distance Write a program to compute the distance between two points. Recall that the distance between the.
LonWorks Introduction Hwayoung Chae.
Fab25 User Training Cerium Labs LabCollector - LIMS Lynette Ballast.
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
Electronic instrumentation Digitization of Analog Signal in TD
EE 345S Real-Time Digital Signal Processing Lab Fall 2008 Lab #3 Generating a Sine Wave Using the Hardware & Software Tools for the TI TMS320C6713 DSP.
GCE Software Systems Development A2 Agreement Trial Implementing Solutions October 2015.
Introduction to the FPGA and Labs
Instrumentation & Root Mean Square Voltage
DE2-115 Control Panel - Part I
LOW-COMPLEXITY ARBITRARY SAMPLE-RATE CONVERTER
Lab 1: Using NIOS II processor for code execution on FPGA
Homework Reading Machine Projects Labs
Timer and Interrupts.
Commissioning the SIS3316 Digitizer
Embedded Systems Design
PRU-ICSS Programming with CCS
ARM Cortex-M4 Combines DSP and microcontroller features
Overview Instruction Codes Computer Registers Computer Instructions
CS/COE0447 Computer Organization & Assembly Language
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Lab 1 Instructions By Yeong Choo and Sam Kanawati
Lab 6 Part I Instructions
Lab 7 Instructions By Yeong Choo and Sam Kanawati
Lab 5 Part II Instructions
Lab 6 Part II Instructions
Lab 4 Instructions By Yeong Choo and Sam Kanawati
Lab 3 Part III Instructions
BIC 10503: COMPUTER ARCHITECTURE
Accessing Services Through Interrupts
Lab 3 Part II Instructions
By Yeong Choo and Sam Kanawati
Single Value Processing Multi-Threaded Process
COSC 2021: Computer Organization Instructor: Dr. Amir Asif
Lab 2 Part I Instructions
Lab. 4 – Part 2 Demonstrating and understanding multi-processor boot
Chapter 9 Bootloader.
Computer System Laboratory
Design of Digital Circuits Lab 8 Supplement: Full System Integration
EE 345S Real-Time Digital Signal Processing Lab Fall 2007
Presentation transcript:

Lab 2 Part II Instructions By Yeong Choo and Sam Kanawati The University of Texas at Austin, February 05, 2018

Lab Overview For this lab, we would implement sinusoidal signal generation in software with look-up table (LUT) method and enhanced direct memory access (EDMA) output method. This combination of implementation would increase the system throughput as the processor is available to handle any other foreground task. Keep in mind that EDMA controller unit does not have arithmetic and logic units. Most of the EDMA implementation is provided. Your main task is to understand the EDMA implementation and provide the initialization of corresponding LUT. That would conclude the study of tradeoffs between multiple sinusoidal generation and output method. Do not add Target Configuration or GEL files in this lab and do not reset the board between the first and second parts

Talk through using EDMA Please connect the DSP board to the PC using the USB cable, and connect the oscilloscope to the line out port, signal generator to the line in port. Follow instructions in “http://rt-dsp.com/2nd_ed/app_a/App_CCS_6_1_LCDK.pdf” for the detailed steps to create a project. But, instead of vectors.asm, please add vectors_EDMA.asm file and do not add main.c. Also, migrate to C:\CD\code\chapter_06\ccs\Frame_EDMA_6748 to add all the files. Run the program. It shows the talk through application. Show your program to your TA. Do not add Target Configuration or GEL files in this lab and do not reset the board between the first and second parts

Sinusoidal Generation using EDMA -- Project Setup Please connect the DSP board to the PC using the USB cable, and connect the oscilloscope to the line out port. Create another project following the same instructions as before, but replace the following files with the ones you downloaded from the course website. frame.h ISRs.c - don’t copy the contents of C:\CD\FrameEDMA.txt main.c – delete all text in the while loop Go to DSP_Config.h and change the sampling frequency to 8 kHz. Do not add Target Configuration or GEL files in this lab and do not reset the board between the first and second parts

Sinusoidal Generation using EDMA -- Project Edit Create a function called createtable() with these instructions: Enter your own version of generating a table of cosine wave values at a frequency of 1 kHz and 2 kHz at a sampling frequency of 8 kHz. The table should have the minimum number of entries. Use a suitable scale factor! (Hint: the number of bits used in DAC) Generate the table entries in float, then cast them to Uint32 after appropriate scaling. Read the comments in the createtable() functions in ISRs.c. Generate a sine wave of frequency 1 kHz. Run the program to see the sinusoidal signal on the oscilloscope. Repeat the program for 2 kHz Please profile the number of clock cycles needed for a single sinf/cosf function call in CCS. (Include a screenshot) Show your program to your TA.. Please provide two screenshots and ISR code change in the lab report.

Lab Report Assignment Explain (mathematically) what happened when 6 kHz & 7 kHz sine waves were generated for a sample rate of 8 kHz. Compare and contrast the three methods for sending the samples of the sinewave to the codec (polling, interrupt, DMA) Scaling factor: Why is the scaling factor necessary? What would happen if the scaling factor was left out? How many cycles does a single call to sin() take? Calculate the number of cycles that occur between samples. Assume the DSP runs at 375 MHz. (And feel free to comment on these two results)

Lab Report Submission Requirement Please refer general format listed under “Lab Report” section at, http://users.ece.utexas.edu/~bevans/courses/realtime/lectures/laboratory/c6748winDSK/lab2/index.html Please attach screenshots from oscilloscope (Lab 2 Part 1 and Lab 2 Part 2) and any code change in Interrupt Service Routine (ISR) in lab report. Please answer the above assignments question in lab report. For full credit, please provide all your work in code changes and screenshots. Please submit your pdf format of lab report and codes in zip folder and submit to Canvas before the deadline.