Thanks, that was it. Quite annoying that it wasnt mentioned in the documentation about the AD converter. :/ /fredrik + erik >>> A.B.Pearce@RL.AC.UK 2004-05-18 12:33:04 >>> >We're having quite some problems with getting interrupts to work with >our AD converter. We've set the global interrupts, the interrupt for the >AD, set up the interrupt code, yet we don't ever end up in the interrupt >code. The interrupt flag for the AD converter is set however. Code >follows...(microchip C18 compiler used): haven't gone through the code, or checked the data sheet, but seem to remember that the AD interrupt also requires PEIE to be enabled (which you don't list above). -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.