Windowed/Resampled Mode (# 6) - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

CMP Functional Description
When any windowed mode is active, COUTA is clocked by the bus clock whenever
WINDOW = 1. The last latched value is held when WINDOW = 0.

18.11.1.6 Windowed/Resampled Mode (# 6)

The following figure uses the same input stimulus shown in
resampling of COUTA to generate COUT. Samples are taken at the time points indicated
by the arrows. Again, prop delays and latency is ignored for clarity's sake. This example
was generated solely to demonstrate operation of the comparator in windowing /
resampled mode, and does not reflect any specific application. Depending upon the
sampling rate and window placement, COUT may not see zero-crossing events detected
by the analog comparator. Sampling period and/or window placement must be carefully
considered for a given application.
WI NDOW
Plus input
Minus input
CMPO
COUTA
COUT
Figure 18-10. Windowed / Resampled Mode Operation
This mode of operation results in an unfiltered string of comparator samples where the
interval between the samples is determined by FPR[FILT_PER] and the bus clock rate.
Configuration for this mode is virtually identical to that for the Windowed/Filtered Mode
shown in the next section. The only difference is that the value of CR0[FILTER_CNT]
must be exactly one.
310
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
Figure
18-8, and adds
NXP Semiconductors

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents