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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,019 Views
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)?

Labels (1)
0 Kudos
Reply
1 Solution
973 Views
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.

View solution in original post

0 Kudos
Reply
1 Reply
974 Views
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 Kudos
Reply