SLASF24 December 2023 TAC5112
ADVANCE INFORMATION
The device supports up to 12 programmable digital biquad filters available for ADC signal chain limited to 3/channel. These highly efficient filters achieve the desired frequency response. The TAC5112 also supports on-the-fly programmable Biquad filters for two-channel record use cases. 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 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 coefficient values before powering up any ADC channels for recording. In two-channel use case, the TAC5112 also supports on-the-fly programmable filters. In this case, the 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-31, these biquad filters can be allocated for each output channel based on the ADC_DSP_BQ_CFG[1:0] register setting of P0_R114. By setting BIQUAD_CFG[1:0] to 2'b00, the biquad filtering for all record channels is 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_R114_D[3:2] REGISTER SETTING | ||
---|---|---|---|
ADC_DSP_BQ_CFG[1:0] = 2'b01 (1 Biquad per Channel) | ADC_DSP_BQ_CFG[1:0] = 2'b10 (Default) (2 Biquads per Channel) | ADC_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-32 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 | P8_R8-R27 | Biquad filter 7 | P9_R8-R27 |
Biquad filter 2 | P8_R28-R47 | Biquad filter 8 | P9_R28-R47 |
Biquad filter 3 | P8_R48-R67 | Biquad filter 9 | P9_R48-R67 |
Biquad filter 4 | P8_R68-R87 | Biquad filter 10 | P9_R68-R87 |
Biquad filter 5 | P8_R88-R107 | Biquad filter 11 | P9_R88-R107 |
Biquad filter 6 | P8_R108-R127 | Biquad filter 12 | P9_R108-R127 |