NOTE
In round-robin mode, current injection or over-voltage is not
supported on the input channels.
MCU
Round robin clock
(See chip specific info )
MCU
STOP
Trigger
(See chip specific info)
CMP_C2[INITMOD]
Must be longer than the initialization delay
Round Robin Starts
CMP(and possible DAC)
enable
CH1
Idle
CH3
CH7
enable
Active channel selection
states
(using channel 1, 3, 7 for
example)
Sample Channel comparison result
example)
ACO1
ACO1, ACO3
ACO1, ACO3, ACO7
Channel Results
Possible interrupt
Interrupt asserts here if any of the comparison
results is different from the values programmed to ACOn.
This will wake up MCU from stop mode.
Figure 37-16. Trigger mode
The following table shows the channel decoding in both functional mode and trigger
mode. Other cases not listed in the table are illegal.
Table 37-6. CMP channel decoding in functional mode and trigger mode
Mode
RRE
PSEL[
2:0]
MSEL[
2:0]
INPSE
L[1:0]
INNSE
L[1:0]
FXMP
FXMX
CH[2:0
]
CHNx
INP
INN
CMP
Behavior
Functional
Mode
0
0~7
0
1
x
x
x
DAC
Channel
decoded
from
MSEL[2:0]
Channel 0~7
can be
compared
with DAC
0~7
x
1
0
x
x
x
Channel
decoded
from
PSEL[2:0]
DAC
Channel 0~7
can be
compared
with DAC
0~7
0~7
1
1
x
x
x
Channel
decoded
from
PSEL[2:0]
Channel
decoded
from
MSEL[2:0]
Channel 0~7
can be
compared
with channel
0~7
Trigger
Mode
1
x
x
0
1
0
x
0~7
DAC
Channel
sweep
(CHN
x
)
Channel 0~7
can be swept
with DAC
x
x
1
0
1
x
0~7
Channel
sweep
(CHN
x
)
DAC
Channel 0~7
can be swept
with DAC
Table continues on the next page...
Chapter 37 Comparator (CMP)
Kinetis KE1xZ256 Sub-Family Reference Manual, Rev. 3, 07/2018
NXP Semiconductors
815
Summary of Contents for Kinetis KE1xZ256
Page 2: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 2 NXP Semiconductors...
Page 178: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 178 NXP Semiconductors...
Page 356: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 356 NXP Semiconductors...
Page 410: ...Interrupts Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 410 NXP Semiconductors...
Page 604: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 604 NXP Semiconductors...
Page 634: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 634 NXP Semiconductors...
Page 674: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 674 NXP Semiconductors...
Page 820: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 820 NXP Semiconductors...
Page 1030: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1030 NXP Semiconductors...
Page 1052: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1052 NXP Semiconductors...
Page 1066: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1066 NXP Semiconductors...
Page 1268: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1268 NXP Semiconductors...
Page 1314: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1314 NXP Semiconductors...
Page 1316: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1316 NXP Semiconductors...