SBAA378B November 2019 – December 2023 PCM3140-Q1 , PCM5140-Q1 , PCM6140-Q1 , TLV320ADC3140 , TLV320ADC5140 , TLV320ADC6140
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.
Programmable Biquad Filter | Record 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 Channels | Supports up to 6 Channels | Supports up to 4 Channels | |
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 | Allocated to output channel 5 | Allocated to output channel 5 | Allocated to output channel 1 |
Biquad filter 10 | Allocated to output channel 6 | Allocated to output channel 6 | Allocated to output channel 2 |
Biquad filter 11 | Allocated to output channel 7 | Allocated to output channel 5 | Allocated to output channel 3 |
Biquad filter 12 | Allocated to output channel 8 | Allocated to output channel 6 | Allocated to output channel 4 |
Table 3-3 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 | P2_R8-R27 | Biquad filter 7 | P3_R8-R27 |
Biquad filter 2 | P2_R28-R47 | Biquad filter 8 | P3_R28-R47 |
Biquad filter 3 | P2_R48-R67 | Biquad filter 9 | P3_R48-R67 |
Biquad filter 4 | P2_R68-R87 | Biquad filter 10 | P3_R68-R87 |
Biquad filter 5 | P2_R88-R107 | Biquad filter 11 | P3_R88-R107 |
Biquad filter 6 | P2_R108-R127 | Biquad filter 12 | P3_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.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DVOL_GANG | BIQUAD_CFG[1:0] | DISABLE_ SOFT_STEP | AGC_SEL | Reserved | |||
R/W-0h | R/W-2h | R/W-0h | R/W-0h | R/W-0h |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DVOL_GANG | BIQUAD_CFG[1:0] | DISABLE_ SOFT_STEP | AGC_ DRE_AGC_SEL | Reserved | |||
R/W-0h | R/W-2h | R/W-0h | R/W-0h | R/W-0h |
BIT | FIELD | TYPE | RESET | DESCRIPTION |
---|---|---|---|---|
7 | DVOL_GANG | R/W | 0h | DVOL 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-5 | BIQUAD_CFG[1:0] | R/W | 2h | Number 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 |
4 | DISABLE_SOFT_STEP | R/W | 0h | Soft-stepping disable during DVOL change, mute, and unmute 0d = Soft-stepping enabled 1d = Soft-stepping disabled |
3 | AGC_SEL (TLV320ADC3140) | R/W | 0h | AGC 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-0 | Reserved | R/W | 0h | Reserved |