The TMS320C6745 DSP Development Board is specially desgined for developers in dsp field as well as beginners. The kit is designed in such way that all the possible features of the DSP will be easily used by the everyone.
The kit supports in Code Composer Studio3.1 and later, with XDS100 v1 USB Emulator which is done USB port.
LED’s
A Light Emitting Diodes (LEDs) are the most commonly used components, usually for displaying pin’s digital states.
Interfacing LED with TMS320C6745
The TMS320C6745 EVB board has twelve LED Connected with Dsp I/O pins (details tabulated below). The cathode of each LED connects to ground and Anode of each LED connects port via 180Ω resistor. To light an individual LED, drive the associated port signal to High.
Circuit Diagram to Interface LED’s with TMS320C6745
C Program to Interface LED’s with TMS320C6745 KIT
Title: C Program to On/OFF LED using TMS320C6745 KIT
#define Uint32 unsignedint
void DelayMs(Uint32 Ms);
void main()
{
Uint32 *gpio_dir01,*gpio_out_data01;
gpio_dir01 = (Uint32 *)0x01E26010;
gpio_out_data01 = (Uint32 *)0x01E26014;
*gpio_dir01 = 0xF000FFFF;
while(1)
{
*gpio_out_data01 = 0x0FFF0000;
DelayMs(100);
*gpio_out_data01 = 0x00000000;
DelayMs(100);
*gpio_out_data01 = 0x05550000;
DelayMs(100);
*gpio_out_data01 = 0x0AAA0000;
DelayMs(100);
}
}
void DelayMs(Uint32 Ms)
{
Uint32 i;
while(Ms>0)
{
for(i=0;i<300000;i++);
Ms--;
}
}