RT1020: Combining ADC_CV (hw comparison) with ADC_RTC (hw scheduling/triggering)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

RT1020: Combining ADC_CV (hw comparison) with ADC_RTC (hw scheduling/triggering)

跳至解决方案
970 次查看
stefanct
Contributor IV

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)?

标签 (1)
0 项奖励
回复
1 解答
924 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

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.

在原帖中查看解决方案

0 项奖励
回复
1 回复
925 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

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.

0 项奖励
回复