lab3_s11_switch_led_loop_LSA

lab3_s11_switch_led_loop_LSA - 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 1 Erick Macias, TA Page 1/4 Lab 3: Switch Inputs, LED outputs, GPIO, Timing Loop and LSA 31-Jan-11 OBJECTIVES In this lab you will learn to use the input/output pins on our TI F28335 DSP, called GPIO. You will solder and wirewrap 8 switches (inputs) and 8 LEDs (outputs) to your UF DSP board. For the first time this semester, you will see your programs controlling I/O. You will also learn how to uilize a logic state analyzer (LSA). REQUIRED MATERIALS UF F28335 DSP board kit and documents from lab 0 through 2 Multimeter Your wirewrap tool Access to an LSA (supplied in lab) Read/save the following document: o Lecture 6: GPIO o System Control and Interrupts Reference Guide (TI #: SPRUFB0D) GPIO: Pages 6-68, Section 6 Some of the prelab requirements involve soldering. If you do not own or have access to a soldering iron outside of the lab, that means that you will need to spend some time prior to your lab at the TA office hours. The TAs will bring a few soldering irons to the TA office hour room in NEB 222. INTRODUCTION Read the entire lab handout before starting! In this first part of the lab you will create an 8-bit LED output circuit connected to GPIO7:0 and an 8-bit switch input circuit connected to GPIO15:8. The active-high LEDs should use series resistors (with the 470 SIP resistor pack in your lab kit) to limit the current. The switches should be pulled-up to +3.3V (with the 1.2k SIP resistor pack in your kit). You learned how to build LED and switch circuits in EEL 3701. If you don’t remember, the document at the following website describes how these circuits are constructed: http://mil.ufl.edu/3701/docs/hardware_get_started.pdf . Do not forget to properly set up the GPIO MUX and data direction register and to use the EALLOW instruction near the beginning of your program , in order to allow writes to the GPIO registers. You must also turn off the watchdog timer , or an interrupt will occur almost immediately after you start running your program. Note: IC power and ground should NOT be wirewrapped on printed circuit boards. But in order to allow us to simplify our construction, we will allow it in this course. But, we will expect all IC power and ground signals to have two wirewrap connections. PRELAB REQUIREMENTS Note: Prelab requirements MUST be accomplished PRIOR to coming to your lab. Wirewapping takes a fair amount of time, especially when you are inexperienced. Please start early. Part A In this part of the lab you will install and LED output circuit on your PCB. The circuit will be placed as shown in Figure 1. In order to properly orient the LED DIP, you must determine which side has the LED anodes and which has the cathodes. If necessary, use your 3701 breadboard to perform an experiment to determine these positions. Think carefully about how you will orient the DIP LED pack on your PCB. Once the anode/cathode
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 / 4

lab3_s11_switch_led_loop_LSA - 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