
ADuC7032-8L
Rev. A | Page 49 of 120
ADC Filter Register
Name:
ADCFLT
Address:
0xFFFF0518
Default Value:
0x0007
Access:
Read/write
Function:
The ADC filter MMR is a 16-bit register that controls the speed and resolution of the on-chip ADCs.
Note:
If ADCFLT is modified, the current, voltage, and temperature ADCs are reset. An additional time of 60 μs per enabled ADC is
required before the first ADC result is available.
Table 40. ADCFLT MMR Bit Designations
Bit
Description
15
Chop Enable.
Set by user to enable system chopping of all active ADCs. When this bit is set, the ADC has very low offset errors and drift, but
the ADC output rate is reduced by a factor of 3 if AF = 0 (see Sinc3 decimation factor bits, Bit 6 to Bit 0). If AF
≠ 0, then the ADC
output update rate is the same with chop on or off. When chop is enabled, the settling time is two output periods.
14
Running Average.
Set by user to enable a running average-by-2 function, reducing ADC noise. This function is automatically enabled when
chopping is active. It is an optional feature when chopping is inactive and, if enabled (when chopping is inactive), it does
not reduce ADC output rate but increases the settling time by one conversion period.
Cleared by user to disable the running average function.
13 to 8
Averaging Factor (AF). The value written to these bits is used to implement a programmable first-order Sinc3 post filter. The
averaging factor can further reduce ADC noise at the expense of output rate, as described in the Sinc3 decimation factor bits
(Bit 6 to Bit 0).
7
Sinc3 Modify.
Set by user to modify the standard Sinc3 frequency response to increase the filter stop-band rejection by 5 dB approximate.
This is achieved by inserting a second notch (NOTCH2) at
fNOTCH2 = 1.333 × fNOTCH where fNOTCH is the location of the first notch
in the response.
6 to 0
Sinc3 Decimation Factor (SF). The value (SF) written in these bits controls the oversampling (decimation factor) of the Sinc3
filter. The output rate from the Sinc3 filter is given by fADC = (512,000/([SF+1] × 64)) Hz when the chop bit (Bit 15) = 0 and AF = 0
1 This is valid for all SF values ≤ 125. For SF = 126, fADC is forced to 60 Hz. For SF = 127, fADC is forced to 50 Hz.
2 For information on calculating the fADC for SF (other than 126 and 127) and AF values, see Table 41. Note that due to limitations on the digital filter internal datapath,
there are some limitations on the combinations of SF (Sinc3
decimation factor) and AF (averaging factor) that can be used
to generate a required ADC output rate. This restriction limits
the minimum ADC update to 4 Hz in normal power mode or
to 1 Hz in low power mode. If all three ADCs are enabled, then
the minimum value of SF written by user code must be 1.
In low power mode and low power plus mode, the ADC is driven
directly by the low power oscillator, or 131 kHz, and not 512 kHz.
All fADC calculations should be divided by 4 (approximate).
For optimal ADC performance, SF should be increased before
AF is used.