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.

AM62D-Q1: Calculation of DSPLIB_BIQUAD_TIF biquad coeffs

Part Number: AM62D-Q1

Hi, 
   I am trying to replicate the cycle counts reported in DSPLIB user guide performance section.  I have a couple of questions.
1)Using examples in the SDK release, I am able to almost match the cycles given in the document when I use DSPLIB_BIQUAD_TIF. When I use DSPLIB_BIQUAD_DF1, the cycles are higher. I am not sure the reference given in the document refers to which form of biquad. Please let me know.

2)I just used coeffs and gain used in example code. I would like to know how to calculate the Coeff's and gain for DSPLIB_BIQUAD_TIF filter.

Please point me to the reference if it is already there.

Below is the details about the setup

using AM62D SDK version 11.02.23.10

have followed the DSPLIB build instruction at this link :https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j722s/10_01_00_04/exports/docs/dsplib/do…

EVM : AM62D

Thanks in advance. 

  • Hi Gayathri,

    1)Using examples in the SDK release, I am able to almost match the cycles given in the document when I use DSPLIB_BIQUAD_TIF. When I use DSPLIB_BIQUAD_DF1, the cycles are higher. I am not sure the reference given in the document refers to which form of biquad. Please let me know.

    You are right. The cycles reported in the documentation is for TI Form. 

    2)I just used coeffs and gain used in example code. I would like to know how to calculate the Coeff's and gain for DSPLIB_BIQUAD_TIF filter.

    Please point me to the reference if it is already there.

    In the DSPLIB test folder, there is folder named DSPLIB_idat_gen (DSPLIB/test/DSPLIB_idat_gen/DSPLIB_cascadeBiquad), which has the python source for how we generate the coefficients. Let me know if that helps or you need more help.


    Thanks,
    Shreyansh

  • Hi Shreyansh

    Thank you for the clarification and guidance. This was very helpful.

    Thanks,

    Gayathri V