Beruflich Dokumente
Kultur Dokumente
LAB 1 REPORT
Software initialization and first LED demonstrations
Using TMS320C5515 eZDSPTM USB Stick
In-
Trung Le
In-
ID: 41103857
February, 27th
Lab 1 report
Table of Contents
Table of Contents..........................................1
Abstract........................................................2
Introduction..................................................3
Code Composer Studio Installation steps......4
Hardware configuration steps.......................5
LEDs display demonstrations........................6
Conclusion..................................................10
References..................................................11
Lab 1 report
Abstract
This report outlines steps to get started with
TMS320C5515 eZDSPTM USB Stick Development
Tool, including Code Composer Studio
installation and hardware configuration. This
report also presents three brief demonstrations
using 4 LEDs of the board.
Lab 1 report
Introduction
TMS320C5515 eZDSPTM
USB Stick Development
Tool is a small form factor,
very low cost USB-powered
DSP development tool
which includes all the
hardware and software
needed to evaluate the
industrys lowest power 16bit DSP : TMS320C5515.
C5515 provides a
foundation for a range of
signal processing
applications, including
voice recorder, musical
instruments, portable
medical solutions and other consumer electronics in industrial
and security applications. [1]
TMS320C5515 eZdsp USB Stick Development Tool
Lab 1 report
Lab 1 report
Lab 1 report
Lab 1 report
on the
Lab 1 report
printf(" User LED tests toggles each of the four user LEDs 6 times\n");
SYS_EXBUSSEL = 0x6000; // Enable user LEDs on external bus
USBSTK5515_ULED_init( );
/* Running LED test */
for ( j = 0 ; j < 6 ; j++ )
{
for ( i = 0 ; i < 4 ; i++ )
{
if ( USBSTK5515_ULED_on( i ) ) // Turn on user LED i
return 1;
USBSTK5515_waitusec( 50000 );
}
for ( i = 0 ; i < 4 ; i++ )
{
if ( USBSTK5515_ULED_off( i ) ) // Turn off user LED i
return 2;
USBSTK5515_waitusec( 50000 );
}
}
USBSTK5515_ULED_setall( 0x00 );
return 0;
}
Lab 1 report
2.Left-shift 4 OLEDs
Open uled project -> double-click on uled_test.c ->
modify the loop as follows:
/* Running LED test */
for ( j = 0 ; j < 6 ; j++ )
{
for ( i = 0 ; i < 4 ; i++ )
{
if ( USBSTK5515_ULED_on( 3-i ) ) // Turn on user LED i
return 1;
USBSTK5515_waitusec( 50000 );
}
for ( i = 0 ; i < 4 ; i++ )
{
if ( USBSTK5515_ULED_off( 3-i ) ) // Turn off user LED i
return 2;
USBSTK5515_waitusec( 50000 );
}
}
The 4 LEDs now blink from right to left, one after another in 6 loops.
Lab 1 report
return 0;
The 4 LEDs now become a 4-bit counter with each LED represents one of four
bits. The counter counts up from 0 to 15 and return to 0 to start over again.
Lab 1 report
Conclusion
In this lab experiment session, we succeeded to get the Code
Composer Studio installed on our laptops as well as managed to
configure CCS to be compatible with TMS320C5515 eZDSPTM USB
Stick. We also succeeded to run our first demonstrations on the 4 LEDs
by modifying the example source codes supplied with the tool.
We can expand further by modifying the example codes to get the 4
LEDs become a 4-bit counter counting down from 15 to 0, simply by
replacing the line
for ( j = 15 ; j >= 0 ; j-- )
by
for ( j = 0 ; j >= 15 ; j++ )
Lab 1 report
References
[1] Texas Instruments, C5515 eZDSP USB Stick Development Tool
description and features, http://www.ti.com/tool/tmdx5515ezdsp,
retrieved on February, 27th 2014.
[2] sensorasia, TMS320C5515_eZdip_USB stick.MP4,
http://www.youtube.com/watch?v=ZFnvH1iZoY8, retrieved on
February, 27th 2014.
Illustrating images of C5515 eZDSP USB Stick Development Tool are
taken from http://www.ti.com.
All source codes in this report are taken from the usbstk5515_v1 library
associated with C5515 eZDSP USB Stick Development Tool, provided by
Spectrum Digital Inc..