I was wondering if the comparison values of the "Automatic Compare Function" of the ADC keep their functionality when the ADC is triggered/controlled by the ADC_RTC. I am specifically interested in the RT102x devices but would like to know if there are differences to other RT devices as well if there are any.
Ideally I'd like to facilitate these functionalities to monitor voltage levels of multiple analog pins fully automatically in hardware and only get an interrupt when any of them leaves the set value range. As far as I can tell, the RTC doesn't offer configuration of the ADC_CVs but maybe they stay in place and continue to work. That way the ranges would be the same for all channels but at least it would work. Does the auto comparison still work when ADC_RTC is controlling the ADC(s)?
已解决! 转到解答。
Hi @stefanct,
Yes, the Automatic Compare Function of the ADC continues to work with the use of the ADC_ETC, since these two functionalities are independent of each other.
BR,
Edwin.