I am working with the TWR-K60N512 and running Codewarrior 10 with Processor Expert. I am trying to do basic SPI initialization using the Init_SPI feature of Processor Expert, but at runtime the code enters the PE_ISR() interrupt service routine immediately after running this line within the generated SPI3.c:
SPI0_MCR = (uint32_t)0x0C01UL;
I'm having a hard time finding relevant documentation that explains why this interrupt service routine is being called and what specifically about the generated SPI code (that I haven't modified) is causing this to happen.
Thanks for any help and I apologize if I am missing something obvious.