{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

113D_1_113D_1_10W_EE113D_TAlecture4

113D_1_113D_1_10W_EE113D_TAlecture4 - Low-Pass Filter...

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

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

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

View Full Document Right 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
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
Image of page 3

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

View Full Document Right 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
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
Image of page 5

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern