SBAA497B May 2021 – April 2022 PCM3120-Q1 , PCM5120-Q1 , PCM6120-Q1 , TLV320ADC3120 , TLV320ADC5120 , TLV320ADC6120
Coefficients of Digital Biquad Filters can be implemented by running a command script to send an I2C command to the EVM. The following script segment shows how to program the coefficients for a set of filters for 5-dB boost at 500 Hz with a bandwidth of 400 Hz, cut –5 dB at 2 kHz with 3-kHz bandwidth, and a Notch filter at 60 Hz with 50-Hz bandwidth for channel 1.
# Select Page 2
w 9C 00 02
# Write Coefficient N0, N1, N2, D1, D2 for Biquad Filter 1
w 9C 08 7f ff ff ff 85 dc e2 7d 74 cc 68 8f 7c 77 a7 18 86 87 f4 ee
# Write Coefficient N0, N1, N2, D1, D2 for Biquad Filter 5
w 9C 58 71 80 7d b6 a4 5b f4 41 4c 3e c3 29 5b a4 0b bf c2 40 bf 20
# Select Page 3
w 9C 00 03
# Write Coefficient N0, N1, N2, D1, D2 for Biquad Filter 9
w 9C 30 7f 95 1d c9 80 6b e4 18 7f 95 1d c9 7f 94 1b e8 80 d5 c4 6d