Microcomputer Systems I ECE 3551 – Fall 2010 Ryan M. Winget.

Slides:



Advertisements
Similar presentations
Introduction to C Programming
Advertisements

Chung-Ta King National Tsing Hua University
C Examples 1.
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.
Microcomputer Systems I ECE 3551 MOHAMMED ALYAMANI Instructor: Dr. Kepuska.
Computertechniek Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology 1  pak het project tint.zip.
Sound Note using DSP-BF533 EZ-KIT Lite Boards Communicating over RS232 UART Port Emin Emre OZANDAC Sukru SAGBANKALEM.
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.
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.
2/18/2004 Introduction to Engineering Electronics STOLEN FROM K. A. Connor 1 Lecture 6 Binary Counter Thinking Digitally.
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.
Professor: Dr Kepuska Presented by Kyle Farnum. Audio Manipulation through utilizing three types of filters: Low-pass filters Band- pass filters High-
Hardware Architecture of a real-world Digital Signal Processing platform: ADSP BlackFin Processor, Software Development on DSPs, and Signal Processing.
ENEE 440 Chapter Timer 8254 Register Select The 8254 timer is actually 3 timers in one. It is an upgraded version of the 8253 timer which was.
A Few Words From Dilbert
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
Over-view of Lab. 1 See the Lab. 1 web-site and later lecture notes for more details.
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.
GameBoy Advance Programming Sound. Sound Basics The Digital Process A / D Fs D / A Sound pressure fluctuations Analog voltage Digital voltage Sampling.
A Play Core Timer Interrupts Acted by the Human Microcontroller Ensemble from ENCM511.
For my final project I am going to use the SDRAM. I am uploading 9 files that exceed the limit of the internal memory RAM. I am going to manipulate the.
1 Lecture on Lab 6 Lab 7 Lab 8. 2 Lab 6: Open Loop Controller As you learned in lab 5, there are two kinds of control systems: open loop and closed loop.
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.
Reaction Timer Project
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.
ENGR 101: Robotics Lecture 3 – Robot Motion Outline  Robot Motion  FOR Loops  Making Music References 
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.
Over-view of Lab. 1 See the Lab. 1 web-site and the lecture notes for more details.
Microcomputer Systems I ECE 3551 Fahad Alqasim Instructor: Dr. Kepuska.
 By: Stanley O. Abada Presented to: Dr. V Kepuska December 4, 2010 Microcomputer 1.
Simon Says ECE 3551 Microcomputer Systems I Elizabeth Nelson.
ECE 3551 MICROCOMPUTER SYSTEMS 1 Introduction to Visual DSP++
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL State Machines Anselmo Lastra.
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.
8051 Aula 02 Prof Afonso Ferreira Miguel. Microcontrolador 8051 (MCS-51)  Timers do MCS51 Two 16-bit Counter/Timers: Two 16-bit Counter/Timers: Up counters,
Microcomputer 1 Final Phantom Speakers Patrick Marinelli Matt Hopkins.
ECE 3551 – Microcomputer Systems 1 Fall 2010 Siobhan Ireland.
A Play Core Timer Interrupts Acted by the Human Microcontroller Ensemble from ENCM415.
Example of RTMES Lab. 1 Controls Kukhee Kim June 24, 2010 Example of RTEMS Lab. Controls Department June 24, 2010 Kukhee Kim.
Analogue to Digital Conversion © D Hoult analogue signal © D Hoult 2011.
Over-view of Lab. 1 See the Lab. 1 web-site and latter lecture notes for more details.
“Uber” Box Multifarious Systems 1 Pattarapong Rojanasthien Will Matthau.
Microcontroller basics Embedded systems for mortals.
Aaron Worob.  Create a program using the Blackfin BF533 that allows the user to “move” the source of input sound.
1 Lab 4: D/A Converter Lab 4: D/A Converter This is a simple resistive network for a D/A converter Port 1, Port 0 are digital inputs ==> 00 (minimum),
One more PIC18F252 example and revision for exam B222L Branislav Vuksanovic, UoP, ECE.
Playing the Piano on a black fin Scott Pio ECE 3551 – Microcomputers Dr. Kepuska.
Use of MPLab software Paul Cockshott.
Microcontroller basics
Sound effects with Rotation control
Microprocessor Systems Design I
ECE 3551 Microcomputer Systems
Binary Counter Thinking Digitally
Microcomputer Systems 1
Analogue to Digital Conversion
BBC Microbit.
Blackfin Volume Control
EECE.3170 Microprocessor Systems Design I
See the Lab. 1 web-site and later lecture notes for more details
Programming - Buttons Intro to Robotics.
EECE.3170 Microprocessor Systems Design I
Programming - Buttons Intro to Robotics.
CS4101 Introduction to Embedded Systems Lab 2: Basic IO and Timer
Verilog Synthesis & FSMs
Presentation transcript:

Microcomputer Systems I ECE 3551 – Fall 2010 Ryan M. Winget

 To synthesize the old Scottish poem song “Auld Lang Syne” using the ADSP-BF533 board.  To be able to be able to start and stop the song using the button PF8  To be able to slow down and speed up the song using the buttons PF9 and PF10.

 Used Digital Sinusoids for the sound synthesis.  f s = Hz  f 0 = note frequency

Notef 0 (Hz)ω0ω0 Max n for 2pi b c# d# e f# g# b c#

 Sport0 ◦ Used to send the audio signals to the speakers  FlagA ◦ Used for control of the buttons PF8-PF10 in this project  Timer0 ◦ Added to this project to control the timing of the song.

 Code files used: ◦ Talkthrough.h ◦ main.c ◦ Initialize.c ◦ ISR.c ◦ Process_data.c

 Bit Manipulation: #define bit_get(p,m) ((p) & (m)) #define bit_set(p,m) ((p) |= (m)) #define bit_clear(p,m) ((p) &= ~(m)) #define bit_flip(p,m) ((p) ^= (m)) #define bit_write(c,p,m) (c ? bit_set(p,m) : bit_clear(p,m)) #define BIT(x) (0x01 << (x)) #define LED9 BIT(5) #define LED8 BIT(4) #define LED7 BIT(3) #define LED6 BIT(2) #define LED5 BIT(1) #define LED4 BIT(0)

 Music Control extern int count; //initialize counter for Auld Lang Syne extern int speedUp; //initialize counter for speeding up extern int slowDown; //initialize counter for slowing down  Counter for button PF8 extern int pf8_state;

 Uses a while loop to run the code indefinitely until it is halted.  Initializes the values for count, speedUp, slowDown and pf8_state to be 0.

 Initializes: ◦ Init_EBIU ◦ Init_Flags ◦ Init_Flash ◦ Init1836 ◦ Init_Sport0 ◦ Init_DMA ◦ Enable_DMA_Sport0 ◦ Init_Interrupts ◦ Init_Timers

 Interrupt Service Register ◦ Sport0_RX_ISR  Sends audio to the speakers in this project ◦ FlagA_ISR  *pFIO_FLAG_C == 0x0100  PF8  *pFIO_FLAG_C == 0x0200  PF9  *pFIO_FLAG_C == 0x0400  PF10

 FlagA_ISR (Cont.) ◦ *pFlashA_PortB_Data  Controls the LEDs  Timer0_ISR ◦ Controls timing for the notes

 I initialized the values for the radial frequencies of the notes and some other values used for the digital sinusoid equation for synthesizing the notes.

 An else if statement was used to cycle through the notes of the song.

 Timing for the notes sounds off and can use work.  Need to add a slight pause between notes with the same frequencies that are back to back.  Clean up unused code from the lab I initially used.

 Xerxes Beharry for helping me realize that the value of *pSIC_IAR2 should be 0xffff5ff4.  Ben Lishman for helping me debug my project.  Haren Lachland for helping me understand the board throughout the course.