SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 103
Version 1.1
8.2.3 COMPARATOR OUTPUT DEBOUNCE TIME CONTROL
The critical condition is comparator positive voltage equal to comparator negative voltage, and the voltage range is
decided comparator offset parameter of input common mode. In the voltage range, the comparator output signal is
unstable and keeps oscillating until the differential voltage exits the range. In the condition, the comparator flag (CM0IF)
latches the first exchanging and issue the status, but the status is a transient, not a stable condition. So the comparator
builds in a filter to de-bounce the transient condition. The comparator output signal is through a de-bounce circuit to filter
comparator transient status. The de-bounce time is controlled by CM0DB[2:0] bits that means the comparator minimum
response time is 2*CMP_PCLK, 4*CMP_PCLK, 8*CMP_PCLK, …, 128*CMP_PCLK, or no de-bounce. The de-bounce
time depends on the signal slew rate and selected by program.
Comparator output without
de-bounce time.
Comparator output with de-
bounce time.
The de-bounce time is controlled by CM0DB[2:0] bits.
Reset de-bounce time
during level transition.
No level transition during de-bounce time.
level transition.
8.3 COMPARATOR APPLICATION NOTICE
The comparator is to compares the positive voltage and negative voltage to output result. The positive and negative
sources are analog signal. In hardware application circuit, the comparator input pins must be connected a 0.1uF
comparator to reduce power noise and make the input signal more stable. The application circuit is as following.
MCU
CMnN
0.1uF
CMnP
0.1uF
CMnO
Comparator
Output
Comparator
Negative Input
Comparator
Positive Input
Содержание SN32F280 Series
Страница 222: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 222 Version 1 1 A1D16...
Страница 263: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 263 Version 1 1 26 2 LQFP 64 PIN...
Страница 264: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 264 Version 1 1 26 3 LQFP 48 PIN...