On Tue, 24 Jun 2003, Jinx wrote: > > Can the 16f628 portb be configured so that "interrupt on change" > > is enabled and RB6 and RB7 is configured for 32768 xtal? > > > I will only be using the RB4 and RB5, but since RB7 is T1OSI (osc > > input), do I get an interrupt because it is connected to xtal? > > I don't think it would work > > Section 5.2 - "Only pins configured as inputs can cause this > interrupt to occur" > > Section 7.0 - "when Timer1 oscillator is enabled, the RB6 and > RB7 pins become inputs" But if you look at the block diagram for pins RB6 and RB7, signal T1OSCEN is used to disable RBIF being set from those inputs when it's active. Wouldn't make much sense otherwise, though of course there are instances of Mchip doing things that don't make much sense. Dale -- It's a thankless job, but I've got a lot of Karma to burn off. Get a PicoKeyer: http://www.hamgadgets.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.