EXPT 10 Circular Conv Using DSP Kit
EXPT 10 Circular Conv Using DSP Kit
Processor
• TI TMS320C6748 DSP Application Processor.
• 456-MHz C674x Fixed/Floating Point DSP.
• On-Chip RTC.
Memory
• 128 MByte DDR2 SDRAM running at 150MHz.
• 128 MByte 16-bit wide NAND FLASH.
• 1 Micro SD/MMC Slot.
Interfaces
• One mini-USB Serial Port (on-board serial to USB)
• One Fast Ethernet Port (10/100 Mbps) with status LEDs
• One USB Host port (USB 1.1)
• One SATA Port (3Gbps)
• One LCD Port (Beagleboard XM connectors)
• One Leopard Imaging Camera Sensor Input (36-pin ZIP
connector)
• Three AUDIO Ports (1 LINE IN-J55 & 1 LINE OUT-J56 & 1 MIC
IN-J57)
• 14-pin JTAG header (No onboard emulator; external emulator
is required)
#include<stdio.h>
int main()
{
printf("Hello DSP LCDK");
return 0;
}
6. DEBUG
After successful Build, connect the kit with the system using
the JTAG emulator and power the kit. Click the Debug as shown
in the below figure.
Once you run the program the output will be printed in the
Console Window.
CIRCULAR CONVOLUTION:
/*Circular convolution*/
for(i=0;i<n;i++)
y[0]+=x[i]*a[i];
for(k=1;k<n;k++)
{
y[k]=0;
/*circular shift*/
for(j=1;j<n;j++)
x2[j]=a[j-1];
x2[0]=a[n-1];
for(i=0;i<n;i++)
106
{
a[i]=x2[i];
y[k]+=x[i]*x2[i];
}
}
/*displaying the result*/
printf(" the circular convolution is\n");
for(i=0;i<n;i++)
printf("%d \t",y[i]);
}
Conclusion: