ADC Low priority

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

ADC Low priority

1,251 次查看
akhilprasad
Contributor III

Am using MPC5604s controller. I have enabled ADC in interrupt mode and now its continuously going to ISR whithout executing other routines below. I have configured ADC interrupt as below

INTC.PSR[62].B.PRI = 1;

 INTC.CPR.B.PRI=0; 

Can you please guide me to configure ADC interrupt with low priority.

0 项奖励
回复
1 回复

1,135 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

You have to increase the priority of the other interrupts.

And also do not forget to clear interrupt flag in ADC module after you serve ISR.

Peter

0 项奖励
回复