Lab 8: IQmath FIR Filter
Lab 8: IQmath FIR Filter
Objective
The objective of this lab is to apply the techniques discussed in module 8 and to become familiar
with IQmath programming. In the previous lab, General-Purpose Timer 1 and Compare 1 from
Event Manager A (EVA) were setup to generate a 2 kHz, 25% duty cycle symmetric PWM
waveform. The waveform was then sampled with the on-chip analog-to-digital converter. In this
lab the sampled waveform will be passed through an IQmath FIR filter and displayed using the
graphing feature of Code Composer Studio.
Lab 8:
Lab 8:
IQmath
IQmath
FIR Filter
FIR Filter
CPU copies
result to
buffer during
ADC ISR
ADC
RESULT0
GP Timer 2
GP Timer 2 triggers
ADC SOC every
20
µ
s (50 kHz)
connector
wire
Compare 1
PWM Circuits
Output Logic
GP Timer 1
Event Manager
ADCINA0
...
data
memory
p
o
in
te
r
re
w
in
d
Display
Display
using CCS
using CCS
IQmath
IQmath
FIR Filter
FIR Filter
Procedure
Project File
Note:
LAB8
files have been provided as a starting point for the lab and need to be
completed
. DO NOT copy files from a previous lab.
1. A project named
Lab8.pjt
has been created for this lab. Open the project by clicking
on
Project Open…
and look in
C:\C28x\LABS\LAB8
. All Build Options
have been configured like the previous lab. The files used in this lab are:
8 - 36
C28x - Numerical Concepts & IQmath
Summary of Contents for C28 Series
Page 64: ...Summary 3 16 C28x Peripheral Registers Header Files ...
Page 78: ...Interrupt Sources 4 14 C28x Reset and Interrupts ...
Page 218: ...Lab 9 DSP BIOS 9 22 C28x Using DSP BIOS ...
Page 244: ...Lab 10 Programming the Flash 10 26 C28x System Design ...
Page 273: ...Appendix A eZdsp F2812 C28x Appendix A eZdsp F2812 A 1 ...
Page 276: ...Appendix P2 Expansion Interface A 4 C28x Appendix A eZdsp F2812 ...
Page 277: ...Appendix P4 P8 P7 I O Interface C28x Appendix A eZdsp F2812 A 5 ...
Page 278: ...Appendix A 6 C28x Appendix A eZdsp F2812 ...
Page 279: ...Appendix P5 P9 Analog Interface C28x Appendix A eZdsp F2812 A 7 ...
Page 282: ...Appendix A 10 C28x Appendix A eZdsp F2812 TP1 TP2 Test Points ...