JAJST74 January 2024 TAC5212-Q1
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 TAC5212-Q1 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 4 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. The programmable coefficients for the mixer operation are located in the and sections. If biquad filtering is required, then the host device must write these coefficients values before powering up any ADC channels for recording. In two channel use case, the TAC5212-Q1 also supports on the fly programmable filters. In this case, Device uses two banks of filters for one channel with a switch bit to perform the switch from one filter bank to the other. As described in Table 7-32, 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-33 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 |