University of Florida
EEL 4744 – Spring 2012
Dr. Eric M. Schwartz
Electrical & Computer Engineering Dept.
Brandon Cerge & Eric Jeffers, TAs
Lab 5: Interrupts, Serial Communication, External Memory
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
communication interface (SCI) on the DSP.
will add external memory onto your DSP board.
You WILL need the following documentation:
System Control and Interrupts Reference Guide
Reference Guide (sprufz5a.pdf)
Wire wrap tool, UF DSP Board,
Br@y++ Terminal (provided on website)
32K x 8 CY62256 SRAM (provided)
QUARTUS II, USB Byte Blaster
F ceramic capacitor
File from class website to test RAM
wait until the night before to attempt this
succeed … and lose a night of
Read carefully the ENTIRE lab document before you
In the first part of the lab, you will create your first
completely interrupt driven program for this course.
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
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
of the memory map, starting
We would like to have only one
image, therefore you will need to do
Once you have your SRAM interfaced, you
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.