Thomas C. Sefranek wrote: > I am working with a PIC18F4585 (for the CAN port), > I want to use the Parallel Slave Port. > The problem is the PIC IRQ hardware never sees the PSPIF in PIR1. > I have the PSP enabled in TRISE = 0X97, The PSPIE bit is set in PIE1, > The flag bit does go set when it has been selected, but the Interrupt vector > never happens. INTCON is 0XC0 so General and Peripheral IRQ are enabled. > ADCON1 is 0X0A, ECCPCON is 0X00. > CAN IRQs work... > I suppose I could write a polling routine, but this should work! > Ideas? Have you checked that you've got the right priorities set? PSPIP in IPR1? And whatever bit it is to use prioritised interrupts in the first place. -- James Bendall Nu Instruments Ltd, Wrexham http://www.nu-ins.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist