Disable Interrupts before ADC_GetChanValue

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

Disable Interrupts before ADC_GetChanValue

跳至解决方案
677 次查看
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 项奖励
回复
1 解答
565 次查看
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 项奖励
回复
1 回复
566 次查看
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 项奖励
回复