EasyManuals Logo
Home>Texas Instruments>Microcontrollers>C2000

Texas Instruments C2000 Workshop Guide And Lab Manual

Texas Instruments C2000
342 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #211 background imageLoading...
Page #211 background image
Lab 8: IQmath FIR Filter
C2000 Microcontroller Workshop - Numerical Concepts 8 - 35
Lab 8: IQmath FIR Filter
Objective
The objective of this lab is to become familiar with IQmath programming. In the previous lab,
ePWM1A was 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 FIR filter and displayed using the graphing feature of Code
Composer Studio. The filter math type is selected in the “IQmathLib.h” file.
Lab 8: IQmath FIR Filter
CPU copies
result to
buffer during
ADC ISR
ADC
RESULT0
ePWM2
connector
wire
ADCINA0
...
data
memory
Display
using CCS
TB Counter
Compare
Action Qualifier
ePWM1
ePWM2 triggering ADC on period
match using SOCA trigger every
20 µs (50 kHz)
FIR Filter
Procedure
Open the Project
1. A project named Lab8 has been created for this lab. Open the project by clicking on
Project Import CCS Projects. The “Import CCS Eclipse Projects”
window will open then click Browse… next to the “Select search-directory” box.
Navigate to: C:\C28x\Labs\Lab8\Project and click OK. Then click Finish to
import the project. All build options have been configured the same as the previous lab.
The files used in this lab are:

Table of Contents

Other manuals for Texas Instruments C2000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments C2000 and is the answer not in the manual?

Texas Instruments C2000 Specifications

General IconGeneral
BrandTexas Instruments
ModelC2000
CategoryMicrocontrollers
LanguageEnglish

Related product manuals