AnsweredAssumed Answered

Interrupts with KDS

Question asked by John Musselman on Dec 16, 2014
Latest reply on Dec 17, 2014 by John Musselman

HI,

 

I am moving some code from an MK20 part (written with Code Warrior 10.6) to the MK22FN512 and using KDS.  Apparently KDS handles interrupts differently than CW and I am having trouble.  KDS does not give me access to the NVICICPR and NVICISER registers.  I need to know how to 1) enable an interrupt in the NVIC and 2) to point the interrupt vector to my interrupt routine.

 

Can anyone help?  Sorry for such a simple question, but I'd rather just translate these two tiny bits of code and be on my way rather than spend a week figuring out processor expert or digging through the overwhelming documentation.

 

Thanks in advance!

 

John

Outcomes