Information
+
-
IRQ
INTERNAL BUS
INP
INM
FILTER_CNT
INV
COUT
COUT
OPE
SE
CMPO to
PAD
(TO OTHER SOC FUNCTIONS))
COUTA
0
1
WE
1
0
SE=0
CGMUX
COS
FILT_PER
1
0
+
-
FILT_PER
bus clock
COS
>
IER/F CFR/F
WINDOW/SAMPLE
EN, PMODE,HYSTCTR[1:0]
Polarity
Select
Window
Control
Filter
Block
Interrupt
Control
Clock
Prescaler
divided
bus
clock
CMPO
0x01
Figure 33-31. Sampled, Filtered (# 4B): Sampling point internally derived
The only difference in operation between Sampled, Non-Filtered (# 3B) and Sampled,
Filtered (# 4B) is that CR0[FILTER_CNT] is now greater than 1, which activates filter
operation.
33.8.1.5 Windowed Mode (#s 5A & 5B)
The following figure illustrates comparator operation in the windowed mode, ignoring
latency of the analog comparator, polarity select and Window Control block. It also
assumes that the Polarity Select is set to "non-inverting". Note that the analog comparator
output is passed to COUTA only when the WINDOW signal is high.
In actual operation, COUTA may lag the analog inputs by up to one bus clock cycle plus
the combinational path delay through the comparator and polarity select logic.
CMP Functional Description
K20 Sub-Family Reference Manual, Rev. 6, Nov 2011
794 Freescale Semiconductor, Inc.
