Microcomputer Systems I ECE 3551 Fahad Alqasim Instructor: Dr. Kepuska.

Slides:



Advertisements
Similar presentations
Chapter 11 Interfacing C and Assembly Code
Advertisements

Microcomputer Systems I ECE 3551 MOHAMMED ALYAMANI Instructor: Dr. Kepuska.
Mohammed Almajhad Final Project Dr. Kepuska. Intro My project idea is based on playing sound on different effects as we see these days. Also, adding a.
Problem Description: Design and build a guitar pickup using optical methods, as opposed to traditional magnetic or piezo-electric pickups. Objectives:
Lab. 1 – Earlier Tasks. Needed by both application and demonstration lab. streams For more details – see the Lab. 1 web-site There will be a 20 min prelab-quiz.
Thermal arm-wrestling Design of a video game using two programmable flags (PF) interrupts Tutorial on handling 2 Hardware interrupts from an external device.
Lab. 1 – Task 1 to 4 details For more details – see the Lab. 1 web-site There will be a 20 min prelab-quiz (based on Assignment 1 and 2) at the start of.
Over-view of Lab. 1 For more details – see the Lab. 1 web-site There will be a 20 min prelab quiz (based on Assignment 1 and 2) at the start of the lab.
Chapter 11 Interfacing C and Assembly Code. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2002 Chapter 11, Slide 2 Learning Objectives 
Later tasks of Lab. 1 For more details – see the Lab. 1 web-site There will be a 20 min prelab quiz (based on Assignment 1 and 2) at the start of the lab.
CS 106 Introduction to Computer Science I 10 / 16 / 2006 Instructor: Michael Eckmann.
Professor: Dr Kepuska Presented by Kyle Farnum. Audio Manipulation through utilizing three types of filters: Low-pass filters Band- pass filters High-
Peripherals and their Control An overview of industrially available “peripheral devices” that use “pulse-width modulation” for information passing. Review.
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
Control Panel Overview. Purpose of the Control Panel  The Control Panel allows you to choose what you want your projector to display on the screen.
A First Book of C++: From Here To There, Third Edition2 Objectives You should be able to describe: Function and Parameter Declarations Returning a Single.
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
To use the blackfin processor BF-533 to implement what we have learned about the blackfin processor. My approach for this project by : Input Audio will.
EZ-Additive Synthesizer By Max Bastien 12/14/07. Problem Statement Mystery of keyboards reproducing a wide range of sounds from any particular instrument.
Yan Carlo Rodriguez ECE 3551 Final Project.  To make a program that will change the person voice when using the microphone.  Make the LEDs turn on when.
Home Audio System Stephen Whitaker March 2, 2009 Microcomputer Systems I Dr. Kepuska.
Lab. 2 Overview Move the tasks you developed in Lab. 1 into the more controllable TTCOS operating system Manual control of RC car.
Lab. 4 Demonstrating and understanding multi-processor boot TigerSHARC multi-processor system.
Digitalized Surround Sound Effects Using ADSP BF 533 Kunal Gupta ECE 3551, 03 Fall, 2006.
Audio Led Bargraph Equalizer Final Project for ECE /02/09 Instructor: Dr Kepuska By; Anushan Weerasooriya & Chris Guzowski.
Blackfin Calculator Learning Game By Majed Al-Herbi Will Matthau Course: ECE3552 – Spring 2008 Instructor: Dr. Veton Kepuska.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
SDRAM Load and Play By Hernacki, Kevin ECE3551 Final Project 25 April 2008.
Lab. 1 – Required Tasks. For more details – see the Lab. 1 web-site.
Danielle Roy.  The goal of this project is to create an emulation of a popular children’s game. This game flashes a pattern at the player, and the player.
Presented By Chris Loveless Microcomputer Systems 1 ECE /13/2006.
Introduction The goal of this project was to create device similar to a DJ mixing board. Features: Controlling the input and output buffers Applying sound.
 By: Stanley O. Abada Presented to: Dr. V Kepuska December 4, 2010 Microcomputer 1.
Microcomputer Systems Final Project “Speaker and Sound Modulation”
Simon Says ECE 3551 Microcomputer Systems I Elizabeth Nelson.
Loop Board ECE 3551 Final Project by Brian Robl. Objectives Use the Blackfin BF533 EZ-KIT to create a 4 track audio looper.  Utilize 32MB of external.
Handling multiple input signals Version #2 – co-operative scheduler Version #3 – pre-emptive scheduler.
Audio Manipulation And Buffers using DSP-BF533 EZ-KIT Lite Dr. Veton Z. Këpuska By Husain Alotaibi Ahmed Alalyak ECE 3551 Microcomputer System I Spring.
Audio Filtering By: Rudrapratap Jadhav ECE 3551 Microcomputer System.
Microcomputer Systems I ECE 3551 – Fall 2010 Ryan M. Winget.
Carey Eugene ECE 3551 May 5, The purpose of this project was to design and implement a karaoke machine with chipmunk audio effects. And then run.
ECE 103 Engineering Programming Chapter 31 C Scopes Herbert G. Mayer, PSU CS Status 8/1/2015 Initial content copied verbatim from ECE 103 material developed.
Microcomputer 1 Final Phantom Speakers Patrick Marinelli Matt Hopkins.
ECE 3551 Microcomputer Systems 1. Preformed By: James Morton Sunita Ramnarinesingh Arthur Lyssenko.
ECE 3551 – Microcomputer Systems 1 Fall 2010 Siobhan Ireland.
ECE 3551 – Microcomputer Systems I By Md. Raqiq Islam AUDIO EFFECTS IMPLEMENTATION.
Embedded Programming and Robotics Lesson 11 Arduino Interrupts 1.
“Uber” Box Multifarious Systems 1 Pattarapong Rojanasthien Will Matthau.
Developing Tasks to use with a co-operative scheduler Ideas for Assignment 2 Lab. 2, 3 and 4 Review for Midterm on Lab. 2 Ideas of defects, errors and.
ECE 3551 Microcomputer Systems 1 Final Project Morse Code Reader Instructor: Dr. Veton Kepuska Term: Fall 2006 By: Erik Lindman & Rong Li.
Aaron Worob.  Create a program using the Blackfin BF533 that allows the user to “move” the source of input sound.
void Init_SDRAM(void) { if (*pEBIU_SDSTAT & SDRS) { *pEBIU_SDRRC = 0x ; *pEBIU_SDBCTL = 0x ; *pEBIU_SDGCTL = 0x d; *point =
Sound effects with Rotation control
Implementing real-time convolution
IoT Programming the Particle Photon.
Interrupts, Tasks and Timers
Selection Sort Find the smallest value in the array. Put it in location zero. Find the second smallest value in the array and put it in location 1. Find.
Chapter 11 Interfacing C and Assembly Code
Blackfin Volume Control
More Linked Lists and Loops Based on slides by Ethan Apter
TigerSHARC processor and evaluation board
Global Challenge Flashing Wheels Lesson 3.
FIR and IIR Filters with on and off Functionality
Global Challenge Flashing Wheels Lesson 3.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge Flashing Wheels Lesson 3.
Fundamental Programming
Post Lab Quiz 3 Review Assignment 2 Help
Global Challenge Flashing Wheels Lesson 3.
Interrupts.
Presentation transcript:

Microcomputer Systems I ECE 3551 Fahad Alqasim Instructor: Dr. Kepuska

Purpose: To use the knowledge learned in ECE- 3551, to make a final project. The project is to do the following : 1. Mute the sound. 2. Increase volume. 3. Decrease volume. 4. FIR High Pass filter and FIR low Pass filter.

Solution and Operation: Press PF8 once: mute the sound and all LEDs off. Second press plays sound the, and LED1 ON. Press PF9 once: increase the volume, also LED1 and LED2 ON. Second press increases the volume more, Also, LED1to LED3 ON. Third press increases the volume more, also, LED1to LED4 ON. Fourth press increase the volume to the maximum. also, LED1 to LED5 ON Press PF10 once: decrease the volume, also LED1 to LED 4 ON. The volume will decrease by pressing more until it is mute. Also, the LEDs decrease as well Press PF11 once: a FIR low pass filter data is sent to the output, also, LED4, LED5, LED8 and LED9 ON. Second press a FIR high pass filter data is sent to the output. Also, LED6 and LED7 ON

Code ISR.c Mute the sound { if (*pFIO_FLAG_D == 0x0100)// PF8 switch { *pFIO_FLAG_C = 0x100; // Confirm interrupt handling workaround pf8 ++; // Mute variable, self-increment if (pf8 == 2) //If mute =1, stop loading data. { pf8 = 0; } mute(); // apply the mute function if pf8=1 }

ISR.c Increase volume if (*pFIO_FLAG_C == 0x0200) // PF89switch { *pFIO_FLAG_C = 0x0200; // Confirm interrupt handling workaround if (fahad < 5) // if fahad greater than 5 stop loading data { fahad++; // let fahad increase }

ISR.c decrease volume { *pFIO_FLAG_C = 0x0400; // confirm PF10 interrupt handling if (fahad != 0) // if fahad = 0 stop loading data { fahad--; // decreases fahad }

ISR.c high pass and low pass filter else if (*pFIO_FLAG_C == 0x0800) { *pFIO_FLAG_C = 0x0800; // confirm PF11 interrupt handling pf11++; // filter variable, self-increment if (pf11 > 2) //If filter greater than 2, stop loading data. { pf11 = 0; }

ISR.c high pass and low pass filter if(pf11==1) { iChannel0LeftIn = iRxBuffer1[INTERNAL_ADC_L0]; //Data from DAC left to left channel-in iChannel0RightIn = iRxBuffer1[INTERNAL_ADC_R0]; //Data from DAC right to right channel-in Lowpass(); // apply low pass filter to the data iTxBuffer1[INTERNAL_DAC_L0] = iChannel0LeftOut; //Data from channel-out to DAC. iTxBuffer1[INTERNAL_DAC_R0] = iChannel0RightOut; //Data from channel-out to DAC } if(pf11==2) { iChannel0LeftIn = iRxBuffer1[INTERNAL_ADC_L0]; //Data from DAC left to left channel-in iChannel0RightIn = iRxBuffer1[INTERNAL_ADC_R0]; //Data from DAC right to right channel-in Highpass(); // apply high pass filter to the data iTxBuffer1[INTERNAL_DAC_L0] = iChannel0LeftOut; //Data from channel-out to DAC. iTxBuffer1[INTERNAL_DAC_R0] = iChannel0RightOut; //Data from channel-out to DAC }

Main.c int pf8 = 0; //The pf8 is a variable interger for the mute. int fahad = 1; //The fahad is a variable interger for decreasing and increasing. int pf11=0; //The pf11 is a variable interger for the filter short led= 0;

Talkthrough.h Global variables extern int iChannel0LeftIn; extern int iChannel0RightIn; extern int iChannel0LeftOut; extern int iChannel0RightOut; extern short hp; extern short led; extern int fahad; extern int volume1; extern short pf11; Prototypes void Process_Data(void); void Lowpass(void); void Highpass(void);

Problems C++

References Dr. Keputska’s web page ◦

Questions Questions?