ΣSigmaStudio Ask AI Русский Log in

How to update the fir coefficient dynamically in SHARC dsp?

Processors & DSP john_cheng Dec 7, 2020 00:00 1 replies Original on forum ↗
Subscribe
john_cheng Question
Dec 7, 2020 00:00

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

ADIApproved Reply
Dec 24, 2020 00:00

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.