Randy Woods

MC9S12C32 - interrupt table

Discussion created by Randy Woods on Mar 20, 2007
Latest reply on Mar 20, 2007 by Randy Woods
I am attempting to setup the port p interrupt on a MC9S12C32 process (NanoCore from technological arts) as shown below.  I am trying to use the interrupt to read in a 1 Hz signal from a Real Time Clock therefore, I set Port P up as an input and enabled the interrupt inside the PIEP register (although just to write the declaration I should not even need to do this).
interrupt 56 void 1Hz_handler(void) // port P5
I keep getting an error stating that this is an invalid number.  I have counted up in the vector table several times and I keep getting Vportp to be 56.  Has anybody used the port p vectors? 

Alban Edit: Part number in subject line

Message Edited by Alban on 2007-03-21 03:33 PM