Datasheet

ADuC7033
Rev. B | Page 53 of 140
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 and voltage/temperature ADCs are reset.
Table 39. ADCFLT MMR Bit Designations
Bit Description
15
Chop Enable. Set by the 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 three if AF = 0 (see Sinc3 decimation factor,
Bits[6:0] in this table). 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 the user to enable a running-average-by-two 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) does not reduce the ADC output rate but does increase the settling time by one conversion period.
Cleared by the user to disable the running average function.
13 to 8
Averaging Factor (AF). The values written to these bits are used to implement a programmable first-order Sinc3
postfilter. The averaging factor can further reduce ADC noise at the expense of output rate as described in Bits[6:0], the
Sinc3 decimation factor in this table.
7
Sinc3 Modify. Set by the user to modify the standard Sinc3 frequency response to increase the filter stop band rejection
by approximately 5 dB. This is achieved by inserting a second notch (NOTCH2) at
f
NOTCH2
= 1.333 × f
NOTCH
where f
NOTCH
is the location of the first notch in the response.
6 to 0
Sinc3 Decimation Factor (SF)
1
.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
f
ADC
= (512,000/([SF + 1] × 64)) Hz
2
when the chop bit (Bit 15, chop enable) = 0 and the averaging factor (AF) = 0. This is valid for all SF values ≤ 125.
For SF = 126, f
ADC
is forced to 60 Hz.
For SF = 127, f
ADC
is forced to 50 Hz.
For information on calculating the f
ADC
for SF (other than 126 and 127) and AF values, refer to Table 40.
1
Due to limitations on the digital filter internal data path, there are some limitations on the combinations of the Sinc3 decimation factor (SF) and averaging factor (AF)
that can be used to generate a required ADC output rate. This restriction limits the minimum ADC update in normal power mode to 4 Hz or 1 Hz in low power mode.
2
In low power mode and low power plus mode, the ADC is driven directly by the low power oscillator (131 kHz) and not 512 kHz. All f
ADC
calculations should be divided
by 4 (approx).