This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28335: LPF on tms320f28335

Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE

Dear Sir,

I am working with TMS320f28335 and trying to implement digital low pass filter for 50 HZ signal, Implemented IIR filter but the output is same as the input.

Simulated same signal on Pspice and it shows the correct output as attached in text file. Please guide me how to get filter coefficients for LPF.

Fs=18200 Hz,

Fc=50 Hz

N=5

Input Signal

sineval=1*sin(Rad)+ 0.03*sin(3*Rad)+0.5*sin(5*Rad)+0.2*sin(7*Rad)+0.02*sin(9*Rad)+0.11*sin(11*Rad)+0.1*sin(13*Rad); 

sineval=1*sin(Rad)+ 0.03*sin(3*Rad)+0.5*sin(5*Rad)+0.2*sin(7*Rad)+0.02*sin(9*Rad)+0.11*sin(11*Rad)+0.1*sin(13*Rad); //Q15

Rad =Rad+0.02453125;


array_ir[ConversionCount]=sineval;//abc_dq0_pos2.d;
 firFP.input=sineval; 
 firFP.calc(&firFP);
 array_iy[ConversionCount]=firFP.output;

Please suggest how to solve this issue.

Regards

Manish Girase