John, do you set INTCON.PEIE ? -----Original Message----- From: John Midgley To: PICLIST@MITVMA.MIT.EDU Date: ؊, 08 ˕ݏ 1998 . 15:38 Subject: This doesn't *look* like Kansas, Toto Dear all, I posted a request for help on a matter of interrupts not interrupting, but without much response. Not being one to take 'no' for an answer, here's the same question phrased slightly differently. I have a *very* simple program (in fact I've had several different goes) that attempts to make use of a pulse (1-2ms, yeah, yeah; you know the one.), by launching an interrupt routine on a rising edge on RB:0. It seems to work fine on the simulator, but in the hardware, the interrupt routine is never called. As far as I can see, the possibilities are: 1. I've got the interrupt setup wrong. Does this list of stuff look right? * set RB:0 to be an input in TRISB * set intedg = 1 (initially) * set gie = 1 and inte = 1 in INTCON * hang around waiting for the event * I don't have RBPU enabled (that is: not-RBPU = 1) 2. The event that will trigger the interrupt isn't occurring. But - * the scope says that there's a pulse of ~3V on RB:0 * the data sheet says that the min V for a logic 1 on RB:0 is 0.45Vs - with a 5V supply, that's 2.25V. Can *anyone* tell me where I'm going wrong? Regards John M