JAJSNO3 January 2022 TAC5111
ADVANCE INFORMATION
To remove the DC offset component and attenuate the undesired low-frequency noise content in the record data, the device supports a programmable high-pass filter (HPF). The HPF is not a channel-independent filter setting but is globally applicable for all DAC channels. This HPF is constructed using the first-order infinite impulse response (IIR) filter, and is efficient enough to filter out possible DC components of the signal. Table 7-29 shows the predefined –3-dB cutoff frequencies available that can be set by using the DAC_DSP_HPF_SEL[1:0] register bits of P0_R115. Additionally, to achieve a custom –3-dB cutoff frequency for a specific application, the device also allows the first-order IIR filter coefficients to be programmed when the DAC_DSP_HPF_SEL[1:0] register bits are set to 2'b00. Figure 7-33 illustrates a frequency response plot for the HPF filter.
P0_R115_D[5:4] : DAC_DSP_HPF_SEL[1:0] | -3-dB CUTOFF FREQUENCY SETTING | -3-dB CUTOFF FREQUENCY AT 16-kHz SAMPLE RATE | -3-dB
CUTOFF FREQUENCY AT 48-kHz SAMPLE RATE |
---|---|---|---|
00 | Programmable 1st-order IIR filter | Programmable 1st-order IIR filter | Programmable 1st-order IIR filter |
01 (default) | 0.00002 × fS | 0.25 Hz | 1 Hz |
10 | 0.00025 × fS | 4 Hz | 12 Hz |
11 | 0.002 × fS | 32 Hz | 96 Hz |
Equation 3 gives the transfer function for the first-order programable IIR filter:
The frequency response for this first-order programmable IIR filter 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 IIR coefficients in Table 7-30 to achieve the desired frequency response for high-pass filtering or any other desired filtering. If DAC_DSP_HPF_SEL[1:0] are set to 2'b00, the host device must write these coefficients values for the desired frequency response before powering-up any DAC channel for playback. Table 7-30 shows the filter coefficients for the first-order IIR filter.
FILTER | FILTER COEFFICIENT | DEFAULT COEFFICIENT VALUE | COEFFICIENT REGISTER MAPPING |
---|---|---|---|
Programmable 1st-order IIR filter (can be allocated to HPF or any other desired filter) | N0 | 0x7FFFFFFF | P17_R120-R124 |
N1 | 0x00000000 | P17_R125-R128 | |
D1 | 0x00000000 | P18_R8-R11 |