Lab 9: DSP/BIOS
Lab 9: DSP/BIOS
Objective
The objective of this lab is to apply the techniques discussed in module 9 and to become familiar
with DSP/BIOS. In this lab exercise, we are going to change the ADCINT_ISR HWI to a SWI.
Then, we will replace the LED blink routine with a Periodic Function. Also, some features of the
real-time analysis tools will be demonstrated.
Lab 9: DSP/BIOS
Lab 9: DSP/BIOS
Objective:
Objective:
Change ADCINT_ISR
Change ADCINT_ISR
HWI to SWI
HWI to SWI
Replace LED blink
Replace LED blink
routine with a
routine with a
Periodic Function
Periodic Function
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:
LAB9
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
Lab9.pjt
has been created for this lab. Open the project by clicking
on
Project Open…
and look in
C:\C28x\LABS\LAB9
. All Build Options
have been configured like the previous lab. The files used in this lab are:
Note:
Due to a bug in CCS and DSP/BIOS, the configuration file name (.cdb) and the project
output (.out) and map (.map) names must be the same. Therefore, in this module the
Build Options output and map file names will be lab.out and map.out, respectively.
C28x - Using DSP/BIOS
9 - 15
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 ...