Final Report

Final Report - Microcomputer System 1 ECE-3551 Hernacki,...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Microcomputer System 1 ECE-3551 Hernacki, Kevin To Store and Manipulate Sound Final Project Dr. Kepuska 19APR08 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Purpose The purpose of this project is to (1) store a song in the SDRAM with LED4 lit, (2) play the song back from the SDRAM with LED5 lit, (3) play the song faster from the SDRAM with LED6 lit, and (4) play the song slower from the SDRAM with LED7 lit. Equipment Blackfin EZ-Kit Lite Visual DSP++ Desk Top Computer with Speakers Procedure The first step was to take lab 5 and turn it into Final Project. Check that all the switches in SW9 (all up) and SW3 (all down) are in the proper positions. The next was to set up the SDRAM in the code. The SDRAM was copied from the video code and put in the end of the initialize.c file. //-------------------------------------------------------------------------// // Function: Configure SDRAM. // // Description: Initialize and set-up the SDRAM. //-------------------------------------------------------------------------// //SDRAM Setup void Init_SDRAM( void ) { if (*pEBIU_SDSTAT & SDRS) { //SDRAM Refresh Rate Control Register *pEBIU_SDRRC = 0x00000406; //SDRAM Memory Bank Control Register *pEBIU_SDBCTL = 0x00000025; //SDRAM Memory Global Control Register *pEBIU_SDGCTL = 0x0091998d; Buffl = pSDRAM_open; ssync(); } } //end Init_SDRAM The next step was to use the Project Options for C_Talkthrought_I2S. This is found in the toolbar, starting with the button “Project,” then select “Option,” then select “Link,” then 2
Background image of page 2
the LDF Settings are set so that everybody on the board is at the same size and speed for transferring data around. With the SDRAM set-up the next step was to write the code to store the song. The “Init_Flags” are set to “0x0f00” this enables PF8 – PF11. PF8 would be use to tell the SDRAM to start storing data that was coming in from the DAC. In the “Talkthough.h” file, the SDRAM storage was set to “0x01FFFFFF” which is about 2 minutes and 56 seconds of play time. The PF9 button is used to play back the song stored in the SDRAM. The PF10 button is used to play back the song twice as fast from the SDRAM, and then the PF11 button is used to play back the song slower from the SDRAM. The variables and their initial states (0) are all loaded into the “main.c” and “Talkthough.h” files. 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 7

Final Report - Microcomputer System 1 ECE-3551 Hernacki,...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online