Ok. I paste my code here. Maybe it is a liitle "puerile" code.
const float H[25]={ 0,0,0, 0.0012,0.0035,0.0024,-0.0088,-0.0269,-0.0272,0.0243, 0.1326, 0.249,
0.3,0.2492,0.1326,0.0243,-0.0272,-0.0269,-0.0088,0.0024,0.0035, 0.0012,0,0,0};
unsigned int Original_Data[512];
void FIR_Filter(void){
unsigned int i,j;
float temp=0.0;
for(i=24;i<512;i++){
for(j=0;j<25;j++){
temp+=( H[j] * Original_Data[i-j] );
}
Original_Data[(i-24)]=(unsigned int) temp;
temp=0.0;
}
}
Thanks a lot to anyone who gives me ideas!