SLASFC1 December 2023 TAD5212
ADVANCE INFORMATION
The device supports up to 12 programmable digital biquad filters available for DAC signal chain limited to 3/channel. These highly efficient filters achieve the desired frequence response. The TAD5212 also supports on the fly programmable Biquad filters for two channel playback use case. In digital signal processing, a digital biquad filter is a second-order, recursive linear filter with two poles and two zeros. Equation 2 gives the transfer function of each biquad filter:
The frequency response for the biquad filter section with default coefficients is flat at a gain of 0 dB (all-pass filter). The host device can override the frequency response by programming the biquad coefficients to achieve the desired frequency response for a low-pass, high-pass, or any other desired frequency shaping. As described in Table 7-16, these biquad filters can be allocated for each output channel based on the DAC_DSP_BQ_CFG[1:0] register setting of P0_R115. By setting DAC_DSP_BQ_CFG[1:0] to 2'b00, the biquad filtering for all playback channels are disabled and the host device can choose this setting if no additional filtering is required for the system application. See the TAC5212 Programmable Biquad Filter Configuration and Applications application report for further details.
PROGRAMMABLE BIQUAD FILTER | RECORD OUTPUT CHANNEL ALLOCATION USING P0_R115_D[3:2] REGISTER SETTING | ||
---|---|---|---|
DAC_DSP_BQ_CFG[1:0] = 2'b01 (1 Biquad per Channel) | DAC_DSP_BQ_CFG[1:0] = 2'b10
(Default) (2 Biquads per Channel) | DAC_DSP_BQ_CFG[1:0] = 2'b11 (3 Biquads per Channel) | |
Biquad filter 1 | Allocated to output channel 1 | Allocated to output channel 1 | Allocated to output channel 1 |
Biquad filter 2 | Allocated to output channel 2 | Allocated to output channel 2 | Allocated to output channel 2 |
Biquad filter 3 | Allocated to output channel 3 | Allocated to output channel 3 | Allocated to output channel 3 |
Biquad filter 4 | Allocated to output channel 4 | Allocated to output channel 4 | Allocated to output channel 4 |
Biquad filter 5 | Not used | Allocated to output channel 1 | Allocated to output channel 1 |
Biquad filter 6 | Not used | Allocated to output channel 2 | Allocated to output channel 2 |
Biquad filter 7 | Not used | Allocated to output channel 3 | Allocated to output channel 3 |
Biquad filter 8 | Not used | Allocated to output channel 4 | Allocated to output channel 4 |
Biquad filter 9 | Not used | Not used | Allocated to output channel 1 |
Biquad filter 10 | Not used | Not used | Allocated to output channel 2 |
Biquad filter 11 | Not used | Not used | Allocated to output channel 3 |
Biquad filter 12 | Not used | Not used | Allocated to output channel 4 |
Table 7-17 shows the biquad filter coefficients mapping to the register space.
PROGRAMMABLE BIQUAD FILTER | BIQUAD FILTER COEFFICIENTS REGISTER MAPPING | PROGRAMMABLE BIQUAD FILTER | BIQUAD FILTER COEFFICIENTS REGISTER MAPPING |
---|---|---|---|
Biquad filter 1 | P16_R8-R27 | Biquad filter 7 | P17_R8-R27 |
Biquad filter 2 | P16_R28-R47 | Biquad filter 8 | P17_R28-R47 |
Biquad filter 3 | P16_R48-R67 | Biquad filter 9 | P17_R48-R67 |
Biquad filter 4 | P16_R68-R87 | Biquad filter 10 | P17_R68-R87 |
Biquad filter 5 | P16_R88-R107 | Biquad filter 11 | P17_R88-R107 |
Biquad filter 6 | P16_R108-R127 | Biquad filter 12 | P17_R108-R127 |