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.
Hi,
is it possible to receive an overview or matlab code to calculate the filter coefficients for the TAS2505 without using the TI Biquad Coefficient Calculator ?
I found the application note SLAA447 which contains some matlab code to calculate coefficients. on the following pages the hex coefficients are the same that the ti biquad coefficient calculator calculates - however using the matlab code im getting different results for the equalizer filter.
Can you share your equalizer calculation from the ti tool so that I can calculate the equalizer coefficients in matlab ?
Page 13 of SLAA447 gives the following coefficients for the equalizer:
N0 = 7f ff
N1 = 82 fd
N2 = 7a ce
D1 = 7e c5
D2 = 81 ac
Using the code on page 12 im getting this on matlab:
N0 = 7f 77
N1 = 85 36
N2 = 76 55
D1 = 7e 09
D2 = 83 23
Best Regards
Sebastian
Hi, Sebastian,
This app note shares all the calculation formulas that the TI biquad calculator tool uses. I think the difference on the tool is the number of bits to be used for the coefficient calculation. I suggest to modify the number of bits being used on the code or on the biquad coefficients calculator. They should have the same results.
Please let me know if you have additional questions or comments.
Best regards,
Luis Fernando Rodríguez S.