lab5_s12_ExMem_Serial_Interrupts

lab5_s12_ExMem_Serial_Interrupts - University of Florida...

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

View Full Document Right Arrow Icon
University of Florida EEL 4744 – Spring 2012 Dr. Eric M. Schwartz Electrical & Computer Engineering Dept. Revision 2 Brandon Cerge & Eric Jeffers, TAs Page 1/5 Lab 5: Interrupts, Serial Communication, External Memory 16-Mar-122 OBJECTIVES In this lab you will learn how interrupts function, how to utilize serial communication, and to how to interface external memory, specifically on the F28335. To learn interrupts on the DSP, you will learn how to use the Peripheral Interrupt Expansion (PIE). You will communicate with your computer with the serial communication interface (SCI) on the DSP. Lastly, you will add external memory onto your DSP board. REQUIRED MATERIALS You WILL need the following documentation: o System Control and Interrupts Reference Guide (sprufb0c.pdf) o Serial Communications Interface (SCI) Reference Guide (sprufz5a.pdf) o CY62256 Datasheet Wire wrap tool, UF DSP Board, two USB cables Br@y++ Terminal (provided on website) 32K x 8 CY62256 SRAM (provided) QUARTUS II, USB Byte Blaster 0.01 F ceramic capacitor File from class website to test RAM INTRODUCTION Note: Do NOT wait until the night before to attempt this lab, you WILL NOT succeed … and lose a night of sleep. Read carefully the ENTIRE lab document before you get started!! In the first part of the lab, you will create your first completely interrupt driven program for this course. To do this you will break this down into two steps. Approaching a bigger problem is easier to do by breaking it down into multiple smaller steps. First you will configure the Serial Communication Interface (SCI) and Br@y++ terminal program and use them to send characters from your computer to display on your LED’s via polling. Note you can always use the LED’s in this way for debugging purposes. In the next part of the lab, you will write a program to receive a character from your computer and then send it back to your computer for viewing, all via an interrupt service routine. In the second part of the lab, you will add a 32k x 8 external SRAM into the DSP memory map. You will place the SRAM in ZONE6 of the memory map, starting at address 0x110000. We would like to have only one image, therefore you will need to do full address decoding. Once you have your SRAM interfaced, you will then write a simple test program to test its functionality. Lastly, you will transfer an entire file (for now the file is a JPEG image, tebow_322.jpg’, but this will be updated this weekend) from your computer into your SRAM. To do this, you will combine what you have learned from parts, A, B, and C. The data file that you will transfer to your SRAM will be provided for you. This part of the lab will most likely take you the longest, so do not take any shortcuts in understanding Parts A, B, or C. PRELAB REQUIREMENTS
Background image of page 1

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

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

This document was uploaded on 03/27/2012.

Page1 / 5

lab5_s12_ExMem_Serial_Interrupts - University of Florida...

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

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