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.

TMS320F280049: About the function IIR_f32_setDelayLinePtr in the FPU library

Part Number: TMS320F280049


Dear team:

My customer has the following problems with the function IIR_f32_setDelayLinePtr in the FPU library:

What is the basis for setting the buffer size corresponding to this function? What is the meaning of the initial value?
Is there a corresponding relationship with zi of the filter(b,a,x,zi) function in matlab calculations? If so, what is the corresponding relationship?

Best regards

  • HI,

    From page 70 in the FPU DSP documentation,

    The delay line buffer must be 2*(n_biquads * n_delay_elements_per_biquad), since there are 4 delay elements per biquad that are single precision (32-bits) we require a total of
    8*n_biquads

    In matlab, the  zi is a delay buffer vector of length max(length(a),length(b))-1. 

    Depending on your implementation, you will need to figure out the number of biquads. 

    -Shantanu