SLAAEH6 September   2024 TAA5212 , TAA5412-Q1 , TAC5111 , TAC5111-Q1 , TAC5112 , TAC5211 , TAC5212 , TAC5212-Q1 , TAC5311-Q1 , TAC5312-Q1 , TAC5411-Q1 , TAC5412-Q1 , TAD5112 , TAD5112-Q1 , TAD5212 , TAD5212-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Infinite Impulse Response Filters
    1. 2.1 Digital Biquad Filter
  6. 3TAC5x1x and TAC5x1x-Q1 Digital Biquad Filters
    1. 3.1 Filter Design using PurePath™ Console
      1. 3.1.1 Example of Programming Biquad Filters Using PurePath™ Console
    2. 3.2 Generating Coefficients N0, N1, N2, D1, D2 using a Digital Filter Design Package
    3. 3.3 Avoiding Overflow Conditions
    4. 3.4 Biquad Filter Allocation on Recording Channel
    5. 3.5 Biquad Filter Allocation on Playback Channel
    6. 3.6 Biquad Filter Programming Example on the TAC5x1x
  7. 4Typical Audio Applications of Biquad Filters
    1. 4.1 Parametric Equalizers
    2. 4.2 Crossover Networks
    3. 4.3 Voice Boost
    4. 4.4 Bass Boost
    5. 4.5 Removing 50Hz–60Hz Hum With Notch Filters
  8. 5Summary
  9. 6References

Introduction

The TAC5x1x and TAC5x1x-Q1 family of audio codecs have separate signal chains for recording (though analog and or digital microphones) and for playback (through DAC) of audio signals.

Each channel of the recording path follows the signal chain shown in Figure 1-1. This signal chain supports an analog differential or single-ended signal or a digital pulse density modulation (PDM) digital microphone. In TAC5x1x and TAC5x1x-Q1 device families, the analog input signal is converted by a high-performance ADC into a digital signal. The digital signal has a programmable phase calibration to adjust the phase delay of each channel in steps of one modulator clock cycle. This allows the system to match the phase across different channels. The phase-calibrated digital signal is then decimated through a set of linear phase filters or low-latency decimation filters. DC offset is removed from the decimated signal through a Digital High-Pass Filter (HPF) with three pre-set cutoff frequencies or a fully programmable cutoff frequency. The output of the HPF is gain calibrated with 0.1dB steps and summed with other channels. The gain calibration matches the gain across different channels, particularly if the channels have microphones with varying gain values. The output is then filtered by the Digital Biquad Filters and, in the case of secondary ASI, is parsed through a sample rate converter, before being gained by the volume control.


 Recording (ADC) Path Signal
                Chain

Figure 1-1 Recording (ADC) Path Signal Chain

Similarly each channel of the playback path follows the signal chain shown in Figure 1-2. the signal chain contains a programmable 8x4 Mixer for the main ASI inputs, and a 2x4 programmable mixer for the axillary ASI inputs. The mixed signal is then gained up through digital volume control, and a high-pass filter similar to that on the recording channel removes any DC component present in the signal. this signal is processed through a series of biquad filters, followed by additional signal processing blocks. The processed signal is then interpolated through interpolation filters, and is converted to analog output through a digital-to-analog converter (DAC).


 Playback (DAC) Path Signal
                Chain

Figure 1-2 Playback (DAC) Path Signal Chain

This application note concentrates on how to configure the Digital Biquad Filters. The Digital Biquad Filters are digitally implemented as a set of IIR filters.