{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

113D_1_113D_1_10W_EE113D_TAlecture4

# 113D_1_113D_1_10W_EE113D_TAlecture4 - Low-Pass Filter...

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

Low-Pass Filter: Performance Specification 1

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

View Full Document
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
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

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

View Full Document
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
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

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern