ADC Low priority

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

ADC Low priority

1,241 Views
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 Kudos
Reply
1 Reply

1,125 Views
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 Kudos
Reply