Digital Signal Processing Reference
In-Depth Information
for (i = 0; i< N; i++)
yn += (h[i] * dly[i]); //y(n) += h(i)* x(n-i)
for (i = N-1; i > 0; i—) //starting @ end of buffer
dly[i] = dly[i-1];
//update delays with data
move
output_sample(yn >> 15); //scale output filter
return;
}
void main()
{
comm_intr();
//init DSK, codec, McBSP
while(1);
//infinite loop
}
Step 3: Setting up the 6711 DSK for filter implementation
The steps for this exercise are given in detail in Section 8.2. However, the
main instructions are again summarized below.
Initial setting up of the equipment
• Connect the parallel printer port cable between the parallel port
on the DSK board (J2) and the parallel printer port on the back
of the computer.
• Connect the 5V power supply to the power connector next to the
parallel port on the DSK board (J4). You should see 3 LEDs blink
next to some dip switches.
Once the DSK board is connected to your PC and the power supply
has been connected, you can start CCS.
To do this, click on Start , go to Program , and then go to Texas
Instruments , then Code Composer Studio DSK Tools 2 ('C6000) ,
select CCStudio .
Or from Desktop click on CCS-DSK 2 ('C6000) .
Creating a new project file
In CCS, select Project and then New . A window named Project
Creation will appear.
In the field labeled Project Name , enter filtering_signal&noise . In
the field Location , click on the on the right side of the field and
browse to the folder c:\ti\myprojects\filtering_signal&noise\ .
In the field Project Type , verify that Executable (.out) is selected,
and in the field Target , verify that TMS320C67XX is selected.
Search WWH ::




Custom Search