Disable Interrupts before ADC_GetChanValue

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

Disable Interrupts before ADC_GetChanValue

Jump to solution
677 Views
alexit
Contributor I

Is it necessary to disable interrupts (sei;) before calling for a single ADC conversion? I have two ADC channels configured for two samples (total about 87us) and want to know if an interrupt occuring during this cycle will cause erratic measurements...

Thanks, D

0 Kudos
Reply
1 Solution
565 Views
ankur_kala
NXP Employee
NXP Employee

Hi David,

You dont need to disable the interrupt for Analog measurement. It should work identical in both cases.

View solution in original post

0 Kudos
Reply
1 Reply
566 Views
ankur_kala
NXP Employee
NXP Employee

Hi David,

You dont need to disable the interrupt for Analog measurement. It should work identical in both cases.

0 Kudos
Reply