University of Florida
EEL 4744 – Spring 2011
Dr. Eric M. Schwartz
Electrical & Computer Engineering Dept.
Brandon Cerge, TA
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.
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.
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
wait until the night before to attempt this
fail miserably … 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.
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
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
will then write a simple test program to test its
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.
NOTE: Prelab requirements MUST be accomplished
coming to lab.
Your TA will not allow you to
enter lab without the prelab complete.
PARTA: SERIAL COMMUNICATION VIA POLLING