Appendix B: Registers
153
B.2.4 Baseline Correction 2
The following settings configure the various thresholds and filtering options for the
second baseline correction filter.
BC2BSL (Baseline) The baseline as calculated by the BC2 filter.
BC2LTHRREL (Low threshold, relative) Sets the threshold below the current
value of the calculated baseline for when the filter should not update its baseline
value.
BC2HTHRREL (High threshold, relative) Sets the threshold above the current
value of the calculated baseline for when the filter should not update its baseline
value.
BC2LTHRBSL (Low threshold, baseline) Sets the minimum absolute value that
the baseline can have before the auto-reset countdown starts.
BC2HTHRBSL (High threshold, baseline) Sets the maximum absolute value
that the baseline can have before the auto-reset countdown starts.
BC2CFG (Baseline correction 2 configuration)
1:0 Number of taps Select the number of taps in the moving average filter, 3 =
8 taps, 2 and 1 = 4 taps, 0 = 2 taps.
3:2 Pre-samples Sets the number of samples before (pre-samples) the signal
crosses out of the acceptance threshold that should be excluded from the
averaging.
7:4 Post-samples Sets the number of samples after (post-samples) the signal
crosses into the acceptance threshold that should be excluded from the averaging.
8 Glitch filter If this is enabled, then single samples that pass out of or into the
thresholds do not trigger the pre- and post-samples.
10:9 Auto reset mode Selects the method of auto-resetting the BC2 filter. A
value of 3 selects the open threshold method of reset. Selecting 2, enable the
auto-reset of the baseline to the current BC3 baseline, a value of 1 resets the
baseline to the value given in BC2RSTVAL, 0 will disable the auto-resetting
functionality.
BC2RSTVAL (Reset value) When BC2CFG[10:9] is set to 1, then this value is
used when the BC2 filter needs to be reset (the value BC2RSTVAL is multiplied
by 4 when loaded into a 13 bit signed data-path register).
BC2RSTCNT (Reset count) When auto-reset is enabled, then this specifies the
number of samples outside the threshold before the auto-resetting steps in. It is
given in steps of four so the required number of samples must be divided by four.
B.2.5 Baseline Correction 3
The below settings configure the gradients of the slope in the third baseline correction
filter.
153
B.2.4 Baseline Correction 2
The following settings configure the various thresholds and filtering options for the
second baseline correction filter.
BC2BSL (Baseline) The baseline as calculated by the BC2 filter.
BC2LTHRREL (Low threshold, relative) Sets the threshold below the current
value of the calculated baseline for when the filter should not update its baseline
value.
BC2HTHRREL (High threshold, relative) Sets the threshold above the current
value of the calculated baseline for when the filter should not update its baseline
value.
BC2LTHRBSL (Low threshold, baseline) Sets the minimum absolute value that
the baseline can have before the auto-reset countdown starts.
BC2HTHRBSL (High threshold, baseline) Sets the maximum absolute value
that the baseline can have before the auto-reset countdown starts.
BC2CFG (Baseline correction 2 configuration)
1:0 Number of taps Select the number of taps in the moving average filter, 3 =
8 taps, 2 and 1 = 4 taps, 0 = 2 taps.
3:2 Pre-samples Sets the number of samples before (pre-samples) the signal
crosses out of the acceptance threshold that should be excluded from the
averaging.
7:4 Post-samples Sets the number of samples after (post-samples) the signal
crosses into the acceptance threshold that should be excluded from the averaging.
8 Glitch filter If this is enabled, then single samples that pass out of or into the
thresholds do not trigger the pre- and post-samples.
10:9 Auto reset mode Selects the method of auto-resetting the BC2 filter. A
value of 3 selects the open threshold method of reset. Selecting 2, enable the
auto-reset of the baseline to the current BC3 baseline, a value of 1 resets the
baseline to the value given in BC2RSTVAL, 0 will disable the auto-resetting
functionality.
BC2RSTVAL (Reset value) When BC2CFG[10:9] is set to 1, then this value is
used when the BC2 filter needs to be reset (the value BC2RSTVAL is multiplied
by 4 when loaded into a 13 bit signed data-path register).
BC2RSTCNT (Reset count) When auto-reset is enabled, then this specifies the
number of samples outside the threshold before the auto-resetting steps in. It is
given in steps of four so the required number of samples must be divided by four.
B.2.5 Baseline Correction 3
The below settings configure the gradients of the slope in the third baseline correction
filter.
