lab8_f10 - University of Florida Electrical Computer...

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 Dr. Gugel Electrical & Computer Engineering Page 1/4 Lab 8: Asynchronous Serial Communication: Using the F28335 DSP’s SCI OBJECTIVES In this lab, we will learn how to use the Serial Communication Interface (SCI) to send and receive characters through the FTDI FT232RL USB Controller device that is directly connected to our DSP. By programming the SCI registers inside the DSP, we will be able to send and receive ASCII characters using both polling and an SCI interrupt. REQUIRED MATERIALS No new hardware is required other than a standard USB cable to go between your second USB port and your laptop or a friend’s laptop if you only have one USB port. As in previous labs, Code Composer Studio 4 (CCS4) will be used to program and debug your DSP code via the XDS100 emulator USB interface you have previously connected to your laptop. The additional USB port on the DSP board (top left) will then be used to send/receive characters to/from your laptop. Terminal emulation software such as PuTTY, Docklight or Window’s Hyperterminal will be required on your laptop to see the characters sent via the DSP’s SCI unit and also to send characters back to the DSP. You’ll also need a second USB cable as well as the previously mentioned terminal emulation software on your laptop to complete the lab. INTRODUCTION Our DSP has an internal serial communication peripheral that is very similar to the UART (Universal Asynchronous Receive/Transmit) devices of the past. This is SCI B. It has a transmit data output (SCITXDB) that can be selected as output on pin #66 of the DSP. SCI B also has a receive data input (SCIRXDB) that can be selected as input on pin #67 of the DSP. These two pins have been hardwired to the transmit and receive pins on the FTDI FT232 USB Controller (external device on your DSP board) as follows: Figure 1. FTDI FT232RL USB Controller Device (located near the top left of our DSP Board) In Figure 1., DSP_UART_RXD is connected to SCIRXDB (pin 67) on the DSP and DSP_UART_TXD is connected to SCITXDB (pin 66) on the DSP. Also found in Figure 1., is the USB connector (metal receptacle) shown on the left. The Universal Serial Bus signals and protocol will be discuss in future class lectures but are not necessary for completion of this lab. When a character is sent out SCITXDB (SCI TXD B) it is automatically converted to the required USB protocol by the FT232RL and available for viewing on your laptop via a previously mentioned terminal emulation software. Similarly if we type a character in the terminal emulation software window, it will be transmitted by your laptop to the FT232RL and converted to an asynchronous serial stream for input (SCI RXD B) in the DSP. However, as with all devices that use
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 07/11/2011.

Page1 / 4

lab8_f10 - University of Florida Electrical Computer...

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