113D_1_113D_1_10W_EE113D_TAlecture4

113D_1_113D_1_10W_EE113D_TAlecture4 - Low-Pass Filter:...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Low-Pass Filter: Performance Specification 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Digital FIR Implementation Difference equation implemented as a set of delays and gains Each output requires calculation of N taps Must remember the N-1 last inputs (store in circular buffer!) The gain factors determine the filter response 2
Background image of page 2
Experiment 2: FIR Filtering Part 1 a) Design a FIR filter (coefficients) using MATLAB b) Scale coefficients for loading into DSP Part 2 a) Implement the designed FIR filter on TMS320C54x 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Part 1 a): Design Filter Coefficients 1. In MATLAB, open up ‘fdatool’ 2. Enter desired filter specifications (see handout) 3. Run tool to generate filter coefficients 4. Verify filter satisfies specifications by zooming in on the magnitude response 5. Export coefficients to workspace File->Export… 6. Quantize and scale coefficients Integers in range [-2 15 ,2 15 -1] 4
Background image of page 4
Part 1 b): Scaling and Quantizing Coefficients MATLAB returns coefficients in double- precision floating point To scale down for use on DSP, choose largest scaling factor such that the range of scale*coefficients is between is between [-2 15 ,2 15 -1] Truncate to integer value (remove decimals) by using floor(scale*coefficients) Qutput quantized coefficients to a .asm file for loading into the DSP (export2asm.m) 5
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 16

113D_1_113D_1_10W_EE113D_TAlecture4 - Low-Pass Filter:...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online