EasyManuals Logo

Texas Instruments C28 Series Student Guide

Texas Instruments C28 Series
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 #150 background imageLoading...
Page #150 background image
Lab 7: Event Manager
Lab 7: Event Manager
Objective
The objective of this lab is to apply the techniques discussed in module 7 and become familiar
with the programming and operation of the Event Manager and its interrupts. General-Purpose
Timer 1 and Compare 1 will be setup to generate a 2 kHz, 25% duty cycle symmetric PWM
waveform. The waveform will then be sampled with the on-chip analog-to-digital converter and
displayed using the graphing feature of Code Composer Studio. Next, Capture Unit 1 will be
setup to detect the rising and falling edges of the waveform. This information will be used to
determine the width of the pulse and duty cycle of the waveform. The results of this step will be
viewed numerically in a memory window.
Lab 7: Event Manager
Lab 7: Event Manager
(EVA)
(EVA)
ADC
RESULT0
...
data
memory
p
o
i
n
t
e
r
r
e
w
i
n
d
CPU copies
result to
buffer during
ADC ISR
GP Timer 2
GP Timer 2 triggers
ADC SOC every
20 µs (50 kHz)
connector
wire
Compare 1
PWM Circuits
Output Logic
Capture 1
FIFO FIFO
GP Timer 1
Event Manager
ADC-
INA0
Procedure
Project File
Note: LAB7 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 Lab7.pjt has been created for this lab. Open the project by clicking
on
Project Open… and look in C:\C28x\LABS\LAB7. All Build Options
have been configured like the previous lab. The files used in this lab are:
7 - 36 C28x - Event Manager

Table of Contents

Other manuals for Texas Instruments C28 Series

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments C28 Series Specifications

General IconGeneral
BrandTexas Instruments
ModelC28 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals