lab5_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 2011 Dr. Eric M. Schwartz Electrical & Computer Engineering Dept. Revision 2 Brandon Cerge, TA Page 1/5 Lab 5: Interrupts, Serial Communication, External Memory 3-Mar-11 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 INTRODUCTION Note: Do NOT wait until the night before to attempt this lab, you WILL fail miserably … 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 ZONE7 of the memory map, starting at address 0x2C8000. 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 JPEG image (‘tebow_322.jpg’) 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 NOTE: Prelab requirements MUST be accomplished PRIOR coming to lab. Your TA will not allow you to enter lab without the prelab complete. PARTA: SERIAL COMMUNICATION VIA POLLING
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.

Page1 / 5

lab5_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