SBAA378B November   2019  – December 2023 PCM3140-Q1 , PCM5140-Q1 , PCM6140-Q1 , TLV320ADC3140 , TLV320ADC5140 , TLV320ADC6140

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. Introduction
  5. Infinite Impulse Response Filters
    1. 2.1 Digital Biquad Filter
  6. TLV320ADCx140/PCMx140-Q1 Digital Biquad Filters
    1. 3.1 Filter Design Using PurePath™ Console
      1. 3.1.1 Example Generating Programmable Biquad Coefficients Using PurePath Console
    2. 3.2 How to Generate N0, N1, N2, D1, and D2 Coefficients with a Digital Filter Design Package
    3. 3.3 Avoid Overflow Conditions
    4. 3.4 Digital Biquad FiIter Allocation to Output Channel
    5. 3.5 Programmable Coefficient Registers for Digital Biquad Filters 1–6
    6. 3.6 Programmable Coefficient Registers for Digital Biquad Filters 7–12
  7. How to Program the Digital Biquad Filters on TLV320ADCx140/PCMx140-Q1
  8. Typical Audio Applications for Biquad Filtering
    1. 5.1 Parametric Equalizers
  9. Crossover Networks
  10. Voice Boost
  11. Bass Boost
  12. Removing 50 Hz–60 Hz Hum With Notch Filters
  13. 10Revision History
  14. 11Digital Filter Design Techniques
    1. 11.1 Analog Filters

Digital Biquad FiIter Allocation to Output Channel

Table 3-2 shows the assignment of these biquad filters to a specific output channel based on the BIQUAD_CFG[1:0] register setting of DSP_CFG1 register. Setting BIQUAD_CFG[1:0] to 2'b00 disables the Digital Biquad Filters for all channels. Select this setting when no additional filtering is needed for the system application. Table 3-2 also shows the mapping of the biquad filter coefficients in the TLV320ADCx140/PCMx140-Q1 register space.

Table 3-2 Biquad Filter Allocation to the Record Output Channel
Programmable Biquad FilterRecord Output Channel Allocation Using DSP_CFG1 Register Setting
BIQUAD_CFG[1:0] = 2'b01
(1 Biquad per Channel)
BIQUAD_CFG[1:0] = 2'b10 (Default)
(2 Biquads per Channel)
BIQUAD_CFG[1:0] = 2'b11
(3 Biquads per Channel)
Supports all 8 ChannelsSupports up to 6 ChannelsSupports up to 4 Channels
Biquad filter 1Allocated to output channel 1Allocated to output channel 1Allocated to output channel 1
Biquad filter 2Allocated to output channel 2Allocated to output channel 2Allocated to output channel 2
Biquad filter 3Allocated to output channel 3Allocated to output channel 3Allocated to output channel 3
Biquad filter 4Allocated to output channel 4Allocated to output channel 4Allocated to output channel 4
Biquad filter 5Not usedAllocated to output channel 1Allocated to output channel 1
Biquad filter 6Not usedAllocated to output channel 2Allocated to output channel 2
Biquad filter 7Not usedAllocated to output channel 3Allocated to output channel 3
Biquad filter 8Not usedAllocated to output channel 4Allocated to output channel 4
Biquad filter 9Allocated to output channel 5Allocated to output channel 5Allocated to output channel 1
Biquad filter 10Allocated to output channel 6Allocated to output channel 6Allocated to output channel 2
Biquad filter 11Allocated to output channel 7Allocated to output channel 5Allocated to output channel 3
Biquad filter 12Allocated to output channel 8Allocated to output channel 6Allocated to output channel 4

Table 3-3 shows the biquad filter coefficients mapping to the register space.

Table 3-3 Biquad Filter Coefficients Register Mapping
Programmable Biquad FilterBiquad Filter Coefficients Register MappingProgrammable Biquad FilterBiquad Filter Coefficients Register Mapping
Biquad filter 1P2_R8-R27Biquad filter 7P3_R8-R27
Biquad filter 2P2_R28-R47Biquad filter 8P3_R28-R47
Biquad filter 3P2_R48-R67Biquad filter 9P3_R48-R67
Biquad filter 4P2_R68-R87Biquad filter 10P3_R68-R87
Biquad filter 5P2_R88-R107Biquad filter 11P3_R88-R107
Biquad filter 6P2_R108-R127Biquad filter 12P3_R108-R127

The DSP_CFG1 Register also determines the number of biquads used through the BIQUAD_CFG bit field shown in Table 3-4 and Table 3-5.

Table 3-4 TLV320ADC3140 DSP_CFG1 Register
76543210
DVOL_GANGBIQUAD_CFG[1:0]DISABLE_
SOFT_STEP
AGC_SELReserved
R/W-0hR/W-2hR/W-0hR/W-0hR/W-0h
Table 3-5 TLV320ADC5140 and TLV320ADC6140 DSP_CFG1 Register
76543210
DVOL_GANGBIQUAD_CFG[1:0]DISABLE_
SOFT_STEP
AGC_ DRE_AGC_SELReserved
R/W-0hR/W-2hR/W-0hR/W-0hR/W-0h
Table 3-6 DSP_CFG1 Register Field Descriptions
BITFIELDTYPERESETDESCRIPTION
7DVOL_GANGR/W0hDVOL control ganged across channels
0d = Each channel has its own DVOL CTRL settings as programmed in the CHx_DVOL bits

1d = All active channels must use the channel 1 DVOL setting (CH1_DVOL) irrespective of whether channel 1 is turned on or not
6-5BIQUAD_CFG[1:0]R/W2hNumber of biquads per channel configuration
0d = No biquads per channel; biquads are all disabled

1d = 1 biquad per channel

2d = 2 biquads per channel

3d = 3 biquads per channel
4DISABLE_SOFT_STEPR/W0hSoft-stepping disable during DVOL change, mute, and unmute
0d = Soft-stepping enabled

1d = Soft-stepping disabled
3AGC_SEL (TLV320ADC3140)R/W0hAGC selection when is enabled for any channel.
0d = AGC is not selected
1d = AGC is selected
DRE_AGC_SEL (TLV320ADC5140 and TLV320ADC6140)DRE or AGC selection when is enabled for any channel.
0d = DRE is selected
1d = AGC is selected
2-0ReservedR/W0hReserved