510 likes | 961 Views
“Upgrading to the TMS320C5515”. Texas Instruments University Programme Teaching Materials. Upgrading to the TMS320C5515. Introduction. We have seen how the TMS320C5505 USB Stick can be used in practical audio examples
E N D
“Upgrading to the TMS320C5515” Texas Instruments University Programme Teaching Materials
Introduction • We have seen how the TMS320C5505 USB Stick can be used in practical audio examples • Texas Instruments provides an upgrade path to the TMS320C5515 USB Stick which contains additional inputs, outputs and interfaces.
Objectives • To look at the new facilities provided using the upgrade to the TMS320C5515 USB Stick • To convert an existing TMS320C5505 USB Stick application to run on the TMS320C5515 USB Stick • To use the OLED display to display the spectrum of a Fast Fourier Transform (FFT).
TMS320C5515 USB Stick Features
TMS320C5515 Top View USB DSP SD RAM LEDs Crystal OLED Display Switches Audio In Audio Out
TMS320C5515 Bottom View Expansion Connector USB to PC Micro SD Card Socket
New Features • Two push switches to control program flow • Four user LEDs. Can be used as a bar graph • OLED Display to show text • SD RAM for additional storage • User USB Port • Micro SD Card connector.
Compatibility • Programs written for the TMS320C5505 USB Stick will run on the TMS320C5515 USB Stick without any changes. • However, the TMS320C5515 USB Stick has some additional features which can be utilized.
TMS320C5515 OLED Display
TMS320C5515 OLED Display • Has a 96 x 16 pixels display • With this display you can display: • Text to show program status • Waveforms (like an oscilloscope) • Perform spectrum analysis using the Fast Fourier Transform (FFT) • Display simple pictures.
TMS320C5515 Clock Generator
Monitoring CLKOUT • The system clock SYSCLK is on the TP3 pin • It can be measured using a digital frequency meter. Ground CLKOUT
Installing the Application • Use the code given in Application 20 Spectrum Analyser • Follow the steps previously given in Chapter 1 to set up the new project, using the changes given in the following pages.
New Project Settings Build as TMS320C5505 Huge Library
TMS320C5515 Microphone Setup USB to PC Microphone Headphones
TMS320C5515 Guitar Setup USB to PC Headphones Electric Guitar
Setup for Spectrum Analyser main.c • Microphone main.c • Guitar main.c
Debug Setup Emulator
Changing Step Step - Step +
Monitoring the XF LED • The XF LED can be used to measure the execution speed of the code using a Digital Volt Meter (DVM) or an oscilloscope. XF LED Ground
Spectrum Analyser main.c • Use main.c, but exclude main1.c by highlighting the file then right mouse click to show “Exclude File(s) from Build”. • Select this option.
Setup for Low Power Operation • Exclude main.c from the build. • Use main1.c
Monitor the PLL Frequency • Monitor the system clock SYSCLK on the TP3 pin using a digital frequency meter. Ground CLKOUT
Change PLL Frequency • Modify the value passed to pll_frequency_setup() • Supported values are 1, 2, 12, 40, 60, 75, 98, 100 and 120 MHz. • When the PLL frequency changes, so does the OLED refresh rate.
Summary • We have seen the upgrade path from the TMS320C5505 USB Stick to the TMS320C5515 USB Stick • TMS320C5505 applications will run on the TMS320C5515 without any changes • However, to fully utilize the facilities of the TMS320C5515, the new project template is required.
Questions • What modifications need to be made to TMS320C5505 applications to run them on the TMS320C5515? • What additional features does the TMS320C5515 USB Stick offer over the TMS320C5505 USB Stick?
References • TMS320C5515 eZdspTM USB Stick Technical Reference from www.spectrumdigital.com