Description: #include "DSP2833x_Device.h" // DSP2833x Headerfile Include File
#include "DSP2833x_Examples.h" // DSP2833x Examples Include File
//#include "f2812a.h"
#include"math.h"
#define FIRNUMBER 25
#define SIGNAL1F 1000
#define SIGNAL2F 4500
#define SAMPLEF 10000
#define PI 3.1415926
float InputWave()
float FIR()
float fHn[FIRNUMBER]={ 0.0,0.0,0.001,-0.002,-0.002,0.01,-0.009,
-0.018,0.049,-0.02,0.11,0.28,0.64,0.28,
-0.11,-0.02,0.049,-0.018,-0.009,0.01,
-0.002,-0.002,0.001,0.0,0.0
}
float fXn[FIRNUMBER]={ 0.0 }
float fInput,fOutput
float fSignal1,fSignal2
float fStepSignal1,fStepSignal2
float f2PI
int i
float fIn[256],fOut[256]
int nIn,nOut
To Search:
File list (Check if you may need any files):
lab501-FIR\cc_build_Debug.log
..........\Debug.lkf
..........\f2812a.h
..........\fir.c
..........\fir.cmd
..........\Fir.paf2
..........\Fir.pjt
..........\Fir.sbl
..........\sina1.dat
..........\sine.dat
..........\Debug\Fir.map
..........\.....\fir.obj
..........\.....\fir.out
..........\Fir.CS_\FILE.CDX
..........\.......\FILE.DBF
..........\.......\FILE.FPT
..........\.......\SYMBOL.CDX
..........\.......\SYMBOL.DBF
..........\.......\SYMBOL.FPT
..........\Debug
..........\Fir.CS_
lab501-FIR