Hi List Compiler : Microchip C32 Device : PIC32 I am trying to get software interrupt handler working but the interrupt does not get generated. Could someone please show me what I have wrong /I set it all up with / *************************** mPORTASetPinsDigitalOut((BIT_7 | BIT_6 | BIT_5)); mPORTAClearBits((BIT_7 | BIT_6 | BIT_5)); mConfigIntCoreSW0((CSW_INT_ON | CSW_INT_PRIOR_3 | CSW_INT_SUB_PRIOR_0)); mConfigIntCoreSW1((CSW_INT_ON | CSW_INT_PRIOR_7 | CSW_INT_SUB_PRIOR_0)); INTEnableSystemMultiVectoredInt(); mEnableIntCoreSW0(); mEnableIntCoreSW1(); **************************** /and my interrupt handler is quite simple/ void __ISR(_CORE_SOFTWARE_0_VECTOR, ipl3) _CoreSoftwareInt0Handler(void) { mCS0ClearIntFlag(); // clear the interrupt flag ClearCoreSW0(); // clear the core int flag mPORTAToggleBits(BIT_6); } ************* in my main function I create the software interrupt with // create a core software 0 interrupt SetCoreSW0(); Many thanks in advance. -- Kind Regards Grant Brown -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist