How to update the fir coefficient dynamically in SHARC dsp?
Hi!
I'm working on ADSP21479, and I've implemented the FIR function by below function:
float *fir_decima(const float _input[], float _output[],
const pm float coeffs[], float _state[],
int _num_output_samples, int _num_coeffs,
int _decimation_idx);
and it's work well. But, now I'm trying to update the coefficient after booting, and it's won't work. Because the function can just input "const pm float coeffs[]".
Can anyone tell me how to do?
Thanks in advance
John
Hi,
In order to narrow down your issue can you please confirm the below points,
>> Please confirm whether you are using CCES library function
( float *fir_decima (const float input[],
float output[],
const float pm coefficients[],
float delay[],
int num_output_samples,
int num_coeffs,
int decimation_index); ) ?
>> Are you mean that update the coefficient is working in debugging time and you are only facing the issue while booting?
Regards,
Anand Selvaraj.
Please log in to reply.