Professional Documents
Culture Documents
Lab # 16
1. We need to realize the Butter worth band pass IIR filter by implementing the difference
equation y[n] = b0x[n] + b1x[n-1]+b2x[n-2]-a1y[n-1]-a2y[n-2] where b0 b2, a0-a2 are
feed forward and feedback word coefficients respectively [Assume 2nd order of
filter].These coefficients are calculated using MATLAB.A direct form I implementation
approach is taken.
2. Initialize the McBSP, the DSP board and the on board codec as per the procedural steps
mentioned in previous experiments.
3. Initialize the discrete time system , that is , specify the initial conditions. Generally zero
initial conditions are assumed.
4. Take sampled data from codec while input is fed to DSP kit from the signal generator.
Since Codec is stereo , take average of input data read from left and right channel . Store
sampled data at a memory location.
5. Perform filter operation using above said difference equation and store filter Output at a
memory location .
6. Output the value to codec (left channel and right channel) and view the output at
Oscilloscope.
7. Go to step 3.
VVIT
Page 1
VVIT
Page 2
Page 3
VVIT
Page 4
RESULT:
Butter worth band pass IIR filter is designed and an input signal is filtered with the designed
filter using DSK6713.
VVIT
Page 5